/*
Theme Name: Maria kuhni - Themes
Author: Maria kuhni  
Version: 1.0
*/ 

@font-face {
    font-display: swap;  
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/inter-v12-cyrillic_latin-regular.woff2') format('woff2'),
         url('fonts/inter-v12-cyrillic_latin-regular.woff') format('woff');
}
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/inter-v12-cyrillic_latin-600.woff2') format('woff2'),
         url('fonts/inter-v12-cyrillic_latin-600.woff') format('woff');
}
@font-face {
    font-display: swap;  
    font-family: 'SangBleuSunrise';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/SangBleuSunrise-Light-WebXL.woff2') format('woff2'),
         url('fonts/SangBleuSunrise-Light-WebXL.woff') format('woff');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color .3s;
}
a:hover {
    color: #2A3990;
}
img {
    max-width: 100%;
    height: auto;
}
ul, li {
    list-style: none;
}
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
h1 {
    text-transform: uppercase;
    font-size: 80px;
    line-height: 85px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    font-family: 'SangBleuSunrise';
    max-width: 1000px;
    margin: 0 auto;
}
 
.btn {
    padding: 14px 24px;
    background: #E31E24;
    border-radius: 12px;
    border: 0; 
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Inter';
    transition: all .3s; 
    text-align: center;
}
.btn:hover {
    background: #7F484B;
    color: #fff;
}
.container {
    max-width: 1582px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.box {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
body {
    font-family: 'Inter', sans-serif; 
    font-size: 16px;
    line-height: 26px;
    color: #000;
    overflow-x: hidden;
}

p {
    margin-bottom: 15px;
}
header {
    padding: 20px 0;
    
}
.header__logo img {
    display: block;
}

header .container {
    display: flex;
    align-items: center;
}
.header__phone {
    margin-left: auto;
}
.header__btn {
    position: relative;
    margin-left: 25px;
} 
.first__inner {
    padding: 25px;
    height: calc(100vh - 81px);
    max-height: 788px;
    display: flex;
    background-size: cover!important;
    border-radius: 16px;
    flex-direction: column;
}
.first__form {
    background: #FFFFFF; 
    border-radius: 16px;
    padding: 40px 40px 30px;
    margin-top: auto;
}
.form__row {
    display: flex;
    flex-wrap: wrap;
}
.form__left {
    width: calc(100% - 275px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form__right {
    width: 275px;
    padding-left: 25px;
}
.form__left .form-group {
    width: calc(33.3333% - 20px);
}
.contacts {
    padding: 0px 0 50px;
}
.title-box {
    font-size: 30px;
    line-height: 40px;
    font-family: 'SangBleuSunrise';
    text-align: center;
    padding: 20px 0;
}
.title-box span {
    display: block;
    font-size: 22px;
    padding-top: 10px;
    line-height: 32px;
}
.first {
    padding-bottom: 40px;
}
/* footer */ 
footer .container {
    display: flex;
    align-items: center;
    padding: 20px 15px 40px;
    border-top: 1px solid #C4C4C4;
}
.footer__copyright {
    margin-left: auto;
    color: #757575;
    font-size: 14px;
    line-height: 20px;
}
.header__phone a {
    font-size: 20px;
    line-height: 24px;
    font-family: 'SangBleuSunrise';
}
.contacts__title {
    padding: 20px 0;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    border-top: 1px solid #DCDCDC;
    border-bottom: 1px solid #DCDCDC;
}
.contacts__title h2 {
    font-size: 80px;
    line-height: 85px;
    font-weight: 400;
    font-family: 'SangBleuSunrise';
}
.contacts__title span {
    color: #757575;
    font-family: 'Inter';
}
.contacts__right {
    width: 58%;
}
.contacts__left {
    width: 42%;
    display: flex;
    flex-direction: column;
}
.footer__phone a {
    color: #0F0F0F;
    font-size: 20px;
    line-height: 24px;
    font-family: 'SangBleuSunrise';
}
.footer__phone {
    padding-left: 70px;
}
.map {
    padding: 50px 0 100px;
}
.map__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px; 
    color: #E31E24;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.contacts__item {
    font-size: 24px;
    line-height: 20px;
    font-family: 'SangBleuSunrise';
}
.contacts__work, .contacts__phone {
    display: flex;
    justify-content: space-between;
    text-align: right;
    line-height: 30px;
    padding: 20px 0;
}
.contacts__desc {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.01em;
    color: #757575;
    padding: 40px 0 20px;
}
.contacts__email {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.01em;
    color: #E31E24;
    text-transform: uppercase;
}
.contacts__work {
    border-bottom: 1px solid #DCDCDC;
    margin-top: auto;
}
.contacts__item span {
    color: #757575;
    font-size: 16px;
    line-height: 20px;
}
.map__box iframe {
    height: 600px;
}
.wrapper {
    display: flex;
    flex-direction: column;
}
.map__box {
    border-radius: 25px;
    overflow: hidden;
}
.first__inner-img {
    display: none;
}
/* modal & forms */
.modal-title {
    font-size: 25px;
    line-height: 35px;
    padding-bottom: 20px;
    font-family: 'SangBleuSunrise';
    text-align: center;
}
.modal:not(.fancybox-content) {
    display: none;
}
.modal {
    background: #ffffff;
    padding: 40px 40px 25px;
    max-width: 500px;
    width: 100%;
}

.form__field {
    width: 100%;
    font-family: 'SangBleuSunrise', sans-serif;
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 25px;
    height: 70px; 
    padding: 30px 30px 20px 0;
    background: #FFFFFF;  
    color: #000;
    border: 0;
    border-bottom: 1px solid #DCDCDC;
}
.form__label {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    line-height: 20px;
    color: #757575;
}
.form-submit .btn {
    display: block;
    width: 100%;
    cursor: pointer;
    margin: 0px auto 25px;
    padding: 24px 40px;
}
.form-group {
    position: relative;
} 
label.error {
    position: absolute;
    left: 5px;
    bottom: 0;
    font-size: 14px;
    color: red; 
}
.form-check {
    font-size: 14px;
    line-height: 30px; 
    color: #757575;
    position: relative;
}
#checkpolit-error {
    top: 20px;
    z-index: 1; 
}
.modal .form-check { 
    line-height: 18px; 
}
.modal #checkpolit-error {
    top: 40px; 
}
#thanks p {
    text-align: center;    ;
}
.form-check a{
    text-decoration: underline;
    color: #E31E24;
}
.form-check a:hover{
    text-decoration: none;
}
.form-check-label span:before, .form-check-label span:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    transition: 0.15s ease-in-out;
}
.form-check-label span {
    display: block;
    position: relative;
    padding: 0 0 0 35px; 
    cursor: pointer;
    z-index: 2;
    position: relative;
}
.form-check-label span:before {
    width: 24px;
    height: 24px;
    background: #E31E24;
    border-radius: 4px;
}
.form-check-input[type=checkbox] + span:after {
    width: 15px;
    height: 8px;
    margin: 3px 0 0 3px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 0 2px 2px;
    opacity: 0;
    transform: rotate(-45deg);
}
.form-check-input:checked + span:after {
    opacity: 1;
}
.form-check-input {
    position: absolute;
    opacity: 0;
}
.modal__title {
    font-weight: 600;
    text-align: center;
    font-size: 22px;
    padding-bottom: 25px;
    color: #E31E24;
}

::-webkit-input-placeholder {color: #000;font-family: 'SangBleuSunrise', sans-serif;}
::-moz-placeholder          {color: #000;font-family: 'SangBleuSunrise', sans-serif;}
:-moz-placeholder           {color: #000;font-family: 'SangBleuSunrise', sans-serif;}
:-ms-input-placeholder      {color: #000;font-family: 'SangBleuSunrise', sans-serif;}