/*   
Theme Name: ND Labs
Version: 3.4.204
Tags: clean, development, sass, html5, jquery, slick.js
Description: Clean wordpress theme with slick and visible js function
Author: DHL
Author URI: telegram @dhljob
*/

.nav {
    position: relative;
}

.nav__col {
    padding-right: 0;
}

.nav__item {
    font-size: 18px;
}

.nav__submenu {
    left: 20px;
    transition: 0.15s;
}

.nav__subtitle {
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 26px;
    margin: 0 0 10px;
}

.nav__item {
    position: unset;
}

.nav__item:hover .nav__submenu {
    overflow: visible;
}

.nav__subitem {
    width: 100%;
    min-width: 200px;
    min-height: 32px;
    display: flex;
    align-items: center;
    padding-right: 52px;
}

.nav__subitem:last-child {
    min-height: 34px;
}

.nav__subitem:hover {
    color: var(--blue);
}

.nav__subitem.has-child > a {
    width: 100%;
    display: block;
    position: relative;
}

.nav__subitem.has-child > a:not([href]) {
    cursor: default;
}

.nav__subitem.has-child > a::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 2px solid #8A8A8A;
    border-left: none;
    border-bottom: none;
    border-radius: 2px;
    position: absolute;
    top: 7px;
    right: -28px;
    transform: rotate(45deg);
}

.nav__subitem.has-child:hover > a::after {
    border-color: var(--blue);
}

.nav__sub-subitem {
    width: fit-content;
    height: fit-content;
    min-height: 100%;
    background: #fff;
    box-shadow: 0 8px 20px #00000014;
    padding: 20px 30px;
    position: absolute;
    top: 0;
    left: calc(100% - 30px);
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.2s;
    pointer-events: none;
}

.nav__sub-subitem > a {
    pointer-events: none;
}

@media not all and (max-width: 1023px) {
    .nav__subitem:hover > .nav__sub-subitem {
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
    }

    .nav__subtitle {
        padding: 0 24px 0 0;
    }

    .we-are-top__wrap {
        max-width: calc(100% - 340px);
    }
}

.wpml-ls-legacy-dropdown-click a span {
    font-size: 14px;
    font-weight: 600;
}

.cat-list {
    max-width: 480px;
}

@media (max-width: 1023px) {
    .header--alt .nav__haschild {
        background: url(assets/img/icons/arrow__right--gray.svg) no-repeat 100% 50%
    }

    .nav__subitem.active > .nav__sub-subitem {
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
    }

    .nav__subitem > .nav__sub-subitem .nav__sub-subitem {
        top: 0;
        left: 0;
    }

    .nav__subitem > .nav__sub-subitem > .nav__subitem {
        width: calc(100% - 32px);
    }
}

.nav__subitem:hover .nav__sub-subitem > a {
    pointer-events: all;
}

.banner h1 {
    line-height: 1.2;
}

.banners {
    background: linear-gradient(to right, #131416, #38385A);
}

.banners__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.banners__item {
    height: 58px;
    color: #FFFFFFCC;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #3D3D62CC;
    box-shadow: 0 0 28px #1E1F201A;
    padding: 10px;
    position: relative;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.banners__item:hover,
.banners__item:focus {
  color: #fff;
  background: #FFFFFF33;
}

.banners__item img {
    max-width: 50%;
    height: 32px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.banners__text {
    line-height: 40px;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 0 0 10px;
    position: relative;
    z-index: 1;
}

.banner--light .banners__item {
    background: #FFFFFFCC;
}

.banner--light .banners__item:hover {
    background: #1E1F2033;
}

.banner--light .banners__item img {
    opacity: 0.64;
    filter: invert(1);
    transition: 0.3s;
}

.banner--light .banners__text {
    color: var(--text);
    border-color: #1E1F2066;
    transition: 0.3s;
}

.book-a-call {
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.book-a-call .row {
    align-items: center;
}

.book-a-call__image {
    width: var(--image-size);
    height: var(--image-size);
    border-radius: 50%;
    margin: 0 0 16px;
}

.book-a-call__author {
    width: fit-content;
    text-align: center;
}

.book-a-call h2,
.book-a-call h4 {
    font-size: 32px;
    font-weight: 400;
    margin: 0;
}

.book-a-call__title {
    font-size: 32px;
    letter-spacing: -0.05em;
    margin: 0 0 16px;
}

.book-a-call__subtitle {
    margin: 0 0 24px;
}

.book-a-call .btn {
    width: 100%;
}

.single__content .book-a-call {
    padding: 40px;
    margin: 40px 0;
}

.single__content .book-a-call .row {
    flex-direction: column;
}

.single__content .book-a-call .col-50 {
    width: 100%;
}

.single__content .book-a-call__author {
    margin: 0 auto 24px;
}

.single__content .book-a-call h2,
.single__content .book-a-call h4,
.single__content .book-a-call .book-a-call__title {
    font-size: 24px;
}

.client-reviews h2 {
    color: var(--blue);
}

.client-reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.review {
    background: #fff;
    padding: 16px;
}

.review__stars {
    width: 86px;
    height: 14px;
    background: url(assets/img/review-stars-empty.svg) no-repeat;
    position: relative;
}

.review__stars::after {
    content: '';
    width: var(--width);
    height: 14px;
    background: url(assets/img/review-stars.svg) no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.review__header {
    display: flex;
    gap: 16px;
    margin: 0 0 14px;
}

.review__header > img {
    height: 86px;
    flex: 0 0 86px;
    border-radius: 50%;
}

.review__info {
    flex: auto;
}

.review__author {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    margin: 0 0 6px;
}

.review__company {
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 0;
}

.review__rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 8px;
}

.review__date {
    color: var(--gray);
}

.banner-with-image {
    height: auto;
    padding: 164px 0 120px;
    position: relative;
}

.banner-with-image::after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--overlay));
    position: absolute;
    top: 0;
    left: 0;
}

.banner-with-image .row {
    height: 100%;
}

.banner-with-image .banner__image {
    width: 50%;
    position: absolute;
    top: -164px;
    left: 0;
}

.banner-with-image .banner__side {
    max-width: 100%;
    min-height: auto;
    gap: 42px;
    justify-content: flex-start;
    padding: 0 0 8vh;
}

.banner__image img {
    max-width: 100%;
    height: auto;
}

.banner-with-image h3 {
    font-weight: 600;
}

.image--mobile {
    display: none;
}

@media (max-width: 1023px) {
    .filter .container {
        overflow: auto;
    }

    .nav {
        position: absolute;
    }

    .nav__submenu {
        height: 100%;
    }

    .nav__item {
        margin-bottom: 20px;
    }

    .nav__item.active .nav__haschild {
        display: none;
    }

    .nav__item:hover .nav__submenu {
        overflow: hidden;
    }

    .nav__subitem {
        min-height: 32px;
        font-size: 18px;
    }

    .nav__subitem:last-child {
        min-height: 32px;
    }

    .nav__subitem.has-child > a {
        font-size: 18px;
    }

    .nav__subitem.has-child > a::after {
        top: 10px;
    }

    .nav__sub-subitem {
        width: 100%;
        height: 100vh;
        background: #f5f5f5;
        box-shadow: none;
        padding: 0;
        top: 100px;
        left: 16px;
        transform: translateX(100%);
        z-index: 1;
    }

    .title {
    	margin-top: 44px;
    }

    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
        color: #8A8A8A;
        background: #F5F5F5 !important;
    }

    .banners__grid {
        display: flex;
        gap: 16px;
        overflow: auto;
    }

    .banners__item {
        height: 42px;
    }

    .banners__item img {
        max-width: 120px;
        height: 24px;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .banner-with-image {
        height: auto;
        padding: 84px 0 40px;
    }

    .banner-with-image .row .col-50:first-child {
        order: 1;
    }

    .banner-with-image .banner__image {
        width: 100%;
        position: unset;
    }

    .banner-with-image .banner__image img {
        margin: auto;
    }

    .banner-with-image .banner__side {
        height: auto;
        min-height: auto;
        gap: 1rem;
        padding: 16px 0;
    }

    .banner-with-image h1 {
        margin: 0;
    }

    .banner-with-image .btn {
        max-width: 420px;
    }

    .banner-with-image.has-mobile-image .banners__grid {
        margin-top: -16vw;
    }

    .client-reviews__grid {
        overflow: scroll;
    }

    .review {
        width: 320px;
    }

    .review__header {
        margin: 0 0 8px;
    }

    .book-a-call__author {
        margin: 0 auto 24px;
    }

    .book-a-call__image {
        width: calc(var(--image-size) / 1.5);
        height: calc(var(--image-size) / 1.5);
    }

    .book-a-call h2,
    .book-a-call h4 {
        font-size: 20px;
    }

    .book-a-call__title {
        font-size: 20px;
        line-height: 1.3;
        margin: 0 0 10px;
    }

    .single__content .book-a-call {
        padding: 34px 10px;
    }

    .image--desktop {
        display: none;
    }

    .image--mobile {
        display: block;
    }
}

.contacts {
    text-align: center;
    padding: 0;
    scroll-margin-top: 100px;
}

.contacts__content {
    background: linear-gradient(to right, #131416, #1c1c32);
    padding: 80px;
}

.contacts .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: center;
    gap: 16px;
}

.contacts h2 {
    max-width: 100%;
    font-size: 48px;
    color: #FFFFFF;
    font-weight: 700;
    margin: 0;
}

.contacts__subtitle {
    font-size: 20px;
    color: #fff;
    margin: 0 0 32px;
    opacity: 0.75;
}

.contacts__item {
    width: 100%;
    max-width: 248px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #242434;
    border-radius: 18px;
    padding: 40px 30px;
    transition: 0.3s;
}

.contacts__item:hover {
    filter: brightness(1.2);
}

.contacts__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
}

.contacts__title {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.single__content .contacts__content {
    padding: 40px;
    margin: 40px auto;
}

.single__content .contacts .grid {
    grid-template-columns: repeat(2, 1fr);
}

.single__content .contacts__item {
    padding: 30px 20px;
}

.single__content .contacts__item:hover {
    text-decoration: none;
}

.filter {
    position: relative;
    z-index: -1;
}

.title {
    margin-top: 80px;
}

@media (min-width: 1024px) {
    .banner .btn {
        margin-right: 108px;
    }

    .banner-with-image .btn {
        width: 100%;
        max-width: 420px;
        margin: 0;
    }

    .contact-us {
        scroll-margin-top: 110px;
    }
}

.showcase__link {
    transition: 0.4s;
}
.showcase__link:hover {
    background-position: -10px 50%;
    padding: 0 24px;
}

.showcase .slick-list {
    margin: 0 -20px;
}

.showcase__slide {
    margin: 0 20px;
}

.resent__title {
    margin: 0 0 0.5rem;
}

.resent__foot {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search h1 {
    font-size: 32px;
    margin: 0 0 20px;
}

.search .resent {
    padding-top: 0;
}

.navigation ul li {
    margin: 0 0 0.5rem;
    cursor: pointer;
}

.author {
    padding: 0;
}

.news__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-banner__tag {
    margin: 0 10px 0 0;
}

.cases-banner {
    margin: 0;
}

.goodfirm-widget {
    /* margin: -15px 0 0 -15px; */
}

.clutch-widget {
    width: 238px;
    background: #fff;
    border: 2px solid #333;
    padding: 10px;
    position: fixed;
    top: 120px;
    left: calc((100vw - 1270px) / 2);
    z-index: 1;
}

.admin-bar .clutch-widget {
    top: 152px;
}

.calendly-btn {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    align-self: center;
    background: #4ac34d;
    border-radius: 24px;
    line-height: 40px;
    padding: 0 20px;
    transform: translateY(-6px);
    transition: 0.3s;
}
.calendly-btn:hover {
    filter: brightness(1.1);
}

.wpml-ls-legacy-dropdown-click {
    width: 42px;
    height: 42px;
}
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click a {
    color: #fff;
    background: none;
}
.header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
    background: rgba(255, 255, 255, 0.1);
}
.header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    width: 42px;
    height: 42px;
    color: #8A8A8A;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 0;
}
.header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    color: #fff;
    background: none;
}
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    border: .3em solid transparent;
    border-top: .4em solid;
    display: none;
}
.header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a,
.header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click a:focus,
.header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}
.wpml-ls-legacy-dropdown-click .wpml-ls-flag {
    width: 24px;
    height: 20px;
}

@media (max-width: 1023px) {
    .header--alt:not(.scrolled) .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
        color: #8A8A8A;
    }

    .cta-one {
        flex-wrap: wrap;
    }

    .cta-one__img {
        flex: 0 0 100%;
    }

    .header {
        max-width: 100vw;
    }

    .search h1 {
        font-size: 24px;
    }

    .form--subscribe {
        flex-wrap: wrap;
    }

    .clutch-widget {
        top: auto;
        left: auto;
        right: 20px;
        bottom: 15px;
    }

    .contact-us {
        scroll-margin-top: 64px;
    }

    .contacts {
        scroll-margin-top: 64px;
    }

    .contacts h2 {
        font-size: 24px;
        margin: 0 0 4px;
    }

    .contacts__subtitle {
        font-size: 16px;
    }

    .contacts__content {
        padding: 40px 20px;
    }

    .contacts .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts__item {
        padding: 20px 10px;
    }

    .contacts__title {
        font-size: 16px;
    }

    .single__content .contacts__content {
        padding: 40px 20px;
    }

    .single__content .contacts__item {
        height: 100%;
        padding: 20px 10px;
    }

    .wp-block-image img {
        max-width: 100%;
        height: auto;
    }

    .metioned__item {
        flex: 0 0 164px;
    }

    .glance {
        padding: 40px 0;
    }

    .features .col-20 {
        width: 33.33%;
    }

    .box {
        gap: 0.5rem;
    }

    .box__title {
        margin: 0;
    }

    .box__description {
        margin: 0;
    }
}
