@font-face {
    font-family: 'Onest-Regular';
    src: url('../fonts/Onest-Regular.eot');
    src: url('../fonts/Onest-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Onest-Regular.woff2') format('woff2'),
        url('../fonts/Onest-Regular.woff') format('woff'),
        url('../fonts/Onest-Regular.ttf') format('truetype'),
        url('../fonts/Onest-Regular.svg#Onest-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Onest-Bold';
    src: url('../fonts/Onest-Bold.eot');
    src: url('../fonts/Onest-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Onest-Bold.woff2') format('woff2'),
        url('../fonts/Onest-Bold.woff') format('woff'),
        url('../fonts/Onest-Bold.ttf') format('truetype'),
        url('../fonts/Onest-Bold.svg#Onest-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Onest-Medium';
    src: url('../fonts/Onest-Medium.eot');
    src: url('../fonts/Onest-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Onest-Medium.woff2') format('woff2'),
        url('../fonts/Onest-Medium.woff') format('woff'),
        url('../fonts/Onest-Medium.ttf') format('truetype'),
        url('../fonts/Onest-Medium.svg#Onest-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
/*========================================================*/

* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: none !important;
}

body {
    font-size: 16px;
    color: #1D1D1D;
    min-width: 290px;
    font-family: 'Onest-Regular';

}

b {
  font-family: 'Onest-Bold';
}

.medium_font {
  font-family: 'Onest-Medium';
}

.red {
    outline: 1px solid red;
}

input,
textarea,
select {
    font-size: 16px !important;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.img_cont {
    display: block;
    text-align: center;
}

.img_cont img {
    width: 100%;
    height: auto;
}

.align_center {
    display: block;
    text-align: center;
}

a {
    text-decoration: none;
    outline: none;
    color: inherit;
}

a:hover,
a:focus {
    outline: none;
    color: inherit;
}

textarea:focus,
input:focus,
select:focus {
    outline: none
}

input[type="search"] {
    -webkit-appearance: none;
}

.slick-slide:focus {
    outline: none;
}

.slick-slide img {
    display: inline-block;
    width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    line-height: 1;
    font-weight: normal;
}

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }



/*==========================*/
.menu_button {
    height: 53px;
    width: 62px;
    right: 4px;
    top: -101px;
    text-align: center;
    position: absolute;
    overflow: hidden;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    z-index: 999;
    margin-top: 0;
    outline: none !important;
}

.menu_button.navbar-toggle {
    padding: 0px;
    margin: 0px;
}

.menu_button.active span i:nth-child(1) {
    -webkit-transform: rotate(-45deg) translate(-50%, -50%);
    transform: rotate(-45deg) translate(-50%, -50%);
    top: 16%;
    left: 27px;
}

.menu_button.active span i:nth-child(2) {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    opacity: 0;
}

.menu_button.active span i:nth-child(3) {
    -webkit-transform: rotate(45deg) translate(-50%, -50%);
    transform: rotate(45deg) translate(-50%, -50%);
    top: 57%;
    left: 23px;
}

.menu_button span {
    width: 60px;
    height: 70px;
    position: absolute;
    right: 0;
    top: 0px;
    cursor: pointer;
    background: transparent;
    z-index: 1;
}

.menu_button span i {
    position: absolute;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    width: 68%;
    height: 6px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #FF2D2D;
    -webkit-transition: opacity .1s ease .1s, -webkit-transform .3s ease;
    transition: opacity .1s ease .1s, -webkit-transform .3s ease;
    transition: transform .3s ease, opacity .1s ease .1s;
    transition: transform .3s ease, opacity .1s ease .1s, -webkit-transform .3s ease;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.menu_button span i:nth-child(1) {
    top: 15%;
}

.menu_button span i:nth-child(2) {
    top: 31%;
}

.menu_button span i:nth-child(3) {
    top: 47%;
}

body {
    padding-top: 150px;
}

header {
    width: 100%;
    height: 150px;
    overflow: visible;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1003;
    background-color: #FFF;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
    min-width: 290px;
}

header.home_page {
    background-color: transparent;
}

header.smaller {
    height: 64px;
    -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
}

header.smaller .top_panel {
    /*display: none;*/
}

.logo {
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    text-align: left;
    white-space: nowrap;
}
.logo a:hover,
.logo a:focus {
    text-decoration: none;
}
/*-------------*/
.active_button {
    display: inline-block;
    background-color: #FF2D2D;
    font-size: 16px;
    color: #fff;
    text-align: center;
    padding: 0px 10px;
    height: 40px;
    line-height: 35px;
    border: 2px solid #FF2D2D;
    outline: none;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Open Sans Bold';
    width: 160px;
}

.active_button:hover,
.active_button:focus {
    background-color: #fff;
    color: #FF2D2D;
    text-decoration: none;
}

/*=================================*/
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1050;
}

/* активируем модальное окно */

.dm-overlay:target {
    display: block;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}

/* блочная таблица */

.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}

/* ячейка блочной таблицы */

.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}

/* модальный блок */

.dm-modal {
    display: inline-block;
}

.popup {
    background-color: #fff;
    width: 450px;
    height: auto;
    box-shadow: 2px 5px 20px 0px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 0px;
    right: 0px;
    top: 50%;
    margin: -255px auto 0;
    z-index: 990;
    padding-top: 40px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 40px;
    border: 2px solid #fff;
}

.close_popup {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    font-size: 20px;
    text-align: center;
    line-height: 24px;
    color: #000;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    -moz-transition: 0.5s;
    cursor: pointer;
}

.close_popup:hover {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -sand-transform: rotate(360deg);
}

.popup input[type=text],
.popup input[type=email],
.popup input[type=tel] {
    border: 1px solid #ccc;
    outline: none;
    margin-bottom: 15px;
    color: #000;
    background: rgba(255, 255, 255, 1);
    height: 50px;
    width: 100%;
    padding: 0px 15px;
}

.popup textarea {
    border: 1px solid #ccc;
    outline: none;
    background: rgba(255, 255, 255, 1);
    height: 120px;
    width: 100%;
    padding: 15px;
    margin-bottom: 5px;
    resize: none;
}

.popup input[type=submit] {
    background-color: #E74237;
    color: #fff;
    text-align: center;
    height: 50px;
    border: 2px solid #E74237;
    transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    -moz-transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    -webkit-transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    -o-transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    outline: none;
    display: inline-block;
    width: 100%;
    margin-top: 20px;
    font-size: 21px;
}

.popup input[type=submit]:hover,
.popup input[type=submit]:focus {
    background-color: #fff;
    color: #E74237;
    text-decoration: none;
    outline: none;
}

.form_wrapper_header p {
    margin-bottom: 20px;
    font-size: 30px;
    margin-top: 10px;
}

.succes {
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 35px 30px;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0;
    margin: 0;
    z-index: 1002;
    display: none;
}

.succes .inner {
    display: table;
    width: 100%;
    height: 100%;
}

.succes .inner p {
    margin-top: 0 !important;
    display: table-cell;
    vertical-align: middle;
}

.succes p {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
    color: #000;
}

.succes p>span {
    display: block;
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 45px;
    color: #E74237;
    font-size: 50px;
    margin-top: 20px;
}
/*=========================*/
.vote label {
    display: block;
    cursor: pointer;
    position: relative;
    padding: 0;
    padding-left: 25px;
    font-size: 12px;
    color: #000;
    padding-top: 0px;
    text-align: left;
    font-weight: normal;
}

.vote input[type=checkbox] {
  display: none;
}

.vote label:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 16px;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: white;
  border: 1px solid #ccc;
  text-indent: -2px;
}

.vote input[type=checkbox]:checked+label:before {
  content: "\eed8";
  font-family: IcoFont!important;
  font-size: 20px;
  color: #921627;
  line-height: 14px;
  text-align: center;
  font-weight: bold;

}

/*======================================================*/
@media only screen and (max-width : 992px) {
    .popup {
        top: 0;
        margin-top: 20px;
    }
}

@media only screen and (max-width : 640px) {
    .popup {
        width: 96%;
    }
}

@media only screen and (max-width : 480px) {
    .popup {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*========================*/

.phone_mobile {
    display: block;
    position: fixed;
    left: 15px;
    bottom: 15px;
    width: 50px;
    height: 50px;
    border-radius: 500px;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    background-color: #FF2D2D;
    color: #fff !important;
    font-size: 25px;
    line-height: 51px;
    -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
    outline: none;
    text-align: center;
    transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    -moz-transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    -webkit-transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    -o-transition: background-color 0.1s linear, color 0.1s 0.1s ease-in-out;
    z-index: 10;
}

.phone_mobile:hover,
.phone_mobile:focus {
    color: #FF2D2D !important;
    text-decoration: none;
    background-color: #fff;
}

#toTop {
    width: 47px;
    height: 47px;
    background: #FF2D2D;
    position: fixed;
    bottom: 15px;
    right: 15px;
    cursor: pointer;
    display: none;
    z-index: 100;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s linear, color 0.2s 0.2s ease-in-out;
    -moz-transition: background-color 0.3s linear, color 0.2s 0.2s ease-in-out;
    -webkit-transition: background-color 0.3s linear, color 0.2s 0.2s ease-in-out;
    -o-transition: background-color 0.3s linear, color 0.2s 0.2s ease-in-out;
}

#toTop span {
    display: block;
    margin: 5px 0 0 0;
    font-size: 24px;
}

#toTop:hover {
    color: #FF2D2D;
    text-decoration: none;
    background-color: #fff;
}





.nav-link {
    color: #919191;
    white-space: nowrap;
}

.nav-link:hover {
    color: #FF2D2D;
}

.nav-item.active .nav-link {
    color: #FF2D2D;
}

.nav-item.active .nav-link b:after {
    width: 100%;
}

.nav-link>b {
    display: inline-block;
    position: relative;
}

.nav-link>b:after {
    content: '';
    position: absolute;
    top: 100%;
    background-color: #FF2D2D;
    height: 2px;
    width: 0%;
    left: 0;
    margin-top: 5px;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.nav-link:hover b:after {
    width: 100%;
}

/*---------------------*/
.slick-dots li.slick-active button:before,
.slick-dots li.slick-active button:hover,
.slick-dots li.slick-active button:focus {
    opacity: 0;
}

.slick-dots li button:before,
.slick-dots li button:hover,
.slick-dots li button:focus {
    opacity: 0;
}

.slick-dots li {
    overflow: hidden;
    width: 16px;
    height: 16px;
    background: #BEBABA;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
}

.slick-dots li.slick-active {
    background: #FF2D2D;
}

.slick-dots {
    bottom: -20px;
}

/*------------------------*/
.top_menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    align-content: stretch;
    margin-left: -15px;
    margin-right: -15px;
}

.top_menu >li>a {
    display: block;
    padding: 6px 15px;
}

.fw600 {
   font-weight: 600;
}

.top_phone {
    display: inline-block;
}
/*------------------------*/