/*----------------------- RESET ---------------------------*/
*{
  margin: 0;
  padding: 0;
}

/*------- Подключение шрифтов ('Gotham_pro_light') --------*/
@font-face {
    font-family: 'GothamPro-Light';
    src: url('../../fonts/GothamPro-Light.ttf'), 
    url('../../fonts/GothamPro-Light.eot'),
    url('../../fonts/GothamPro-Light.woff');
}

/*-------------------------- Основные теги ----------------*/
html, body {  
  position: relative;
    width: 100%;
    height: 100%;
    font-family: 'GothamPro-Light', 'arial';
    font-size: 100%;
    font-weight: 400;
    font-style: normal;
    background: #ffffff;
}

body {
    margin:0;
    display: block;
}

section { 
    position: relative;
    width: 100%;
}

img {
    vertical-align: middle;
    border: 0;
}

/*---------------- END основные теги ----------------------*/
/*-------------------------- Header ----------------------*/
#main-logo > a:before {
  opacity: 0;
}

#main-logo > a:after {
  opacity: 0;
}

.dropdown-menu{
  background-color: #efe7e7;
  padding: 5px 0;
  min-width: 95px;
  border-radius: 20px;
  border: 4px solid rgba(0, 0, 0, .15);
  font-size: 14px;
}
@media screen and (min-width: 920px){
.dropdown-menu li a {
  /*border-bottom: 1px solid #FF5900; /*#efefef цвет горизонтальных линий в субменю*/ 
  font-size: 14px;
  color: #FF5900;  /*#484848 цвет текста в субменю*/
  display: block;
}
.dropdown-menu li a:hover {
  color:#3E72C6; /* Цвет текста сабменю при наведении */
  background-color: #BEBEBE;
  border-radius: 20px; /* Закругление углов при наведении в сабменю */
}
ul.nav li.dropdown:hover > ul.dropdown-menu {  
   display: block;
}
ul.nav li.dropdown:hover > ul.dropdown-menu>li>a { 
  position: relative; 
  z-index: 1000;
  }
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background-color: rgba(252, 248, 248, 0);
}

@media only screen and (min-width: 920px){
#header .top-menu .collapse li > a .caret {
    display: none;
  }
}
@media screen and (max-width: 920px){
  .dropdown-menu{
  background-color: #efe7e7;
  padding: 5px 0;
  min-width: 95px;
  border-radius: 20px;
  border: 4px solid rgba(0, 0, 0, .15);
  font-size: 14px;
  }
}
@media screen and (max-width: 767px){
  .navbar-default .navbar-nav .open .dropdown-menu > li > a{
  color: white;
  }
}

@media (max-width: 920px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

/*------------------------ ФОН ------------------------------*/
.fon-img {
    position: relative;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url('../../Img/electric/fon-electrica.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 3px solid #337bb3;
    box-shadow: 0px 5px 16px 0px rgba(243, 126, 0, 0.69);
}

.fon-img .fon-title {
  position: absolute;
  max-width: 560px;
  top: 220px;
  left: 0;
  border-radius: 0 10px 10px 0;
  background-color: rgba(255, 255, 255, 0.78);
  z-index: 1;
}

#scroll-down a {
  padding-top: 60px;
}

#scroll-down a span {
  position: absolute;
  bottom: 25px;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #ff7000;
  border-radius: 50px;
  box-sizing: border-box;
  background-color: rgba(41, 100, 153, 0.45);
}

#scroll-down a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 10px;
  margin-left: -3px;
  background-color: #ff7000;
  border-radius: 100%;
  -webkit-animation: move 2s infinite;
  animation: move 2s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes move {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes move {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


/*--------------- Блок услуг электромонтажа ----------------*/

.service-electric {
  /*padding-bottom: 100px;*/
  box-shadow: inset 0px -2px 3px 0px rgba(29, 29, 29, 0.75);
  border-bottom: 5px solid rgb(255, 112, 0);
}

@media screen and (max-width: 415px) {
  .service-electric {
    padding-bottom: 1rem;
  }
}
/*---------- заменил service-electric на fon-img ------------- */
.fon-img h1 {
    position: relative;
    padding: 45px 0 30px 0;
    margin-top: 5px;
    text-align: center;
    text-transform: uppercase;
    font-size: 38px;
    color: #ff7000;
}

@media screen and (max-width: 920px) {
  .fon-img h1 {
    padding: 25px 20px;
  }
}

@media screen and (max-width: 712px) {
  .fon-img h1 {
    font-size: 32px;
  }
}

@media screen and (max-width: 422px) {
  .fon-img h1 {
    font-size: 28px;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 380px) {
  .fon-img h1 {
    font-size: 22px;
    padding-bottom: 0;
  }
}

.service-electric .serv-elec-blocks {
    padding: 0 10px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.grid {
    position: relative;
    margin: 0 auto;
    /*margin-top: 100px;*/
    padding: 0;
    max-width: 1100px;
    list-style: none;
    text-align: center;
}

.grid .grid-effect {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 10px auto;
  text-align: center;
  cursor: pointer;
  border: 3px solid #ff7000;
}

.grid .grid-effect img {
    opacity: 1;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (min-width: 1040px){
.grid .grid-margin {
    margin-left: 20px;
  }
}

@media screen and (max-width: 540px){
  .grid .grid-effect {
      max-width: 100%;
      max-height: 280px;
    }
  .grid {
    margin-top: 50px;
  }
}

/* ------------ эфект блоков --------------------*/
.grid-effect figcaption {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid-effect figcaption h2 {
    font-size: 30px;
    font-weight: bold;
    padding: 0 10px;
  }

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

@media screen and (max-width: 375px) {
  .grid-effect figcaption h2 {
    font-size: 22px;
  }
}

.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

figure.grid-effect {
  background: #006ab1;
}

figure.grid-effect figcaption::before,
figure.grid-effect figcaption::after {
  position: absolute;
  content: '';
  opacity: 0;
}

figure.grid-effect figcaption::before {
  top: 45px;
  right: 30px;
  bottom: 45px;
  left: 30px;
  border-top: 2px solid #ff7000;
  border-bottom: 2px solid #ff7000;
  -webkit-transform: scale(0,1);
  transform: scale(0,1);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

figure.grid-effect figcaption::after {
  top: 30px;
  right: 45px;
  bottom: 30px;
  left: 45px;
  border-right: 2px solid #ff7000;
  border-left: 2px solid #ff7000;
  -webkit-transform: scale(1,0);
  transform: scale(1,0);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

figure.grid-effect img,
figure.grid-effect h2 {
  -moz-transform: translate3d(0, 0px, 0);
  -o-transform: translate3d(0, 0px, 0);
  -webkit-transform: translate3d(0, 0px, 0);
  transform: translate3d(0, 0px, 0);
}

figure.grid-effect img,
figure.grid-effect figcaption::before,
figure.grid-effect figcaption::after,
figure.grid-effect p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}

figure.grid-effect:hover img {
  opacity: 0.2;
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.grid-effect:hover h2 {
  opacity: 1;
  -moz-transform: translate3d(0, 30px, 0);
  -o-transform: translate3d(0, 90px, 0);
  -webkit-transform: translate3d(0, 90px, 0);
  transform: translate3d(0, 90px, 0);
  transform: translate3d(0, 90px, 0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
}

figure.grid-effect:hover h2 {
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

figure.grid-effect:hover figcaption::before,
figure.grid-effect:hover figcaption::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.grid-effect .text_vn-work {
  padding: 0 55px;
  font-size: 14px;
  opacity: 0;
}

figure.grid-effect:hover figcaption .text_vn-work {
  opacity: 1;
}

figure.grid-effect:hover figcaption .text_vn-work {
  opacity: 1;
  -moz-transform: translate3d(0, -60px, 0);
  -o-transform: translate3d(0, -60px, 0);
  -webkit-transform: translate3d(0, -60px, 0);
  transform: translate3d(0, -60px, 0);
}

figure.grid-effect:hover figcaption .text_vn-work {
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

/*------------------- Размеры под разные разрешения ----------------*/
@media screen and (max-width: 680px) {
  .service-electric {
    padding-bottom: 50px;
  }

  figure.grid-effect h2 {
    font-size: 28px;
    padding-bottom: 5px;
  }
}

@media screen and (max-width:600px) {
  .service-electric h1 {
    padding-bottom: 0px;
  }
}

@media screen  and (max-width: 475px) {
    figure.grid-effect h2 {
      font-size: 16px;
      padding-bottom: 5px;
      padding: 0 37px;
      line-height: 24px;
  }
}

@media screen and (max-width: 400px) {
    figure.grid-effect h2 {
      font-size: 14px;
      padding: 0 50px;
      line-height: 24px;
  }
}

/*-------- Блок текста внутренние электромонтажные работы ----------*/

.info-vn-elmont {
  position: relative;
  width: 100%;
  padding-top: 3.5rem;
  background-image: -webkit-linear-gradient( 0deg, rgb(4,39,61) 0%, rgba(4,39,61,0.92) 50%, rgb(4,39,61) 100%);
  background-image: -o-linear-gradient(bottom, rgb(4,39,61) 0%, rgba(4,39,61,0.92) 50%, rgb(4,39,61) 100%);
  background-image: linear-gradient(to top, rgb(4,39,61) 0%, rgba(4,39,61,0.92) 50%, rgb(4,39,61) 100%);
  box-shadow: inset 0px -5px 10px 0px rgba(29, 29, 29, 0.75);
}

.info-vn-elmont a {
  color: #ff7000;
}

/*.info-vn-elmont h2 {
  padding: 35px 0;
  padding-bottom: 20px;
  margin-top: 0px;
  text-align: center;
  color: #f4f4f4;
  text-transform: uppercase;
  font-size: 28px;
}*/

.vn-elmont-text {
  position: relative;
  padding: 0  20rem 0 20rem;
  text-align: justify;
  color: #f4f4f4;
  font-size: 20px;
}

@media screen and (max-width: 1280px) {
  .vn-elmont-text {
    padding: 0 80px 40px 80px;
  }
}

@media screen and (max-width: 920px) {
  .info-vn-elmont h2 {
    font-size: 21px;
}

  .vn-elmont-text {
    font-size: 18px;
  }
}

@media screen and (max-width: 620px) {
  .info-vn-elmont h2 {
    font-size: 18px;
}

  .vn-elmont-text {
    padding-bottom: 15px;
    font-size: 16px;
  }
}

@media screen and (max-width: 415px) {
  .info-vn-elmont h2 {
    font-size: 16px;
    padding: 2rem 10px;
    margin-bottom: 0;
}

  .vn-elmont-text {
    padding: 0 20px 5px 20px;
    font-size: 14px;
  }
}

.vn-elmont-text {
  text-indent: 25px;
}

.vn-description {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/*------- Блок Этапы строительства -----------*/
.advantages_work .advantages_container {
  max-width: 1230px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.advantages_work h3,
.vn-elmont-text h3 {
  padding-bottom: 1rem;
  font-size: 30px;
  text-align: center;
  color: #ff7000;
}

.advantages_work ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.advantages_work li {
  width: 615px; /* 670*/
  height: 70px;
  font-size: 24px;
  color: #fff;
  position: relative;
  padding-left: 140px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

.advantages_work li:nth-child(odd) {
    margin-left: auto;
}

.advantages_work li:nth-child(even) {
    margin-left: 10px; /* add line code*/
    padding-left: 0;
    padding-right: 140px;
    text-align: right;
    justify-content: flex-end;
}

.advantages_work li:last-child {
    margin-bottom: 1rem;
}

.advantages_work li::before {
  position: absolute;
  content: "";
  width: 70px;
  height: 70px;
  border-radius: 50%;
  top: 0;
  left: 0; /* 64 */
}

.advantages_work li:nth-child(even):before {
    left: auto;
    right: 0px;
}

.advantages_work .item_1::before {
  background: #ff7000 url(../../Img/electric/icon/call.png) no-repeat center;
}

.advantages_work .item_2::before {
  background: #ff7000 url(../../Img/electric/icon/search.png) no-repeat center;
}

.advantages_work .item_3::before {
  background: #ff7000 url(../../Img/electric/icon/project.png) no-repeat center;
}

.advantages_work .item_4::before {
  background: #ff7000 url(../../Img/electric/icon/chek.png) no-repeat center;
}

.advantages_work .item_5::before {
  background: #ff7000 url(../../Img/electric/icon/signature.png) no-repeat center;
}


.advantages_work .item_6::before {
  background: #ff7000 url(../../Img/electric/icon/track.png) no-repeat center;
}

.advantages_work .item_7::before {
  background: #ff7000 url(../../Img/electric/icon/drill.png) no-repeat center;
}

.advantages_work .item_8::before {
  background: #ff7000 url(../../Img/electric/icon/finish.png) no-repeat center;
}

.advantages_work li:after {
  position: absolute;
  content: "";
  bottom: -57px;
  left: 34px;
  width: 2px;
  height: 54px;
  background: #ff7000;
}

.advantages_work li:nth-child(even):after {
    left: auto;
    right: 34px;
}

.advantages_work li:last-child:after {
    display: none;
}

/*--------------- @media for Этапы строительства ---------------*/
@media screen and (max-width: 1230px) {
  .advantages_work {
    max-width: 100%;
  }

  .advantages_work li {
    width: 100%;
    margin: 10px !important;
    padding: 0 0 0 110px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    font-size: 20px;
  }

  .advantages_work li:nth-child(even):before {
    left: 0;
  }

  .advantages_work li:after {
    display: none;
  }
}

@media screen and (max-width: 458px) {
  .advantages_work h3,
  .vn-elmont-text h3 {
    font-size: 16px;
    text-transform: uppercase;
  }

  .advantages_work li {
    font-size: 14px;
  }
}

/*--------------------- Перечень услуг ------------------------*/

.project-work {
  position: relative;
  width: 100%;
  padding: 5rem 10px;
}
.work{
  height: 100%;
  padding-bottom: 15px;
}

.project-row{
    width: 80%;
    margin: 0 auto;
    /*margin-bottom: 65px;*/
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}

.colum {
    position: relative;
    min-height: auto;
    width: 50%;
    padding-bottom: 2rem;
}

.colum:before {
    content: '';
    position: absolute;
    top: 2%;
    left: 2%;
    width: 96%;
    height: 96%;
    border: 1px solid #f68400;
}

.left-col {
    background-color: #ddeeff;
}

.left-col h3 {
  position: relative;
  padding: 0 10px;
  line-height: 28px;
  font-size: 22px;
  text-align: center;
  color: #ff7000;
}

.work-text {
    padding-left: 40px;
    padding-right: 2em;
    color: #286095;
}

.work-text li {
  font-size: 1.2em;
  margin-bottom: 1rem;
  z-index: 1;
}

.work-text > li {
  position: relative;
}

.right-col {
    position: relative;
    background-image: url('../../Img/electric/sthit.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; 
}


@media only screen and (max-width: 1100px) {
  .right-col {
    display:none;
  }
}

@media only screen and (max-width: 1100px){
  .colum {
    width: 100%;
  }

  .right-col {
    display:none;
  }
  
  .work .project-row .left-col {
    background-image: url('../../Img/electric/sthit.jpg');
  }

  .work .project-row .left-col {
    position: relative;
    height: auto;
    padding-bottom: 1.2em;
    margin-bottom: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
    
  .work .project-row .left-col:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(221,238,255,0.8);
  }

  .project-work .row_1 .left_1 li {
    z-index: 2;
    color: red;
  }
}

@media screen and (max-width: 570px) {
  .project-work {
    padding: 5rem 0;
  }

  .work {
    padding: 0 10px;
  }

  .project-row {
    width: 100%;
    margin: 0;
  }

  .work-text li {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 0;
  }

  .colum {
    padding-left: 0;
  }

  .colum ul {
    padding-left: 2rem;
  }

  .left-col h3 {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
}


/*------------------ Конец блока перечень услуг ------------------*/
/*-------- Блок текста внешние электромонтажные работы ----------*/
.info-vnech-elmont {
  position: relative;
  width: 100%;
  padding: 0 0 25px 0;
  background-color: #e0dada;
}

.info-vnech-elmont h2 {
  padding: 40px 0;
  margin: 0;
  text-align: center;
  color: #ff7000;
  text-transform: uppercase;
  font-size: 28px;
}

.vnech-elmont-text {
  padding: 0 100px;
  font-size: 22px;
  color: #296398;
  text-align: justify;
  text-indent: 25px;
}

.work-text-2 {
  padding-left: 5rem;
  padding-right: 2em;
}

/*
.work-text-2 :nth-child(4) {
  margin-left: 25px;
  margin-top: 25px;
}

#vnech-work .work-text-2 b {
  display: block;
  margin-left: 0;
  margin-bottom: 10px;
}*/

@media screen and (max-width: 920px) {
  .work-text-2 {
  padding-left: 5rem;
  padding-right: 2em;
 } 
}

@media screen and (max-width: 720px) {
  .info-vnech-elmont h2 {
    padding: 25px 0;
    margin-top: 0;
    font-size: 18px;
}

  .vnech-elmont-text {
    padding: 0 50px;
    font-size: 16px;
    text-indent: 25px;
}

  .work-text-2 {
    padding-left: 5rem;
    padding-right: 2em;
 } 
}

@media screen and (max-width: 480px) {
  .info-vnech-elmont h2 {
    padding: 25px 20px;
    padding-bottom: 15px;
  }

  .vnech-elmont-text {
    padding: 0 20px;
    font-size: 14px;
    text-indent: 25px;
  }

  .work-text-2 {
    padding-left: 40px;
    padding-right: 40px;
  } 
}

@media screen and (max-width: 415px) {
  .info-vnech-elmont h2 {
    padding: 25px 0;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 16px;
  }

  .vnech-elmont-text {
    padding: 0 10px;
    font-size: 14px;  
  }

  .work-text-2 {
    padding-left: 20px;
    padding-right: 20px;
 } 
}