*,
*::after,
*::before {
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #80CC42;
    --secondary: #787878;
    --tertiary: #707070;
    --black: #070707;
    --warn: #FF0000;
    --white: #FFFFFF;
    --btn-bg: #3F8D00;
    --shadow: 0px 1px 6px rgba(0, 0, 0, 0.52);
}

ul li,
ol li {
    list-style-type: none;
}

.roboto-regular,
body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    min-height: -webkit-fill-available;

}

.roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.sr-only {
    position: absolute;
    margin: -1px;
    padding: 0;
    height: 1px;
    width: 1px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    border: 0;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    padding-top: 0.5%;
}

.page-box {
    max-width: 1760px;
    width: 100%;
    /* min-height: 810px; */
    max-height: 1000px;
    height: 98vh;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-content {
    /* padding: 50px 32px 105px; */
    /* height: 100vh; */
    padding: 50px 32px;
    width: 100%;
    height: 98%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-box-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 98vh;
    display: none;
}

.page-box-bg--desktop {
    display: block;
}

.header {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.about-us {
    color: var(--white);
    font-size: 1.6vw;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 9px;
    top: 1%;
    width: 18%;
    height: 6%;
    z-index: 2;
    cursor: pointer;
    max-width: 1750px;
    width: 99%;
}

.about-us .text {
    margin-left: -15px;
}

.supply-info {
    display: flex;
    align-items: center;
    /* transform: scale(1.1); */
    /* margin: 0 43px 0 30px; */
    /* padding: 0 0 0 10px; */
    z-index: 1;
    flex-shrink: 0;
}
.about-content {
    max-width: 646px; /* same as .curve-lines */
    padding: 0 55px 0 0;
}
.about-content p {
    font-size: 18px;
    line-height: 1.5;
    margin: 20px 0;
    word-break: break-word;
}
.logo {
    width: 148px;
    height: 150px;
    object-fit: contain;
}

.logo-mob {
    display: none;
}

.logo-wr {
    margin: 40px 50px 0 -20px;
}

.logo-wr::before {
    content: "";
    display: block;
    width: 90px;
    height: 373px;
    background: url(../img/globe-lines.svg) right center / contain no-repeat;
    z-index: 1;
    position: absolute;
    left: calc(100% - 26px);
    top: -83%;
}

/* curve lines */

.curve-lines {
    max-width: 720px;
    min-width: 525px;
    width: 100%;
    height: auto;
    max-height: 575px;
    object-fit: cover;
}

.curve-lines-mob {
    display: none;
}

.curve-lines__text {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
    background-color: var(--white);
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--secondary);
    padding: 8px 20px;
}

.curve-lines__text-1 {
    top: 10px;
    left: 33%;
}

.curve-lines__text-2 {
    top: 23%;
    left: 56%;
}

.curve-lines__text-3 {
    top: 42%;
    left: 1%;
}

.curve-lines__text-4 {
    top: 57%;
    left: 22%;
}

.curve-lines__text-5 {
    top: 75%;
    left: 66%;
}

/* #curve lines */
.request-btn-wr {
    display: none;
}

/* form */
.form-wr {
    max-width: 428px;
    width: 100%;
}

.form-bg {
    width: 100%;
}

.form-bg__img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.form {
    color: var(--tertiary);
    padding: 25px 42px 68px;
}

.form__title {
    color: var(--black);
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 70px;
}

.form-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.label__text {
    font-size: 16px;
    margin-bottom: 5px;
}

.form-control {
    border: 1px solid var(--tertiary);
    background: none;
    border-radius: 2px;
    color: var(--black);
    font-size: 16px;
    padding: 10px 16px;
    display: block;
    width: 100%;
    font-family: inherit;
    outline: none;
}

.form-control:disabled {
    color: var(--tertiary);
    pointer-events: none;
}

.form-control::placeholder {
    font-size: inherit;
    opacity: 0.4;
}

.form-control::-moz-placeholder {
    font-size: inherit;
    opacity: 0.4;
}

.error {
    color: var(--warn);
    font-size: 13px;
    position: absolute;
    top: 100%;
    left: 0;
}

.textarea {
    height: 71px;
    resize: none;
}

.textarea-wr::before {
    content: "";
    background: url("../img/icons/resize.svg") center/cover no-repeat;
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    right: 5px;
    bottom: 5px;
}

.form__file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding-left: 38px;
}

.form__file .icon {
    width: 26px;
    height: 26px;
    position: absolute;
    left: 6px;
}

.form__file-text {
    color: var(--tertiary);
}

.form__files {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form__files-item,
.form__files-name-wr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.form__files-name {
    word-break: break-word;
}

.form__files-item .icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.form__files-item .file-delete {
    cursor: pointer;
}

.form__submit {
    width: auto;
    margin: 0 auto;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 500;
}

.form__submit:not(:disabled) {
    cursor: pointer;
    pointer-events: auto;
    background-color: var(--btn-bg);
    color: var(--white);
    border: none;
}

.success-message-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.50);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: unset;
}

.success-message {
    border-radius: 10px;
    color: var(--black);
    text-align: center;
    padding: 50px 60px;
    margin: 10px;
    overflow: hidden;
    max-width: 640px;
    font-size: 17px;
    line-height: 20px;
}

.success-message__bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
}

.success-message img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* #form */
/* footer */
.footer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2vh !important;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px 54px;
}

.social-links__item-wr {
    list-style-type: none;
}

.social-links__item {
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 43px;
    height: 43px;
    box-shadow: 0px 1px 13px rgba(0, 0, 0, 0.39);
    padding: 7px;
    border-radius: 9px;
}

.social-links__item .icon {
    width: auto;
    max-width: 28px;
    height: 26px;
    display: block;
}

/* #footer */

@media (max-width: 1440px) {

    /* .other-page-content{
        height: 75%;
    } */

    .page-box-bg--desktop {
        display: none;
    }

    .page-box-bg--laptop {
        display: block;
    }

    .menu-item{
        margin-left: -32px;
    }

    .about-us {
        font-size: 22px;
        /* top: 4.2%; */
        width: 98%;
        left: 0;
        gap: 3px;

    }
    .about-content {
        padding-left: 25px;
    }
    .supply-info {
        transform: none;
        margin: 0;
    }

    .supply-info,
    .form-wr {
        flex-shrink: 1;
    }

    .logo-wr {
        margin-right: 52px;
    }

    .footer {
        /* bottom: 5.5%; */
    }
}

@media (max-width: 1100px) {
    .page-box-bg--laptop {
        display: none;
    }

    .page-box-bg--desktop {
        display: block;
    }


    .about-us {
        top: 2%;
        width: 99%;    
    }

    .menu-item{
        margin-left: -40px;

    }

    .logo {
        width: 130px;
    }

    .logo-wr::before {
        width: 81px;
    }

    .logo-wr {
        margin-right: 41px;
    }

    .form-wr {
        min-width: 370px;
    }

    .form {
        padding: 25px 28px 58px;
    }

    /* .page-box-bg,
    .form-wr,
    .curve-lines {
        display: none;
    } */
}

@media (max-width: 1100px) {

    .other-page-content {
       height: 95%;
    }
    .page-box {
        max-width: 810px;
        /* min-height: unset; */
        max-height: 1100px;
        margin: 0 auto;
    }

      .wp-block-media-text{
    display: flex !important;
    flex-direction: column;
    } 


    .page-box-bg--desktop {
        display: none;
    }

    .page-box-bg--tablet {
        display: block;
    }

    .about-us {
        gap: 18px;
        font-size: 17px;
        left: 2px;
        top: 3%;
        width: 95% !important;
        height: 4%;
    }

    .menu-item:last-child{
        margin-left: -46px;
    }

    .page-content {
        padding: 75px 30px 13.5%;
        height: 98vh;
    }
    .about-content {
        padding: 0;
        margin: auto;
        height: 73%;

    }
    .supply-info {
        height: 95%;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0;
    }

    .footer {
        /* bottom: 4.3%; */
    }

    .supply-info.changed-tab {
        justify-content: space-between;
    }
    .supply-info,
    .curve-lines-wr {
        width: 100%;
    }

    .curve-lines {
        display: none;
    }

    .curve-lines-mob {
        display: block;
        width: 100%;
        height: calc(100vh - 350px);
        min-height: 340px;
        max-height: 700px;
    }
    .combained {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .logo-wr {
        width: 100%;
        margin: -2px auto 20px;
    }

    .logo-wr::before {
        display: none;
    }

    .logo {
        display: none;
    }

    .logo-mob {
        display: block;
        width: 130px;
        height: 100px;
        object-fit: contain;
        margin: 0 auto;
        z-index: 2;
    }

    .request-btn-wr {
        display: block;
        max-width: 337px;
        width: 100%;
    }

    .request-btn-wr::before {
        position: absolute;
        content: "";
        background: url(/img/mob/globe-lines-mob.svg) bottom center/contain no-repeat;
        width: 89%;
        height: 80px;
        left: 50%;
        bottom: calc(100% - 3px);
        transform: translate(-50%, 0);
        pointer-events: none;
        z-index: 1;
    }

    .request-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--white);
        padding: 12px;
        width: 100%;
        font-size: 19px;
        font-family: inherit;
        letter-spacing: 1.52px;
        text-transform: uppercase;
        font-weight: bold;
        background-color: var(--btn-bg);
        border-radius: 12px;
        border: none;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.52);
    }

    .social-links {
        gap: 25px 42px;
    }

    .social-links__item {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .form-wr {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.50);
        z-index: 10;
        justify-content: center;
        align-items: center;
        display: none;
        max-width: unset;
    }

    .form-wr.opened {
        display: flex;
    }

    .form-bg {
        max-width: 400px;
    }

    .form {
        padding: 20px 22px 48px;
    }

    .label__text,
    .form-control {
        font-size: 14px;
        line-height: 17px;
    }

    .success-message {
        padding: 27px 30px;
        max-width: 428px;
        font-size: 14px;
        line-height: 17px;
    }

    .success-message img {
        margin-bottom: 10px;
    }
}


@media (max-width: 670px) {
   .about-us{    
        flex-direction: row;    
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 17% 0 0%;
   }
    }

@media (max-width: 670px) {
    .page-box-bg--tablet {
        display: none;
    }

    .site-branding {
        height: -webkit-fill-available;
    }

    .page-box-bg--mob {
        display: block;
    }

    .page-content {
        padding: 55px 25px 75px;
    }
    .about-us {
        left: 10px;
        top: 5px;
        width: 56%;
        height: 6%;
    }
    .about-content p {
        font-size: 14px;
        line-height: 1.2;
        margin: 15px 0;
    }
    .form-wr.opened {
        overflow-y: scroll;
    }

    .footer {
        /* bottom: 22px; */
    }

    h1{
        font-size: 32px;
    }

}

@media (max-width: 325px) {
    .curve-lines-mob {
        min-height: 300px;
    }
}

@media (max-width: 425px) {
    .other-page-content {
        /* height: 95%; */
        padding-right: 20px;
        margin: 10px 0 0 0;
    }

    .about-us{
        flex-wrap: nowrap;
        min-height: 35px;

    }

    .site-branding{
        max-width: 178px;

    }
    .form{
        padding: 25px 20px 40px !important;
    }
}


@media (max-width: 768px) {

    .post-item{
    max-width: 302px;

    }

    .other-page-content{
    /* height: 100%; */
    margin: 22px 8px 25px 15px;
    padding-right: 25px;
}

}


@media (max-width: 1024px) {

    .other-page-content {
        width: 90%;
    }


    .post-item{
        max-width: 320px;
    }

    .about-us{
        gap: 21px;
        height: 6%;
    }

    
    .other-page-content {
        /* height: 90%; */
        padding-right: 20px;
        margin: 0px 8px 0px 23px;
}

}


@media (orientation: landscape) and (max-width: 1024px) and (max-height: 540px) {
    
    .page-box-bg--mob,
    .page-box-bg--tablet {
        display: none;
    }

    .page-content {
        padding: 0;
    }

    .page-box {
        padding: 20px;
        flex-direction: column;
        max-height: unset;
        max-width: unset;
        background: rgba(220, 220, 220, 1);
        background: -moz-radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(254, 254, 254, 1) 18%, rgba(241, 241, 241, 1) 69%, rgba(220, 220, 220, 1) 100%);
        background: -webkit-radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(254, 254, 254, 1) 18%, rgba(241, 241, 241, 1) 69%, rgba(220, 220, 220, 1) 100%);
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(254, 254, 254, 1) 18%, rgba(241, 241, 241, 1) 69%, rgba(220, 220, 220, 1) 100%);
    }
    .supply-info {
        padding: 0 0 50px;
    }
    .about-us {
        position: static;
        color: var(--primary);
        font-size: 25px;
    }
    .about-content {
        overflow: auto;
    }
    .about-content p {
        font-size: 14px;
        margin: 10px 0;
    }

    .curve-lines-wr {
        display: none;
    }

    .form-wr.opened {
        display: block;
        overflow-y: scroll;
    }

    .form-bg {
        margin: 10px auto;
    }
}

@media (max-width:1440px){
    .site-header a{
        font-size: 1.6vw;
    }

    .posts-grid .post-item {
        max-width: 300px;
    }
}

@media (max-width:2560px){
    .site-header a{
        font-size: 0.75em;
    }
}

@media (min-width: 1000px) and (max-width: 1600px)
       and (min-height: 650px) and (max-height: 730px) {
    .page-box-bg {
        /* top: -28px !important; */
        height: 98vh;
    }
    .site-header {
        margin-top: -7px;
    }
    .form {
    padding: 14px 24px 35px !important;
    }
    .page-box {
    min-height: -webkit-fill-available;
    }
    .footer {
    bottom: 2vh !important;
    }
    .social-links{
        gap: 25px 45px;
    }
    .other-page-content{
        /* height: 98vh; */
        margin: 0px 8px 85px 23px;
    }
    /* .page-box{ 
        min-height: 675px !important;
    } */
    .form-body{
        gap:23px;
    }
    .form__title {
    margin-bottom: 35px !important;
    }

    .supply-info {
        margin-top: -2%;
    }
    .page-content{
        padding: 50px 32px 0;
    }
}


.d-none {
    display: none !important;
}


.about-content .other-page-content {
    align-content: center;
}