_redesign_2023.scss 9.56 KB

#content-wrap {
    height: 8.75rem !important;
    transition: height 0.3s;
}

table {
    a {
        border: 0 !important;
        padding:0 !important;
        &:before {
            top:auto !important;
            left: auto !important;
        }
    }
}

.sidebar-pullout { 
    display: none;
}

.stk-block-carousel__button.stk-block-carousel__button__next {
    position: absolute !important;
    right: -40px !important;
    top: 3.75rem !important;
    &:after {
        background:url('data:image/svg+xml,<svg id="Button_-_Right_Arrow" data-name="Button - Right Arrow" xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 35 35"><rect id="Rectangle_14" data-name="Rectangle 14" width="35" height="35" fill="%23009ade"/><path id="Path_734" data-name="Path 734" d="M9.41,6.941c.651-.659,1.289-1.312,1.936-1.958Q13.671,2.659,16,.34a1.044,1.044,0,0,1,1.543,0c.3.3.6.6.9.9a1.023,1.023,0,0,1-.006,1.531q-2.094,2.093-4.186,4.188-2.03,2.032-4.058,4.067a1.133,1.133,0,0,1-.759.362,1.081,1.081,0,0,1-.835-.36Q7.03,9.456,5.463,7.885,3.331,5.75,1.2,3.617c-.29-.29-.582-.58-.871-.871a1.017,1.017,0,0,1,.011-1.5L1.226.355a1.043,1.043,0,0,1,1.566,0L6.568,4.116,9.3,6.839C9.329,6.865,9.357,6.89,9.41,6.941Z" transform="translate(12.806 26.891) rotate(-90)"/></svg>');
        content:'';
        width: 35px;
        height: 35px;
    }
    svg {
        display: none;
    }
}

#brokercontent .learning-cards .ugb-button {
    font-size: 1rem;
}
#brokercontent .learning-cards .ugb-card__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ugb-card.ugb-card--v2 .ugb-card__content {
    flex: 0;
}

#brokercontent .learning-cards {
    margin-top:2.5rem;
}

.wp-block-column.has-background {
    padding:2.875rem 1.125rem 1.125rem 1.125rem;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    p {
        padding-right:0;
        margin:1rem 0 !important;
    }
    .wp-block-buttons {
        width: 100%;
        display: flex;
        .wp-block-button {
            flex: 1;
        }
    }
}

.wp-block-file {
    a {
        color:#000000;
        font-size: 1rem;
        font-family: "Helvetica-Bold";  
        &:hover {
            text-decoration: underline;
        }
    }
    .wp-block-file__button {
        display: none;
    }
}

.stk-block-carousel__buttons {
    top:0;
    left:0;
    width: 100%;
    display: block;
}

.wp-block-stackable-video-popup  {
    max-height: 9.625rem;
    height: 9.625rem;
    margin:0;
    background:#E5E5E5;
}

.stk-block-carousel__dots {
    display: none;
}

.stk-block-carousel__button {
    background:none !important;
}

.wp-block-stackable-carousel {
    .stk-block-content {
        p {
            text-align: center;
        }
    }
    .wp-block-stackable-video-popup {
        padding:0;
    }
    .stk-block-video-popup__overlay {
        max-height: 100%;
        height: 100%;
       p {
        display: none !important;
        }
    }
}

.stk-block-carousel__button.stk-block-carousel__button__prev {
    position: absolute !important;
    left: -40px !important;
    top: 3.75rem !important;
    &:after {
        background:url('data:image/svg+xml,<svg id="Button_-_Left_Arrow" data-name="Button - Left Arrow" xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 35 35"><rect id="Rectangle_14" data-name="Rectangle 14" width="35" height="35" fill="%23009ade"/><path id="Path_734" data-name="Path 734" d="M9.41,4.448c.651.659,1.289,1.312,1.936,1.958Q13.671,8.73,16,11.049a1.044,1.044,0,0,0,1.543,0c.3-.3.6-.6.9-.9a1.023,1.023,0,0,0-.006-1.531Q16.341,6.525,14.249,4.43,12.219,2.4,10.191.364A1.133,1.133,0,0,0,9.432,0,1.081,1.081,0,0,0,8.6.362Q7.03,1.933,5.463,3.5,3.331,5.639,1.2,7.772c-.29.29-.582.58-.871.871a1.017,1.017,0,0,0,.011,1.5l.889.889a1.043,1.043,0,0,0,1.566,0L6.568,7.273,9.3,4.55C9.329,4.524,9.357,4.5,9.41,4.448Z" transform="translate(10.806 26.891) rotate(-90)"/></svg>');
        content:'';
        width: 35px;
        height: 35px;
    }
    &:hover {
        background:url('data:image/svg+xml,<svg id="Button_-_Left_Arrow" data-name="Button - Left Arrow" xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 35 35"><rect id="Rectangle_14" data-name="Rectangle 14" width="35" height="35" fill="%23acd6f2"/><path id="Path_734" data-name="Path 734" d="M9.41,4.448c.651.659,1.289,1.312,1.936,1.958Q13.671,8.73,16,11.049a1.044,1.044,0,0,0,1.543,0c.3-.3.6-.6.9-.9a1.023,1.023,0,0,0-.006-1.531Q16.341,6.525,14.249,4.43,12.219,2.4,10.191.364A1.133,1.133,0,0,0,9.432,0,1.081,1.081,0,0,0,8.6.362Q7.03,1.933,5.463,3.5,3.331,5.639,1.2,7.772c-.29.29-.582.58-.871.871a1.017,1.017,0,0,0,.011,1.5l.889.889a1.043,1.043,0,0,0,1.566,0L6.568,7.273,9.3,4.55C9.329,4.524,9.357,4.5,9.41,4.448Z" transform="translate(10.806 26.891) rotate(-90)"/></svg>');
    }
    svg {
        display: none;
    }
}

.sidebar {
    .sidemenu {
        ul {
            list-style: none;
            padding:0;
            margin:0;
            li {
                margin:0;
                margin-top:1rem;
                a {
                    color:#009ADE;
                    font-size: 1rem;
                }
                &.btn-style {
                    a {
                        font-weight: normal;
                        font-size: 1rem;
                        padding:1.25rem 1.5rem;
                        color:#000000;
                        background:#1F9BDE;
                        text-align: center;
                        font-family: "Helvetica";  
                    }
                }
            }
        }
    }
    & > h2 {
        margin-top:0;
        font-size: 20px;
        text-transform: capitalize;
        margin-bottom:10px;
        font-family: "Helvetica-Bold";  
    }
}

article {
    & > h5 {
        margin-top:0;
    }
}

#brokercontent {
    padding-top:calc(8.75rem + 3.125rem);
}

.header-image {
    height: 16.875rem;
}

#page-content {
    padding-top:2.5rem;
}

.tab_menu {
    position: relative;
}

@media (min-width: 768px) {

    #brokercontent .col-sm-smallMenu .tab_menu:hover {
        filter: brightness(1.2);
    }

    #page-logo {
        #otherpage-logo {
            width: 12.5rem !important;
            transition: width 0.3s;
        }
    }

    #page-header-landing {
        max-width: 85.375rem;
        max-width: calc(85.375rem + 3.125rem);
        padding-left:3.125rem;
        height: 100%;
        max-height: 100%;
    }

    #other-header {
        height: 100%;
        & > .row {
            height: 100%;
            display: flex;
            & > div {
                height: 100%;  
                float: none;
                padding:0 !important;
                &:first-of-type {
                    align-items: center;
                    display: flex;
                }
            }
        }
    }

    .admin-bar {
        .col-sm-smallMenu {
            top:10.75rem!important;
        }
    }

    .page-template-broker_landing_page {
        .col-sm-smallMenu {
            top:0 !important;
        }
    }

    #content-wrap {
        padding:0;
    }

    #brokercontent {
        display: flex;
        flex-direction: column;
        margin-top:0;
        max-width: none;
        & > .row {
            max-width: 72.875rem;
            margin:0 auto;
        }
        & > .row:first-of-type {
            max-width: 100%;
            width: 100%;
        }
        .col-sm-smallMenu {
            display: flex;
            width: 100%;
            top:6.25rem;
            align-items: center;
            transition: 0.3s;
            .tab_menu {
                padding:0 !important;
                height: 3.125rem;
                margin-top:0;
                flex: 1;
                flex-grow: 1;
                display: flex;
                padding-right:0;
                align-items: center;
                & > img {
                    flex-basis: 20%;
                }
                &:focus {
                    transform: none;
                }
                &:hover {
                    transform: none;
                }
                &:first-of-type {
                    flex: 0;
                    flex-basis: 3.125rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    .tab_label {
                        display: none;
                    }
                }
                img {
                    width: 28px;
                    height: 28px;
                }
                .menu-graphic-wrap {
                    height:100%;
                    flex-basis:20%;
                    display:flex;
                    justify-content: center;
                    align-items: center;
                }
                .tab_label {
                    font-size: 0.75rem;
                    line-height: 0.875rem;
                    text-align: left;
                    margin: 0;
                    color:#000000;
                    align-items: center;
                    display: flex;
                }
            }
        }
    } 

    .admin-bar {
        #content-wrap.retract {
            height: 5.3125rem !important;
        }
    }

    body.retract {
        .col-sm-smallMenu {
            top:7.3125rem !important;
        }
    }

    #content-wrap.retract {
        #page-logo {
            #otherpage-logo {
                width: 8.75rem !important;
            }
        }
    }
  
  }
  
  #page-content {
    max-width: 1166px;
    width: 100%;
    position: relative;
    .col-sm-smallMenu {
        width: 100%;
    }
  }
  
  .col-sm-smallMenu {
    display: flex;
    transform: none !important;
    left:0;
  }