/* STYLES FOR HEADER */
html {
  scroll-behavior: smooth;
}

.wrapper {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}

.wrapper2 {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}

body {
    background: rgba(255, 255, 255, 1);
    font-family: 'Montserrat', sans-serif;
    color: #1E1E1E;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
}

hr {
  border: none; /* Убираем границу для браузера Firefox */
  color: #CA3F3C; /* Цвет линии для остальных браузеров */
  background-color: #CA3F3C; /* Цвет линии для браузера Firefox и Opera */
  height: 1px; /* Толщина линии */
  top:auto;
  left:0;
  width:100%;
}

header.top_header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;

}

header.top_header .wrapper2 {
    display: flex;
    align-items: center;
    justify-content: space-between;


}

header.top_header .wrapper2 nav.main_menu ul{
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
}

header.top_header .wrapper2 nav.main_menu ul li{
    margin-left: 13px;
    margin-right: 13px;
}

header.top_header .wrapper2 nav.main_menu ul li a{
    color: inherit;
    text-decoration: none;
}

header.top_header .wrapper .contacts_logo ul{
    display: flex;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
}

header.top_header .wrapper .contacts_logo ul li{
    margin-left: 12px;
    margin-right: 12px;
}

header.top_header .wrapper .contacts_logo ul li a{
    color: inherit;
    text-decoration: none;
}

header.top_header .wrapper .lang{
    background-color: #CA3F3C;
    color: #1E1E1E;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    border-radius: 3px;
    align-items: center;
}

header.top_header .wrapper .lang a{
    color: inherit;
    text-decoration: none;
}

header.top_header .wrapper .contacts_header ul{
    display: flex;
    color: #1E1E1E;
    font-size: 16px;
    line-height: 20px;
}

header.top_header .wrapper .contacts_header ul li{
    margin-left: 0;
    margin-right: 0;
}

header.top_header .wrapper .contacts_header ul li img{
    margin-left: 0;
    margin-right: 7px;
}

header.top_header .wrapper .contacts_header ul li b{
    font-style: normal;
    font-weight: 600;
}

header.top_header .wrapper .contacts_header ul li a{
    color: inherit;
    text-decoration: none;
}

@media (min-width:1px) and (max-width:510px) {
    .contacts_logo{
        display:none;
    }
    .dropdown-content {
        min-width: 320px !important;
    }
}

@media (min-width:1px) and (max-width:520px) {
    footer.foot .wrapper img{
        width: 100%;
    }
    footer.foot .wrapper .landing_input{
        width: 140px !important;
    }
    footer.foot .wrapper .subscribe_button{
        padding-left: 0;
        padding-right: 0;
        width: 150px !important;
    }
}

@media (min-width:1px) and (max-width:554px) {
    .die_image1 {
        display: none !important;
    }
}

@media (min-width:1px) and (max-width:577px) {
    .landing_input {
        width: 270px !important;
    }
    .landing_textarea {
        width: 270px !important;
    }
    section.callback .wrapper .callback_container .callback_container2 {
    width: 100%;
    }
    .kill_image {
    width: 100%;
    }
    .uslugi_adapter1 {
        width: auto !important;
    }
    .turbo_header {
        width: auto !important;
        padding-right: 20px;
    }
    .modal-content{
        width: 90% !important;
    }
}

@media (min-width:1px) and (max-width:355px) {
    .subscribe_button2 {
        width: 220px !important;
    }
    .landing_input {
        width: 220px !important;
    }
    .landing_textarea {
        width: 220px !important;
    }
    section.callback .wrapper .callback_container .callback_container3 {
        justify-content: space-evenly !important;
    }
    section.callback .wrapper .callback_container {
         text-align: start !important;
    }
    section.callback .wrapper ul li .callback_container button, section.page_heading .wrapper button {
        padding: 24px 40px !important;
    }
    section.works .wrapper ul li .tabcontent ul li {
        width: 270px !important;
    }
    section.uslugi .wrapper ul li .uslugi_container .uslugi_cont_text {
        width: 300px !important;
    }
    section.works .wrapper ul li .tabcontent3 ul li .works_content_header {
        width: auto !important;
    }
    section.works .wrapper ul li .tabcontent ul li .works_content_header {
        width: auto !important;
    }

}

@media (min-width:1px) and (max-width:1132px) {
section.page_heading .wrapper {
    flex-direction: column !important;
}
    .turbo_urbo {
        display: contents !important;
    }
}
@media (min-width:1px) and (max-width:485px) {
    .bye_image {
        display: none;
    }
}
@media (min-width:1px) and (max-width:937px) {
    .landing_input_modal {
        width: 200px !important;
    }
    .landing_textarea_modal {
        width: 200px !important;
    }
    .landing_input_modal_brif {
        width: 100% !important;
    }
    .landing_textarea_modal_brif {
        width: 100% !important;
    }
    .button_black_modal {
        padding: 26px 40px !important;
    }
       .contacts_header{
       display: none;
   }
   .wrapper2{
       display: none;
       height: 0;
   }
   header.top_header .wrapper2 nav.main_menu ul{
       display: none
   }
   .dropdown{
       display: inline-block;
   }
}
@media (min-width:1px) and (max-width:988px) {
    legend {
        padding-right: 10px !important;
    }
        .uslugi_adapter1 {
        width: auto !important;
    }
}

@media (min-width:1px) and (max-width:1136px) {
    section.about .wrapper ul{
        flex-direction: column !important;
    }
}

@media (min-width:1px) and (max-width:1025px) {
    section.withus .wrapper .withus_container .img_center{
        display: none !important;
    }
}

@media (min-width:1px) and (max-width:746px) {
    .kill_arrowww {
        display: none;
    }
}

@media (min-width:1px) and (max-width:793px) {

   .hh1{
       font-size: 8vw !important;
   }
   .hhh1{
       font-size: 3vw !important;
   }
   .hh2{
       font-size: 6vw !important;
   }
   .hhh2{
       font-size: 6vw !important;
   }
   .hh3{
       font-size: 6vw !important;
   }
   .hh4{
       font-size: 6vw !important;
   }

}
@media (min-width:1px) and (max-width:388px) {
    section.landing_header .wrapper h1 {
        font-size: 8vw !important;
    }
}
@media (min-width:938px) and (max-width:3000px) {
      .dropdown{
       display: none;
   }
      .wrapper2{
       display: none;
       height: 80px;
   }
}

/* STYLES FOR PAGE HEADING */

section.page_heading .wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
}

section.page_heading .wrapper .hh1{
    font-size: 64px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-top: 20px;
}

section.page_heading .wrapper .hhh1{
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-top: 20px;
    font-weight: bold;
    max-width: 520px;
}

section.page_heading .wrapper .hh2{
    font-size: 48px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow:
		-0   -2px 0   #000000,
		 0   -2px 0   #000000,
		-0    2px 0   #000000,
		 0    2px 0   #000000,
		-2px -0   0   #000000,
		 2px -0   0   #000000,
		-2px  0   0   #000000,
		 2px  0   0   #000000,
		-1px -2px 0   #000000,
		 1px -2px 0   #000000,
		-1px  2px 0   #000000,
		 1px  2px 0   #000000,
		-2px -1px 0   #000000,
		 2px -1px 0   #000000,
		-2px  1px 0   #000000,
		 2px  1px 0   #000000,
		-2px -2px 0   #000000,
		 2px -2px 0   #000000,
		-2px  2px 0   #000000,
		 2px  2px 0   #000000,
		-2px -2px 0   #000000,
		 2px -2px 0   #000000,
		-2px  2px 0   #000000,
		 2px  2px 0   #000000;
}

section.page_heading .wrapper .hhh2{
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow:
		-0   -2px 0   #000000,
		 0   -2px 0   #000000,
		-0    2px 0   #000000,
		 0    2px 0   #000000,
		-2px -0   0   #000000,
		 2px -0   0   #000000,
		-2px  0   0   #000000,
		 2px  0   0   #000000,
		-1px -2px 0   #000000,
		 1px -2px 0   #000000,
		-1px  2px 0   #000000,
		 1px  2px 0   #000000,
		-2px -1px 0   #000000,
		 2px -1px 0   #000000,
		-2px  1px 0   #000000,
		 2px  1px 0   #000000,
		-2px -2px 0   #000000,
		 2px -2px 0   #000000,
		-2px  2px 0   #000000,
		 2px  2px 0   #000000,
		-2px -2px 0   #000000,
		 2px -2px 0   #000000,
		-2px  2px 0   #000000,
		 2px  2px 0   #000000;
}

section.page_heading .wrapper .hh3{
    left: 0;
    top: 3px;
    background: #FFEB7E;
    border-radius: 2px;
    font-weight: 600;
    font-size: 50px;
    line-height: 120%;
    align-items: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1A1A;
    padding-left: 20px;
    padding-right: 20px;
}

section.page_heading .wrapper .hh4{
    font-weight: 600;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin-left:30px;
}
section.callback .wrapper ul li .callback_container button,
section.page_heading .wrapper button{
    font-weight: 500;
    font-size: 18px;
    line-height: 73.69%;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #F2F2F2;
    margin-top: 52px;
    box-shadow: 7px -7px #FFEB7E;
    padding: 26px 70px;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    background-color: #CA3F3C;
    margin-bottom: 20px;
}
.button_black_modal {
    font-weight: 500;
    font-size: 18px;
    line-height: 73.69%;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #F2F2F2;
    margin-top: 52px;
    box-shadow: 7px -7px #FFEB7E;
    padding: 26px 70px;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    background-color: #CA3F3C;
    margin-bottom: 20px;
}

.button_black_modal:hover {
    background-color: #FFEB7E;
    box-shadow: 7px -7px #1E1E1E;
    color: #1E1E1E;
}
section.callback .wrapper ul li .callback_container .button_black:hover,
section.page_heading .wrapper .button_black:hover, .button_black:focus{
    background-color: #FFEB7E;
    box-shadow: 7px -7px #CA3F3C;
    color: #1E1E1E
}

section.page_heading .wrapper .img_heading{

}

section.landing_header .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
    justify-content: space-around;
    height: auto;
}

section.landing_header .wrapper h1{
    font-weight: 500;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 0.05em;
    color: #1A1A1A;
    margin-top: 60px;
    margin-bottom: 4px;
    text-align: center;
}

section.about .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
    justify-content: space-around;
    height: auto;
    padding-top: 40px;
}

section.about .wrapper ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
    align-items: center;
}

section.about .wrapper ul li {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 50px;
    text-align: center;
}

section.about .wrapper ul li img{
    margin-left: 20px;
    margin-right: 20px;

}

section.about .wrapper ul li p{
    font-size: 14px;
    line-height: 20px;
    width: 270px;
}

section.uslugi .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
    justify-content: space-around;
    height: auto;

}

section.uslugi .wrapper ul{
    display: contents;
    flex-direction: row;
    flex-wrap: wrap;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
    align-items: center;
}

section.uslugi .wrapper ul li {
    min-height: 570px;
    width: 560px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 50px;
    text-align: center;
    border: 3px solid #FFEB7E;
    background-color: #FFFFFF;
}

section.uslugi .wrapper ul li .uslugi_heads {
    display: grid;
    align-items: center;
    height: 60px;
    background-color: #FFEB7E;
    font-weight: bold;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1A1A;
}

section.uslugi .wrapper ul li .uslugi_container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    font-size: 16px;
    line-height: 22px;
    align-items: self-start;
    padding-top: 50px;
    width: 100%;
    height: auto;

}

section.uslugi .wrapper ul li .uslugi_container .uslugi_cont_text{
    width: 320px;
}

section.uslugi .wrapper ul li .uslugi_container .uslugi_cont_text p{
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    padding-top: 50px;

}

section.uslugi .wrapper ul li .uslugi_container2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: end;
    margin-top: 23px;
    width: 100%;
    text-align: center;
    height: auto;
}
.uslugi_container222 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: end;
    margin-top: 13px;
    width: 100%;
    text-align: center;
    height: auto;
}

.ellipse{
    background-color: #FFEB7E;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.ellipse2{
    background-color: #FFEB7E;
    filter: drop-shadow(0px 2px 4px #1A1A1A);
    height: 80px;
    width: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    justify-content: center;
}


section.uslugi .wrapper ul li .uslugi_container2 .brif_button {
    font-weight: 500;
    font-size: 18px;
    line-height: 73.69%;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-top: 52px;
    box-shadow: 7px -7px #FFEB7E;
    padding: 26px 50px;
    border: 2px solid #1E1E1E;
    cursor: pointer;
    border-radius: 2px;
    background-color: #CA3F3C;
    margin-bottom: 20px;
}

section.uslugi .wrapper ul li .uslugi_container2 .brif_button:hover, .brif_button:focus{
    background-color: #ffffff;
    box-shadow: 7px -7px #CA3F3C;
    color: #1E1E1E
}

section.uslugi .wrapper ul li:hover, li:focus{
    background-color: #FFEB7E;
    cursor: pointer;
    /*.uslugi_heads {*/
    /*    background-color: #FFFFFF !important;*/
    /*}*/
}

section.uslugi .wrapper ul li:hover .uslugi_heads{
    background-color: #FFFFFF;
}

section.uslugi .wrapper ul li:hover .uslugi_container2 .ellipse{
    background-color: #FFFFFF;
}

section.uslugi .wrapper ul li:hover .uslugi_container2 .brif_button2{
    background-color: #FFEB7E;
}

section.uslugi .wrapper ul li .uslugi_container2 .brif_button2 {
    width: 240px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #1E1E1E;
    margin-top: 52px;
    padding: 26px 50px;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    background-color: #FFFFFF;
    margin-bottom: 20px;
}

.back_dots {
    width: 100%;
    height: 100%;
    position: relative;
    background-image:  url("../img/back_dots.svg");
    background-size: 100% 57em;
    background-repeat: no-repeat;
    padding-top: 40px;
}

section.withus .wrapper {
    color: #333333;
    font-size: 16px;
    line-height: 22px;
    height: auto;
}

section.withus .wrapper .withus_container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    margin-top: 23px;
    width: 100%;
    text-align: center;
    height: auto;
}

section.withus .wrapper .withus_container666{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: start;
    margin-top: 23px;
    width: 100%;
    text-align: center;
    height: auto;
}

section.gallery .wrapper {
    color: #333333;
    font-size: 14px;
    height: auto;

}

section.works .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: initial;
    color: #333333;
    font-size: 14px;
    line-height: 22px;
    justify-content: space-between;
    height: auto;
}

b {
    font-weight: bold;
}

section.works .wrapper ul li .works_container{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    margin-top: 23px;
    width: 100%;
    text-align: center;
    height: auto;

}
section.works .wrapper ul li .works_container .works_text_button{
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.05em;
    text-decoration: none;

}
section.works .wrapper ul li .works_container .works_button{
    transition: text-shadow .2s;
    color: #828282;
    background: #e9e9e9;
    margin-right: 10px;
    margin-top: 10px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 5px;
    border-radius: 2px;
    height: 35px;
}

section.works .wrapper ul li .works_container .works_button2{
    transition: text-shadow .2s;
    color: #828282;
    background: #e9e9e9;
    margin-right: 30px;
    margin-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0;
    border-radius: 2px;
    height: 100px;
    display: flex;
    align-items: center;
    align-content: center;
}

section.works .wrapper ul li .works_container .works_button:hover, .works_button:focus{
    text-shadow: 0 0 1px #333, 0 0 1px #FFFFFF, 0 0 1px #FFFFFF;
    color: #FFFFFF;
    background-color: #CA3F3C;
    text-align: center;
    cursor: pointer;
}

section.works .wrapper ul li .works_container .works_button2:hover, .works_button2:focus{
    text-shadow: 0 0 1px #333, 0 0 1px #333, 0 0 1px #333;
    color: #FFFFFF;
    background-color: #CA3F3C;
    text-align: center;
    cursor: pointer;
}

.active {
    /*border: 1px solid #1A1A1A;*/
    text-shadow: 0 0 1px #333, 0 0 1px #FFFFFF, 0 0 1px #FFFFFF;
    background-color: #CA3F3C !important;
    text-align: center;
    color: #FFFFFF !important;
    cursor: pointer;
}

section.works .wrapper ul li .works_content{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    margin-top: 23px;
    width: 100%;
    text-align: center;
    height: 450px;
}

/* Style the tab content */
.tabcontent {
  display: none;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

.tabcontent3 {
  display: none;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

section.works .wrapper ul li .tabcontent3 {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-image: url('../img/works_back.svg');
    background-repeat: no-repeat;
    background-position: top right;
}

section.works .wrapper ul li .tabcontent3 ul li{
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex-wrap: initial;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: baseline;
    margin-top: 23px;
    text-align: center;
    width: auto;
}

section.works .wrapper ul li .tabcontent3 ul li .works_content_text{
    width: 100%;
    text-align: left;
    margin-left: 20px;
}

section.works .wrapper ul li .tabcontent3 ul li .works_content_header{
    width: 150px;
    height: 30px;
    border: 2px solid #FFEB7E;
    box-sizing: border-box;
    border-radius: 1px;
    padding: 4px 13px;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #1E1E1E;
}


section.works .wrapper ul li .tabcontent {
    height: auto;
    width: 100%;
    background-image: url('../img/works_back.svg');
    background-repeat: no-repeat;
    background-position: top right;
}

section.works .wrapper ul li .tabcontent ul li{
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex-wrap: initial;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: baseline;
    margin-top: 23px;
    text-align: center;
    width: auto;
}

section.works .wrapper ul li .tabcontent ul li .works_content_text{
    width: 100%;
    text-align: left;
    margin-left: 20px;
}

section.works .wrapper ul li .tabcontent ul li .works_content_header{
    width: 150px;
    height: 30px;
    border: 2px solid #FFEB7E;
    box-sizing: border-box;
    border-radius: 1px;
    padding: 4px 13px;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #1E1E1E;
}

section.callback .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 22px;
    justify-content: space-evenly;
    height: auto;
}

section.callback .wrapper .callback_container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: flex-start;
    margin-top: 23px;
    width: auto;
    text-align: right;
    height: auto;
}

section.callback .wrapper .callback_container .callback_container3 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: flex-start;
    margin-left: 32px;
    width: auto;
    text-align: right;
    height: auto;
}

section.callback .wrapper .callback_container .callback_container2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    width: 140px;
    text-align: start;

}

.landing_input {
    margin-left: 30px;
    padding: 13px;
       border: 1px solid #333333;
       border-radius: 1px;
       -webkit-border-radius: 1px;
       -moz-border-radius: 1px;
       /*-khtml-border-radius: 1px;*/
       background: #ffffff !important;
       outline: none;
       height: 24px;
       width: 370px;

}

.landing_input_modal {
    margin-left: 30px;
    padding: 13px;
       border: 1px solid #333333;
       border-radius: 1px;
       -webkit-border-radius: 1px;
       -moz-border-radius: 1px;
       /*-khtml-border-radius: 1px;*/
       background: #ffffff !important;
       outline: none;
       height: 24px;
       width: 370px;

}

.landing_input_modal_brif {
    padding: 13px;
       border: 1px solid #333333;
       border-radius: 1px;
       -webkit-border-radius: 1px;
       -moz-border-radius: 1px;
       /*-khtml-border-radius: 1px;*/
       background: #ffffff !important;
       outline: none;
       height: 24px;
       width: 470px;
        margin-top: 10px;

}

.landing_textarea_modal {
    font-family: 'Montserrat', sans-serif;
    color: #1E1E1E;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    margin-left: 30px;
    padding-left: 13px;
   border: 1px solid #333333;
   border-radius: 1px;
   -webkit-border-radius: 1px;
   -moz-border-radius: 1px;
   /*-khtml-border-radius: 1px;*/
   background: #ffffff !important;
   outline: none;
   height: 64px;
   width: 370px;

}

.landing_textarea_modal_brif {
    font-family: 'Montserrat', sans-serif;
    color: #1E1E1E;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    padding-left: 13px;
   border: 1px solid #333333;
   border-radius: 1px;
   -webkit-border-radius: 1px;
   -moz-border-radius: 1px;
   /*-khtml-border-radius: 1px;*/
   background: #ffffff !important;
   outline: none;
   height: 64px;
   width: 470px;
    margin-top: 10px;
}

.landing_textarea {
    font-family: 'Montserrat', sans-serif;
    color: #1E1E1E;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    margin-left: 30px;
    padding-left: 13px;
   border: 1px solid #333333;
   border-radius: 1px;
   -webkit-border-radius: 1px;
   -moz-border-radius: 1px;
   /*-khtml-border-radius: 1px;*/
   background: #ffffff !important;
   outline: none;
   height: 64px;
   width: 370px;
}

.radio_label {
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 20px;
width: 50px;
/* display: flex;
align-items: center; */
cursor: pointer;
margin-left: 10px;
color: #1E1E1E;
}

footer.foot {
    width: 100%;
    background-color: #FFEB7E;
    height: auto;
}

footer.foot .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #1E1E1E;
    font-size: 14px;
    line-height: 22px;
    justify-content: space-evenly;
    height: auto;
}

footer.foot .wrapper hr {

    border: none;
    color: gray;
    background-color: gray;
    height: 1px;
    top: auto;
    left: 0;
    width: 100%;

}

footer.foot .wrapper .contacts_logo {
    display: flex;
    color: #333333;
    font-size: 16px;
    line-height: 22px;

}
footer.foot .wrapper .contacts_logo ul {
    display: flex;
    color: #1E1E1E;
    font-size: 16px;
    line-height: 20px;
    }

footer.foot .wrapper .contacts_logo ul li{
    margin-right: 10px;
    }

.subscribe_button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    border: none;
    border-bottom: 2px solid #CA3F3C;
    margin:0;
    cursor: pointer;
    background-color: #CA3F3C;
    padding-left: 40px;
    padding-right: 40px;
    height: 48px;

}

fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: relative; padding: 0.35em 0.625em 0.75em;
    border: 7px solid #FFEB7E;
}

.fieldset_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.fieldset_container_row {
    display: grid;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
legend {
    margin-left: 30px;
    padding-left: 10px;
    padding-right: 700px;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow:
		-0   -1px 0   #000000,
		 0   -1px 0   #000000,
		-0    1px 0   #000000,
		 0    1px 0   #000000,
		-1px -0   0   #000000,
		 1px -0   0   #000000,
		-1px  0   0   #000000,
		 1px  0   0   #000000,
		-1px -1px 0   #000000,
		 1px -1px 0   #000000,
		-1px  1px 0   #000000,
		 1px  1px 0   #000000,
		-1px -1px 0   #000000,
		 1px -1px 0   #000000,
		-1px  1px 0   #000000,
		 1px  1px 0   #000000,
		-1px -1px 0   #000000,
		 1px -1px 0   #000000,
		-1px  1px 0   #000000,
		 1px  1px 0   #000000,
		-1px -1px 0   #000000,
		 1px -1px 0   #000000,
		-1px  1px 0   #000000,
		 1px  1px 0   #000000;

}
.legend2 { position: absolute; bottom: -13.4ex; left: 10px; background: white; width: auto;  }
caption, .legend2 { padding: 0 }

.button_white {
    border: 2px solid #1E1E1E;
    font-weight: 500;
    font-size: 18px;
    line-height: 73.69%;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-top: 52px;
    box-shadow: 7px -7px #FFEB7E;
    padding: 26px 70px;
    cursor: pointer;
    border-radius: 2px;
    background-color: #CA3F3C;
    margin-bottom: 20px;
}

.button_white:hover {
    color: black;
    box-shadow: 7px -7px #F2F2F2;
    background-color: #FFEB7E;

}

.turbo_header {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 120%;
    width: 470px;
    height: 59px;
    background: #FFEB7E;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-left: 20px;
    display: flex;
    align-items: center;
    align-content: flex-start;
    color: #1A1A1A;
}

.just_header {
    width: auto;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 120%;
    height: auto;
    /*background: #FFEB7E;*/
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    align-content: flex-start;
    color: #1A1A1A;
}

.uslugi_container_end {
    text-shadow: none;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    width: 80%;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
    background: #FFEB7E;
    border-radius: 2px;
    letter-spacing: 0.05em;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    color: #1A1A1A;
}
.uslugi_container_end2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.subscribe_button2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    align-items: center;
    text-align: center;
    color: #F2F2F2;
    border: none;
    border-bottom: 2px solid #1E1E1E;
    cursor: pointer;
    background-color: #CA3F3C;
    margin-right: 10px;
    padding-left: 40px;
    padding-right: 40px;
    height: 48px;
    width: 269px;
}

.scroll_top_btn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  /*background-color: #F2F2F2; !* Set a background color *!*/
    background: url("../img/arrow_left.svg") no-repeat;
    transform: rotate(90deg);
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

.scroll_top_btn:hover {
  /*background-color: #555; !* Add a dark-grey background on hover *!*/
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 70px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s

}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.close_response {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_response:hover,
.close_response:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.close2 {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.close_brif_bots {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_brif_bots:hover,
.close_brif_bots:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.close_brif_ar {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_brif_ar:hover,
.close_brif_ar:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}
/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0}
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0}
  to {opacity: 1}
}

.modal_header {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1C1E2C;
}

.modal_after_header {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #464F5C;
}

.callback_container_modal {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: flex-start;
    margin-top: 23px;
    width: auto;
    text-align: right;
    height: auto;
}

.callback_container_modal_brif {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: flex-start;
    margin-top: 23px;
    width: auto;
    text-align: right;
    height: auto;
}

.callback_container3_modal {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: flex-start;
    margin-left: 32px;
    width: auto;
    text-align: right;
    height: auto;
}

.callback_container2_modal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    width: 140px;
    text-align: start;
}

