.slider {
    top: 0px;
    width: 50vw !important;
    height: 68vh !important;
    background: #fff;
    list-style-type: none;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
    transition: 1s;
    overflow: hidden !important;
    /*border: 1px solid black;*/
 }

 #slider-caption {
    position: absolute;
     z-index: 5;
     transition: 0.5s ease-out;
     width: 20.5vw;
     height:13vw;
     z-index: 2;
     top: -4.6vh;
     left: 4.6vw;
     visibility: visible;
     /*border: 1px solid black;*/
 }

 #slider-caption-bg {
     position: absolute;
     width: 100%;
     height:0;
     z-index: 2;
     background-color: #ccc;
     opacity: 1;
     visibility: visible;
     transition: 1s ease-out;
     opacity: 0.5;
 }

 #slider-caption-overlay {
    position: absolute;
    width: 100%;
    height:0;
    z-index: 3;
    background-color: #FBE604;
    color: #333;
    opacity: 1;
    visibility: visible;
    transition: 1s ease-out;
}

 #slider-caption-text {
     position: absolute;
     font-size: 6.44vw;
     line-height: 6.5vw;
     z-index: 4;
     height: auto;
     top: 5vh;
     left: 2.76vw;
     font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", 
    Helvetica, Arial, "Lucida Grande", sans-serif;
    text-shadow: 1px 1px 2px #333, 0 0 0 #333; 
     color: #fff;
     text-align: left;
     transition: 1s ease-out;
     opacity: 0;
 }

 @media (max-width:1023px) { 
    #slider-caption {
         width: 28vw;
         height:20vw;
         top: 3vh;
         left: 4.6vw;
     }

    #slider-caption-text {
        top: 2vh;
        font-size: 10vw;
        line-height: 11vw;
    }
} 
 
 .slider .slide {
     list-style: none;
     background: #fff;
     box-sizing: border-box;
     color: black;
     float: left;
     width: 20%;
     height: 100%;
     min-height: 70vh;
     top: 6vh;
     bottom: 0 !important;
     border-right: 1px solid #333;
     transition: 0.5s ease-out;
     text-align: center;
     position: relative;
     overflow: hidden;
 }

 #right-slide {
     border-right: none;
     float: right;
     right: 0 !important;
 }
 
 .slider .slide:nth-child(2)
 {
     background: url(../images/slider/slide1.jpg);
     background-size: cover;
     background-position: center;
 }
 
 .slider .slide:nth-child(3)
 {
     background: url(../images/slider/slide2.jpg);
     background-size: cover;
     background-position: center;
 }
 
 .slider .slide:nth-child(4)
 {
     background: url(../images/slider/slide3.jpg);
     background-size: cover;
     background-position: left;
 }
 
 .slider .slide:nth-child(5)
 {
     background: url(../images/slider/slide4.jpg);
     background-size: cover;
     background-position: left;
 }
 
 .slider .slide:nth-child(6)
 {
     background: url(../images/slider/slide5.jpg);
     background-size: cover;
     background-position: center;
 }


 .slide-caption {
     position: absolute;
     bottom: -100%;
     left: 0;
     width: 100%;
     background: #333;
     box-sizing: border-box;
     color: #fff;
     opacity: 0;
     visibility: hidden;
 }
 
 .slide-caption h2 {
     color:#FBE604;
 }
 
/*
 .slider .slide:hover .slide-caption {
    bottom: 8%;
    transition: 0.5s ease-out;
    transition-delay: 0.5s;
    opacity: 0.8;
    visibility: visible;
}*/
 