html,
body {
 height: 100%;
}

#page-wrapper {
 position: relative;
 min-height: 100%;
}
.page-content {
	margin-bottom: 50px;
}
#footer {
 height: 147px;
 padding: 20px 0;
}


.container {
 min-width: 290px;
}

.btn {
 padding: 8px 19px 9px 26px;
 border: 1px solid transparent;
 font-size: 15px;
 line-height: 15px;
 text-transform: uppercase;
 border-radius: 0;
}
.btn:focus,
.btn:hover,
.btn[disabled] {
 border-color: transparent;
 color: #e3001b;
 background-color: #e9e9e9;
}


.btn-primary {
 background-color: #e3000f;
 color: #fff;
}

.btn-default {
 border-color: #cecece;
 color: #4b4b4b;
}


.btn .arrow {
 display: inline-block;
 width: 8px;
 height: 12px;
 background: url('/files/images/button-arrow.png') no-repeat 0 0;
 margin: 2px 0 0 20px !important;
}

.btn:hover .arrow,
.btn:focus .arrow {
 background-position: 0 -12px;
}

dd {
 margin-bottom: 10px;
}

.carousel .carousel-indicators {
 position: absolute;
 bottom: 19px;
 left: 15px;
 margin: 0;
 width: auto;
 text-align: left;
 z-index: 100;
}

.carousel-indicators .active,
.carousel-indicators li {
 display: block;
 float: left;
 width: 16px;
 height: 16px;
 margin: 0 0 0 11px;
 border: 2px solid #fff;
 border-radius: 50%;
 box-shadow: 1px 1px 8px rgba(0, 0, 0, .4), inset 1px 1px 8px rgba(0, 0, 0, .3);
}

.carousel-indicators .active {
 box-shadow: 1px 1px 8px rgba(0, 0, 0, .4);
}





.carousel > .container {
 position: relative;
}

.carousel .main-href {
 display: block;
 position: relative;
 z-index: 10;
}

#slider .carousel-caption .container {
 position: relative;
 z-index: 20;
}

#slider .carousel-caption .container > * {
 position: absolute;
 bottom: 0;
 right: 15px;
}

.date {
}

.page-contacts .map {
 width: 100%;
}

.partners-text p {
 margin-bottom: 0;
}

.page-brands .country {
 padding-left: 28px;
 background-position: 0 50%;
 background-repeat: no-repeat;
}

.page-brands .country.no-flag {
 padding-left: 0;
}

.page-brands .brand {
 vertical-align: top;
}

.pager a.light-button {
 width: 30px !important;
 padding-right: 0 !important;
 padding-left: 0 !important;
}

.light-button.disabled {
 cursor: default !important;
 opacity: .8;
}

.light-button.disabled:hover,
.light-button.disabled:focus {
 border-color: #cecece !important;
 background: #ffffff !important;
 color: #4b4b4b !important;
}

.light-button.disabled.next:hover .arrow.big {
 background-position: 0 0 !important;
}
.light-button.disabled.prev:hover .arrow.big {
 background-position: -8px 0 !important;
}

.form-control.dropdown .dropdown-menu.calendar {
 min-height: 266px;
}

.form-control.dropdown .dropdown-menu.calendar table button[disabled] {
 color: #9a9a9a;
 background: none;
}

.page-services .map-wrapper .services.no-service {
 width: 20px;
 background-position: -62px 0;
 margin-left: -10px;
}

.page-services .description .service .type .title .nearest-city {
 display: none;
}

.page-news.tests-list .light-button {
 min-width: 120px;
 text-align: center;
}

.form-control {
 padding: 5px 15px;
 border: 1px solid #cecece;
 border-radius: 0;
}

.form-control.dropdown {
 padding: 0;
 border: none;
}

.form-control.dropdown .dropdown-toggle#news-on-date {
 width: 140px;
}

.no-after:after {
 content: "";
 display: none;
}


.take-part {
 clear: both;
 padding-top: 40px;
}

.test-question .question,
.test-question .question p {
 margin-bottom: 25px;
 font: 42px/1 'Roboto Condensed', Arial, sans-serif;
}

.test-question .question p {
 margin-bottom: 5px;
}


.auth-header {
 margin-bottom: 30px;
}

.auth-header .light-button {
 min-width: 120px;
 text-align: center;
}

.download-categories-list .dropdown-menu {
 position: static;
 float: none;
 border: none;
 box-shadow: none;
}

.download-categories-list .dropdown-menu .dropdown-menu > li > a {
 padding-left: 40px;
}

.download-files-list .block-header {
 margin-bottom: 20px;
}

.download-files-list .files-type {
 margin-bottom: 25px;
 text-align: center;
}

.download-files-list .file-item {
 margin-bottom: 20px;
 text-align: center;
}

.download-files-list .file-item .preview {
 display: block;
 height: 100px;
 margin-bottom: 5px;
 line-height: 100px;
}

.download-files-list .file-item .preview img {
 vertical-align: bottom;
}


.download-files-list .file-item .preview-btn {
 display: block;
 margin-top: 10px;
}

.download-categories .brands-filter {
 margin: 30px 0;
}

.download-categories .brands-filter .item {
 display: block;
 padding: 5px;
 text-align: center;
}
.download-categories .brands-filter .item.active {
 background: #e1e1e1;
}

.download-categories .brands-filter .item .img {
 height: 45px;
 line-height: 45px;
}

.download-categories .brands-filter .item .img {
 vertical-align: middle;
}

.page-services .description .service.regional-office .type .icon {
 background-position: -21px 0;
}


.user-files .upload-info .item {
 margin-bottom: 20px;
}

.user-files .upload-info .item p {
 margin-bottom: 10px;
}

.page-team .name,
.page-team .rang {
 padding-bottom: 30px;
}

#footer .container {
 position: relative;
}

#footer .footer-btn {
 position: relative;
 width: 132px;
 padding: 5px 5px 4px 23px;
 margin: 3px -2px 3px 6px;
 border: 1px solid white;
 font-size: 12px;
 line-height: 16px;
 text-transform: uppercase;
 text-align: center;
}
#footer .footer-btn:focus,
#footer .footer-btn:hover {
 border-color: #e3000f;
 background-color: #e3000f;
 text-decoration: none;
}
#footer .footer-btn:active {
 border-color: #bc010e;
 background-color: #bc010e;
}

#footer .footer-btn:after {
 content: "";
 position: absolute;
 display: block;
 top: 0;
 bottom: 0;
 left: 5px;
 width: 15px;
 background: url('/files/images/footer-btn-icons.png') no-repeat 0 50%;
}
#footer .footer-btn.tests:after {
 background-position: -15px 50%;
}

#footer .wedes-copy {
 display: none;
}

.shop .button {
 position: absolute;
 top: -70px;
 right: 0;
 margin-top: 0;
}

.btn-up {
 position:fixed;
 left:26px;
 top:34px;
 display:none;
 width:32px;
 height:32px;
 background: #e3000f url(../img/bg/btn-up.png);
 cursor:pointer;
 z-index: 1000;
}

.btn-up:hover,
.btn-up:focus {
 color: #e3001b;
 background-color: #e9e9e9;
 background-position: 0 -32px;
}

#slider {
 width: auto;
 position: static;
 margin: 0 auto;
 left: auto;
}

#slider .main-href {
 background-position: 50% 0;
 background-repeat: no-repeat;
}


#slider .main-href img {
 visibility: hidden;
}

.front #footer {
 margin-top: -147px;
}

.front #header {
 height: auto;
 margin-bottom: 0 !important;
 background: none;
}

.front #main:before {
 content: "";
 display: block;
 position: absolute;
 left: 0;
 right: 0;
 height: 94px;
 background: url('/files/images/slider-shadow-bottom.png') 50% 0 no-repeat;
}

#footer .shop,
#header .shop {
 position: absolute;
 bottom: 0;
 left: 15px;
 right: 15px;
}

.shop .button {
 top: auto;
 bottom: 0;
 right: 15px;
}

#footer .shop .button {
 bottom: 86px;
 right: 0;
}

.page-services .block-header {
 margin-top: 30px;
 margin-bottom: 10px;
}

.page-services .map-wrapper .region path.selected {
 fill: #cacacb !important;
}

@media (max-width: 991px) {
 #slider {
  padding-bottom: 0;
 }
 
 #header .shop .button {
  bottom: 0;
 }

#slider .main-href {
 background-position: 30% 0;
} 
}
@media screen and (max-width: 812px) {
	#all_brendy .flex_wrap {
	  display: flex;
	  flex-flow: row wrap;
	  flex: 1 49%;
	}
	#all_brendy .page-brands {
	  display: flex;
	  width: 50%;
	  flex-flow: column wrap;
	  margin-bottom: 50px;
	}
}
@media screen and (max-width: 414px) {
	#all_brendy .flex_wrap {
	  display: flex;
	  flex-flow: column wrap;
	  flex: 1 100%;
	}
	#all_brendy .page-brands {
	  display: flex;
	  width: 100%;
	  flex-flow: column wrap;
	  margin-bottom: 50px;
	}
	#all_brendy .page-brands .light-button {
	  position: initial;
	  margin-top: 20px;
	}
}