@font-face {
    font-family: 'OS';
    src: url(../fonts/OpenSans-Regular.ttf);
}
@font-face {
    font-family: 'OSsm';
    src: url(../fonts/OpenSans-SemiBold.ttf);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    background: #fff;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.header-container .logo {
    max-width: 167px;
}

.header-container .logo img {
    width: 100%;
}

.header-container .header-menu {
    display: flex;
    align-items: center;
}

.dropdown-content {
    position: absolute;
    background-color: #fff;
    border-top: 3px solid #003366;
    width: 200px;
    display: none;
    flex-direction: column;
    top: 45px;
}

.lang-content {
    width: 250px;
    right: 0px;
    flex-direction: row;
}

.mobile-menus {
    display: none;
}

.dropdown-content a {
    text-decoration: none;
    color: #003366;
    padding: 15px 18px 15px 15px;
    font-size: 13px;
    border-bottom: 1px solid rgba(84, 84, 84, 0.3)
}

.dropdown-content a.lang {
    display:    block;
    text-decoration: none;
    color: #003366;
    padding: 20px;
    font-size: 13px;
    border-bottom: 0px;
}

.header-container .header-menu .header-menu-item {
    margin: 0 12.5px;
    font-size: 15px;
    color: #003366;
    position: relative;
    font-weight: 500;
}

.header-container .header-menu .header-menu-item:hover {
    cursor: pointer;
}

.header-menu-item:hover .dropdown-content {
    display: flex;
}

.header-menu-item .header-menu-item-title {
    display: flex;
}

.header-menu-item .header-menu-item-title span {
    margin-right: 15px;
}

.header-menu-item .header-menu-item-title .icon {
    width: 8px;
    height: 8px;
}

.header-menu-item .header-menu-item-title .icon img {
    width: 100%;
    height: 100%;
    fill: #003366;
}

.header-container .header-menu .header-menu-item:first-child {
    margin-left: 0;
}

.header-container .header-menu .header-menu-item:last-child {
    margin-right: 0;
}

.header-container .header-menu .header-menu-item:hover .dropdown-content,
.header-container .header-menu .header-menu-item:focus-within .dropdown-content {
    display: flex;
}

.header-menu-item {
    position: relative;
    z-index: 1;
}

.header-menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-menu-item::before,
.dropdown-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dropdown-wrapper::before {
    top: 45px; /* Изменено значение top на 45px */
    height: calc(100% + 45px); /* Увеличиваем высоту области */
}

.dropdown-wrapper {
    position: relative;
}

.dropdown-wrapper::before {
    content: "";
    position: absolute;
    top: -10px; /* Отрицательный отступ для увеличения области */
    left: 0;
    width: 100%;
    height: calc(100% + 45px); /* Увеличиваем высоту области */
}

.header-menu-item:hover .dropdown-content,
.header-menu-item:focus-within .dropdown-content {
    display: flex;
}



/* Main Wrap Styles */

.main-wrap {
    /* The image used */

    /* Set a specific height */
    height: 850px;    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


.main-wrap-distribution-managers {
    height: 430px;
    background-image: url('../img/bg.jpeg');
    background-size: cover;
    background-position: center 100%;
    display: flex;
    gap: 32px;
}

.main-wrap-bg {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    z-index: -1;
}

.main-wrap-bg  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-wrap-container {
    max-width: 1100px;
    margin: 0 auto;
    
}
.main-wrap-container-distribution-managers {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 150px;
    gap: 32px;
}

.main-wrap-container-distribution-managers .main-text {
    margin-bottom: 0px !important;
}

.main-text {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 51px;
    color: #fff;
    text-decoration: none;
    text-shadow: -1px 0 black, 0 1px black, 2px 0 black, 0 -2px black;
    text-align: center;
    display: flex;
    margin-bottom: 20px;
}

.subtext {
    color: #fff;
    font-size: 28px;
    text-align: center;
    font-family: 'OS', sans-serif;
}

.subtext-distribution-managers {
    color: #fff;
    font-family: Segoe UI;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0em;
    text-align: left;    
}

.center-text {
    text-align: center !important;
    color: #333333 !important;
}

.left-text-section {
    display: flex;
    justify-content: space-between;
}


.left-text {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title {
    font-weight: 900;
    font-size: 40.96px;
    margin-bottom: 20px;
}

.text, ul {
    line-height: 24.64px;
    font-size: 15.4px;
    font-weight: 500;
}

ul {
    margin-bottom: 40px;
}


.blue-btn {
    background-color: #8baccf;
    padding: 16px 32px;
    border-radius: 38px;
    font-size: 14px;
    text-transform: uppercase;
    box-sizing: border-box;
    color: #fff;
    -webkit-border-radius: 38px;
    -moz-border-radius: 38px;
    -ms-border-radius: 38px;
    -o-border-radius: 38px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.blue-btn:hover {
    background-color: #003366;
}

.text-container {
    max-width: 492px;
    color: #fff;
}

.image {
    width: 50%;
}

.image img {
    width: 100%;
    height: 100%;
}

.gray {
    background-color: #333;
}

.left-text.white .text-container{
    color: #333333 !important;
}

.dark-gray {
    background-color: #222;
}

.mb-3 {
    margin-bottom: 20px;
}

.mb-6 {
    margin-bottom: 40px;
}

.bold {
    font-weight: 700;
}

/* Testimonial section */

.testimonials-section {
    background-color: #B5B5B5;
    padding: 40px 0 100px 0;
}

.testimonial-section-title {
    font-weight: 800;
    font-size: 29px;
    color: #333333 !important;
    text-align: center;
    margin-bottom: 25px;
}

.testimonial-section-container {
    max-width: 2000px;
    margin: 0 auto;
}


.testimonial-item {
    width: 230px;
}

.header-burger {
    display: none;
}

.testimonial-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    height: fit-content;
}

.partner-card {
    border: 1px solid #B5B5B5;
    border-radius: 4px !important;
}

.testimonial-item-image {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    transition: 0.2s;
    text-decoration: none;

    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
    max-width: 200px;
}

.testimonial-item-image:hover img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
}

.testimonial-item-image img {
    max-width: 100%;
    max-height: 100%;
    transition: 0.2s;
    object-fit: contain;
}

.img-container {
    width: 200px;
    height: 200px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
}

.testimonial-company-name {
    font-size: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    padding: 13px 0;
    color: #d6d6d6;
    font-weight: 700;
    text-align: center;
}

.testimonial-geo {
    display: flex;
    color: #60677A;
    font-size: 15px;
    margin-bottom: 15px;
}

.testimonial-geo svg {
    margin-right: 5px;
    fill: #60677A;
    font-weight: 500;
}

.description {
    color: #60677A;
    font-size: 15px;
    text-align: center;
}

.testimonial-section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-container {
    display: flex;
    max-width: 2000px;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: center;
}

.compliance_logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.google-maps-img, .footer-item {
    width: 377.78px;
}

.google-maps-img{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fi-title {
    color: #999999;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 27px;
}

.footer a {
    text-decoration: none;
    color: #222;
}

.fi-menu {
    line-height: 28px;
    font-size: 17.6px;
}

.subfooter {
    display: flex;
    color: #999999;
    background-color: #eaeaea;
    padding: 20px 0;
    justify-content: center;
    font-size: 14px;    
}

@media screen and (max-width: 1300px) {
    .google-maps-img {
        margin-right: 20px;
    }

    .google-maps-img, .footer-item {
        width: 250px;
    }

    .google-maps-img img {
        width: 100%;
    }
}

.content-container {
    padding: 60px 150px 100px 150px;
}

.content-heading {
    font-family: Segoe UI;
    font-size: 41px;
    font-weight: 900;
    line-height: 55px;
    letter-spacing: 0em;
    text-align: left;
}

.content-text {
    font-family: Segoe UI;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: left;
}
.content-header { 
    font-family: Segoe UI;
    font-size: 51px;
    font-weight: 900;
    line-height: 68.88px;
    text-align: center;
    color: #333333;
}
.partner-row {
    border-radius: 4px 0px 0px 0px;
    border: 1px solid #B5B5B5;
    margin-bottom: 20px;
}
.partner-section-container {
    max-width: 2000px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: left;
}
.partners-header-description {

}
.partner-item {
    display: none;
}
.faq-list {
    list-style-type: none;
    padding: 0;
}
.faq-item {
    cursor: pointer;
    position: relative;
    font-family: Segoe UI;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0em;
    text-align: left;
    padding: 10px 20px 10px 20px;
}

.faq-row {
    border-top: 1px solid #B5B5B5;
}

.faq-arrow {
    position: absolute;
    right: 5px;
}
.faq-answer {
    display: none;
    margin-left: 20px;
    margin-bottom: 20px;
    font-family: Segoe UI;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: left;
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

@media screen and (max-width: 1250px) {
    .header-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .left-text.white .text-container .title {
        font-size: 35px;
    }

    ul {
        margin-bottom: 30px;
    }

    .mb-3{
        margin-bottom: 10px;
    }

    .mb-6 {
        margin-bottom: 20px;
    }

    
}

@media screen and (max-width: 1100px) {
    .footer-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


@media screen and (max-width: 1101px) {
    .left-text-section {
        flex-direction: column;
        width: 100%;
    }

    .left-text-section.left .image {
        order: 1;
    }

    .left-text-section.left .left-text {
        order: 2;
        margin-top: -3px;
    }

    ul {
        margin-bottom: 50px;
    }

    .left-text {
        width: 100%;
        justify-content: flex-start;
    }

    .mb-6 {
        margin-bottom: 50px;
    }

    .image {
        width: 100%;
    }

    .image img {
        height: 101%;
    }

    .left-text {
        width: unset;
        padding: 30px;
        padding-bottom: 50px;
    }

    .text-container {
        max-width: unset;
    }

    .left-text.white .text-container .title {
        font-size: 30px;
    }

    .footer-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .google-maps-img, .footer-item {
        margin-bottom: 30px;
    }

    .header-container .header-menu {
        display: none;
    }

    .header-burger {
        display: flex;
    }

    .mobile-menus {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .subfooter {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-text {
        font-size: 35px;

    }

    .subtext {
        font-size: 22px;
    }
    .content-container {
        padding: 5px;
    }
    .main-wrap-container-distribution-managers {
        padding-left: 15px;
    }
}

@media screen and (max-width: 850px) {
    .main-wrap-bg {
        position: unset;
    }

    .main-wrap-bg img {
        object-fit: contain;
    }

    /* Test comment */

    .main-wrap {
        display: flex;
        flex-direction: column;
        height: unset;
    }

    .main-wrap-container {
        background-color: #333;
        padding: 30px;
        text-align: left;
        margin-top: -6px;
    }
    
    .main-text {
        justify-content: flex-start;
        text-align: left;
        text-shadow: none;
        font-size: 30px;
    }

    .subtext {
        line-height: 24.64px;
        font-size: 15.4px;
        font-weight: 500;
        text-align: left;
    }
}

@media screen and (max-width: 815px) {
    .footer-item {
        width: 210px;
    }
}

@media screen and (max-width: 750px) {
    .footer-item {
        width: 250px;
    }

    .footer-container {
        max-width: 300px;
        margin: 0;
    }
}

@media screen and (max-width: 600px) {
    ul {
        padding-left: 10px;
    }

    .main-text {
        font-size: 30px;
    }

}

@media screen and (max-width: 450px) {
    .title {
        font-size: 30px;
    }

    .subfooter {
        font-size: 11px;
    }

    .main-wrap {
        background-position: unset;
        background-size: auto;
        background-attachment:unset
    }
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding-bottom: 6px;
    display: none;
}

.mobile-lang-menu {
    display: none;
    width: 100%;
}

.mobile-lang-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.mobile-lang-menu .lang {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
}

.mobile-language-selector.active {
    display: flex;
}

.mobile-menu.active {
    display: flex;
}

.mh-title {
    font-size: 17px;
    padding: 4px;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 3px;
    border-bottom: 1px solid #111;
     width: 100%;
}

.mobile-header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.up-button {
    background-color: #657184 !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    fill: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    position: fixed;
    right: 20px;
    bottom: 20px;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.up-button.visible {
    opacity: 0.5;
}

.up-button:hover {
    opacity: 1;
    cursor: pointer;
}

.up-button svg {
    fill: #fff;
}
.item {
    display: none;
}
.item.show {
    display: block;
}
.hidden {
    display: none !important;
}
.partners-search-result {
    display: flex;
    max-width: 2000px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
#searchPartner {
    min-width: 300px;
    padding: 15px 20px 15px 20px;
    gap: 16px;
    border-radius: 4px 0px 0px 0px;
    opacity: 0px;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    margin-bottom: 20px;
    margin-top: 20px;
}