.video {
box-shadow: 0px 5px 9px black;
margin-top:30px
}

.form-control {

font-size: 20px;

}

.modal-dialog {
 margin-top: 10%;
}


.head {
text-shadow: 2px 2px 4px #000000;
background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(./../img/img_1.jpg);
/* Chrome10+,Safari5.1+ */ background: -webkit-linear-gradient(top, rgba(0,0,0,.5) 0%,rgba(0,0,0,.5) 100%), url(./../img/img_1.jpg);
background-size: 100% auto;
min-height: 850px;
max-height:850px;
background-position: center center;
background-attachment: fixed;
background-size: cover;
padding: 5% 10%;
}

.sert {
text-shadow: 2px 2px 4px #000000;
background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(./../img/img_3.jpg);
/* Chrome10+,Safari5.1+ */ background: -webkit-linear-gradient(top, rgba(0,0,0,.5) 0%,rgba(0,0,0,.5) 100%), url(./../img/img_3.jpg);
background-size: 100% auto;
min-height: 850px;
max-height: 850px;
background-position: center center;
background-attachment: fixed;
background-size: cover;
padding: 5% 10%;
}

.aprak {
text-shadow: 2px 2px 4px #000000;
background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(./../img/img_2.jpg);
/* Chrome10+,Safari5.1+ */ background: -webkit-linear-gradient(top, rgba(0,0,0,.5) 0%,rgba(0,0,0,.5) 100%), url(./../img/img_2.jpg);
background-size: 100% auto;
min-height: 850px;
max-height: 850px;
background-position: center center;
background-attachment: fixed;
background-size: cover;
padding: 5% 10%;
}

.kont {
text-shadow: 2px 2px 4px #000000;
background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(./../img/img_4.jpg);
/* Chrome10+,Safari5.1+ */ background: -webkit-linear-gradient(top, rgba(0,0,0,.5) 0%,rgba(0,0,0,.5) 100%), url(./../img/img_4.jpg);
background-size: 100% auto;
min-height: 850px;
max-height:850px;
background-position: center center;
background-attachment: fixed;
background-size: cover;
padding: 5% 10%;
}

#map-container {
padding:10px;
height: 500px;

}
 

hr {
    margin-right: auto;
    border-width: 2px;
    
}
.form-control {
 text-align: center;

}

.chec {
text-align:left;

}


body {
      position: relative;
      text-align: center;
      font-family: 'Poiret One', cursive;
      font-size: 25px;
     
 
  }
    .affix {
      top:0;
      width: 100%;
      z-index: 9999 !important;
  }
  .navbar {
      
      margin-bottom: 0px;
      /*background-color:rgba(0,0,255,0.9);*/
      box-shadow: 0px 5px 9px black;
      font-size: 31px;
      
            
 }
 .navbar-default .navbar-brand {
    color: #CC0000;
    font-size: 35px;
    padding-left: 30px;
    height:53px;
    z-index: 9999 !important;
    
}

 .dropdown-menu {
  font-size: 24px;
 }

  .affix ~ .container-fluid {
     position: relative;
     top: 50px;
  }
  
  .container-fluid {
    
    color:#FFFFFF;
   
  }
  
  .top {
    text-align: left;
  
  }
/*konteineru foni*/
  #eksperti { color:#000000;}  
  #pakalpojumi {padding:5% ; height:auto;color: #434343; background-color:#C1E1A6; }
  #sertifikati {padding:5%;height:auto;color: #434343; background-color: #C1E1A6; }
  
   
  #kontakti {padding:5% ;height:auto;color: #434343; background-color: #FFC299; }
  #progeo {padding:5% ;height:auto;color: #434343; background-color: #D8AF6F; }
  
        
  #isotest {padding:5% ;height:auto;color: #434343; background-color: #F0C27B; } 
  #karte {padding:15px; height:auto;color: #434343; background-color: #C1E1A6; }
  #footers {padding:5%; height:auto;color: #434343; background-color: #808080; } 
  



h1 {
  text-align: center;
  font-family: 'Poiret One', cursive;
  color: white;
  font-size: 45px;
  font-weight:900;
  text-shadow: 2px 2px 4px #000000;
}
h2 {
  color: #161616;
  font-family: 'Poiret One', cursive;
  font-size: 30px;
  font-weight:900;
}

h3 {
  color: white;
  font-family: 'Poiret One', cursive;
  font-size: 30px;
  font-weight:600;
}
h4 {
  color: #161616;
  font-family: 'Poiret One', cursive;
  font-size: 20px;
  font-weight:900;
}


.box {
  width: 20%;
  min-width: 200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.5);
  padding: 2%;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  /*font-size: 0.5em;*/
 padding: 17px;
  color: #fff;
  border: 1px solid orange;
  border-radius: 45px/45px;
  /*text-decoration: none;*/
  font-weight:900;
  cursor: pointer;
  transition: all 0.3s ease-out;
  background:#FFCCFF;
  /*max-width: 80px;
  max-height: 80px;*/
  
}
.button:hover {
  background: green;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.power {

 margin-top: 150px;

}


.nav li:hover:nth-child(8n+1), .nav li.active:nth-child(8n+1){
  border-bottom: #C4E17F 3px solid;
}
.nav li:hover:nth-child(8n+2), .nav li.active:nth-child(8n+2){
  border-bottom: #4D954D 3px solid;
}
.nav li:hover:nth-child(8n+3), .nav li.active:nth-child(8n+3){
  border-bottom: #FECF71 3px solid;
}
.nav li:hover:nth-child(8n+4), .nav li.active:nth-child(8n+4){
  border-bottom: #FF9980 3px solid;
}
.nav li:hover:nth-child(8n+5), .nav li.active:nth-child(8n+5){
  border-bottom: #C1E1A6 3px solid;
}
.nav li:hover:nth-child(8n+6), .nav li.active:nth-child(8n+6){
  border-bottom: #C49CDE 3px solid;
}
.nav li:hover:nth-child(8n+7), .nav li.active:nth-child(8n+7){
  border-bottom: #669AE1 3px solid;
}
.nav li:hover:nth-child(8n+8), .nav li.active:nth-child(8n+8){
  border-bottom: #F7FDCA 3px solid;
}


