
.slider{
    background: rgba(0,0,0,.03);
    height: 300px;
    overflow:hidden;
    position: relative;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.scrolled .slider{
    margin-top:50px;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.menu-open .slider{
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.slider .next-slider{
    position:absolute;
    background: url(../img/chevron-right.png) no-repeat center;
    background-size: 80%;
    right:1em;
}

.slider .prev-slider{
    position:absolute;
    background: url(../img/chevron-left.png) no-repeat center;
    background-size: 80%;
    left:1em;
}

.slider nav span {
    display: inline-block;
    width: 1em;
    height:1em;
    padding: .5em;
    position: absolute;
    text-align: center;
    color: #a3a3a3;
    font-size:2em;
    top: 40%;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    /* opacity: 0; */
    -webkit-transition: opacity 0.4s ease-in-out 0.2s;
    -moz-transition: opacity 0.4s ease-in-out 0.2s;
    -o-transition: opacity 0.4s ease-in-out 0.2s;
    -ms-transition: opacity 0.4s ease-in-out 0.2s;
    transition: opacity 0.4s ease-in-out 0.2s;
}
.slider:hover nav span{
    opacity:1;
}

.slider .item .content{
    text-align: center;
    width: 100%;
    position: absolute;
   
}


.slider .item{
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    width: 100%;
    overflow: hidden;
    background-size: 300px;
    background-position: center 75px;
    background-color:rgba(229, 229, 229,1);
    background-attachment: fixed;
    background-repeat: no-repeat;
    -webkit-transition: background-position 500ms ease-out;
    -o-transition: background-position 500ms ease-out;
    transition: background-position 500ms ease-out;
}
.menu-open .item{
    background-position: center 175px;
}
.menu-open .slider .item{
    background-position:center 230px;
}

.slider .item:nth-child(even){
    background-position: center 175px;
    background-color:rgba(229, 229, 229,1);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.menu-open .item:nth-child(even){

    background-position:center -280px;
    
 
}

.slider .item{
    z-index: 0
}

.slider .item.current{
    position: absolute;
    top:1;
    left:0;
    
    bottom:0;
    z-index:1;

    
}
.slider .item.justClicked{
    z-index:0;
    left:0 !important;
    

}

.slider .item:first-child .title{
    padding-top: 2em;
}
.slider .item:first-child{
    background-position: center 0;
}
.menu-open .slider .item:first-child{
    background-position: center 100px;
}


.slider .item:nth-child(2){
    
    
    
    
}

.slider .item:nth-child(3){
   
   
}

.slider .content {
    background:rgba(0,0,0,.1);
    font-size: 1.5em;
    top:0;
    height: 400px;
    margin: 0;
}

.slider .content .title {
    width: 100%;
    color:#000;
    left:0;
    right:0;
    position: absolute;
    bottom: 8rem;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.slider .item .content .text{
    width: 50%;
    font-size:.6em;
    font-weight: 200;
    position: absolute;
    left:25%;
    right:25%;
    bottom: 4rem;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}


@media all and (max-width:758px){
    
    .slider nav span{
        opacity:1;
    }
    .slider .next {
        
        right: .25em;
    }
    .slider .prev {
        
        left: .25em;
    }
    .slider .item:first-child .content .title {
        padding: 4em 0 0 0;
    }
    .slider .content .title {
        padding: 2em 0 0 0;
    }
}