.header-banner img, img.header-banner{
    background-size: cover;
    background-repeat: no-repeat;
    height: 50vh;
    width: 100%;
    object-fit: cover;
}

.page-template-dashboard h1{
    margin: 0;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    text-transform: uppercase;
}

.divider:after,
.client-portal h1:after,
.mj-header h1:after{
    content: "";
    display: block;
    margin: 22px 0 0;
    width: 68%;
    float: right;

    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    border-image-slice: 1;
    border-bottom: 2.5px solid;
    border-image-source: linear-gradient(90deg, #C8B273 0%, rgba(200, 178, 115, 0.3) 100%); 
}

.client-portal h1{
    color: #000;
    margin: 0;
    padding-bottom: 30px;
}

.side-menu{
    border-right: 1px solid #E1E1E1;
    padding:  35px 0 30px;
    max-width: 100px;
    min-width: 100px;
}

.side-menu ul a{
    padding: 40px 5px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.side-menu ul a:hover{
   background-color: #2E3F52;
}

.side-menu ul a:hover img {
    background: white;
    border-radius: 10px;
}

.side-menu ul a .active{  
    display: none;
}

.side-menu ul{
    margin: 0;
}

.side-menu ul a img{
    width: 35px;
    padding: 5px;
}

.client-portal, .facetwp-template{
    padding: 60px 50px 50px;
    padding-top: 60px;
}

.portal-container{
    display: flex;
}

.portal-header h2{
    text-transform: capitalize;
    color: #ffffff;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 35px;
    letter-spacing: 0.01em;
    margin: 0;
}

.portal-header, .mj-header{
    padding: 30px;
    background-color: #2E3F52;
    border-radius: 4px;
    margin-bottom: 40px;
}

.mj-header{
    margin-bottom: -5px;
    border-radius: 0;
}

.mj-header:last-of-type{
    padding-top: 15px;
}

.mj-header + p{
    display: none;
}

.portal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mj-header h1{
    color: #ffffff;
}

.portal-card{
    display: inline-grid;
    flex: 0 0 31.1%;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 30px;
    padding: 15px;
    align-items: flex-end;
}

.cards-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.portal-card button{
    padding: 15px;
    background-color: #ffffff;
    text-transform: capitalize;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
    text-align: center;
    text-transform: capitalize;
    border: 0;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    color: #2F3D4C;
    width: 90%;
    margin: 0 auto;
    height: 60px;
}

.portal-greeting p {
    margin: 0 0 15px;
    color: #fff;
}

.portal-card button:hover{
    color: #ffffff;
    background-color: #2F3D4C;
}

.page-template-dashboard #site-logo #site-logo-inner a img{
    max-width: 170px;
}

.icons-container a img{
    padding: 7px;
    width: 35px;
    height: 35px;
}

.icons-container a{
    border-radius: 1e+09px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 10px;
    margin-right: 15px;
}

#wrap .facetwp-facet-leadership_categories{
    margin-bottom: 0;
}

.leadership-blocks .fwpl-result{
    max-height: 280px;
}

.mj-block{
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mj-leaders .mj-block {
    gap: 8%;
    justify-content: flex-start;
}

.card-content h4{
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    color: #2F3D4C;
    text-transform: capitalize;
}

.card-content{
    flex: 0 50%;
    padding-right: 15px;
}

.mj-leaders .mj-block .card-content {
    flex: 0 40%;
}

.card-content p{
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: rgba(47, 61, 76, 0.5);
}

.mj-block img{
    width: 93%;
    object-fit: cover;
    height: 300px;
    flex: 0 45%;
    min-width: 544px;
    margin: 0 30px 0 0;
}

.mj-block-btn{
    font-weight: 600;
    line-height: inherit;
}

.portal-slide{
    display: contents;
}

.mj-partners .mj-partner{
    padding: 15px;
    background-color: #f7f7f7;
}

.facetwp-facet {
    margin-bottom: 40px;
    padding-right: 15px;
    width: 100%;
}    

.mj-partners{
    margin: 30px 0;
} 

.mj-partners .mj-partner h3{
    margin-top: 15px;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 0;
    text-align: center;
}

.mj-partners .mj-partner p{
    color: #379095;
    text-align: center;
    font-family: Raleway;
    text-transform: uppercase;
    font-weight: 500;
}

.mj-partners .mj-partner a{
    font-size: 14px;
    text-decoration: none !important;
    text-align: center;
    display: block;
}

.prev-next-posts{
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.prev-next-posts a{
    margin-top: 15px;
    margin-left: 15px;
}

.partner-categories .partner-select, 
.partner-select select{
    width: 95%;
}

.partner-select select{
    background-color: #FFFFFF;
}

.mj-filters, .partner-categories{
    padding: 30px 0;
}

.page-numbers{
    border: 1px solid #e6e6e6;
    display: inline-block;
    margin: 0 0 5px;
    padding: 10px 15px;
    font-size: 14px;
    margin-right: 5px;
}

.pagination{
    margin: 0 auto;
    text-align: center;
    padding-top: 15px;
    width: 100%;
}

/** Gravity Forms **/


.gform_wrapper input::placeholder,
.gform_wrapper select,
.gform_wrapper select option {
	font-family: "Open Sans" !important;
	letter-spacing: normal !important;
}



/** Mobile **/


@media only screen and ( max-width: 1024px ) {
    .header-banner img, img.header-banner {
        height: 35vh;
    }
    
    .divider:after, .client-portal h1:after, .mj-header h1:after{
        width: 25%;
    }

    .portal-card button{
        font-size: 15px;
        width: 100%;
    }

    .portal-container{
        display: block;
    }
    
    .side-menu{
        width: 100%;
        max-width: 100%;
        border-bottom: 1px solid #E1E1E1;
        padding: 0;
    }

    .portal-card{
        margin-top: 30px;
        flex: 0 0 48%;
        margin-right: 15px;
        display: flex;
    }

    .mj-block img{
        min-width: 100%;
        margin: 0;
    }
    .side-menu ul a img {
        padding: 0;
    }
    .side-menu ul a{    
        padding: 30px 20px;
        width: fit-content;
    }

    .side-menu ul a:first-of-type{  
        background-color: #2E3F52;
    }

   
    .side-menu ul a:first-of-type :not(.active) img,
    .side-menu ul a:first-of-type img:not(.active) {  
        display: none;
    }

    .side-menu ul a:first-of-type .active img,
    .side-menu ul a:first-of-type img.active ,
    .side-menu ul a .active{  
        display: block;
    }


    .side-menu ul {
        display: flex;
        justify-content: space-between;
    }

    .page-template-dashboard h1{
        font-size: 28px;
        padding-right: 10px;
        padding-bottom: 15px;
    }

    .page-template-dashboard h2{
        font-size: 20px;
    }

    .client-portal, .facetwp-template {
        padding: 40px 20px 40px;
    }

    .client-portal{
        padding-right: 0;
    }

    .portal-header{
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        margin-right: 20px;
        margin-bottom: 15px;
    }

    .card-content {
        padding: 15px;
    }

    .portal-greeting{
        padding-bottom: 15px;
    }

    .mj-block{
        flex-direction: column;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 2px;
        padding: 15px;
    }

    .mj-header {
        padding: 30px 20px;
    }

    .mj-header h1{
        padding-bottom: 15px;
    }
    .mj-header:first-of-type {
        padding-bottom: 0;
    }
    .mj-partners .mj-partner{
        margin-bottom: 15px;
    }
    .portal-slide{
        width: 80%;
        display: block;
    }
    .cards-wrapper{
        display: block;
    }
    .facetwp-facet {
        margin-bottom: 10px;
    }

    .page-numbers{
        margin: 0 0 3px;
        padding: 8px;
    }

    .mj-block {
        align-items: stretch;
    }   
    
    .partner-select select{
        background-color: #FFFFFF;
        width: 100%;
        margin-bottom: 10px;
    }

    .partner-categories .partner-select, .partner-select select{
        width: 100%;
    }
}

@media only screen and ( max-width: 370px ) {
    .divider:after, 
    .client-portal h1:after, 
    .mj-header h1:after {
        display: none;
    }
}

@media only screen and ( min-width: 1024px ) {
    .mj-partners{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .mj-partners .mj-partner{
        width: 30%;
        padding: 30px;
        margin-left: 30px;
        margin-bottom: 30px;
    }

    .mj-filters, .partner-categories, #filter{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

@media only screen and (max-width: 415px) {
    #cmplz-cookiebanner .cmplz-message {
        overflow: scroll;
        height: 50px;
    }
}

.no-border-menu {
    border-left: none !important;
}