/* Fonts */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Robotolight.woff2') format('woff2'), url('/fonts/roboto/Robotolight.woff') format('woff'), url('/fonts/roboto/Robotolight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Roboto.woff2') format('woff2'), url('/fonts/roboto/Roboto.woff') format('woff'), url('/fonts/roboto/Roboto.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Robotomedium.woff2') format('woff2'), url('/fonts/roboto/Robotomedium.woff') format('woff'), url('/fonts/roboto/Robotomedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Robotobold.woff2') format('woff2'), url('/fonts/roboto/Robotobold.woff') format('woff'), url('/fonts/roboto/Robotobold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto/Robotoblack.woff2') format('woff2'), url('/fonts/roboto/Robotoblack.woff') format('woff'), url('/fonts/roboto/Robotoblack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Lora';
    src: url('/fonts/lora/Lora.woff2') format('woff2'), url('/fonts/lora/Lora.woff') format('woff'), url('/fonts/lora/Lora.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Lora';
    src: url('/fonts/lora/Lorabold.woff2') format('woff2'), url('/fonts/lora/Lorabold.woff') format('woff'), url('/fonts/lora/Lorabold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* General */
:root {
    --color-text: #3D3D46;
    --color-blue: #3972C9;
    --color-bg-grey: #f5f5f5;

    --font-montserrat: 'Montserrat', sans-serif;
    --font-lora: 'Lora';
    --font-roboto: 'Roboto';

    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;

    --shadow-default: 0px 2px 20px rgba(0, 0, 0, 0.09);
    --shadow-hover: -2px -8px 16px rgba(0, 0, 0, 0.05), 2px 8px 16px rgba(0, 0, 0, 0.15),
}
html, body {
    height: 100%;
    position: relative;
}
.container {
    max-width: 1290px;
    margin: 0 auto;
}
.container-about {
    max-width: 940px;
    margin: 0 auto;
}
.title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #3D3D46;
    font-size: 48px;
    line-height: 140%;
    text-align: center;
}
.subtitle {
    font-family: 'Lora';
    font-weight: 400;
    color: #3D3D46;
    font-size: 22px;
    line-height: 140%;
    text-align: center;
}
.quote {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    padding: 70px 0;
    font-size: 24px;
    line-height: 140%;
    color: #3D3D46;
    font-family: 'Roboto';
}
.quote:before,
.quote:after {
    content: '';
    position: relative;
    display: block;
    height: 2px;
    width: 140px;
    left: 230px;
    background: #3D3D46;
}
.quote:before {
    top: -25px;
}
.quote:after {
    top: 25px;
}

/* --- --- --- Header --- --- --- */
.header {
    height: 100px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
    background: white;
}
.header__container {
    max-width: 1290px;
    margin: 0 auto;
}
.header__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
}
.header__logo {
}
.header__logo-img {
    height: 60px;
}
/* Burger */
.header__burger {
    display: none;
}
.span {
}
/* Menu */
.header__menu {
    display: flex;
    justify-content: space-between;
}
.header__list {
    display: flex;
    justify-content: space-between;
}
.header__list li {
    margin-right: 40px;
}
.header__list li:last-child {
    margin-right: 0px;
}
.header__list li:nth-child(6) {
    margin-right: 0px;
}
.header__link {
    font-family: 'Roboto';
    font-weight: 500;
    color: #3D3D46;
    font-size: 18px;
    position: relative;
}
.header__link:after {
    content: '';
    position: absolute;
    top: 23px;
    height: 10px;
    display: block;
    height: 2px;
    width: 100%;
    background: #3972C9;
    transform: scaleX(0);
    transition: all .3s ease;
}
.header__link:hover::after {
    transform: scaleX(1);
}
.header__contact-list {
    display: flex;
}
.header__link-contact {
    font-family: 'Roboto';
    font-weight: 500;
    color: #807e7e;
    font-size: 18px;
}
.hlcmc {
    margin-right: 40px;
}
/* Header Language */
nav ul li {
    position: relative;
}
.sub-menu__list {
    position: absolute;
    top: 10px;
    left: 0;
    padding: 10px 0;
    transform: scale(0);
    transition: all .3s ease;
}
.sub-menu__link {
    font-size: 18px;
    font-family: 'Roboto';
    color: #3D3D46;
    font-weight: 500;
}
.sub-menu__list>li {
    background: #3972C9;
    padding: 10px;
    width: 100px;
    border-radius: 3px;
}
.sub-menu__list li a {
    color: white;
    font-family: 'Roboto';
}
.sub-menu__list li a:hover {
    font-weight: 800;
}
.header__list>li:hover .sub-menu__list {
    transform: scale(1);
}
nav ul img {
    width: 20px;
    margin-right: 10px;
}
.li-mobile-header {
    display: none;
}
.li-pc-header {
    display: block;
}


/* --- --- --- Form --- --- --- */

.loading-img {
    height: 70px;
    align-self: center;
    margin: 0 auto;
}

.form {
    margin: 80px 0;
    font-size: 18px;
    /*  */
    position: relative;
}
.form__subtitle {
    margin-bottom: 40px;
}
.form__container {
    max-width: 940px;
    margin: 0 auto;
}
.form__body {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
    padding: 40px 40px;
    color: #3D3D46;
    text-align: left;
}
.form-form__row {
    display: flex;
    justify-content: space-around;
}
.form-left {
    /* ! */
    display: flex;
    flex: 0 0 40%;
    position: relative;
}
._sending:after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    background: #3972C9;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}
._sending:after {
    opacity: 1;
    visibility: visible;
}
.form-sendinformation {
    position: relative;
    font-size: 24px;
    color: #3D3D46;
    text-align: center;
    line-height: 140%;
    display: flex;
    height: 100%;
    align-items: center;
    font-family: 'Roboto';
    font-weight: 700;
}
.form-right {
    flex: 0 0 330px;
}
.form__title {
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    line-height: 140%;
}
.form__subtitle {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
    line-height: 140%;
}
.form__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form__row {
    margin-bottom: 40px;
}
.form__row label {
    font-family: 'Roboto';
    font-size: 16px;
}
.form__field {
    background: #fff;
    border: 1px solid #3972C9;
    border-radius: 5px;
    height: 40px;
    display: block;
    width: 300px;
    padding: 0px 20px;
    margin: 5px 0;
    font-size: 18px;
    font-family: 'Roboto';
}
.form__filed::placeholder {
    font-size: 18px;
}
.form__field:focus {
    border: 2px solid #3972C9;
    box-shadow: 0px 2px 20px rgba(38, 23, 251, 0.09);
    background: white;
}
.form__field::-webkit-inner-spin-button {
    display: none;
}
#formMessage {
    height: 120px;
    padding: 10px;
    resize: none;
}
.form__success {
    border: 2px solid #2ecc71;
    font-family: 'Roboto';
}
.form__error {
    border: 2px solid #e74c3c;
    font-family: 'Roboto';
}
.form__error-name, .form__error-phone {
    font-size: 14px;
    color: #e74c3c;
    display: none;
    font-family: 'Roboto';
}
.form__error-checkbox {
    border: 2px solid #e74c3c;
    padding: 10px;
}
.btn-submit {
    display: block;
    background: #3972C9;
    height: 40px;
    width: 300px;
    border-radius: 3px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
    color: white;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    border-radius: 3px;
    font-family: 'Roboto';
    cursor: pointer;
}
.btn-submit:hover {
    box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
}
.form-right__body {
    border-radius: 10px 100px 10px 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
    padding: 40px 50px 20px 50px;
}
.form-right__title {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #3D3D46;
    text-align: left;
    line-height: 140%;
    padding-bottom: 35px;
}
.form-right__column {
    display: flex;
    flex-direction: column;
}
.form-right__row {
    display: flex;
    flex-direction: row;
    margin-bottom: 42px;
    align-items: center;
}
.form-right__icon {
    margin-right: 35px;
}
.form-right__text {
    font-size: 16px;
    font-family: 'Roboto';
    font-weight: 400;
    text-align: left;
    line-height: 140%;
}
.form__agree {
    position: relative;
    max-width: 300px;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: 'Roboto';
    font-weight: 400;
}
/* Checkbox form*/
.form-agree-checkbox {
    display: flex;
}
.form-agree-checkbox span {
    margin-right: 20px;
    display: inline-block;
}
.checkbox-oldd {
    position: absolute;
    opacity: 0;
}
.checkbox__customm {
    display: inline-block;
    border: 2px solid #3972C9;
    min-width: 20px;
    height: 20px;
    position: relative;
    border-radius: 3px;
}
.checkbox__customm:before {
    content: '✓';
    color: white;
    position: absolute;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: .3s;
}
.checkbox-oldd:checked+ .checkbox__customm:before {
    opacity: 1;
    background: #3972C9;
}

/* --- --- --- Footer --- --- --- */
.footer {
    background: #3D3D46;
    padding: 90px 0 50px;
}
.footer__container {
    max-width: 940px;
    margin: 0 auto;
}
.footer__row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer__column {
}
.footer__image {
    height: 80px;
}
.footer__link {
    color: white;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 18px;
    line-height: 200%;
}
.footer__subtitle {
    color: white;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 18px;
    line-height: 200%;
}
.footer__socialnetworks {
}
.footer__secondrow {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.footer__subsubtitle {
    color: white;
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 18px;
    line-height: 200%;
}
.footer__link:hover {
    color: #3972C9;
}
.social-link{
    width: 50px;
}
.footer-phone {
    color: white;
}
.footer-phone:hover {
    color: #3972C9;
}
.footer-phone:active {
    color: #3972C9;
}

/* Scroll Up */
.scroll-position {
    position: relative;
}
.scroll-up {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    color: #dcdcdc;
    cursor: pointer;
    visibility: hidden;
    border-radius: 50px;
    box-shadow: inset 0 0 0 4px #dcdcdc;
    opacity: 0;
    transition: 0.4s;
    transform: translateY(25px);
}
.scroll-up:before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    font-size: 20px;
    content: '↑';
}
.scroll-up:hover {
    color: #3972C9;
}
.scroll-up--active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.scroll-up__svg {
}
.scroll-up__svg-path {
    box-sizing: border-box;
    fill: none;
    stroke: #3972C9;
    stroke-width: 4px;
    transition: .4s;
}
/* Tooltip */
.hlcmc {
    position: relative;
    cursor: pointer;
    float: left;
}
.tooltip {
    position: absolute;
    top: 30px;
    left: -70%;
    width: 180px;
    background: #3972C9;
    color: white;
    padding: 10px;
    border-radius: 3px;
    font-size: 14px;
    font-family: 'Roboto';
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
    transform: scale(0);
}
.tooltip:before {
    content: "";
    position: absolute;
    bottom: 48px;
    right: 50%;
    border-left: 9px solid transparent;
    border-right: 9px solid #3972C9;
    border-top: 9px solid #3972C9;
    border-bottom: 9px solid transparent;
    transform: rotate(-45deg);
}
.hlcmc:hover .tooltip {
    transform: scale(1);
}
.cmclh {
    position: relative;
    cursor: pointer;
    float: left;
}
.tooltip2 {
    position: absolute;
    top: 30px;
    left: -20%;
    width: 180px;
    background: #3972C9;
    color: white;
    padding: 10px;
    border-radius: 3px;
    font-size: 14px;
    font-family: 'Roboto';
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
}
.tooltip2:before {
    content: "";
    position: absolute;
    bottom: 70px;
    right: 50%;
    border-left: 9px solid transparent;
    border-right: 9px solid #3972C9;
    border-bottom: 9px solid transparent;
    transform: rotate(-45deg);
}
.cmclh:hover .tooltip2 {
    opacity: 1;
}
.header__link-contact:hover {
    color: #3D3D46;
}
/* ul li */
.ul-servicePage {
    padding: 10px 40px;
}
.ul-servicePage li {
    position: relative;
    padding-bottom: 5px;
}
.ul-servicePage li:before, .ul-servicePage li:after {
    content: '';
    display: block;
    position: absolute;
    background: #3972C9;
    width: 10px;
    height: 2px;
}
.ul-servicePage li:before {
    width: 14px;
    top: 12px;
    left: -27px;
    transform: rotate(-45deg);
}
.ul-servicePage li:after {
    top: 12px;
    left: -33px;
    transform: rotate(45deg);
}
.dark-menu {
    display: none;
}
.link-footer-document {
    color: white;
}
.footer__subsubtitle {
    color: rgb(196, 196, 196);
}

/* Cookies */
.cookies {
    position: fixed;
    display: none;
    left: 0;
    bottom: 0px;
    width: 100%;
    font-family: 'Roboto';
    font-weight: 400;
    color: white;
}
.cookies a {
    color: white;
    text-decoration: underline;
}
.cookies__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cookies__body {
    padding: 20px;
    background: #3972C9;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
}
.cookies__content p {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    text-align: center;
}
.cookies-btn {
    display: block;
    padding: 5px 25px;
    background: white;
    color: #3972C9;
    border-radius: 5px;
}
.cookies-btn:hover {
    transform: scale(0.95);
}


/* --- --- --- Media --- --- --- */
@media (max-width: 1190px) {
    .header__logo-img {
        height: 50px;
    }
    .header__contacts {
        display: none;
    }
    .container, .container-about {
        padding: 0 15px;
    }
}
@media (max-width: 845px) {
    .dark-menu-active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        background: rgb(0, 0, 0, 0.3);
        width: 100%;
        height: 100%;
        z-index: 98;
    }
    .header__menu {
        background: #3972C9;
        position: fixed;
        width: 275px;
        height: 100%;
        top: 0;
        right: -100%;
        z-index: 99;
        transition: all .3s ease;
    }
    .header__menu-active {
        right: 0;
    }
    .header__list {
        flex-direction: column;
        justify-content: start;
        margin: 100px 40px 40px 40px;
    }
    .header__link {
        color: white;
        font-size: 20px;
        padding: 15px;
        display: block;
    }
    .header__contacts {
        position: fixed;
        display: block;
        z-index: 100;
        bottom: 50px;
        margin-top: 40px;
        right: -100%;
        transition: all .3s ease;
    }
    .header__contacts-active {
        right: 65px;
    }
    .header__contact-list {
        flex-direction: column;
    }
    .header__link-contact {
        color: white;
        font-weight: 300;
    }
    .hlcmc {
        margin-bottom: 25px;
    }
    .body-lock {
        overflow: hidden;
    }
    .cookies__content p {
        font-size: 13px;
    }

    /* --- --- --- Burger --- --- --- */
    .header__burger {
        width: 40px;
        height: 30px;
        display: block;
        position: relative;
        z-index: 100;
    }
    .header__burger-span {
        display: block;
        width: 100%;
        height: 2px;
        background: #3972C9;
        position: absolute;
        left: 0;
        top: 15px;
    }
    .header__burger:after, .header__burger:before {
        content: '';
        width: 100%;
        height: 2px;
        position: absolute;
        left: 0;
        background: #3972C9;
        transition: all .3s ease;
    }
    .header__burger:after {
        top: 0px;
    }
    .header__burger:before {
        top: 30px;
    }
    .header__burger-active:after {
        transform: rotate(45deg);
        background: white;
        top: 15px;
    }
    .header__burger-active:before {
        transform: rotate(-45deg);
        background: white;
        top: 15px;
    }
    .header__burger-active span {
        display: none;
    }
    
    /* Language */
    .li-mobile-header {
        display: block;
    }
    .li-pc-header {
        display: none;
    }
}

@media (max-width: 785px) {
    .form-right {
        display: none;
    }
    .footer__column {
        flex: 0 0;
        min-width: 200px;
        margin-bottom: 30px;
    }
}
@media (max-width: 480px) {
    .footer__row {
        flex-direction: column;
        align-items: center;
    }
    .footer__subsubtitle {
        text-align: center;
    }
    .footer__subsubtitle p {
        margin-bottom: 20px;
    }
    .quote {
        font-size: 18px;
        padding: 35px 0;
    }
    .quote:before, .quote:after {
        display: none;
    }
    .title {
        font-size: 38px;
    }
    .subtitle{
        font-size: 20px;
    }
    .header__logo-img {
        height: 50px;
    }
}

