/* Template-specific stuff
 *
 * Customizations just for the template; these are not necessary for anything
 * with disabling the responsiveness.
 */
[name="phone"]:before, #mail1:before {
  content: '+';
  display: block;
}

/* Account for fixed navbar */
body {
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
}

body,
.navbar-fixed-top,
.navbar-fixed-bottom {
  min-width: 970px;
}

/* Don't let the lead text change font-size. */
.lead {
  font-size: 16px;
}

/* Finesse the page header spacing */
.page-header {
  margin-bottom: 30px;
}
.page-header .lead {
  margin-bottom: 10px;
}


/* Non-responsive overrides
 *
 * Utilize the following CSS to disable the responsive-ness of the container,
 * grid system, and navbar.
 */

/* Reset the container */
.container {
  width: 1000px;
  max-width: none !important;
}

/* Demonstrate the grids */
.col-xs-4 {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #eee;
  background-color: rgba(86,61,124,.15);
  border: 1px solid #ddd;
  border: 1px solid rgba(86,61,124,.2);
}

.container .navbar-header,
.container .navbar-collapse {
  margin-right: 0;
  margin-left: 0;
}

/* Always float the navbar header */
.navbar-header {
  float: left;
}

/* Undo the collapsing navbar */
.navbar-collapse {
  display: block !important;
  height: auto !important;
  padding-bottom: 0;
  overflow: visible !important;
  visibility: visible !important;
}

.navbar-toggle {
  display: none;
}
.navbar-collapse {
  border-top: 0;
}

.navbar-brand {
  margin-left: -15px;
}

/* Always apply the floated nav */
.navbar-nav {
  float: left;
  margin: 0;
}
.navbar-nav > li {
  float: left;
}
.navbar-nav > li > a {
  padding-right: 15px;
}

/* Redeclare since we override the float above */
.navbar-nav.navbar-right {
  float: right;
}

/* Undo custom dropdowns */
.navbar .navbar-nav .open .dropdown-menu {
  position: absolute;
  float: left;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .15);
  border-width: 0 1px 1px;
  border-radius: 0 0 4px 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #333;
}
.navbar .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar .navbar-nav .open .dropdown-menu > li > a:focus,
.navbar .navbar-nav .open .dropdown-menu > .active > a,
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
  color: #fff !important;
  background-color: #428bca !important;
}
.navbar .navbar-nav .open .dropdown-menu > .disabled > a,
.navbar .navbar-nav .open .dropdown-menu > .disabled > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .disabled > a:focus {
  color: #999 !important;
  background-color: transparent !important;
}

/* Undo form expansion */
.navbar-form {
  float: left;
  width: auto;
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  border: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* Copy-pasted from forms.less since we mixin the .form-inline styles. */
.navbar-form .form-group {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}

.navbar-form .form-control {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

.navbar-form .form-control-static {
  display: inline-block;
}

.navbar-form .input-group {
  display: inline-table;
  vertical-align: middle;
}

.navbar-form .input-group .input-group-addon,
.navbar-form .input-group .input-group-btn,
.navbar-form .input-group .form-control {
  width: auto;
}

.navbar-form .input-group > .form-control {
  width: 100%;
}

.navbar-form .control-label {
  margin-bottom: 0;
  vertical-align: middle;
}

.navbar-form .radio,
.navbar-form .checkbox {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
  vertical-align: middle;
}

.navbar-form .radio label,
.navbar-form .checkbox label {
  padding-left: 0;
}

.navbar-form .radio input[type="radio"],
.navbar-form .checkbox input[type="checkbox"] {
  position: relative;
  margin-left: 0;
}

.navbar-form .has-feedback .form-control-feedback {
  top: 0;
}

/* Undo inline form compaction on small screens */
.form-inline .form-group {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}

.form-inline .form-control {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

.form-inline .form-control-static {
  display: inline-block;
}

.form-inline .input-group {
  display: inline-table;
  vertical-align: middle;
}
.form-inline .input-group .input-group-addon,
.form-inline .input-group .input-group-btn,
.form-inline .input-group .form-control {
  width: auto;
}

.form-inline .input-group > .form-control {
  width: 100%;
}

.form-inline .control-label {
  margin-bottom: 0;
  vertical-align: middle;
}

.form-inline .radio,
.form-inline .checkbox {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-inline .radio label,
.form-inline .checkbox label {
  padding-left: 0;
}

.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
  position: relative;
  margin-left: 0;
}

.form-inline .has-feedback .form-control-feedback {
  top: 0;
}
@font-face {
  font-family: Avenir-Ultra;
  src: local(AVENIRNEXTCYR-ULTRALIGHT), url("../fonts/avenir/AVENIRNEXTCYR-ULTRALIGHT.OTF");
}

@font-face {
  font-family: Avenir-Thin;
  src: local(AVENIRNEXTCYR-THIN), url("../fonts/avenir/AVENIRNEXTCYR-THIN.OTF");
}

@font-face {
  font-family: Avenir-Light;
  src: local(AVENIRNEXTCYR-LIGHT), url("../fonts/avenir/AVENIRNEXTCYR-LIGHT.OTF");
}

@font-face {
  font-family: Avenir-Regular;
  src: local(AVENIRNEXTCYR-REGULAR), url("../fonts/avenir/AVENIRNEXTCYR-REGULAR.OTF");
}

@font-face {
  font-family: Avenir-Italic;
  src: local(AVENIRNEXTCYR-ITALIC), url("../fonts/avenir/AVENIRNEXTCYR-ITALIC.OTF");
}

@font-face {
  font-family: Avenir-Medium;
  src: local(AVENIRNEXTCYR-MEDIUM), url("../fonts/avenir/AVENIRNEXTCYR-MEDIUM.OTF");
}

@font-face {
  font-family: Avenir-Bold;
  src: local(AVENIRNEXTCYR-BOLD), url("../fonts/avenir/AVENIRNEXTCYR-BOLD.OTF");
}

.font-ultralight {
  font-family: Avenir-Ultra;
}

.font-thin {
  font-family: Avenir-Thin;
}

.font-light {
  font-family: Avenir-Light;
}

.font-regular {
  font-family: Avenir-Regular;
}

.font-medium {
  font-family: Avenir-Medium;
}

.font-bold {
  font-family: Avenir-Bold;
}
p, tr{
  font-size: 14px;
}

header{
  /* background: url("img/bkg_1.jpg") no-repeat 100% 100%;
  background-size: cover; */
  background-color: #1A40B3;
  color: white;

}
header a{
 color: #86ade8;

}
header a:hover{
  color: #fff;
  text-decoration: none;
}
 header a:focus {
color: #fff;
}


header select {
  border: none;
   padding: 5px;
  border: none;
  border-radius: 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
   background: url('../img/open_logo.png') 96% / 15% no-repeat #eee;
}

/* CAUTION: IE hackery ahead */
header select::-ms-expand {
    display: none; /* remove default arrow on ie10 and ie11 */
}

/* target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
   header select {
        background:none\9;
        padding: 5px\9;
    }
}
.header_content ul li{
  line-height: 1.9;

}

.logo{
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  vertical-align: bottom;
}
.logo span{
  font-weight: 300;
  vertical-align: bottom;
}
.main-links{
  font-size: 24px;
  font-weight: bold;
  margin: 50px 0 50px 0;
}
.main-links .btn-warning{
  font-weight: bold;


}
ul{
  list-style: none;
  padding: 0;
}
a{
  color: #000;
}
a:hover{
  color: #000;
  text-decoration: none;
}
.modal .small a{
  color: #0000EE;
}
.modal .small a:hover{
  color: #0000EE;
  text-decoration: underline;
}


#last_news{
  border-top: 1px solid #e9e9e9;
}
.carousel-caption{
  text-align: right;
  position: absolute;
  top: 30px;


}
.carousel-caption h2{
  color: #fff;
  position: relative;
  top: 50px;
  right: 200px;
}
#last_news .carousel-indicators{
  top: 20px;
}
.modal-content{
  padding: 20px;
}
.carousel-indicators{
  position:relative;
  height:10px;
  width:120px;
  top: -20px;
  float: right;
  margin:0;
  z-index:10;
}
.carousel-indicators li{
  background-color:#afaeae;
  height:10px;
  width:10px;
  max-width:10px;
  border-radius:20px;
  margin-left:10px;
}
.carousel-indicators .active{
  background-color:#2978da;
}
.carousel-indicators li::before{
  display:none;
}

.btn{
  border-radius: 40px;
  cursor: pointer;
}
.btn-next{
  background-color: #2962b9;
  padding: 8px;
  border-radius: 16px;
  font-size: 10px;
  color: #fff;
}
.btn-order{
  width: 130px;
  border-radius: 5px;
  font-size: 0.8rem;
}
.orange{
  color: #FFBF00;
  font-weight: bold;
}
li .orange{
  margin-right: 15px;
}
.gray{
   color: #969696;
}
.blue{
  color: #0062f8;
}

.order{
  background-color: #0062f8;
  color: #fff;
  padding: 20px;
  border-radius: 30px;
  min-height: 180px;
  width: 100%;
}
.order p{
  margin-bottom: 2px;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl {
  position: relative;
  width: 100%;
  min-height: 1px;

}



.school, .event, .answer, .news, .event_call{
  border: 1px solid #E4E4E4;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 15px 15px 0;
  background-color: #fff;
}
.school_list{
  border: 1px solid #E4E4E4;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 15px 15px 0;

}
.school_list .btn-light{
  float: right;
  color: #929292;
}

.event_call{
  margin-top: 0;
  padding: 20px;
  padding-bottom: 10px;
}


.answer_block{
  padding: 20px 0 20px 0;
}
.answer_block h6{
  color: #000;
}
.comment_block{
  margin: 30px 0 30px 0;
}
.content_block{
  border-bottom: 1px solid #dedede;
  margin-top: 20px;
  margin-bottom: 20px;
}
.info_sms {
  background: url(../img/info_sms.png) no-repeat;
  background-size: cover;
}
.info_call {
  background: url(../img/info_call.png) no-repeat;
  background-size: cover;
}
.info_form {
  background: url(../img/info_form.png) no-repeat;
  background-size: cover;
}
.info_qr {
  background: url(../img/info_qr.png) no-repeat;
  background-size: cover;
}
.info_how {
  background: url(../img/info_how.png) no-repeat;
  background-size: cover;
}
.img_block{
  height: 342px;
  width: 937px;
  position: relative;
  margin: 0 auto;
}
.img_block h2{

  color: #3d657d;
}
.img_block .btn-warning{

  position: absolute;
  left: 75px;
  top: 220px;
  padding: 20px;
  border-radius: 6px;
}

.btn-event{
  color: gray;
  font-weight: 500;
  padding: 0;
}
.btn-event:hover{
  color: #fff;
  text-decoration: none;
}

.measures{
  background-color: #708eba;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin: 15px 0 15px 0;
}
.news{
  padding: 25px;
  margin: 10px;
}
.news_line{
  border-top: 2px solid #e9e9e9;

}
.news_line:hover > .news_line a {
  color: #fff;
  text-decoration: underline;
}
.news_line a{
  color: gray;
  font-weight: 500;
}


.table-head{
  color: #969696;
  border-top: 1px solid #D8D8D8;
  font-weight: 500;
  padding-top: 10px;
}

.school:hover{
  background-color: #2343a4;
  color: #fff;
  cursor: pointer;
}
.school a:hover{

    color: #fff;

}
.school{
  position: relative;
}
.news:hover{
  color: #fff;
  background-color: #0062f8;
  cursor: pointer;
}
.news a:hover{
  color: #fff;
}

.news:hover > .gray{
  color: #fff;
}
.school_lines{
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #E4E4E4;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.school_lines h6{
  font-weight: bold;

}
.school_lines.finished {
   color: lightgray;

}
.school div{
  position: absolute;
  right: 10px;
  top: 15px;
  text-align: right;
}
.ratе_block{
  background-color: #2343a4;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 40px;
  width: 258px;
}

.ratе_block_yellow{
  background: url('../img/house.png') no-repeat;
  background-size: cover;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  width: 258px;
  height: 296px;
}
.rate_block2{
  background-color: #2343a4;
  padding: 40px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 20px;
  margin-top: 40px;

}
.card-block{
  background-color: #fff;
  padding: 0.5rem;
}
.nav_panel{
  background-color: #fff;
}
.faq{
  background-color: #046bc4;
  color: #3d657d;
  border-radius: 20px;
  width: 940px;
}
.number{

  float: left;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  background-color: #1cafec;
  padding: 6px 16px;
  border-radius: 60px;
  margin-right: 20px;
  margin-bottom: 40px;



}
.faq ul li{
  margin-top: 45px;
  clear: both;
}

.custom-control-indicator{
  background-color: #e0e0e0;
  border-radius: 5px;
  width: 1.2rem;
  height: 1.2rem;
  padding-right: 1rem;
}
.custom-control-description{
  margin-left: 0.5rem;
}

.custom-control-input:checked ~ .custom-control-indicator {
  color: #fff;
  background-color: #0275d8;
}
.custom-control-input:checked ~ .custom-control-indicator.green{
  background-color: #79d75e;


}
.custom-control-input:focus ~ .custom-control-indicator.green {
  -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3da51f;
          box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3da51f;
}



.custom-checkbox .custom-control-indicator {
  border-radius: 0.25rem;
}


.custom-form.form-control{background-color:transparent;color:#cfcece;border:none;border-radius:0px;border-bottom:1px solid #9d9ea0;}
.custom-form.form-control:focus{background-color:transparent;color:#000;border:none;border-radius:0px;border-bottom:1px solid #000;}
header .custom-form.form-control:focus{background-color:transparent;color:#fff;border:none;border-radius:0px;border-bottom:1px solid #fff;}
.custom-form.form-control::-webkit-input-placeholder{color:#9d9ea0;}
.custom-form.form-control:-moz-placeholder{color:#9d9ea0;}
.custom-form.form-control::-moz-placeholder{color:#9d9ea0;}
.custom-form.form-control:-ms-input-placeholder{color:#9d9ea0;}
.custom-form.form-control::-ms-input-placeholder{color:#9d9ea0;}
.custom-form.form-control:focus::-webkit-input-placeholder{color:#000;}
.custom-form.form-control:focus:-moz-placeholder{color:#000;}
.custom-form.form-control:focus::-moz-placeholder{color:#000;}
.custom-form.form-control:focus:-ms-input-placeholder{color:#000;}
.custom-form.form-control:focus::-ms-input-placeholder{color:#000;}
/* :not(:checked) is a filter, so that browsers that don’t support :checked don’t
   follow these rules. Every browser that supports :checked also supports :not(), so
   it doesn’t make the test unnecessarily selective */
.rate_form{
  width: 200px;
}
.rating:not(:checked) > input {
    position:absolute;
    top:-9999px;
    clip:rect(0,0,0,0);
}

.rating:not(:checked) > label {
   float: right;
    width:1em;
    padding:0 .1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:250%;
    line-height:1.2;
    color:#ddd;

}
.rating:not(:checked).rating2 > label{
   position: relative;
    right: 0px;
}

.rating:not(:checked) > label:before {
    content: '★ ';
}

.rating > input:checked ~ label {
    color: #ffbf00;

}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #ffbf00;

}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
    color: #ea0;

}

.rating > label:active {
    position:relative;
    top:2px;
    left:2px;
}
   .search_b, .search_g {
    border: none;
    position: relative;
    right: 25px;
    bottom: 5px;
    width: 20px;
    cursor: pointer;
   }
   .search_g{
    background: url(../img/search_logo_g.png) no-repeat 100% 100%; /* Параметры фона */
   }
   .search_b{
    background: url(../img/search_logo_b.png) no-repeat 100% 100%; /* Параметры фона */
   }

   .se
   .nav-link{
    padding: 0;
   }
   .navbar{
    padding: 0;
   }
   .navbar-toggleable-md .navbar-nav .nav-link{
    padding-right: 1em;
    padding-left: 0;
    font-weight: bold;
   }
   .footer_links a{
     font-size: 0.8rem;
   }

.file-upload {
  position: relative; /* Даем возможность делать позиционирование, внутри данного элемента */
  overflow: hidden; /* Все что выходит за пределы - скрываем */
  width: 40px; /* Задаем ширину кнопки выбора файла */
  height: 40px; /* Задаем высоту кнопки выбора файла */
  background: #0062f8;
  font-size: 20px;
  border-radius: 20px;
  padding: 4px 4px;
  color: #fff;
  text-align: center;

}
.file-upload:hover {
  background: #025aa5;
}
.file-upload input[type="file"]{
  display: none; /* Обязательно скрываем настоящий Input File */
}
.file-upload label {
  /* Растягиваем label на всю возможную площадь блока .file-upload */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.file-upload span {
  line-height: 36px; /* Делаем вертикальное выравнивание текста, который написан на кнопке */
}
.filename {
  background: #fff;
  border: 0;
  width: 70%;
  color: #000;
  font-weight: bold;
}
.acts p{
  font-size: 1rem;
}
.acts a{
    color: #0000EE;
}
.acts a:hover{
    color: #0000EE;
    text-decoration: underline;
}
.row{
    margin-left: 0;
    margin-right: 0;
}
.order_img{
  width: 100px;
  height: 100px;
  margin: 0 15px 15px 0;
  background-color: gray;
}
.about_content h1{
  font-size: 5rem;
}
.gallery_wrapper{
  width: 100px;
  height: 100px;
  border: 1px solid #e1e1e1;
}
/*.gallery{*/
  /*text-align: -webkit-center;*/
/*}*/
.gallery img{
  /*max-width: 100%;*/
  /*height:  150px;*/
  /*max-height: 100%;*/
  max-width: 150px;
  padding: 10px;
  margin-right: 10px;
  border: 1px solid #e1e1e1;
  display: block;
}
.img_preview_block{
  width: 120px;
  height: 100px;
  padding: 4px;
  background-origin: content-box;
  margin-left: 10px;
  text-align: -webkit-center;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 1px solid #e1e1e1;
}
.scrollup{
  width:64px;
  height:64px;
  opacity:0.6;
  position:fixed;
  bottom:50px;
  right:100px;
  display:none;
  text-indent:-9999px;
  background: url('../img/icon_top.png') no-repeat;
}
#toTop {
 display: none !important;
}


#uploadImagesList {
  list-style: none;
  padding: 0;
}
#uploadImagesList .item {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
#uploadImagesList .item .img-wrap {
  width: inherit;
  display: block;
  /*height: 150px;*/
}
#uploadImagesList .item .img-wrap img{
  height: 100px;
  width: auto;
  margin: 0 4px;
}
#uploadImagesList .item .delete-link {
  cursor: pointer;
  display: block;
}
.clear {
  clear: both;
}



/*.gallery{*/
  /*display: flex;*/
/*}*/

/*.gallery img{*/
  /*box-sizing: border-box;*/
  /*max-width: 100%;*/
  /*max-height: 100%;*/
  /*border: 3px solid #fff;*/
  /*display: block;*/
  /*margin: auto;*/
/*}*/
