/*===================lang popup style=================*/
.search-page__popup-trigger {
    cursor: pointer;
    padding: 10px;
    background-color: lightgrey;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

.lang-popup .popup_post_title::before {
    content: '';
    height: 100%;
    background-color: transparent;
    position: absolute;
    width: 300%;
    transform: translateX(-50%);
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.lang-popup .popup_post_title {
    position: relative;
    padding: 80px 0 56px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-popup .popup_post_title h4{
    margin: 0 !important;
    padding: 0 !important;

    font-style: normal !important;
    font-weight: normal !important;
    font-size: 52px !important;
    line-height: 100% !important;
    color: #2C2C2C !important;

    position: static;
    z-index: 9;
}

.lang-popup .popup_post_title .close {
    background: url(/wp-content/themes/twentytwenty-child/assets/images/search-images/close.png) no-repeat center !important;
    background: none;
    width: 48px;
    height: 48px;
    position: static;
    z-index: 9;
}

.lang-popup .popup_post_title.scroll {
    padding-top: 56px !important;
}

.lang-popup .popup_post_title.scroll::before {
    display: block;
}

.lang-popup .popup_post_title h4.scroll{
    font-style: normal !important;
    font-weight: 450 !important;
    font-size: 32px !important;
    line-height: 100% !important;
}

.lang-popup .popup_post_title .close.scroll {
    width: 32px !important;
    height: 32px !important;
}

.lang-popup .custom_post_popup_content {
    overflow: visible !important;
    margin-top: 0 !important;
}

.lang-popup .popup_post_description.scroll {
    overflow-y: scroll !important;
}

.lang-popup__tablink-list {
    list-style: none;
    padding: 0;
    display: flex;
    margin-top: 40px;
    margin-bottom: 96px;
}

.lang-popup__tablink-list li.lang-popup__tablink-item {
    margin: 0;
    cursor: pointer;

    font-family: Futura New Medium;
    font-style: normal;
    font-weight: 450;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #A5ACB3;
}

.lang-popup__tablink-list li.lang-popup__tablink-item.active {
    color: #BA0C2F;
}

.lang-popup__tablink-list li.lang-popup__tablink-item:not(:last-child) {
    margin-right: 80px;
}

.lang-popup__tabcontent-wrapper {
    width: 100%;
    height: 90%;
}

.lang-popup__tabcontent-wrapper.scroll {
    height: 140% !important;
}

.lang-popup__description-wrapper {
    width: 100%;
}

.lang-popup__tabcontent {
    display: none;
    width: 100%;
    height: 100%;
    margin-left: -25px;
}

.lang-popup__tabcontent.scroll {
    height: 455px !important;
}

.lang-popup__tabcontent-item {
    display: flex;
    align-items: center;
    padding: 18px 10px 11px 23px;
    max-width: 180px;
    margin-right: 55px;
}

.lang-popup__tabcontent-item:hover {
    background: #F2F4F5;
    border-radius: 16px;
}

.lang-popup__tabcontent-img {
    margin-right: 16px;
    margin-bottom: 28px;
    width: 28px;
    height: 20px;
}

.lang-popup__tabcontent-cont {
    display: flex;
    flex-direction: column;
}

.lang-popup__tabcontent-cont a.lang-popup__tabcontent-country {
    font-family: Futura New Medium;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    color: #2C2C2C;
}

.lang-popup__tabcontent-cont a.lang-popup__tabcontent-lang {
    font-family: Futura New Medium;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 130%;
    color: #A5ACB3;
}

.lang-popup__tabcontent-cont a:hover {

    color: #BA0C2F;
}


.lang-popup__tabcontent.active {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
}
@media screen and (max-width: 1024px) {

    .lang-popup__tablink-list {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .lang-popup__tablink-list li.lang-popup__tablink-item {
        font-size: 20px;
        line-height: 100%;

    }

    .lang-popup__tabcontent.scroll {
        overflow-y: auto;
    }

    .lang-popup__tabcontent.scroll {
        height: 550px !important;
    }

    .lang-popup .popup_post_description {
        height: 550px !important;
    }


}

@media screen and (max-width: 768px) {
    .lang-popup .custom_post_popup_content {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .lang-popup__description-wrapper {
        height: 100% !important;
        width: 100%;
    }

    .lang-popup__tablink-list {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .lang-popup__tablink-list li.lang-popup__tablink-item:not(:last-child) {
        margin-right: 48px;
    }

    .lang-popup__tablink-list li.lang-popup__tablink-item {
        font-size: 18px;
        line-height: 100%;
    }

    .lang-popup__tabcontent {
        margin-left: 0;
        overflow-y: scroll;
    }

    .lang-popup__tabcontent.active {

    }

}

@media screen and (max-width: 754px) {
    .lang-popup__tablink-list {
        flex-direction: column;
    }

    .lang-popup__tablink-list li.lang-popup__tablink-item:not(:last-child) {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .lang-popup__tabcontent-item {
        margin-right: 40px;
    }
}

@media screen and (max-width: 425px) {
    .lang-popup .popup_post_title {
        padding-bottom: 10px;
    }

    .lang-popup .popup_post_title h4 {
        font-size: 32px !important;
    }

    .lang-popup .custom_post_popup_content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .lang-popup__tablink-list {
        flex-direction: column;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .lang-popup__tablink-list li.lang-popup__tablink-item {
        font-size: 20px !important;
        line-height: 100% !important;
    }

    .lang-popup__tablink-list li.lang-popup__tablink-item:not(:last-child) {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .lang-popup__description-wrapper {
        height: 100% !important;
        width: 100%;
    }

    .lang-popup .popup_post_description {
        height: 80% !important;
    }

    .lang-popup__tabcontent-wrapper {
        padding-bottom: 30px;
    }

    .lang-popup__tabcontent {
        margin-left: 0;
        overflow-y: scroll;
    }

    .lang-popup__tabcontent.active {
        flex-wrap: nowrap;
    }
}