/* Template-theme
 *
 */
body {
  color: #2d2d2d;
}
h1, h2, h3, h4, h5, h6 {
    color: #CCCBCB;
}
h1 {
    font-size: 28px;
}
h2 {
    font-size: 26px;
}
h3 {
    font-size: 22px;
}
h4 {

}
h5 {

}
h6 {

}
a:active, a:hover, a:focus {
    color: #CCCBCB;
}
.team-member .fa {
color: #fff;
font-size: 28px;
}
.team-member .fa:hover {
color: #EB1732;
}
.team-member .team-info h2 {
color: #EB1732;
}

/* set width and height for items */
.cbp .cbp-item {
    z-index: 2;
    display: block;
    /*width: 300px; /* default width for blocks */
    /*height: 200px; /* default height for blocks */
    width: 350px;
    height: 278px;
}

.cbp-popup-lightbox, .lightboxOverlay {
    background: rgba(66, 83, 95,.8);
}
.cbp-popup-lightbox-img, .lb-container .lb-image {
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}
.lb-data .lb-details {
    width: 100%;
    float: left;
    text-align: left;
    line-height: 1.1em;
}
.lb-caption {
    font: 400 12px/18px sans-serif;
    color: #eee;
}
.lb-data .lb-number {
    font: 400 12px/18px sans-serif;
    color: #eee;
    float: right;
}
.cbp-l-grid-projects .grid figcaption {
    padding-top: 35%;
    color: #5a5a5a;
}
.grid figcaption a {
    /* color: #EB1732; */
    color: #5a5a5a;
}
.grid figcaption a:hover {
    color: #EB1732;
}
.grid figcaption {
    background-color: #f0f0f0;
}
.tagsicon .tags {    
    background-color: transparent !important;
    font-size: 20px;
    color: #5A5A5A;
    cursor: default;
}
.team-member figcaption {
    background-color: #595959;
}
.no-touch .cs-style-3 figure:hover figcaption {
  opacity: 0.9
}
#our-certificates {
  padding: 30px 0;
}
thead.color {
    background-color: rgba(66,83,95,0.9);
    color: white;
}
.latest figcaption {
    text-align: left;
    width: 100%;
    display: block;
    color:#5a5a5a;
}
.latest figcaption .fgcontent {
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0px;
    padding: 15px 15px 0;
}
.fgcontent .htitle {
  line-height: 40px;
}
.latest figcaption .fgcontent a {
    color:#5a5a5a;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
}
.panel-default > .panel-heading {
    background-color: #FFFFFF;
    border-color: #ddd;
}
.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: rgba(84,99,110,0.1);
}
.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: rgba(84, 99, 110, 0.2);
}
.panel-group .panel {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 1px;
}
.table {
    margin-bottom:0px;
}
.panel-body {
    background-color: transparent;
    padding-bottom: 0;
    padding-left: 0;
    padding-top: 0;
    padding-right: 0;
}
.catalog .panel h2.title {
      margin: 0;
}

#map h4 {
  font-weight: 700;
}

.dropdown-menu {
    font-size: 14px;
    background-color: #CCCBCB;
}
.ya-share2 {
    padding-left: 4px;
}
.social i {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #FFFFFF;
    background-color: #CCCBCB;
}
.mailto, .faceboock, .phone {
    display: block;
    float: left;
    padding-left: 10px;
}
.faceboock i {
    font-size: 17px;
    padding-top: 7px;
}
.mailto i {
    font-size: 14px;
    padding-top: 7px;
}
.phone i {
    font-size: 14px;
    padding-top: 8px;
}
.phone span {
    font-size: 18px;
}
.btn-group.open .dropdown-toggle {
    -webkit-box-shadow:none;
    box-shadow: none;
}

.footer-menu img {
  width: 90px;
}
.e2ilogo img {
  width: 60px;
}
#header .container {
    padding-right: 0px;
    padding-left: 0px;
}
body {
  background-color: #bebebe;
}
#wrap {
  background-color: #fff;
  margin-bottom: -150px;
}
.site-wrapper {
    clear: both;
    padding-bottom: 150px;
}


.social {
    padding-top: 24px;
    padding-bottom: 20px;
    width: 306px;

    float: right;
}

.layout {
    background-color: rgba(66,83,95,1);
    width: 100%;
    height: 0%;
    position: absolute;
    bottom: 0;
}
.layout:hover {
 background-color: rgba(66,83,95,0.8);
 /* Firefox */
    -moz-transition: all 0.2s ease-in;
    /* WebKit */
    -webkit-transition: all 0.2s ease-in;
    /* Opera */
    -o-transition: all 0.2s ease-in;
    /* Standard */
    transition: all 0.2s ease-in;
}

.services {
    position:relative;
    z-index:1;
    height: 210px;
    width: 220px;
    background-color: rgba(66,83,95,0.8);
    color: #fff;
    overflow: hidden;
    font-weight: 700;
}
.services:hover {

    /* Firefox */
    -moz-transition: all 0.2s ease-in;
    /* WebKit */
    -webkit-transition: all 0.2s ease-in;
    /* Opera */
    -o-transition: all 0.2s ease-in;
    /* Standard */
    transition: all 0.2s ease-in;
}
.services:before {
    content:"";
    position:absolute;
    z-index:-1;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-repeat: no-repeat;
    opacity:0.3;

}
.services:hover:before  {
    opacity:1;

    /* Firefox */
    -moz-transition: all 0.2s ease-in;
    /* WebKit */
    -webkit-transition: all 0.2s ease-in;
    /* Opera */
    -o-transition: all 0.2s ease-in;
    /* Standard */
    transition: all 0.2s ease-in;
}

.servicesblock {
  margin-top: 30px;
  margin-bottom: 20px;
}

 .servicesblock .col-xs-3:nth-child(1) .services:before {
  background-image: url(../img/01.jpg);
}
.servicesblock .col-xs-3:nth-child(2) .services:before {
  background-image: url(../img/02.jpg);
}
.servicesblock .col-xs-3:nth-child(3) .services:before {
  background-image: url(../img/03.jpg);
}
.servicesblock .col-xs-3:nth-child(4) .services:before {
  background-image: url(../img/04.jpg);
}
.mobile .our_clients a {
  padding: 15px;
}
.our_clients img {
  opacity: 0.4;
  -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
         -o-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
            filter: grayscale(100%); 

            /* Firefox */
    -moz-transition: all 0.2s ease-in;
    /* WebKit */
    -webkit-transition: all 0.2s ease-in;
    /* Opera */
    -o-transition: all 0.2s ease-in;
    /* Standard */
    transition: all 0.2s ease-in;
}
.our_clients img:hover {
  opacity: 1;
  -webkit-filter: grayscale(0%);
       -moz-filter: grayscale(0%);
         -o-filter: grayscale(0%);
        -ms-filter: grayscale(0%);
            filter: grayscale(0%); 
}
.titledesc {
    position: absolute;
    bottom: 0;
    padding: 15px;
    z-index: 1;
    line-height: 18px;
}

#footer {
    /* width: 1240px; */
    margin: 0 auto;
    background-color: #282828;
}
.ftr ul.menu > li {
    list-style: none;
    float: left;
    padding: 8px 15px 2px;
  }
.ftr ul.menu {
    margin: 0;
    padding: 0;
    display: flex;
}
.development {
    float: right;
    color: #505050;
    padding-top: 30px;
    text-align: right;
}
.slide-text {
  position: absolute;
  width: 40%;
  text-align: right;
  z-index: 200;
}
.slide-image {
  position: absolute;
  z-index: 1;
}

.flex-caption {
    width: 100%;
    left: 0;
    padding:70px 50px 20px;
    margin-top: -330px;
    height: 320px;
    letter-spacing: 0px;
    line-height: 26px;
    color: #fff;
}
.flex-caption .btn {
  margin-top: 15px;
} 
.flexslider .flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 60px;
    text-align: center;
}
.modalflexslider .flex-control-nav li {
    display: inline-block;
    zoom: 1;
    border: 1px solid #fff;
}
.flex-control-thumbs {
    margin: 1px 0 0;
    }
.flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
}
.flex-caption .label-type, .flex-caption .title {
  display: block;
}
.flex-caption .label-type {
    font-size: 20px;
    font-weight: bold;
}
.flex-caption .title {
    font-size: 40px;
    font-weight: normal;
    line-height: initial;
    letter-spacing: -2px;
}
.flex-caption a.dark {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}
.flex-caption a.dark:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.carousel .flex-control-nav {
    width: 100%;
    position: absolute;
    top: 0;
    text-align: center;
    height: 0px;
    margin-top: 130px;
}

.btn-primary {
    color: #FFFFFF;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #677580;
    border-color: #677580;
    outline: none;
}
.flex-control-paging li a.flex-active {
    /* background: rgba(40, 40, 40, .9); */
    background-image: url(../img/trobber.svg);
    background-position: 0 0;
    cursor: default;
    width: 19px;
    height: 19px;
    /* border: 6px double #FFFFFF; */
    margin: 0px 0px;
    background-size: 43px;
    background-color: transparent;
}
.dark .flex-control-paging li a.flex-active {
    /* background: rgba(40, 40, 40, .9); */
    background-image: url(../img/trobber.svg);
    background-position: 24px 0;
    cursor: default;
    width: 19px;
    height: 19px;
    /* border: 6px double #FFFFFF; */
    margin: 0px 0px;
    background-size: 43px;
    background-color: transparent;
}
.flex-control-paging li a {
    width: 19px;
    height: 19px;
    display: block;
    background-size: 43px;
    background-color: transparent;
    background-image: url(../img/trobber.svg);
    background-position: 0 -19px;
    border: 0;
    cursor: pointer;
}
.dark .flex-control-paging li a {
    width: 19px;
    height: 19px;
    display: block;
    background-size: 43px;
    background-color: transparent;
    background-image: url(../img/trobber.svg);
    background-position: 24px -19px;
    border: 0;
    cursor: pointer;
}

.flex-control-paging li a:hover {
  opacity: 0.7;
    background-color: transparent;
    background-image: url(../img/trobber.svg);
    background-position: 0 -19px;
    background-size: 43px;
}
.flex-control-paging li a.flex-active:hover {
  opacity: 0.7;
    background-color: transparent;
    background-image: url(../img/trobber.svg);
    background-position: 0 0;
    background-size: 43px;
}
.dark .flex-control-paging li a:hover {
  opacity: 0.7;
    background-color: transparent;
    background-image: url(../img/trobber.svg);
    background-position: 24px -19px;
    background-size: 43px;
}
.dark .flex-control-paging li a.flex-active:hover {
  opacity: 0.7;
    background-color: transparent;
    background-image: url(../img/trobber.svg);
    background-position: 24px 0;
    background-size: 43px;
}
.btn {
    padding: 3px 10px;
  }
.carousel {
    position: relative;
    padding: 15px 0;
    height: 200px;
    line-height: 100px;
   width: 90%;
    margin: 0 auto;
}
.carousel .slides li img {
  max-width: 250px;
  vertical-align: middle;
}
.carousel .slides li {
  text-align: center;
}
.flex-control-nav {
  visibility: hidden;
}
.modalflexslider {
    width: 900px;
  }

img.i100precent {
    width: 100%; 
}
.modalflexslider .slides:before {
  content: "";
    width: 1000%;
    height: 1000%;
  }
.modal-content {
  border-radius: 1px;
  border: 0px;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: white;
    z-index: 1;
}
/* Customise nav */

.navbar-toggle {
    position: relative;
    float: right;
    padding: 25px 20px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 1px;
}
.navbar-toggle .icon-bar {
    border: 2px solid;
    border-radius: 1px;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: #CCCBCB;
}
.navbar-default {
    background-color: transparent;
    border-color: #cdcdcd;
   /* padding: 30px 0; */
}
.navbar-nav.navbar-right:last-child {
    margin-right: 10px;
  }

#navbar {
  background-color: #CCCBCB;
  color: #585858;
  font-size: 14px;
  font-weight: 400;
}
#navbar a {
    color: #585858;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
}
.navbar-default .navbar-right {
    float: right;
    width: 100%;
    text-align: right;
}
.container>.navbar-collapse, .container-fluid>.navbar-collapse {
    margin-right: 0;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}
.nav > li > a {
    padding: 15px 35px;
  }
.logo img {
  width: 90px;
    margin: 0;
}
.navbar-default ul.nav li {
    border-bottom: 2px solid rgba(88, 88, 88, 0.1);
}
.navbar-nav.navbar-right:last-child {
  border-top: 2px solid rgba(204, 203, 203, 1);
}
@media (min-width: 992px) {
  .navbar-default ul.nav li {
    border-bottom: 0px;
}

.flex-control-nav {
  visibility: visible;
}
.logo img {
  width: 90px;
  margin: 0 60px;
}
  #navbar a {
    color: #2d2d2d;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}
.navbar-default .navbar-right {
    float: right;
    width: auto;
    text-align: left;
}

  .polygonal {
  -webkit-transform: skew(-20deg);
     -moz-transform: skew(-20deg);
       -o-transform: skew(-20deg);
  background: #eb1732;
  color: #000;
}
.polygonal a {
  -webkit-transform: skew(20deg);
     -moz-transform: skew(20deg);
       -o-transform: skew(20deg);
}
 #navbar .polygonal a {
  color: #CCCBCB;
 }
 .nav > li:first-child, .nav > li:first-child a {
    padding-left: 0;
    margin-left: 0;
}
.navbar-left > li > a {
    padding: 8px 32px;
}
.navbar-right > li > a {
    padding: 0 10px;
}
.navbar-left .logo > a {
  padding: 0;
} 
.kjnav .navbar-right {
  /* padding-top: 4%; */
   padding-top: 3.3%;
  }
 .navbar-right a.dropdown-toggle  {
    padding-right: 0 !important;
    cursor: pointer;
}

.navbar-default ul.navbar-nav > li > a, .navbar-default ul.navbar-nav > li,
.navbar-default ul.dropdown-menu > li > a, .navbar-default ul.dropdown-menu > li  {
font-size: 14px;
text-transform: none;
font-weight: 400;
}

}
/* Customise nav */

.lb-cancel {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background: url(../img/throbber.png) no-repeat;
    -webkit-animation: rotating 1s linear infinite;
}

@-webkit-keyframes rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}


.optima_logo_kj img {

}
#copyright {
  padding-left: 15px;
}
.footer-menu .ftr h4 {
    padding: 15px 20px 0 15px;
    font-weight: bold;
    color: #505050;
    margin-bottom: 0;
}
footer .footer-menu a:hover {
    color: #CCCBCB;
}
footer .footer-menu {
    margin: 30px 0 30px;
    font-size: 12px;
    font-weight: 400;
    /* height: 80px; */
}
.htitle {
  font-size: 40px;
  font-weight: normal;
  letter-spacing: -1px;
}
#our-projects {
  padding-bottom: 30px;
}
#grid-container .htitle {
    font-size: 26px;
    font-weight: normal;
    letter-spacing: -1px;
}
#grid-container .fgcontent {
  text-align: center;
  padding: 15px;
}
#page404 .htitle {
  font-size: 200px;
  font-weight: bold;
}
#page404 .lead {
    color: #A5A5A5;
}
.test {
  background-color: #000;
  opacity: 0.1;
  height: 250px;
}
.latest [class*="col-"] {
  padding-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
}
 .flexslider {
  overflow: hidden;
}
@media (min-width: 180px) {
  .flexslider {
    height: auto;
  }
  #footer {
    width: 100%;
  }
}
@media (min-width: 480px) {
  .flexslider {
    height: auto;
  }
   #footer {
    width: 100%;
  }
 
}
@media (min-width: 768px) {
  .flexslider {
    height: auto;
  }
   #footer {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .flexslider {
    height: 530px;
  }
   #footer {
    width: 970px;
  }
}
@media (min-width: 1280px) {
  .flexslider {
    height: 650px;
  }
   #footer {
    width: 1180px;
  }
}
@media (max-width: 992px) {
  .flex-caption {
    position: relative;
    padding: 0;
  }
#page404 .htitle {
  font-size: 80px;
  font-weight: bold;
}
  .flex-caption .title {
    position: absolute;
    font-size: 7vw;
    bottom: 30px;
    width: 100%;
    letter-spacing:0px;
  }
  .flex-caption a {
    position: absolute;
    font-size: 3vw;
    bottom: 0px;
    width: 100%;
    display: block;
    letter-spacing:0px;
}
.modal-footer .btn-primary {
    width: 100%;
    height: 100%;
    border-radius: 1px;
    background-color: #C7C7C7;
    height: 4em;
    border: 1px solid #B3B3B3;
}
}
 