




/*------------- Reference slider -----------------*/



/* Slider */
#slider{
  width:calc(100vw - 55px);
  height:80vh;
  position:relative;
  overflow:hidden;
}
@keyframes load{
  from{left:-100%;}
  to{left:0;}
}
.slides{
  width:400%;
  height:100%;
  position:relative;
  -webkit-animation:slide 30s infinite;
  -moz-animation:slide 30s infinite;
  animation:slide 30s infinite;
}
.slider{
  width:25%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
}


/* Legend */
.legend{
  border:100vh solid transparent;
  border-left:100vw solid rgba(52, 73, 94, .7);
  border-bottom:0;
  position:absolute;
  bottom:0;
}




/* Contents */
.content{
  width:calc(100vw - 55px);
  height:100vh;
  position:absolute;
  overflow:hidden;
}

.ref-title {
  color: #fff;
  position:relative;
  top: 70vh;
  left: 3vw;
  text-align: left;
}
.ref-title h1 {
  text-align: left;
}

.content-txt{
  width:60vw;
  height:80vh;
  float:left;
  position:relative;
  top:30vh;
  -webkit-animation:content-s 7.5s infinite;
  -moz-animation:content-s 7.5s infinite;
  animation:content-s 7.5s infinite;
}

.content-txt h1{
  font-family:Arial;
  /*text-transform:uppercase;*/
  font-size:20px;
  color:#fff;
  text-align:left;
  margin-left:30px;
  padding-bottom:10px;
}
.content-txt h2{
  padding-top: 10px;
  font-family:arial;
  font-weight:normal;
  font-size:15px;
  font-style:italic;
  color:#fff;
  text-align:left;
  margin-left:30px;
}



@media (max-width: 550px) {
  .ref-title {
    display: none;
  }
  .ref-title h1 {
    display: none;
  }

  .content-txt{
    width:45vw;
    position:relative;
    top:38vh;
    left: 2vw;
  }
  .content-txt h1{
    font-size:15px;
  }
  .content-txt h2{
    font-size:12px;
  }
}

@media (min-width: 550px) {
  .ref-title {
    display: none;
  }
  .ref-title h1 {
    display: none;
  }

    .legend{
    border:100vh solid transparent;
    border-left:50vw solid rgba(52, 73, 94, .7);
    border-bottom:0;
    position:absolute;
    bottom:0;
  }
  .content-txt{
    width:27vw;
    height:80vh;
    position:relative;
    top:45vh;

  }
}

@media (min-width: 768px) {
  .ref-title {
      display: block;
    }
    .ref-title h1 {
      display: block;
    }

    .content-txt{
      width:27vw;
      position:relative;
      top:35vh;
    }
}

@media (min-width: 992px) {
    .content-txt {
      width:25vw;
      position:relative;
      top:35vh;
    }


}

@media screen and (max-width: 768px) and (orientation:landscape) {
  .content-txt h1{
    font-size:10px;
  }
  .content-txt h2{
    font-size:8px;
  }
}





/* Animation */
@-webkit-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@-moz-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}

@-webkit-keyframes content-s{
  0%{left:-620px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-620px;}
  90%{left:-620px;}
  100%{left:-620px;}
}
@-moz-keyframes content-s{
  0%{left:-620px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-620px;}
  90%{left:-620px;}
  100%{left:-620px;}
}
@keyframes content-s{
  0%{left:-620px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-620px;}
  90%{left:-620px;}
  100%{left:-620px;}
}

@-webkit-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@-moz-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}


