/* preloader css */

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background-image: url(../images/preloader.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
}

header .languages {
    margin-top: 70px;
    margin-right: -15px;
    margin-left: 15px;
    list-style: none;
}
header .languages li {
    display: inline-block; float: left;
}
header .languages li a {
    display: block; padding: 5px 8px; color: white; text-decoration: none; text-transform: uppercase; background: #056839; font-size: 16px;
}
header .languages li.active a, header .languages li a:hover {  background: #8cc63f; }

.partner-logos-small ul li a {
    display: block;
    float: left;
    width: 100%; height: 85px; vertical-align: middle; text-align: center;

}
.partner-logos-small ul li a:before {    /* create a full-height inline block pseudo=element */
    content: ' ';
    display: inline-block;
    vertical-align: middle;  /* vertical alignment of the inline element */
    height: 100%;
}
.partner-logos-small ul li img {
    max-width: 160px;
    max-height: 70px;
}
.partner-logos-small ul li a:hover {
  opacity: 0.8;
}
#partners figure.img img { width: 100%; }

@media screen and (max-width: 1199px) {
    header .logo {
      max-width: 240px;
      margin-top: 21px;
  }
}
@media screen and (max-width: 991px) {
  header .logo {
      margin-top: 0px;
  }
  .navbar-light .navbar-toggler {
    display: none;
  }
  #navbarCollapse {
    display: block;
  }
  header .custom-navbar .navbar-nav {
    display: none;
  }
  header .languages {
    margin-top: 10px;
    margin-right: -15px;
    margin-left: 15px;
    list-style: none;
    float: right;
  }
  .partner-logos-small ul li {
    height: 55px;
    display: table-row-group;
    border: none;
  }
  .partner-logos-small ul:first-child li:after,
  .partner-logos-small ul li:after {
    border: none;
  }
}
@media screen and (max-width: 767px) {
  .partner-logos ul li img {
    max-width: 100%;
    max-height: 70px;
  }
  header .languages {
    margin-top: -78px;
  }
  #partners .ev-image img {
    width: 100%;
  }
  #partners .container-fluid .row .col-sm-3 .ev-image:after {
    display: none;
  }
  #labos .links a {
    width: 100%;
  }
  #labos .links {
    padding-right: 0px;
  }

  .row {
    margin-left: 0px;
    margin-right: 0px;
  }
  .col-md-12, .col-lg-6 {
    padding-left: 0px;
    padding-right: 0px;
  }
  header, header .main-area {
    min-height: auto; height: 90vh;
    background-blend-mode: unset;
  }
  header {
    background: url("../images/bg-home.jpg");
    background-size: cover;
  }
}
@media screen and (max-width: 420px) {
  header .logo {
    max-width: 150px;
  }
  header .languages {
    margin-top: -55px;
  }
}