
/* HEADER SECTION */
#h {
  background-attachment: relative;
  background-position: center center;
  width: 100%;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  padding-bottom: 50px;
}

@media screen and (min-width: 2000px) {
  #h {
    min-height: 100vh;
    padding-top: 5%;
  }
}

.navbar {
  border-radius: 0 !important;
}

.main-button {
  margin-top: 30px;
}

#h .cover {
  background-color: #080809;
  background-size: cover;
  background-image: url(data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAYABgAAD/2wCEAAICAgICAgMCAgMEAwMDBAUEBAQEBQcFBQUFBQcIBwcHBwcHCAgICAgICAgKCgoKCgoLCwsLCw0NDQ0NDQ0NDQ0BAgICAwMDBgMDBg0JBwkNDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDf/AABEIABAAHAMBIgACEQEDEQH/xABvAAEBAQEAAAAAAAAAAAAAAAAGCAUHEAACAgICAgMAAwEAAAAAAAABAwIEBQYRExIhAAcUFSIjMQEBAQEAAAAAAAAAAAAAAAAAAwECEQACAAUDBAMAAAAAAAAAAAABEQACAyExBBJRE0Gh8HGRwf/aAAwDAQACEQMRAD8AHabtiKnXsYy2M2g5Bk3CeLoJRLHwastC7Ba6PPqBj2QXyOf7RAAl86N9hM1uzhEZLVcPcs7Rkms/Jz+YYwpakzg6U0z7euHEhKUyATzEAyMQY615VCorWtrqOVlclawTjfy7HIIwZjBc5OpKSsh1eQJj42I9sZkziCIgDWxO8bbouDo/YWhL2DKWAbCbtvLU61+z+iZ6V/ignwhKtOEJsl3wh7kJj1Dx+P1dpGTm4ugn2xxd9lGujTmJnlQ8O65Lv+uFH2jt+VxmEp/yyF7mxGNr168dfrnEtSYCPbbZZ7GyWtkpGCmxh2K485zAHpnncJZ3fM3Nkwe15PAULTeUY5RnCaAAPIP4lGBeZ8lkoQhGRPPHJJMxVd93ncdjpb3oOFpUV5c0sRXUpcEIY9bGQDno/OszS9n+bmeZHkODEiPtJf8AvbHDIXKGz52WLymOtWKdlWFYpNKbEskJThFrOf8ApMSQBEmPofLT1lNb6krVsNe8ww06mMoP2SPIXvxH/9k=);
}

#h .header-container {
  height: 100%;
}

#h h1 {
  font-family: MuseoSansCyrl-700, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: right;
  color: white;
  font-size: 42px;
  color: #FFFFFF;
  letter-spacing: 1px;
  line-height: 48px;
}

#h small {
  color: black;
}

#h h2 {
  font-family: MuseoSansCyrl-300, sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #FFFFFF;
  letter-spacing: 1px;
  line-height: 48px;
  text-align: right;
}

#h .subheader {
  font-family: MuseoSansCyrl-300, sans-serif;
  font-weight: 300;
  font-size: 28px;
  color: #FFFFFF;
  opacity: 1;
  line-height: 36px;
  text-align: right;
}

@media (min-width: 475px) and (max-width: 1200px) {
  #h {
    margin-bottom: 3vw;
  }

  .header-wrapper {
    height: 25vw;
    padding-top: 5.6vw;
  }

  #h h1 {
    font-size: 5.7vw !important;
    line-height: 7.4vw;
    margin: 0 0 2.1vw 0;
    text-align: center;
  }
  #h .subheader {
    font-size: 2.5vw !important;
    margin-bottom: 7.2vw;
    letter-spacing: 1px;
    text-align: center;
  }
  section#home {
    margin-bottom: 3.3vw;
  }
  #h h2 {
    font-size: 4.3vw;
    line-height: 7.7vw;
    text-align: center;
  }
}

@media (max-width: 475px) {
  #h {
    margin-bottom: 28px;
  }
  section#home {
    margin-bottom: 26px;
  }
  .header-wrapper {
    /* height: 150px; */
    padding-top: 24px;
  }

  #h h1 {
    margin: 0 0 11px 0;
    font-size: 28px !important;
    line-height: 38px;
    text-align: center;
  }

  #h .subheader {
    font-size: 13px !important;
    line-height: 15px;
    margin-bottom: 28px;
    letter-spacing: 0px;
    text-align: center;
  }
}

.header-container {
  position: relative;
  z-index: 10;
}

/*============================================*/

.mobile-cover-wrapper {
  position: absolute;
  min-width: 100%;
  min-height: 330px;
  height: 70vw;
  width: auto;
}

.mobile-cover {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/cover.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  right: 0;
  min-height: 330px;
  width: auto;
  height: 70vw;
}

.cover-image-wrapper {
  box-shadow:  0 70px 60px -50px rgba(31,72,90,0.2);
  /*box-shadow: 0 40px 40px 0 rgba(31,72,90,0.1), 0 40px 60px 0 rgba(35,75,111,0.2), 0 8px 40px 0 rgba(69,114,154,0.2), 0 6px 10px 0 rgba(84,126,165,0.2);*/
  max-width: 953px;
  width: 90%;
}

.cover-image-wrapper .img-thumbnail {
    padding: 0;
    border: none;
    border-radius: 10px;
}

@media (max-width: 769px) {
  .cover-image-wrapper {
    width: 100%;
    padding: 0 5px;
  }
}

#video-wrapper {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  max-height: inherit;
  margin-left: auto;
  margin-right: auto;
}

#video-wrapper > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.dimmer {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+47,000000+72,ffffff+100&0.5+0,0.5+47,0.5+72,0.75+88,1+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 47%, rgba(0,0,0,0.5) 72%, rgba(146,146,146,0.75) 88%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 47%,rgba(0,0,0,0.5) 72%,rgba(146,146,146,0.75) 88%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 47%,rgba(0,0,0,0.5) 72%,rgba(146,146,146,0.75) 88%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
}

.mobile-cover .cover {
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 100%;
}

@media (max-width: 1379px) {
  #video-wrapper > video {
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%;
    min-height: 330px;
    width: auto;
    height: auto;
    z-index: -1000;
    overflow: hidden;
  }
}
