/* Кастомные стили для страницы */

.secondary-pages { display: none;}
#top-navbar.secondary-pages .col-sm-6 {
  width: 45%;
}
#top-navbar.secondary-pages .col-sm-2.any-page-right {
  width: 16%;
}
#top-navbar.secondary-pages .col-sm-4 {
  width: 39%;
}
#top-navbar.secondary-pages .logo-img-a { width: 60%;}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#top {
  border-bottom: 1px solid #f1f1f1;
  background-color: #f1f1f1;
}

.logo-img-b {
  width: 30%;
  margin-right: 22px;
}

.logo-img-a {
  margin-top: -6px;
  width: 52%;
}

#top-navbar .navbar-right li.dropdown:hover {
  background-color: #f5f5f5;
}

#top-navbar .navbar-right .dropdown-menu {
  right: auto;
  left: -1px;
  border-radius: 0 0 4px 4px;
}

#top-navbar .navbar-right .dropdown-menu li a {
  padding: 7px 10px;
  font-size: 13px;
}

#top-navbar {
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  background: #fff;
  border-bottom: 1px solid #f1f1f1;
  line-height: 28px;
}

#top-navbar .col-sm-6 {
  width: 60%;
}

#top-navbar .col-sm-2.any-page-right {
  width: 0;
}

#top-navbar .col-sm-4 {
  width: 40%;
}

#top-navbar .navbar-right {
  margin-right: 0;
  padding: 11px 0;
}

#top .col-sm-8 {
  width: 69%;
}

#top .col-sm-4 {
  width: 31%;
}

#top .glyphicon {
  color: #e63428;
}

#top .glyphicon-menu-down {
  color: #e63428;
  font-size: 8px;
  top: -1px;
  margin-left: 5px;
}

#top-navbar .nav > li > a:hover,
#top .nav > li > a:focus {
  text-decoration: none;
  background-color: transparent;
}

#top-navbar .btn:focus,
#top .btn:active:focus,
#top .btn.active:focus,
#top .btn.focus,
#top .btn:active.focus,
#top .btn.active.focus {
  outline: none;
}

.logo-uch {
  position: relative;
  padding: 19px 0;
}

.logo-uch img {
  width: 50px;
  margin-right: 10px;
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
  transition: all 0.5s ease;
}

.logo-uch:hover img {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
}

.logo-uch span {
  position: absolute;
  font-size: 15px;
  line-height: 19px;
  top: 0;
  bottom: 0;
  height: 50px;
  margin: auto 0;
  color: #768093;
  margin-right: 0px;
  text-align: justify;
}

.header-contact button {
  padding: 10px 0px 0 18px;
  font-size: 14.5px;
  color: #454545;
  transition: all 0.5s ease;
  border-radius: 2px;
  margin-right: 0;
}

.header-contact button:hover,
.header-contact button:focus {
  text-decoration: none;
  color: #e63428;
}

.header-contact button > .glyphicon {
  font-size: 14px;
}

#header-search {
  text-align: right;
  display: inline-block;
  margin: 1px 4px 0;
}

#header-search > form {
  float: right;
}

#header-search .stylish-input-group {
  border: 1px solid #f1f1f1;
  border-radius: 2px;
  width: 180px;
}

#header-search .stylish-input-group:focus {
  border-color: #e63428;
}

#header-search .stylish-input-group .input-group-addon {
  background: white !important;
  border: 0;
  border-radius: 2px;
  padding: 6px 3px;
}

#header-search .stylish-input-group .form-control {
  box-shadow: 0 0 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 18px;
  float: none;
  font-size: 13px;
  height: 24px;
}

#header-search .stylish-input-group button {
  border: 0;
  background: transparent;
}

#header-search .stylish-input-group button .glyphicon {
  color: #454545;
}

#header-search .stylish-input-group button .glyphicon:hover {
  color: #e63428;
}

#top .glyphicon-menu-down {
  color: #e63428;
  font-size: 8px;
  top: -1px;
  margin-left: 5px;
}

#top-navbar .navbar-brand {
  height: auto;
  padding: 0;
  margin: 10px 0;
}

#top-navbar .navbar-brand > img {
  display: inline-block;
}

#top-navbar .navbar-brand > span {
  font-size: 11px;
  line-height: 17px;
  display: inline-block;
  width: 295px;
  color: #454545;
  padding: 4px 0 0;
}

#top .navbar-collapse {
  padding: 0;
}

#top .navbar-nav {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 0;
}

#top .navbar-nav > li.active a {
  background-color: #e63428;
  color: #fff;
}

#top .navbar-nav > li.active a:hover {
  background-color: #e63428;
  color: #fff;
}

#top .navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  padding: 12px 18px;
  font-size: 14.5px;
  color: #454545;
  transition: all 0.5s ease;
  border-radius: 2px;
  margin-right: 0px;
}

#top .nav > li > a:hover,
#top .nav > li > a:focus {
  text-decoration: none;
  background-color: #e6e6e6;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #000;
}

#header-carousel.carousel {
  height: 400px;
  margin-bottom: 10px;
}

#header-carousel.carousel .item,
#header-carousel.carousel .item.active,
#header-carousel.carousel .carousel-inner {
  height: 100%;
}

#header-carousel.carousel .fill {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

#header-carousel .carousel-caption {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  right: 0;
  margin-left: -500px;
  max-width: 700px;
  height: 360px;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: left;
  overflow: hidden;
}

#header-carousel .carousel-caption > .title {
  font-size: 40px;
  font-weight: 400;
}

#header-carousel .carousel-caption > .subtitle {
  font-size: 25px;
  font-weight: 400;
}

#header-carousel .carousel-caption > .calltoaction {
  position: absolute;
  bottom: 0;
}

#header-carousel .carousel-caption .btn {
  padding: 9px 20px;
}

#header-carousel .carousel-caption > .calltoaction > p {
  font-size: 20px;
  font-weight: 400;
  margin: 20px 0;
  line-height: 34px;
}

#header-carousel .carousel-control {
  width: 80px;
  color: #e63428;
}

#header-carousel .carousel-control.right {
  right: 0;
}

#carousel-navbar {
  position: absolute;
  z-index: 99;
  background: rgba(0, 0, 0, 0.65);
  top: 0;
  width: 475px;
  right: 0;
  height: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

#carousel-navbar .block {
  display: block;
  padding: 34px 10px 0;
  box-sizing: border-box;
}

#carousel-navbar .block {
  display: block;
  padding: 10px 10px;
  box-sizing: border-box;
}

#carousel-navbar .block:hover {
  text-decoration: none;
}

#carousel-navbar .block > h2 {
  color: #fff;
  font-size: 22px;
  margin: 0;
  padding-bottom: 5px;
  line-height: 1.25;
  position: relative;
  transition: color 0.5s ease;
}

#carousel-navbar .block > h2:hover {
  color: #e63428;
}

#carousel-navbar .block > h2:after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  height: 3px;
  width: 50px;
}

.border-green:after {
  background-color: #439540;
}

.border-blue:after {
  background-color: #0269b8;
}

.border-red:after {
  background-color: #e63428;
}

.border-yellow:after {
  background-color: #ecca2b;
}

.border-brown:after {
  background-color: #b76813;
}

.border-neitral:after {
  background-color: #4ed4b5;
}

#carousel-navbar .block > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 8px 0 0;
}

.overlay-bg {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-prev,
.carousel-control .icon-next {
  font-size: 60px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#otrasli-block {
  margin: 0px 10px 40px;
}

#otrasli-block .container-fluid {
  padding-right: 10px;
  padding-left: 10px;
  margin-right: auto;
  margin-left: auto;
}

#otrasli-block .container-fluid .col-sm-2 {
  width: 16.666666%;
  padding-right: 5px;
  padding-left: 5px;
}

#otrasli-block a {
  display: block;
  background-color: #f1f1f1;
  padding: 20px;
  position: relative;
}

#otrasli-block a.rcc {
  min-height: 180px;
}

#otrasli-block a img {
  width: 100%;
  transition: all 3s ease;
}

#otrasli-block a:hover img {
  transform: scale(1.05);
}

#otrasli-block a span {
  color: #4b7cba;
  font-size: 2.6em;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 100px;
  width: 235px;
  line-height: 35px;
  font-family: 'Open Sans Condensed';
  font-weight: 600;
  transition: all 3s ease;
}

#otrasli-block a:hover span {
  transform: scale(1.05);
}
