/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/

#Top_bar .menu {
    display: flex;
    flex-wrap: wrap;
}

#Top_bar .menu > li:not(.mfn-megamenu-parent) {
    position: relative;
    flex: 1;
}

#Top_bar .logo{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#Top_bar .custom-menu {
    display: inline-block;
}

#Top_bar .custom-menu .menu > li > a{
    padding: 0;
    line-height: 18px;
    font-family: "Aller", Arial, Tahoma, sans-serif;
    text-transform: uppercase;
    color: #D91717;
    letter-spacing: 1px;
    font-weight: 100;
    padding-right: 15px;
}

#Top_bar .custom-menu .menu{
    margin-bottom: 30px;
    margin-left: 2px;
    display: inline-block;
}

.logo-overflow #Top_bar #logo{
    padding-bottom: 10px;
}

.menuo-no-borders #Top_bar .menu > li > a span {
    border-width: 0!important;
    white-space: break-spaces !important;
    line-height: 1em;
}

#Top_bar .menu > li#menu-item-63 {
    flex: 1.5;
}

.menu-line-below-80 #Top_bar:not(.is-sticky) .menu > li > a:after{
	display: none;
}

.logo-overflow.header-creative #Top_bar:not(.is-sticky) .logo, .logo-overflow.header-stack #Top_bar:not(.is-sticky) .logo {
    height: auto;
    padding: 0 15px;
}

.header-stack #Top_bar .menu_wrapper {
    clear: both;
    padding-bottom: 10px;
    border-bottom: 1px solid;
}

#menu-item-wpml-ls-4-fr,
#menu-item-wpml-ls-2-fr {
    position: relative;
}

#menu-item-wpml-ls-4-fr a:after,
#menu-item-wpml-ls-2-fr a:after {
    content: "/";
    position: absolute;
    right: -7px;
    top: 2px;
    font-size: 14px;
}


#Top_bar .menu_wrapper {
    width: 98.5%;
    float: right;
}

#Top_bar .menu > li:first-child > a span:not(.description){
    padding: 0 20px 0 0;
}
#Top_bar .menu > li:last-child > a span:not(.description){
    padding: 0;
}
#Top_bar .menu > li:last-child{
    -webkit-flex: 0.7;
        -ms-flex: 0.7;
            flex: 0.7;
}

/* #menu-menu-principal .current_page_item:after  */
#Top_bar .menu > li.current_page_item:not(.mfn-megamenu-parent):after{
    content: "";
    width: 20%;
    height: 10px;
    background: #2e265a;
    position: absolute;
    bottom: -16px;
    left: 0;
    -webkit-transition: 3s all;
       -moz-transition: 3s all;
        -ms-transition: 3s all;
         -o-transition: 3s all;
            transition: 3s all;
}



.current_page_item span{
    color: #2e265a;
}


#Top_bar .menu > li.current_page_item:not(:first-child):after,
#Top_bar .menu > li.current_page_item:not(:last-child):after{
    left: 20px;
}

#Top_bar .menu > li.current_page_item:first-child:after,
#Top_bar .menu > li.current_page_item:last-child:after{
    left: 0;
}

#Top_bar .menu > li:not(.mfn-megamenu-parent){
    cursor: pointer;
}


#Top_bar .menu > li.current_page_item#menu-item-59:after,
#Top_bar .menu > li.current_page_item#menu-item-60:after{
    left: 40px;
}

#menu-item-60{
    text-align: center;
}
#menu-item-59{
    text-align: right;
}

#menu-item-59 a span{
    color: #ceac63;
}

.custom-line{
    width: 80px;
    height: 8px;
    background: #2e265a;
    margin: 30px 0 15px;
}

.custom-list{
    list-style: none !important;
}

.custom-list li {
    position: relative;
    padding: 10px 0 0 0;
    margin: 0 !important;
}

.custom-list li:before{
    position: absolute;
    top: 25px;
    left: -30px;
    content: '';
    width: 15px;
    height: 4px;
    background: #2e265a;
}

.accordion .question .answer,
.style-simple .accordion .question,
.style-simple .accordion .question .title{
    border: none;
    box-shadow: none;
}

.style-simple .accordion .question.active:after{
    display: none;
}

.accordion .question .title > .acc-icon-plus,
.accordion .question .title > .acc-icon-minus{
    text-align: right;
    top: 18px;
    right: -20px;
    width: 95%;
    left: 0;
}

.style-simple .accordion .question .title {
    font-size: 16px;
    color: #BA9B57;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 10px;
    padding-right: 50px;
}

.style-simple .accordion .question object{
    margin: 10px;
}

ul.lists {
    font-size: 14px;
    list-style: none;
}

ul.lists li::before {
    content: "•";
    color: red;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-size: 27px;
    text-align: center;
    position: relative;
    top: 6px;
    color: #BA9B57;
}

.custom-accordion .question.active .title {
    color: #D91717;
}

.style-simple .question .title img{
    margin-right: 10px;
}

.custom-accordion .question.active img{
/*    -webkit-filter: invert(17%) sepia(39%) saturate(4928%) hue-rotate(335deg) brightness(124%) contrast(101%);
      filter: invert(17%) sepia(39%) saturate(4928%) hue-rotate(335deg) brightness(124%) contrast(101%);*/
}

.style-simple .accordion .question .title:after {
    content: "";
    width: 100%;
    height: 1px;
    background: #ddd;
    position: absolute;
    bottom: 0px;
    left: 50px;
}

.style-simple .accordion .question .answer{
    padding-top: 15px;
}

#Content .custom-counter .counter.counter_horizontal .number-wrapper{
    text-align: left;
}

#Content .custom-counter .counter.counter_horizontal .number-wrapper .number{
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    -webkit-text-stroke-color: #BA9B57;
    -webkit-text-stroke-width: 0.8px;
    display: block;
    text-align: right;
    font-size: 2em;
    line-height: 0.7em;
}

#Content .custom-counter .counter.counter_horizontal .number-wrapper .label {
    width: 100%;
    display: block;
    font-size: 20px;
    color: #BA9B57;
    padding: 10px 0;
    text-align: right;
}

.custom-counter .counter .desc_wrapper .title{
    text-align: right;
}


.accordion .question .title > .acc-icon-plus {
    text-align: right;
    display: block;
    top: 18px;
    right: -20px;
    width: 95%;
    left: 0;
}

.accordion .question .title > .acc-icon-plus:before,
.accordion .question .title > .acc-icon-minus:before{
    font-size: 24px;
}

.counter .desc_wrapper .number-wrapper{
    display: inline-block;
}

.counter .desc_wrapper .number-wrapper .label {
    font-size: 28px;
    line-height: 100%;
    display: block;
}

.counter.counter_horizontal .desc_wrapper {
    padding-left: 0;
}

html .formcraft-css .fc-form div[data-identifier="field6"] label,
html .formcraft-css .fc-form div[data-identifier="field7"] label{
    width: 100%;
}

html .formcraft-css .fc-form label input{
    border-color: #BA9B57;
    margin-right: 10px !important;
}

.custom-blog .image_frame.post-photo-wrapper.scale-with-grid.image {
    position: absolute;
    left: 85px;
    top: 25px;
    z-index: -1;
    max-width: 150px;
    display: flex;
    justify-content: center;
}

.custom-blog .image_frame.post-photo-wrapper.scale-with-grid.image a{
    border-radius: 100%;
    overflow: hidden;
    width: 120px;
    height: 120px;
}


.custom-blog .image_frame.post-photo-wrapper.scale-with-grid.image a img {
    height: 100% !important;
    object-fit: cover;
}

.custom-blog .blog_wrapper .post-desc-wrapper {
    width: 90%;
    float: left;
}

.custom-blog .post-item .date_label {
    position: absolute;
    left: 0;
    top: 65px;
}

.custom-blog  .timeline .post-item:before{
    display: none;
}

.timeline .post-item{
    padding-left: 300px;
}

.blog_wrapper .post-footer,
.blog_wrapper .post-head{
    display: none;
}

.custom-blog .tdd,
.custom-blog .tyy{
    display: block;
}

.custom-blog .date_label p:first-child {
    color: #ceac63;
    font-size: 20px;
    letter-spacing: -1px;
    text-transform: capitalize;
    font-family: "Aller";
    margin-bottom: 5px;
}

.custom-blog .date_label p:last-child {
    color: #ceac63;
    font-size: 20px;
    letter-spacing: 5px;
}

.custom-blog .post-item .date_label{
    background: none;
}

.custom-excerpt{
    display: block;
    font-size: 3em;
}

.custom-excerpt {
    display: block;
    font-size: 3em;
    padding: 10px 0;
    font-family: "Aller regular";
    text-transform: none;
    text-decoration: none !important;
}

.experts-wrapper .posts_group{
    max-width: 87%;
    margin: auto auto 50px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.profile-block.experts .profile-block_wrapper {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding-right: 20px;
}

.profile-block.experts .profile-title{
    position: relative;
    font-size: 18px;
    font-family: "Aller";
    color: #d91717;
}

.profile-block.experts .profile-title:before {
    content: "+";
    position: absolute;
    left: -15px;
    top: 0;
    font-family: "Aller";
    color: #ceac63;
}

.profile-block.experts .profile-subtitle{
    font-size: 16px;
    font-family: "Aller";
    color: #2e265a;
}

.profile-block.active.experts .profile-block_wrapper{
    padding: 40px;
    height: auto;
}

.profile-block.active.experts .profile-title:before{
    display: none;
}


.profile-block.experts{
    flex: 0 1 33%;
    margin: 15px 0;
    padding: 10px 0px
}

.close-popup{
    cursor: pointer;
    display: none;
    position: absolute;
    right: 20px;
    top: 20px;
    height: 30px;
    width: 30px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMDAgMTAwIiBpZD0iTGF5ZXJfMSIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PHBvbHlnb24gZmlsbD0iI2NlYWM2MyIgcG9pbnRzPSI3Ny42LDIxLjEgNDkuNiw0OS4yIDIxLjUsMjEuMSAxOS42LDIzIDQ3LjYsNTEuMSAxOS42LDc5LjIgMjEuNSw4MS4xIDQ5LjYsNTMgNzcuNiw4MS4xIDc5LjYsNzkuMiAgIDUxLjUsNTEuMSA3OS42LDIzICIvPjwvc3ZnPg==");
    -webkit-background-size: contain;
         -o-background-size: contain;
            background-size: contain;
    background-repeat: no-repeat;
    z-index: 22;
}

.profile-block.active .close-popup{
    display: block;
}

.custom-single-area .share-simple-wrapper{
    float: right;
}

.custom-date {
    text-align: right;
    padding: 20px 20px 0 0;
    font-size: 20px;
    color: #ceac63;
}

.single-post #Subheader{
    display: none;
}

.single-post #Content{
    padding-top: 50px !important;
}

.single-post .mcb-sidebar:before{
    background: none;
}

.Recent_posts .date{
    display: none;
}

.single-post .post-header{
}

.single-post.with_aside .sections_group .post{
    padding-left: 20px !important;
}

.Recent_posts .photo .c{
    display: none;
}

@media ( min-width: 767px ) and ( max-width: 1239px ){
    .header-stack #Top_bar:not(.is-sticky) .top_bar_left{
        display: flex;
    }
    .header-stack #Top_bar:not(.is-sticky) .top_bar_left .logo{
        -webkit-flex: 0 0 80%;
            -ms-flex: 0 0 80%;
                flex: 0 0 80%;
    }
    .header-stack #Top_bar .menu_wrapper{
        border: none;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
     #Side_slide .social-menu li {
        text-align: left;
        display: inline-block;
        margin: 0;
        border: 0;
        width: 100%;
        padding: 2px 0 2px 20px;
    }
    #Side_slide #menu ul li a{
        text-align: left;
    }
}


@media( max-width: 767px ){

    .profile-block.active.experts .profile-block_wrapper{
        width: 80%;
    }

    .page-id-19 .section_wrapper{
        display: flex;
        flex-direction: column;
    }

    .page-id-19 .section_wrapper .wrap.mcb-wrap:first-child{
        -webkit-order: 2;
            -ms-order: 2;
                order: 2;
    }

    .page-id-19 .section_wrapper .wrap.mcb-wrap:last-child{
        -webkit-order: 1;
            -ms-order: 1;
                order: 1;
    }

    ul#menu-menu-principal a {
        text-align: left;
    }

    #social-menu{
        width: 100%;
        overflow: hidden;
        padding-bottom: 50px;
    }

    #Side_slide .social-menu li {
        text-align: left;
        display: inline-block;
        margin: 0;
        border: 0;
        width: 100%;
        padding: 2px 0 2px 20px;
    }

    .header-stack #Top_bar .menu_wrapper{
        padding: 0;
        margin: 0;
        border: none;
    }

    .profile-block.active .profile-block_wrapper {
        height: auto !important;
        width: 100% !important;
    }

    .blog-mobile-title .column_attr {
        padding: 0 !important;
        text-align: center;
    }

    .blog-mobile-list .timeline .post-item{
        padding: 150px 0 50px 0;
    }

    .post-type-archive-associes .posts_group{
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .post-type-archive-associes .posts_group .profile-block.active{
        -webkit-flex: 100% !important;
            -ms-flex: 100% !important;
                flex: 100% !important;
        -webkit-justify-content: center;
                justify-content: center;
        z-index: 999;
    }

    .profile-block.experts{
        -webkit-flex: 100%;
            -ms-flex: 100%;
                flex: 100%;
    }

    #Top_bar .custom-menu .menu > li > a{
        font-size: 10px;
        line-height: 10px;
    }

    .profile-block_right {
        padding: 0 5px;
        flex-direction: column;
        align-items: flex-start;
        display: flex;
    }

    .profile-block.active .profile-block_right {
        max-width: 100%;
    }

    .profile-block.active .profile-block_wrapper{
        width: 80% !important;
    }

    .profile-block_wrapper{
        width: 100%;
    }

    .posts_header h1{
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .section{
        padding-top: 10px !important;
    }

}

.post-type-archive-associes #Subheader{
    display: none;
}

.post-type-archive-associes .posts_group{
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
}

.post-type-archive-associes .posts_group .profile-block {
    flex: 0 0 calc(25% - 10px);
    display: flex;
    margin: 5px 5px 20px 5px;
    cursor: pointer;
    min-height: 90px;
}

/* .profile-block.active:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -ms-filter: blur(3px);
    -o-filter: blur(3px);
    filter: blur(3px);
    filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius='3');
} */

.profile-block_wrapper {
    display: flex;
}

.profile-img {
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
}

.profile-block_left {
    padding: 0 10px;
    position: relative;
}

.profile-block_right{
    padding: 0 5px;
}

.posts_header{
    width: 90%;
    margin: 0 auto;
}

.posts_header h1{
    font-family: "Aller";
    color: #d91717;
    margin: 50px 0;
}

.profile-name {
    color: #d91717;
    line-height: 1.5em;
    font-size: 1em;
}

.profile-name b{
    text-transform: uppercase;
    font-size: 1.1em;
}

.profile-place {
    font-size: 0.9em;
    line-height: 1em;
    font-style: italic;
}

.profile-work-mission {
    font-size: 0.9em;
    line-height: 1.5em;
    padding: 10px 0;
}

.profile-block{
    position: relative;
/*     -webkit-transition: all 1s linear;
   -moz-transition: all 1s linear;
    -ms-transition: all 1s linear;
     -o-transition: all 1s linear;
        transition: all 1s linear; */
    left: 0;
    top: 0;
}

.profile-block.active{
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
         -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 10;
}

.profile-block.active .profile-block_wrapper {
    padding: 40px;
    width: 600px;
    height: 300px;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
         -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
}

.profile-block.active .profile-work-mission{
    display: none;
}

.profile-block.active .profile-desc {
    display: block;
    margin: 5px 0 10px 0;
    line-height: 1.5em;
}

.profile-block .profile-desc{
    display: none;
}

.profile-block .return-arrow{
    display: none;
}

.profile-block.active .profile-name {
    display: flex;
    line-height: 2em;
}

.profile-block.active .profile-name .profile-name_name{
    margin-right: 5px;
}

.profile-block.active .return-arrow{
    display: block;
    position: absolute;
    width: 100px;
    height: 70px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iQ2FscXVlXzEiIGRhdGEtbmFtZT0iQ2FscXVlIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCA0NC41OCAzMC4zNSI+PGRlZnM+PHN0eWxlPi5jbHMtMSwuY2xzLTMsLmNscy00e2ZpbGw6bm9uZTt9LmNscy0ye2NsaXAtcGF0aDp1cmwoI2NsaXAtcGF0aCk7fS5jbHMtMywuY2xzLTR7c3Ryb2tlOiNjZWFjNjM7fS5jbHMtM3tzdHJva2Utd2lkdGg6MC43NXB4O30uY2xzLTR7c3Ryb2tlLXdpZHRoOjAuNzlweDt9PC9zdHlsZT48Y2xpcFBhdGggaWQ9ImNsaXAtcGF0aCI+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNDQuNTgiIGhlaWdodD0iMzAuMzUiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGFzcz0iY2xzLTIiPjxsaW5lIGNsYXNzPSJjbHMtMyIgeTE9IjE1LjE4IiB4Mj0iNDMuOTIiIHkyPSIxNS4xOCIvPjxwb2x5bGluZSBjbGFzcz0iY2xzLTQiIHBvaW50cz0iMzAuNjUgMzAuMDUgNDQuMDUgMTUuMTggMzAuNjUgMC4yOSIvPjwvZz48L3N2Zz4=");
    -webkit-background-size: contain;
         -o-background-size: contain;
            background-size: contain;
    background-repeat: no-repeat;
    left: 20%;
    bottom: 15%;
    -webkit-transform: rotate(180deg);
       -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
         -o-transform: rotate(180deg);
            transform: rotate(180deg);
    -webkit-transition: all 1s;
       -moz-transition: all 1s;
        -ms-transition: all 1s;
         -o-transition: all 1s;
            transition: all 1s;
}

.profile-block.active .return-arrow:hover {
    -webkit-transform: rotate(180deg) scale(1.2);
       -moz-transform: rotate(180deg) scale(1.2);
        -ms-transform: rotate(180deg) scale(1.2);
         -o-transform: rotate(180deg) scale(1.2);
            transform: rotate(180deg) scale(1.2);
}

.profile-linkedin{
    display: none;
}

.profile-block.active .profile-linkedin {
    display: block;
    width: 32px;
    height: 32px;
    margin: 10px auto;
}

.profile-block_left:before {
    content: "";
    position: absolute;
    left: var(--left);
    top: var(--top);
    width: 90px;
    height: 90px;
    background: #ede5d4;
    z-index: 1;
    border-radius: 100%;
}

.fc-form  div[data-identifier="field14"] div[data-placement="right"] label {
    width: 100%;
}

.publications-wrapper .posts_header{
    padding-left: 30px;
    width: 100%;
    margin-left: 150px;
}

.publications-wrapper .posts_group {
    position: relative;
    padding-left: 30px;
    border-left: 1px solid #2e265a;
    margin-left: 150px;
}

.publications-wrapper .posts_group:before{
    display: none;
    content: "";
    width: 10px;
    height: 50px;
    background: #2e265a;
    position: absolute;
    top: 20px;
    left: -5px;
}

.publications-title {
    font-size: 18px;
    padding: 10px 0;
    font-weight: bold;
}

.publications-block {
    margin: 20px auto;
}

.publications-desc {
    font-size: 14px;
    margin-bottom: 10px;
}

.publications-block_wrapper {
    position: relative;
}

.publications-date {
    position: absolute;
    top: 10px;
    left: -150px;
    color: #CEAC63;
}

span.date-month {
    display: block;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 2px;
}

span.date-year {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: 2px;
}

.tax-pubcategory a.custom-excerpt svg {
    width: 30px;
    height: 30px;
}

.tax-pubcategory a.custom-excerpt{
    display: none;
}

.publications-wrapper .posts_header h1{
   margin: 0 0 25px 0;
}

.publications-wrapper{
    margin-top: 50px;
}

.year-block .title,
.category-block .title{
    font-weight: bold;
    padding-bottom: 5px;
    font-size: 18px;
    line-height: 22px;
}

.year-block,
.category-block{
    padding: 20px 30px;
    background-color: #ecf0f1;
    margin: 50px auto 50px 20px;
}

.year-block ul,
.category-block ul{
    list-style: disc;
    padding-left: 15px;
    color: #CEAC63;
}

.pager .pages{
    margin-bottom: 50px;
}

.custom-ul li{
    margin-bottom: 5px !important;
}

@media( max-width: 767px ){
    .publications-wrapper .posts_group,
    .publications-wrapper .posts_header{
        width: auto;
        margin-left: 0;
    }
    .publications-block_wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
    }
    .publications-date{
        position: static;
    }
    .publications-title{
        -webkit-order: 1;
            -ms-order: 1;
                order: 1;
    }
    .publications-date{
        -webkit-order: 2;
            -ms-order: 2;
                order: 2;
    }
    .publications-desc,
    .publications-download{
        -webkit-order: 3;
            -ms-order: 3;
                order: 3;
    }
}