body{
  background-color: black;
}

@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(odd) .head::after, #timeline .demo-card:nth-child(even) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #timeline .demo-card:nth-child(odd) .head::before, #timeline .demo-card:nth-child(even) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #FAC002;
    border-radius: 9px;
    box-shadow: 0px 0px 2px 8px #f7f7f7;
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 4;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 5;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 6;
}

.demo-card:nth-child(7) {
  order: 3;
}
.demo-card:nth-child(8) {
  order: 6;
}
.demo-card:nth-child(9) {
  order: 3;
}
.demo-card:nth-child(10) {
  order: 6;
}
.demo-card:nth-child(11) {
  order: 3;
}
.demo-card:nth-child(12) {
  order: 6;
}
.demo-card:nth-child(13) {
  order: 3;
}
.demo-card:nth-child(14) {
  order: 6;
}

/*.demo-card:nth-child(8) {
  order: 7;
}*/

/* Border Box */
* {
  box-sizing: border-box;
}

/* Fonts */
body {
  font-family: Roboto;
}

#timeline {
  padding: 100px 0;
  background: black;
  /*border-top: 1px solid rgba(191, 191, 191, 0.4);*/
  /*border-bottom: 1px solid rgba(191, 191, 191, 0.4);*/
}
/*#timeline h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 20px;
}*/
#timeline p.leader {
  text-align: center;
  max-width: 90%;
  margin: auto;
  color:#FAC002;
  margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
  width:90%;
  background-color: #EBF2F2;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 3900px;
    /*height: 2800px;*/
    margin: 0 auto;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(191, 191, 191, 0.4);
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 2px dotted black;
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
  margin: 10px auto 80px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    max-width: 60%;
    box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  }
}
@media (min-width: 720px) {
  #timeline .demo-card {
    max-width: 40%;
  }
}
@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    height: 400px;
    margin: 90px;
    margin-top: 85px;
    margin-bottom: 45px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::after {
    border-left-width: 15px;
    border-left-style: solid;
    left: 100%;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: 490.0px;
    /*background-color: #FAC002;
    border:1px dashed #FAC002;*/
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }
  #timeline .demo-card:nth-child(even) .head::after {
    border-right-width: 15px;
    border-right-style: solid;
    right: 100%;
  }
  #timeline .demo-card:nth-child(even) .head::before {
    right: 490.0px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 180px;
  }
}
#timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  color: #FAC002;
  text-shadow: 1px 1px 1px black;
  font-weight: 400;
}
.head .back_header_his {
  margin-left:4px;
  margin-right: 4px;
  border-left: 2px dotted #F9BF02;
  border-right: 2px dotted #F9BF02;
  background-color: rgba(255,255,255,0.4);
}

#timeline .demo-card .head1 {
  background-image: url('../img/compani/tim1.jpg');
  background-size: cover;
}
#timeline .demo-card .head2 {
  background-image: url('../img/compani/tim2.jpg');
  background-size: cover;
}
#timeline .demo-card .head3 {
  background-image: url('../img/compani/tim31.jpg');
  background-size: cover;
}
#timeline .demo-card .head4 {
  background-image: url('../img/compani/tim41.jpg');
  background-size: cover;
}
#timeline .demo-card .head5 {
  background-image: url('../img/compani/tim51.jpg');
  background-size: cover;
}
#timeline .demo-card .head6 {
  background-image: url('../img/compani/tim61.jpg');
  background-size: cover;
}
#timeline .demo-card .head7 {
  background-image: url('../img/compani/tim71.jpg');
  background-size: cover;
}
#timeline .demo-card .head8 {
  background-image: url('../img/compani/tim81.jpg');
  background-size: cover;
}
#timeline .demo-card .head9 {
  background-image: url('../img/compani/tim91.jpg');
  background-size: cover;
}
#timeline .demo-card .head10 {
  background-image: url('../img/compani/tim101.jpg');
  background-size: cover;
}
#timeline .demo-card .head11 {
  background-image: url('../img/compani/tim111.jpg');
  background-size: cover;
}
#timeline .demo-card .head12 {
  background-image: url('../img/compani/tim121.jpg');
  background-size: cover;
}
#timeline .demo-card .head13 {
  background-image: url('../img/compani/tim131.jpg');
  background-size: cover;
}
#timeline .demo-card .head14 {
  background-image: url('../img/compani/tim141.jpg');
  background-size: cover;
}

#timeline .demo-card .head .number-box {
  display: inline;
  float: left;
  margin: 15px;
  padding: 10px;
  font-size: 35px;
  line-height: 35px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.17);
}
#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 0;
  padding-bottom: 6px;
  line-height: 1rem;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    font-size: 165%;
    line-height: 1.2rem;
  }
}
#timeline .demo-card .head3 h2 {
  font-size: 145%;
}
#timeline .demo-card .head4 h2 {
  font-size: 150%;
}
#timeline .demo-card .head5 h2 {
  font-size: 115%;
}
#timeline .demo-card .head6 h2 {
  font-size: 145%;
}
#timeline .demo-card .head11 h2 {
  font-size: 140%;
}

#timeline .demo-card .head h2 span {
  display: block;
  font-size: 0.6rem;
  margin: 0;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 span {
    font-size: 0.8rem;
  }
}
#timeline .demo-card .body {
  background: #fff;
  border: 1px solid rgba(191, 191, 191, 0.4);
  border-top: 0;
  padding: 15px;
  /*border-top:2px dashed #FAC002;*/
  border-bottom:2px dashed #FAC002;
}
@media (min-width: 1000px) { /* длинна */
  #timeline .demo-card .body {
    height: 425px;
  }
}
#timeline .demo-card .body p {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 15px;
}
#timeline .demo-card .body img {
  display: block;
  width: 100%;
}
#timeline .demo-card--step1 {
  background-color: #46b8e9;
}
#timeline .demo-card--step1 .head::after {
  border-color: #A3A3A3;
}
#timeline .demo-card--step2 {
  background-color: #5B524D;
}
#timeline .demo-card--step2 .head::after {
  border-color: #5B524D;
}
#timeline .demo-card--step3 {
  background-color: #D2C5BC;
}
#timeline .demo-card--step3 .head::after {
  border-color: #D2C5BC;
}
#timeline .demo-card--step4 {
  background-color: #585350;
}
#timeline .demo-card--step4 .head::after {
  border-color: #585350;
}
#timeline .demo-card--step5 {
  background-color: #8EC1F6;
}
#timeline .demo-card--step5 .head::after {
  border-color: #8EC1F6;
}
#timeline .demo-card--step6 {
  background-color: #1F151E;
}
#timeline .demo-card--step6 .head::after {
  border-color: #1F151E;
}
#timeline .demo-card--step7 {
  background-color: #4A6284;
}
#timeline .demo-card--step7 .head::after {
  border-color: #4A6284;
}
#timeline .demo-card--step8 {
  background-color: #C00323;
}
#timeline .demo-card--step8 .head::after {
  border-color: #C00323;
}
#timeline .demo-card--step9 {
  background-color: #262F38;
}
#timeline .demo-card--step9 .head::after {
  border-color: #262F38;
}
#timeline .demo-card--step10 {
  background-color: #D1E3EF;
}
#timeline .demo-card--step10 .head::after {
  border-color: #D1E3EF;
}
#timeline .demo-card--step11 {
  background-color: #686C77;
}
#timeline .demo-card--step11 .head::after {
  border-color: #686C77;
}
#timeline .demo-card--step12 {
  background-color: #5F5F79;
}
#timeline .demo-card--step12 .head::after {
  border-color: #5F5F79;
}
#timeline .demo-card--step13 {
  background-color: #949494;
}
#timeline .demo-card--step13 .head::after {
  border-color: #949494;
}
#timeline .demo-card--step14 {
  background-color: #435971;
}
#timeline .demo-card--step14 .head::after {
  border-color: #435971;
}

/* title */
.title_con{
  /*margin-top: 40px;*/
  /*margin-left:25px;*/
  width:190px;

}
.title_con h1 {
   font-size: 5vw;
   /*font-family: 'Comfortaa', cursive;*/
   font-family: 'Exo 2', sans-serif;
  /*text-align: left;*/
  padding: 0 0 6px 10px;
  border-left: 10px solid #FAC402;
  border-bottom: 2px solid #FAC402;
}
@media screen and (max-width:414px){
  .title_con h1 {
    font-size: 26px;
  }
}

.golovnFilial {
  cursor:pointer;
  border-left:1px dashed white;
  border-right:1px dashed white;
  /*background-color: #ECF3F3;*/
  text-align: center;
  text-shadow: 1px 1px 1px #2E4D97;
  color:white;
  font-size: 2.4vw;
  width:57%;
  margin-left:auto;
  margin-right: auto;
  margin-bottom: 30px;
  /*position: relative;*/
  right:3px;
}
.golovnFilial_non {
  transition: 0.5s;
  }
.golovnFilial_non:hover {
  border-bottom: 1px dashed #2E4D97;
  border-top: 1px dashed #2E4D97;
  text-shadow: 1px 1px 1px black;
  background-color: rgba(255,255,255,0.3);
}
.golovnFilial span {
  line-height: 35px ;
  
}
/*#r1 {
  cursor:pointer;
}
#r2 {
  cursor:pointer;
}*/
@media screen and (max-width:700px){
  .golovnFilial_non {
    font-size: 15px;
  }
  .golovnFilial {
      width:84%;
  }
 .golovnFilial span {
    line-height: 25px;
  } 
}
.golovnFilial_active {
  padding: 2px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  text-shadow: 1px 1px 1px black;
}

@media screen and (max-width:499px){
  .golovnFilial_non {
    font-size: 18px;
  }
 .golovnFilial span {
    line-height: 25px;
  } 
}

.golovnFilial_active {
  padding: 2px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  text-shadow: 1px 1px 1px #2E4D97;
}


/*.headerLogo{
  width:303px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 5px;
}
.headerLogo img{
  width:300px;
}
@media screen and (max-width:414px){
  .headerLogo{
    width:200px;
  }
  .headerLogo img{
    width:200px;
  }
}
*/
.znak {
 size:5px;
 color:green; 
}

.section_company {
  width:94%;
  margin-left:auto;
  margin-right:auto;
  padding: 10px;
  
  background-color: #BCDBEA;
  /*border:1px solid red;*/
}

.box_wrap {
  border-top:2px dotted #FAC002;
  padding-top: 15px;
}

/* --- upravlenie ------ */
.main {
  display: inline-block;
  /*margin-right: 10%;*/
  /*margin-left: 8%;*/
  width: 25vw;
  max-width: 300px;
  /*height:25vw;
  max-height: 300px;*/
  position: relative;
  padding: 50px 0;
  margin: 30px;
  margin-top: 20px;


  /*margin-left:auto;
  margin-right:auto;*/
}



.main .face {
  /*margin-left:auto;
  margin-right: auto;*/
  border-top:2px dashed #FAC002;
  border-right:2px dashed #FAC002;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  top: -70px;
  /*left: 40%;*/
  /*left: 85px;*/
  box-shadow: 0px 80px 110px -40px rgba(86, 119, 119, 0.68), 0px 5px 20px rgba(0, 0, 0, 0.1);
}

.main .title {
  opacity: 0.8;
  /*width: 200px;*/
  /*line-height: 60px;*/
  text-align: center;
  color: #FAC002;
  position: absolute;
  bottom:9%;
  margin-left:55%;
  text-shadow: 2px 1px 1px black;
  /*top: 64px;
  left: 400px;*/
  /*font-family: 'Pacifico', cursive;*/
  /*font-family: 'Comfortaa', cursive;*/
  font-family: 'Exo 2', sans-serif;
  font-style: italic;
  font-size: 1.8vw;
}
.main .content {
  font-family: 'Inconsolata', monospace;
  /*border:1px solid red;*/
  /*width: 300px;*/
  position: absolute;
  top: 90%;
  left:-8%;
  color: black;
  line-height: 30px;
}
.main .content span {
  padding: 2px;
  
  font-size: 1.2vw;

  /*line-height: 5px;*/
  background: #FAC002;
  opacity: 0.87;
}

.boss{
  display: block;
  margin-left:auto;
  margin-right:auto;

}

@media screen and (min-width:1179px) {
  .main .content span {
  font-size:19px;
  }
}
@media screen and (max-width:414px) {
  .main .content {
    width:220px;
    line-height: 19px;
  }
  .main .content span {
    font-size:12px;  
  }
  .main{
    display: block;
    margin-left: 25%;
    width:60%;
    /*margin-right: aut;*/
  }
  .main .title {
    font-size: 4.5vw;
  }
}

.people1 {
  background: url("../img/compani/up/up_medvedev.jpg");
}
.people2 {
  background: url("../img/compani/up/up_lutcev.jpg");
}
.people3 {
  background: url("../img/compani/up/up_bannyh.jpg");
}
.people4 {
  background: url("../img/compani/up/up_makusheva.jpg");
}
.people5 {
  background: url("../img/compani/up/up_karpov.jpg");
}
.people6 {
  background: url("../img/compani/up/up_hlebnikova.jpg");
}
.people7 {
  background: url("../img/compani/up/up_anikin.jpg");
}
.people8 {
  background: url("../img/compani/up/krivoshapov1.jpg");
}
.people9 {
  background: url("../img/compani/up/ukairo.jpg");
}


.headerTextSection {
  color:white;
  margin-top: 30px;
  text-align: center;
  font-size: 3vw;
  text-shadow: 1px 1px 1px #2E4D97;
}

@media screen and (max-width:753px) {

.headerTextSection {
    font-size: 23px;
  }

}

.headerSubTextSection {
  margin-bottom: 30px;
  text-align: left;
  font-size: 2vw;
  text-shadow: 1px 1px 1px #F9BF02;
}
@media screen and (max-width:753px) {

.headerSubTextSection {
    font-size: 18px;
  }

}

.wrap_flexCenter{
  margin-top: -40px;
  width:80%;
  margin-left: auto;
  margin-right: auto;
  /*border:1px solid red;*/
   display: flex;
   flex-wrap: wrap;
   /*flex-flow: row nowrap;*/
   /*flex-wrap: wrap;
   align-items: center;
   align-content: space-between;*/
   justify-content: space-between;
}
.box_vid {
  margin:15px;
  padding:3px;
  border-left:2px dashed #FAC002;
  border-right:2px dashed #FAC002;
  max-width:50%;
}
@media screen and (max-width:460px){
  .box_vid {
    max-width:80%;
  }
  
}


.box_vid a img {
  margin-left:6%;
  margin-right:auto;
  width:120px;
}
.box_vid a p {
  padding: 4px;
  color:black;
  text-shadow: 1px 1px 1px #FAC002;
}

.wrap_flex{
   display: flex;
   /*flex-flow: row nowrap;*/
   flex-wrap: wrap;
   align-items: center;
   align-content: center;
   justify-content: space-between;
}
.first_block{
  margin:0;
  height: 40%;
  border-left:2px dashed #FAC002;
  border-right:2px dashed #FAC002;
  margin-top:-60px;
  transform: scale(1.3,1.1);
  position: absolute;
  /*margin-top:-40px;*/
  /*border:1px solid red;*/
}

/*.people10 {
  background: url("../img/general_medvedev.jpg");
}*/
/*.general_med {
  margin
}*/
.gene_medvedev {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width:40vw;
  max-width: 400px;
  border-radius: 12px;
  border-bottom: 3px dotted #F9BF02;
  /*border-top: 3px dotted #F9BF02;*/
}
.name_general {
  /*margin-right: auto;*/
  margin-left: 47%;
  margin-top:-18%;
  font-size: 3.6vw;
  color:#EBF2F2;/*#FAC710;*/
  text-shadow: 1px 2px 1px black;
  font-family: 'El Messiri', sans-serif;
}

@media screen and (min-width: 1200px) {
  .name_general {
     font-size: 40px;
     margin-top:-180px;
  }
}

.portfolio {
  padding: 2%;
}

.portfolio p {
 font-family: 'El Messiri', sans-serif; 
}

.nagrady {
  padding:10px;

}
.nagrady img {
  margin-top: 6px;
  transition: .3s;
}
.lightzoom img:hover{
  outline: 4px dashed #FAC002;
  outline-offset: -1px;
}

.realization {
  margin-left:24%;
}

.filial_company {
  margin-top: 10px;
  margin-bottom: 15px;
  display: block;
  margin-right: auto;
  margin-left: auto;
  width:40vw;
  max-width: 800px;
  min-width: 200px;
  border-radius: 10px;
  border-left: 2px dotted #F9BF02;
  border-right: 2px dotted #F9BF02;
}

#lz-container {
  white-space: normal;
}

#lz-box .text_zoom p{
  margin-top: 0;
  position: static;
  font-size: 1.8vw;
  /*z-index:9999998 !important;*/
}

@media screen and (min-width: 1200px) {
  #lz-box .text_zoom p{
     font-size: 21px;
  }
}
@media screen and (max-width: 640px) {
  #lz-box .text_zoom p{
     font-size: 11.5px;
  }
}

#lz-box img{
  margin-bottom: 1px;
}

.text_zoom{
  /*height: 100px;*/
  margin-top: -10px;
  padding: 5px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  color:white;
  text-shadow: 1px 1px 3px #FAC002;
  border-bottom: 1px dashed #FAC402;
  border-left: 1px dashed #FAC402;
  border-right: 1px dashed #FAC402;
  width: 65%;
  background-color: rgba(0,0,0,0.5);
  border-radius: 5px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  z-index:9999997 !important;
  
}

/*text-decoration: none;
    list-style: none;*/

.wrap_list span{
  display: block;
  margin-top: -12px;
}

.card {
  margin:5px;
  background-color: #DDE4E4;
  border-radius: 6px;
  border: 2px dashed #EAC002;
}
.card-title {
  font-weight: 500;
  text-shadow: 1px 1px 1px #595959;
}

.contact_text {
  text-shadow: 1px 1px 1px #FAC002;
}

.fa-phone {
  color:#C79902;


}
.fa-envelope {
 color:#C79902;
}

.btb_playground {
  margin-left:auto;
  margin-right: auto;
  width:982px;
  height: 808px;
  border:2px dashed #FAC002;
}

.box_sert a img{
  border: 2px dashed #EBF2F2;
  transition: .5s;
}


.box_sert a img:hover {
  border: 2px dashed #FAC002;
}
