*:focus,
*:active{
  outline: none !important;
}

div{
position: relative;
/*outline: 1px solid green;*/
}

body{
width: 100%;
min-height: 100%;
float: left;
font-family: arial !important;
position: absolute;
height: auto;
color: #2B2A29;
}

a {
color: #D6221B;
}

th {
  padding: 20px 8px !important;
  border-top: 3px solid #000 !important;
}

h1,h2,h3,h4{
font-weight: normal;
font-family: arial !important;
}

h1{
font-size: 25px;
line-height: 28px;
}

h2{
font-size: 26px;
line-height: 26px;
}

h3{
font-size: 22px;
line-height: 22px;
}

h4{
font-size: 18px;
line-height: 18px;
}

.wrap {
  width: 100%;
  float: left;
  min-height: 0px !important;
}

.box {
  min-width: 1060px;
  width: 100%;
  padding: 45px 0;
  float: left;
}

.inner_box{
width: 1060px;
margin: 0 auto;
}

.right{
float: right;
}

.left{
float: left;
}


.main.wrap {
  height: 100%;
  margin: 48px 0 -48px;
  bottom: 48px;
}

ul.nav.nav-pills {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

ul.nav.nav-pills::before,
ul.nav.nav-pills::after {
  display: none;
}

.header.wrap.navbar-fixed-top ul {
  margin: 0 auto;
  width: 1060px;
}

.header.wrap.navbar-fixed-top ul li {
  height: 48px !important;
}

.header.wrap.navbar-fixed-top ul a {
  color: #fff;
  font-size: 20px;
  border-radius: 0;
  height: 48px !important;
}

.main.inner_box {
  min-height: 700px;
}

div#top_menu {
    background: #2B2A29;
    border: 0;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, 
.nav-pills>li.active>a:focus,
.header.wrap.navbar-fixed-top ul a:hover,
.header.wrap.navbar-fixed-top ul a:active,
.header.wrap.navbar-fixed-top ul a:focus,
ul.dropdown-menu li.active a {
  color: #fff !important;
  background-color: #D6221B;
}

.main.box {
  background-size: cover !important;
  background-position: center !important;
}

.logo {
    width: 570px;
    float: left;
    height: 180px;
    background: url(../images/logo.png) no-repeat;
    background-size: contain;
    z-index: 1;
}

.logo h1 {
  position: absolute;
  top: -10px;
  width: 300px;
  right: 0;
  text-shadow: 1px 1px 1px #000;
  /*color: #D6221B;*/
  color: #fff;
}

.main_phon {
    position: absolute;
    top: 20px;
    right: 0;
    font-size: 66px;
    text-shadow: 0px 0px 20px #fff;
    background: url(../images/phone.png) no-repeat;
    background-size: contain;
    width: 500px;
    height: 100px;
    z-index: 1;
}

.main_phon span {
  color: #D6221B;
}

.slogan {
    position: absolute;
    top: 180px;
    font-size: 40px;
    z-index: 1;
}

#tablet {
    width: 650px;
    position: absolute;
    top: 295px;
    font-size: 30px;
    background: url(../images/tablet.png) no-repeat;
    height: 450px;
    left: -90px;
    z-index: 1;
}

.submit_form {
    float: right;
    width: 370px;
    background: rgba(255, 255, 255, 0.34);
    margin: 180px 0 0;
    padding: 10px;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.3);
}

.submit_form div {
  margin: 0 0 18px;
}

.submit_form span {
  color: #000;
  font-size: 30px;
  display: block;
  width: 100%;
  float: left;
  font-weight: bold;
  margin: 0 0 10px;
  text-shadow: 0px 0px 20px #fff;
  /* text-shadow: 1px 0px 3px #000;
 color: #F2F2F2;*/
}

.submit_form input {
  width: 350px;
  height: 50px;
  padding: 10px;
  box-shadow: inset 2px 2px 7px 0 rgba(0,0,0,0.3);
  border: 4px inset #D6221B;
  border-top: 4px inset #000;
  border-left: 4px inset #000;
}

.submit {
  text-align: right;
}

button#submit {
  background: #D6221B;
  border: 1px outset #D6221B;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  box-shadow: inset -2px -2px 7px 0 rgba(0,0,0,0.3);
}

button#submit:focus,
button#submit:active {
  box-shadow: inset 2px 2px 7px 0 rgba(0,0,0,0.3);
  border: 1px inset #D6221B;
}

div#head {

}

.gears {
    background: url(../images/gears.png) no-repeat;
    height: 230px;
    width: 500px;
    position: absolute;
    bottom: -45px;
    right: 0;
    background-size: contain;
    background-position: right bottom;
}

.gears1 {
    background: url(../images/gears1.png) no-repeat;
    position: absolute;
    top: 0px;
    left: 0;
    width: 300px;
    height: 200px;
    background-size: contain;
}

.gears2 {
    background: url(../images/gears2.png) no-repeat;
    position: absolute;
    top: 0;
    left: 10px;
    width: 790px;
    height: 790px;
    background-size: contain;
    opacity: 0.4;
}

.gears3 {
    background: url(../images/gears3.png) no-repeat;
    position: absolute;
    bottom: -4px;
    right: 10px;
    width: 1156px;
    height: 267px;
    background-size: contain;
    opacity: 0.4;
}

.bezh {
    background: #2B2A29 !important;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.3);
    color: #fff;
}

.bezh .main.inner_box h2 {
  border-bottom: 3px solid #fff;
}

.main.inner_box h2 {
    border-bottom: 3px solid #000;
    padding: 0 0 20px;
    font-weight: bold;
}

div#advantages td {
    font-size: 20px;
    text-align: right;
    padding: 30px 8px;
    border: 0;
    background: url(../images/advantages1.png) no-repeat 50px center;
    height: 120px;
    background-size: 110px !important;
}

td.why_2 {
  background: url(../images/advantages2.png) no-repeat 50px center !important;
   
}

td.why_3 {
  background: url(../images/advantages3.png) no-repeat 50px center !important;
   
}

td.why_4 {
  background: url(../images/advantages4.png) no-repeat 50px center !important;
   
}

td.why_5 {
  background: url(../images/advantages5.png) no-repeat 50px center !important;
   
}

td.why_6 {
  background: url(../images/advantages6.png) no-repeat 50px center !important;
   
}

td.why_7 {
  background: url(../images/advantages7.png) no-repeat 50px center !important;
   
}

td.why_8 {
  background: url(../images/advantages8.png) no-repeat 50px center !important;
   
}

div#price .table > tbody > tr:first-child > th {
  border: 0 !important;
  padding: 10px 8px 20px !important;
}

div#price {
  font-size: 18px;
}

div#gallery td,
div#autoelectric2 .gallery td {
  background-size: cover !important;
  border: 5px solid #fff;
  padding: 0;
  outline: 1px solid #717171;
  margin: 5px;
  display: block;
  float: left;
  box-shadow: 2px 2px 7px 0 rgba(0,0,0,0.3);
}

div#gallery td a,
div#autoelectric2 .gallery td a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
}

div#gallery td a span,
div#autoelectric2 .gallery td a span{
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  transition: all ease-in-out 0.5s;
  opacity: 0;
  color: #fff;
  text-align: center;
  text-decoration: none !important;
  vertical-align: middle;
  padding: 40% 0;
  font-size: 35px;
}

div#gallery td a:hover span,
div#autoelectric2 .gallery td a:hover span{
  transition: all ease-in-out 0.5s;
  opacity: 1;
}

.modal-body img {
  width: 100%;
}

a.icon {
  background: #D6221B;
}

div#reviews tr:first-child td,
div#clients tr:first-child td{
  border: 0;
}

div#reviews td.img {
text-align: center;
  position: relative;
  vertical-align: middle;
  padding: 30px 0;
  height: 169px;
}

div#reviews td.txt {
  border: 0;
}

div#reviews td img {
  border-radius: 68px;
  width: 136px;
  background: #fff;
  position: relative;
  left: -2px;
  top: 1px;
}

div#reviews td span {
display: block;
  width: 100%;
  height: 169px;
  background: url(../images/b_active.png) no-repeat center;
  position: absolute;
  top: 15px;
}

div#clients,
div#gallery {
  /*background: #D9CBC0 !important;*/
}


div#clients td img {
  width: 100%;
  background: #fff;
}

div#clients td {
  border-color: #000;
  padding: 10px 10px 30px;
}

div#contacts {
  padding: 0;
  border-top: 5px solid #D6221B;
  border-bottom: 5px solid #D6221B;
}

ymaps.ymaps-2-1-29-balloon__content {
padding-bottom: 90px;
  background: url(../images/logo.png) no-repeat;
  background-position: left bottom;
}

.map_logo {
    width: 350px;
    height: 130px;
    position: absolute;
    background: rgba(255,204,0,.7) url(../images/logo.png) no-repeat;
    z-index: 3;
    top: 60px;
    left: 10%;
    background-size: 330px;
    padding: 5px !important;
    background-position: center top;
    border: 2px solid;
}

.store_view {
    position: absolute;
    bottom: -40px;
    z-index: 1;
    width: 300px;
    right: 20px;
    border: 2px solid #D0211A;
}

.store_view a img {
    width: 100%;
}

.carousel-inner {
  width: 460px;
  float: left;
  left: 146px;
  top: 44px;
}

a.left.carousel-control {
  left: 146px;
  height: 305px;
  top: 44px;
}

a.right.carousel-control {
  height: 305px;
  top: 44px;
  right: 44px;
}

.main.wrap > .main.box {
  padding: 0 !important;
}

div#stocks > .main.inner_box, div#guarantees > .main.inner_box, div#autoelectric > .main.inner_box {
  min-height: 350px;
}

.stock_text,
.guarantees_text {
  float: left;
  font-size: 30px;
  width: 60%;
}

.stock_percent {
  float: left;
  color: #D6221B;
  font-size: 50px;
  margin: 20px 0;
}

div#stocks h2 {
  color: #D6221B;
}

div#stocks .submit_form span{
  color: #D6221B;
  text-shadow: none;
}

div#clock {
  float: left;
  width: 100%;
  font-size: 14px;
}

div#clock > div {
  float: left;
  margin: 10px 5px;
  border: 1px solid;
  border-radius: 5px;
  padding: 0 3px 10px;
  width: 70px;
  text-align: center;
}

div#clock span {
  font-size: 50px;
}

div#clock small {

}

.stock_text h3 {
  float: left;
  width: 100%;
  margin: 20px 0 0;
}

div#clients h3 {
  height: 44px;
}

div#guarantees {

}

.nout {
  background: url(../images/nout.png) no-repeat;
  float: right;
  width: 420px;
  height: 270px;
  background-size: contain;
}

.shield {
  background: url(../images/Shield.png) no-repeat;
  float: right;
  width: 270px;
  height: 270px;
  background-size: contain;
}

.guarantees_text h3 {
    position: absolute;
    left: 50%;
    top: 0;
    font-size: 80px;
    line-height: 90px;
    color: #D6221B;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
    width: 370px;
}

span.last_update {
  display: block;
  float: left;
  width: 100%;
  color: #969696;
}

a.sand_review {
  font-size: 18px;
  margin: 10px 0 0;
  float: left;
}

div#stocks .submit_form {
  box-shadow: none;
  background: none;
}

div#stocks a {
  float: left;
  display: block;
}

div#stocks a:hover,
div#stocks a:visited,
div#stocks a:focus {
  color: #fff;
}

.social {
  float: right;
  width: 100%;
  padding: 30px 0 0 690px;
  font-size: 34px;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
}

div#advantages {
    padding: 45px 0 0;
}

span.recall_date {
    background: none !important;
    position: relative !important;
    left: 0;
    top: 0 !important;
    height: auto !important;
    margin: 0 0 10px;
    color: #fc0;
}

.guarantees_text.electric,
.guarantees_text.glushitel,
table.table.Hyundai_Kia {
    font-size: 20px;
}

.guarantees_text.glushitel {
  width: 100%;
}

div#robot .guarantees_text.glushitel {
    margin-bottom: 30px;
}

div#robot table.table {
  margin-bottom: 0;
}

div#autoelectric,
div#Hyundai_Kia {
    border-bottom: 1px solid #ddd;
}

div#autoelectric .shield {
    background: url(../images/gscan.png) no-repeat !important;
    background-size: contain !important;
    width: 360px;
}

div#autoelectric .shield.pechki {
  background: url(../images/pechki.jpg) no-repeat !important;
}

div#autoelectric .shield.inzhektor {
    background: url(../images/inzhektor.jpg) no-repeat !important;
    height: 300px;
}

div#autoelectric .shield.electric {
    background: url(../images/avtoelektrika.png) no-repeat !important;
    background-size: cover !important;
    width: 360px;
    height: 340px;
}

div#autoelectric .shield.st_rem {
    background: url(../images/st_rem.jpg) no-repeat !important;
    background-size: cover !important;
    width: 360px;
    height: 340px;
}


.shield.robot {
   background: url(../images/zapravka_konditsionera-1.jpg) no-repeat !important;
   height: 260px;
   width: 360px;
}

.shield.remd {
   background: url(../images/remd.png) no-repeat !important;
   height: 239px;
   width: 360px;
}
.shield.remd2 {
   background: url(../images/remd2.jpg) no-repeat !important;
   height: 270px;
   width: 360px;
   margin-top:30px;
}
.electric_text {
    float: left;
    width: 100%;
    font-size: 20px;
    margin: 10px 0;
    /*font-weight: bold;*/
}

div#autoelectric h2 img {
    width: 100px;
    height: auto;
}

.guarantees_text.electric b,
.guarantees_text.electric span {
    padding: 0 14px 8px;
    font-size: 22px;
    display: inline-block;
}

.guarantees_text.electric span {
  font-size: 20px !important;
}

ul.dropdown-menu {
    min-width: 100% !important;
    border-radius: 0 0 4px 4px;
    padding: 0;
    width: auto !important;
}

ul.dropdown-menu a {
    color: #2B2A29 !important;
    line-height: 42px;
}

a#navbarDrop1 span.glyphicon {
    font-size: 16px;
}

.text_trd {
    float: left;
    width: 100%;
    font-size: 20px;
    margin: 10px 0;
   /* font-weight: bold;  */
    
}

.text_trd ul {
    font-weight: normal;
   
}

.electric_text ul {
    font-weight: normal;
    list-style: none;
    padding: 0;
    text-transform: lowercase;
}

.electric_text ul *::first-letter {
    text-transform: capitalize;
}

.shield.hyundai {
    background: url(../images/hyundai.png) no-repeat;
    background-size: contain;
    background-position: center;
    float: left;
    height: 140px;
    margin: 40px 0;
}

.shield.kia {
    background: url(../images/kia.png) no-repeat;
    background-size: contain;
    background-position: center;
    height: 140px;
    margin: 40px 0;
}

.electric_text.Hyundai_Kia {
    width: 445px;
    margin: 28px 37px;
}

a.adres_link {
    font-size: 20px;
    display: block;
    float: left;
    width: 100%;
}

a.adres_link .glyphicon {
    top: 5px;
}