/*========================================================*/

* {
  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: #000;
  min-width: 290px;
  /*font-family: 'Onest-Regular';*/
  font-family: Arial, Helvetica, sans-serif;
}

.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 {
  padding-left: 20px;
}

.img_cont {
  display: block;
  text-align: center;
}

.img_cont img {
  width: 100%;
  height: auto;
}

img {
  max-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,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 18px;
  ;
}



/*==========================*/
.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: 192px;
}

header {
  width: 100%;
  height: 192px;
  overflow: visible;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1003;
  background-color: #FFF;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  min-width: 290px;
}

header.home_page {
  background-color: transparent;
}

header.smaller {
  height: 60px;
  -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: #1E528B;
  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: #1E528B;
  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;
}

/*------------------------*/
.top_panel {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site_logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.site_logo:hover,
.site_logo:focus {
  color: #fff;
  text-decoration: none;
  outline: none;
}

.site_logo_image {
  display: block;
  width: 80px;
  min-width: 80px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0 center;
  -webkit-transition: height 0.3s;
  -moz-transition: height 0.3s;
  -ms-transition: height 0.3s;
  -o-transition: height 0.3s;
  transition: height 0.3s;
}

.site_logo_image {
  display: block;
}

.site_logo_slogan {
  padding-left: 15px;
  line-height: 1;
}

.site_logo_slogan_top {
  font-size: 16px;
  display: block;
  color: #D1D1D1;
  margin-bottom: 10px;
}

.site_logo_slogan_bottom {
  font-size: 25px;
  display: block;
  color: #fff;
}

.footer_data {
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.footer_logo {
  display: block;
  width: 91px;
  height: 112px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  margin-left: auto;
  margin-right: auto;

}

.footer_top_text {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 6px;
}

.footer_bottom_text {
  font-weight: 200;
  font-size: 10px;
}

.post_wrapper a {
  color: #4B7FB8;
}

.post_header h1 {
  font-size: 21px;
  font-weight: bold;
  color: #4B7FB8;
}

.last_news {
  /*font-size: 14px;*/
}

.last_news>li {
  margin-bottom: 10px;
}

.last_news>li a {
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

.last_news>li a:hover,
.last_news>li a:focus {
  text-decoration: none;
  opacity: .95;
}

.last_news>li a img {
  margin-bottom: 6px;
}

.last_news>li a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.new_box_txt h2,
.new_box_txt h1 {
  font-size: 20px;
}

.new_box_txt a {
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  color: #4B7FB8;
  display: block;
}

.new_box_txt a:hover,
.new_box_txt a:focus {
  text-decoration: none;
  color: #4B7FB8;
}

.new_box_excerpt {
  line-height: 1.2;
}

.new_box .img_cont {
  -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;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: block;
}

.new_box .img_cont:hover,
.new_box .img_cont:focus {
  text-decoration: none;
  opacity: 0.95;
}

.news_list_page .new_box .img_cont {
  height: 150px;
  width: 150px;
}

.pade_header {
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
  line-height: 1;
}


.news_list_page .new_box {
  border-bottom: 1px dashed #ddd;
}

.wp-pagenavi a,
.wp-pagenavi span {
  border: 1px solid #255289;
  padding: 7px 13px;
  margin: 2px;
}

.wp-pagenavi span.pages {
  background-color: #0F1F45;
  border-color: #0F1F45;
  color: #fff;
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.page.smaller {
  color: #255289;
  text-decoration: none;
}

.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.previouspostslink:focus {
  text-decoration: none;
  color: #fff;
  background-color: #255289;
}

.wp-pagenavi span.current {
  font-weight: bold;
  background-color: #255289;
  color: #fff;
}

/*===================*/
.page_inner_wrap .menu {
  padding: 15px;
  background-color: #F2F2F2;
}

.page_inner_wrap .menu>.menu-item>a {
  font-size: 17px;
}

.page_inner_wrap .menu .sub-menu>.menu-item>a {
  font-size: 14px;
}

.page_inner_wrap .current-menu-item>a {
  color: #4B7FB8;
  font-weight: 600;
}

.page_inner_wrap .menu,
.page_inner_wrap .sub-menu,
.page_inner_wrap .menu,
.page_inner_wrap .menu {
  list-style: none;
}

.alignleft {
  float: left;
  margin-right: 10px;
}

.alignright {
  float: right;
  margin-left: 10px;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block
}


.pagination .page-numbers {
  border: 1px solid #255289;
  padding: 7px 13px;
  margin: 2px;
  text-decoration: none;
}

.pagination .page-numbers:hover {
  text-decoration: none;
  background-color: #0F1F45;
  color: #fff;
}

.pagination .page-numbers.current {
  background-color: #0F1F45;
  color: #fff;
}


.grey_menu_decor {
  list-style: none;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #ddd;
}



.grey_menu_decor>a {
  text-decoration: none;
  display: block;
  line-height: 1;
  font-size: 20px;
  border-bottom: 1px dotted #000;
  padding: 15px 15px;
}

.grey_menu_decor_last_child {
  margin-bottom: 0px;
}

.grey_menu_decor a:hover,
.grey_menu_decor a:focus {
  text-decoration: none;
  color: #1E528B;
}

.grey_menu_decor:last-of-type>a {
  border-bottom: 0px;
}


.full_height_block {
  height: calc(100vh - 440px);
}

.back_button {
    display: inline-block;
    background-color: #0C1F46;
    font-size: 20px;
    color: #fff;
    text-align: center;
    padding: 0px 20px;
    height: 50px;
    line-height: 44px;
    border: 1px solid #0C1F46;
    outline: none;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -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;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

.back_button:hover,
.back_button:focus {
  background-color: #fff;
  color: #0C1F46;
  outline: none;
  text-decoration: none;
}

.back_button span {
    position: relative;
    display: inline-block;
    padding-left: 40px;
    vertical-align: middle;
}

.back_button span:before {
    content: "\ea93";
    font-family: IcoFont!important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    position: absolute;
    top: 50%;
    left: 0px;
    width: 30px;
    height: 20px;
    line-height: 20px;
    font-size: 30px;
    margin-top: -8px;
}

.error_404_txt {
    font-size: 150px;
    line-height: 1;
}

.error_404_note {
    font-size: 20px;
}

.error_404_txt b {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.error_404_txt b:before {
    content: "\ec83";
    font-family: IcoFont!important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    position: absolute;
    top: 0;
    left: 0px;
    line-height: 1;
    font-size: 400px;
    margin-top: -165px;
    margin-left: -33px;
    color: #eee;
    z-index: -1;
}

body.pojo-a11y-resize-font-130,
body.pojo-a11y-resize-font-140,
body.pojo-a11y-resize-font-150,
body.pojo-a11y-resize-font-160,
body.pojo-a11y-resize-font-170,
body.pojo-a11y-resize-font-180,
body.pojo-a11y-resize-font-190,
body.pojo-a11y-resize-font-200 {
    font-size: 120% !important;
}

