/** Cover
 * -------------------------- */
.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background: #d5d5d5;
  -webkit-transition: opacity 0.45s ease;
  -o-transition: opacity 0.45s ease;
  transition: opacity 0.45s ease;
  opacity: 1;
  /** ------ video content ------ */
  /** ------ video info ------ */
}
.cover .header {
  position: absolute;
  top: 0;
  right: 0;
  height: 70px;
  width: auto;
  color: #FFFFFF;
  background-color: var(--theme-color);
  z-index: 100;
}
.cover .header h1.title {
  height: 70px;
  max-width: 75%;
  margin: 0;
  padding-top: 25px;
  padding-left: 20px;
  padding-right: 0;
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: 4vw;
  font-weight: 700;
  z-index: -1;
  -webkit-transform: translate3d(0, -100%, 0);
          transform: translate3d(0, -100%, 0);
}
.cover .header .top-navbar {
  display: flex;
  align-items: center;
  height: 70px;
  margin: 0;
  padding: 0;
  text-align: center;
}
.cover .header .top-navbar li {
  display: block;
  list-style: none;
  padding: 0;
}
.cover .header .top-navbar li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--theme-top-navbar-bgcolor);
  border: 1px solid;
  border-color: var(--theme-top-navbar-bgcolor);
}
.cover .header .top-navbar li a:hover,
.cover .header .top-navbar li a:focus,
.cover .header .top-navbar li a:active {
  background-color: var(--theme-top-navbar-bgcolor-hover);
}
.cover .header .top-navbar li a svg {
  fill: #fff;
  width: 24px;
}
.cover .header .top-navbar li.btn-refresh a {
  background-color: var(--theme-top-navbar-refresh-bgcolor);
}
.cover .header .top-navbar li.btn-refresh a:hover,
.cover .header .top-navbar li.btn-refresh a:focus,
.cover .header .top-navbar li.btn-refresh a:active {
  background-color: var(--theme-top-navbar-refresh-bgcolor-hover);
}

.cover .header .top-navbar li .btn-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--theme-top-navbar-bgcolor);
  border: 1px solid;
  border-color: var(--theme-top-navbar-bgcolor);
}
.cover .header .top-navbar li .btn-hamburger:hover,
.cover .header .top-navbar li .btn-hamburger:focus,
.cover .header .top-navbar li .btn-hamburger:active {
  background-color: var(--theme-top-navbar-bgcolor-hover);
}
.cover .header .top-navbar li .btn-hamburger svg {
    fill: #fff;
    width: 24px;
}

.cover .footer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 70px;
  width: 100%;
  color: #444;
  background-color: #FFFFFF;
  z-index: 100;
}
.cover .footer .logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
  height: 100%;
}
.cover .footer .logo img {
  display: block;
  max-width: 200px;
  max-height: 40px;
}
.cover .video-content {
  width: 100%;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  background-attachment: fixed;
}
.cover .video-content iframe,
.cover .video-content object,
.cover .video-content embed {
  width: 100%;
  height: 100%;
}
.cover .video-info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
}
.cover .video-info .content {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  width: 80%;
  font-size: 1.8vw;
  -webkit-transform: translate(0, -50%);
       -o-transform: translate(0, -50%);
          transform: translate(0, -50%);
}
.cover .video-info .content .info-title {
  max-width: 70%;
  margin: 0 0 1.25em;
  line-height: 1.1em;
  font-weight: 700;
  font-size: 3em;
  line-height: 90%;
  text-shadow: 1px 1px 10px #000;
  color: #FFFFFF;
}
.cover .video-info .content .info-subtitle {
  margin: 0 0 0.5em;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  text-shadow: 1px 1px 10px #000;
  color: #eee;
}
.cover .video-info .content .info-subtitle .desc {
  margin-bottom: 0.9em;
}
.cover .video-info .content .pagelist {
  padding-left: 0;
  margin-left: -5px;
  list-style: none;
}
.cover .video-info .content .pagelist > li {
  display: inline-block;
  margin-bottom: 0.5em;
  padding-right: 5px;
  padding-left: 5px;
}
.cover .btn-home-next {
  display: inline-block;
  min-height: 2.5em;
  padding: 8px 20px;
  text-align: left;
  text-transform: none;
  vertical-align: top;
  line-height: 2em;
  font-size: 14px;
  color: var(--theme-btn-color);
  background-color: var(--theme-btn-bgcolor);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.4);
}
.cover .btn-home-next:hover,
.cover .btn-home-next:active,
.cover .btn-home-next:focus {
  text-decoration: none;
  color: var(--theme-btn-color-hover);
  background-color: var(--theme-btn-bgcolor-hover);
}
.cover .btn-show-video {
  display: inline-block;
  height: 60px;
  padding: 15px 20px;
  text-align: left;
  text-transform: none;
  vertical-align: top;
  line-height: 1em;
  font-size: 60%;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.4);
}
.cover .btn-show-video:hover,
.cover .btn-show-video:active,
.cover .btn-show-video:focus {
  text-decoration: none;
  border-color: var(--theme-btn-brcolor);
  background-color: var(--theme-btn-bgcolor);
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .cover .header h1.title {
    max-width: 90%;
    margin-right: 210px;
    padding-top: 25px;
    font-size: 1.6vw;
  }
  .cover .btn-home-next {
    font-size: 16px;
  }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cover .btn-home-next {
    font-size: 20px;
  }
}

/** COVER Actions
 * --------------------- */
.cover .footer{
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.cover .footer .logo {
    max-width: 50%;
}
.credits{
    max-width:30%;
    padding-right: 20px;
}
.cactions{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.cactions > div{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.cactions a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    width: 50px;
}
.cactions a img{
    display: block;
    opacity: 0.65;
    max-width: 45px;
    --credits-icon-color: rgba(0,0,0,.3);
    transition: transform .2s ease-in-out;
    transform:scale(1);
}
.cactions a img:hover,
.cactions a img:focus,
.cactions a img:active{
    --credits-icon-color: rgba(0,0,0,.6);
    transform:scale(1.3);
}

/** MODAL
 * --------------------- */
.fsmodal{

}
.fsmodal-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    max-width: 700px;
    z-index: 200;
    padding: 60px;
    overflow: visible;

    color: #222;
    background-color: #fff;
    border-radius: 0;

    -webkit-transform: translate(-50%, -200%);
    -ms-transform: translate(-50%, -200%);
    transform: translate(-50%, -200%);

    transition: transform 0.4s ease-out;
}
.fsmodal-backdrop{
    opacity: 0;
}
.fsmodal.open .fsmodal-backdrop{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    color: #FFF;
    background-color: rgba(0,0,0, .75);
    z-index:110;
    opacity: 1;
    cursor: pointer;
    transition: opacity 0.3s ease-out;

}
.fsmodal.open .fsmodal-container {
    top: 50%;
    margin-bottom: 10%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.fsmodal-close{
    display: block;
    float: right;
    width: 40px;
    height: 40px;
    overflow: hidden;
    cursor: pointer;
    font-size:26px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #000;
}
.fsmodal-close:hover,
.fsmodal-close:focus{
    color: #fff;
    background-color: #333;
}
.fsmodal-head{
    display: block;
    overflow: hidden;
}
.fsmodal-title{
    font-size: 40px;
}
.fsmodal-body{
    display: block;
    overflow-y: auto;
    max-height: 80%;
    clear: both;
    font-size: 14px;
}
.fsmodal-body a{
    color: #990025;
    text-decoration: none;
}
.fsmodal-body a:active,
.fsmodal-body a:focus,
.fsmodal-body a:hover{
    text-decoration: underline;
}

/** RESPONSIVE
 * ------------------------ */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    /** ---- Modal ---- */
    .fsmodal-container{
        width: 90%;
        padding: 40px;
    }
    .fsmodal-title{
        font-size: 24px;
    }
    .fsmodal-body{
        font-size: 12px;
    }
    /** cover */
    .subtitle{
        font-size: 15px !important;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    /** ---- Modal ---- */
    .fsmodal-container{
        width: 90%;
        padding: 50px;
    }
    .fsmodal-title{
        font-size: 24px;
    }
    .fsmodal-body{
        font-size: 12px;
    }
    /** cover */
    .subtitle{
        margin-top: 40px;
        font-size: 14px !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    /** ---- Modal ---- */
    .fsmodal-container{
        width: 85%;
        padding: 50px;
    }
    .fsmodal-title{
        font-size: 28px;
    }
    .fsmodal-body{
        font-size: 14px;
    }
    /** cover */
    .splitbox {
        display:-ms-grid;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        height: 100%;
    }
    .left-half {
        -ms-grid-column: 2;
        grid-column: 1;
    }

    .right-half {
        -ms-grid-column: 2;
        grid-column: 2;
    }
    .homebox-container .wrap-info{
        min-height: auto !important;
    }
    .homebox-container .wrap-info .info {
        padding: 30px 60px;
    }
    .homebox-container .wrap-index{
        min-height: auto !important;
    }
    .homebox-container .wrap-index .index {
        padding: 50px 60px;
    }
    .title h1{
        font-size: 30px;
    }
    .subtitle{
        margin-top: 50px;
        font-size: 15px !important;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    /** cover */
    .subtitle{
        margin-top: 60px;
        font-size: 15px !important;
    }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    /** cover */
 .title h1{
        font-size: 36px;
    }
    .subtitle{
        margin-top: 60px;
        font-size: 18px !important;
    }
}
