/* 
    Created on : Jul 30, 2015, 3:50:15 PM
    Author     : Dewald
*/

.slider {
    width: 100%;
    height: calc(100vh - 52px);
    position: relative;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    /*top: 0;*/
    width: 100%;
    height: calc(100vh - 52px);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slider-item {
    /*opacity: 0;
    transition: opacity 0.75s ease-in-out;*/
    transform: translateX(100%);
}

.slider-item.active {
    /*opacity: 1;
    transition: opacity 0.75s ease-in-out;*/
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

.slider-item.out {
    transform: translateX(-100%);
    transition: transform 0.25s ease-in-out;
}

.slider-close {
    position: absolute;
    right: 10px;
    top: 10px;
    display: inline-block;
    z-index: 6;
    background-image: url("close.png");
    background-position: center;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
}

.slider-down {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: inline-block;
    z-index: 6;
    background-image: url("arrow_down.png");
    background-position: center;
    background-repeat: no-repeat;
    height: 40px;
}

.slider-nav {
    position: absolute;
    /*top: 0;*/
    width: 100%;
    height: 100vh;
}

.slider-nav span {
    display: inline-block;
    vertical-align: middle;
    height: calc(100vh - 52px);
    width: 0px;
}

.slider-nav > a {
    position: absolute;
    z-index: 5;
    display: block;
    height: calc(100vh - 52px);
    
    font-size: 50px;
    line-height: 90px;
    
    padding: 0 20px;
    
    cursor: pointer;
}

.slider-nav a .fa {
    font-size: 50px;
    line-height: 90px;
    color: #fff;
}

.slider-nav a.left {
    left: 0;
}

.slider-nav a.right {
    right: 0;
}

.slider-nav a.left span:last-child {
    background-image: url("large_left.png");
    background-position: center 0px;
    height: 40px;
    width: 40px;
    display: inline-block;
}

.slider-nav a.right span:last-child {
    background-image: url("large_right.png");
    background-position: center 0px;
    height: 40px;
    width: 40px;
    display: inline-block;
}

.slider-nav a.right:hover span:last-child,
.slider-nav a.left:hover span:last-child {
    background-position: center 40px;
}





.slide-content {
    position: absolute;
    left: 0;
    right: 0;
    /*top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: green;
    overflow: hidden;*/
    text-align: center;
    
}

.slider-item .slide-content {
    top: 0;
    transform-origin: top;
    transform: rotateX(90deg);
    transition: all 250ms 0.25s ease-in-out;
}

.slider-item.active .slide-content {
    top: 40vh;
    transform: rotateX(0deg);
    transition: all 250ms 0.25s ease-in-out;
}

.slide-content h2 {
    display: inline-block;
    font-size: 8vh;
    color: white;
    padding: 15px 15px 5px;
    margin-bottom: 0;
}

.slide-content p {
    display: inline-block;
    font-size: 3vh;
    color: white;
    padding: 5px 15px 5px;
}

@media (min-width: 768px) {
    .slider-item.active .slide-content {
        top: 39vh;
    }

    .slide-content h2 {
        font-size: 9vh;
    }

    .slide-content p {
        font-size: 4vh;
    }
}

@media (min-width: 1024px) {
    .slider-item.active .slide-content {
        top: 33vh;
    }

    .slide-content h2 {
        font-size: 12vh;
    }

    .slide-content p {
        font-size: 6vh;
    }
}