/* ---------------------------------- SLIDER -------------------------------------- */

.slider{
    display: block;
    height: 450px;
    min-width: 260px;
    max-width: 100%;
    margin: auto;
    position: relative;
    margin-bottom: 30px;
    float: left;
    margin-bottom:60px;
    border-top: black 2px solid;
/*    border-bottom: black 2px solid;*/
}

.sliderinner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    top: 0px;
/*    z-index: -9999;*/
}

.sliderinner>ul {
    list-style: none;
    height: 100%;
    width: 500%;
    overflow: hidden;
    position: relative;
    left: 0px;
    -webkit-transition: left .8s cubic-bezier(0.77, 0, 0.175, 1);
    -moz-transition: left .8s cubic-bezier(0.77, 0, 0.175, 1);
    -o-transition: left .8s cubic-bezier(0.77, 0, 0.175, 1);
    transition: left .8s cubic-bezier(0.77, 0, 0.175, 1);
}

.sliderinner>ul:hover{
/*    background: #ff9999;
    -moz-animation-play-state:paused;
    -webkit-animation-play-state:paused;*/
}



.sliderinner>ul>li {
    width: 20%;
    height: 320px;
    float: left;
    position: relative;
    
}

.sliderinner>ul>li>img {
    margin: auto;
    height: 100%;
    margin-top: 20px;
}

.slider_bg{
/*    background: pink;*/
    width: 100%;
    height: 450px;
    position: absolute;
    overflow: hidden;
}

.slider_bg img{
    width: 50%;
    display: inline;
    position: absolute;
    bottom: -90px;
}

.slider input[type=radio] {
    position: absolute;
    left: 50%;
    bottom: 15px;
    z-index: 100;
    visibility: hidden;
    
}

.slider label {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 100;
    width: 12px;
    height: 12px;
    background-color:#ccc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.8);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,.8);
    box-shadow: 0px 0px 3px rgba(0,0,0,.8);
    -webkit-transition: background-color .2s;
    -moz-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s;
}

.slider input[type=radio]#control1:checked~label[for=control1] { background-color: #EF63AF; }
.slider input[type=radio]#control2:checked~label[for=control2] { background-color: #EF63AF; }
.slider input[type=radio]#control3:checked~label[for=control3] { background-color: #EF63AF; }
.slider input[type=radio]#control4:checked~label[for=control4] { background-color: #EF63AF; }
.slider input[type=radio]#control5:checked~label[for=control5] { background-color: #EF63AF; }
.slider label[for=control1] { margin-left: -36px; }
.slider label[for=control2] { margin-left: -18px; }
.slider label[for=control4] { margin-left: 18px;  }
.slider label[for=control5] { margin-left: 36px;  }
.slider input[type=radio]#control1:checked~.sliderinner>ul { left: 0; }
.slider input[type=radio]#control2:checked~.sliderinner>ul { left: -100%; }
.slider input[type=radio]#control3:checked~.sliderinner>ul { left: -200%; }
.slider input[type=radio]#control4:checked~.sliderinner>ul { left: -300%; }
.slider input[type=radio]#control5:checked~.sliderinner>ul { left: -400%; }

.description {
    position: absolute;
    width: 100%;
    z-index: 1;
    float: left;
    top: 180px;
}

.left_next_thumb{
/*    height: 63px;
    width: 80px;*/
    height: 60px;
    width: 60px;
    float: left;
    background: white;
    margin-left: -10px;
    margin-top: -10px;
    border-radius: 100%;
    margin-left: 30px;
    border: #EF63AF 2px solid;
}

.right_next_thumb{
/*    height: 63px;
    width: 80px;*/
    height: 60px;
    width: 60px;
    float: right;
    background: white;
    margin-right: -10px;
    margin-top: -10px;
    border-radius: 100%;
    margin-right: 30px;
    border: #EF63AF 2px solid;
}

.description .right_next_thumb:hover, .description .left_next_thumb:hover{
    cursor:pointer;
}

.description .right_next_thumb a, .description .left_next_thumb a{
    text-decoration: none;
    color: #666666;
    float: left;
    position: relative;
    padding-top: 60px;
/*    height: 70px;*/
    width: 80px;
    top: -41px;
    opacity: 0.8;
    z-index: 9999;
    margin: 0 !important;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.description .right_next_thumb a:hover, .description .left_next_thumb a:hover{
    opacity: 1.0;
    z-index: 9999;
}

.description .left_next_thumb .ticon, .description .right_next_thumb .ticon{
/*    background: purple;*/
    font-family: 'sosaregular',sans-serif;
    font-size: 30px;
    text-align: center;
    padding-top: 12px;
    color: #666666;
}

.slider .sliderinner ul li .slider_content{
/*    background: orange;*/
}

.slider .sliderinner ul li .slider_content h1{
    color: white !important;
    background: #292929;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 24px;
    line-height: 1.7em;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    z-index: 9999;
    opacity: 0.8;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: left;
    display: inline-block;
    float: left;
    min-width: 30%;
}

.slider .sliderinner ul li .slider_content p{
    color: white !important;
    background: #292929;
    padding: 20px 5%;
    font-size: 18px;
    line-height: 1.7em;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    z-index: 9999;
    opacity: 0.8;
    text-align: left;
    float: left;
    width: 90%;
}

.slider .sliderinner ul li .slider_content a.read_more{
    text-decoration: none;
    background: #EF63AF;
    float: left;
    width: 94%;
    position: relative;
    top: 15px;
    padding: 25px 3%;
    opacity: 1.0;
    font-size: 20px;
    text-align: center;
    border-radius: 5px;
    z-index: 9999;
    color: white;
    font-family: 'Source Sans Pro', sans-serif !important;
}

.slider .sliderinner ul li .slider_content a.read_more:hover{
    background: #EF7777;
}

/* progress bar anim */
@keyframes slider_progress {
    0%  { width: 0%;    }
    100%{ width: 100%;  }
}
@-o-keyframes slider_progress{
    0%  { width: 0%;    }
    100%{ width: 100%;  }
}
@-moz-keyframes slider_progress{
    0%  { width: 0%;    }
    100%{ width: 100%;  }
}
@-webkit-keyframes slider_progress{
    0%  { width: 0%;    }
    100%{ width: 100%;  }
}

.progress_bar{
/*    background: #dfdfdf;*/
    background: black;
    float: left;
    width: 100%;
/*    margin-top: 20px;*/
    height: 2px;
}

.progress_bar span{
    float: left;
    height: 2px;
/*    background: #999999;*/
    background: #EF63AF;
    -webkit-animation: slider_progress 3s infinite;
    -moz-animation: slider_progress 3s infinite;
    -o-animation: slider_progress 3s infinite;
     animation: slider_progress 3s infinite;
}



/*FIRST*/

.slider .sliderinner:first-child ul{
    background: purple;
}

.slider .sliderinner ul li:first-child .left_next_thumb{
    display: none;
}

.slider .sliderinner ul li:first-child .slider_content{
    float: right;
    right: 20%;
    width: 35%;
    position: relative;
    top: 55px;
    text-align: center;
    z-index: 2;
}



/*SECOND*/

.slider .sliderinner:nth-child(6n+2) ul{
    background: orange;
}

.slider .sliderinner ul li:nth-child(6n+2) .slider_content{
    float: left;
    left: 13%;
    width: 35%;
    position: relative;
    top: 55px;
    text-align: center;
    z-index: 2;
}

.slider .sliderinner ul li:nth-child(6n+2) img{
    float:  right;
    z-index: -9999;
    position: relative;
}


/*THIRD*/

.slider .sliderinner:nth-child(6n+3) ul{
    height: 100%;
    width: 100%;
    background: pink;
}

.slider .sliderinner ul li:nth-child(6n+3) .slider_content{
    float: right;
    right: 13%;
    width: 35%;
    position: relative;
    top: 55px;
    opacity: 0.9;
    text-align: center;
    z-index: 2;
}



/*FOURTH*/

.slider .sliderinner ul li:nth-child(6n+4) .slider_content{
    float: left;
    left: 13%;
    width: 35%;
    position: relative;
    top: 55px;
    opacity: 0.9;
    text-align: center;
    z-index: 2;
}

.slider .sliderinner ul li:nth-child(6n+4) img{
    float:  right;
    z-index: -9999;
    position: relative;
}

/*FIFTH*/

.slider .sliderinner ul li:nth-child(6n+5) .right_next_thumb{
    display: none;
}

.slider .sliderinner ul li:nth-child(6n+5) .slider_content{
    float: left;
    left: 13%;
    width: 35%;
    position: relative;
    top: 55px;
    opacity: 0.9;
    text-align: center;
    z-index: 2;
}

    .slider .sliderinner ul li:nth-child(6n+5) img{
        float:  right;
        z-index: -9999;
        position: relative;
    }


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~size : min-width: 50em and max-width: 61.250em~~~~~~~~~~~~~~~~~~~~~~~*/
@media (min-width: 50em) and (max-width: 61.250em) {

    .slider_bg{
/*        background: purple;*/
    }
    
    .slider_bg img{
        position: absolute;
        bottom: -200px !important;
        width: 110% !important;
    }
    
    .slider_content{
        width: 68% !important;
        top: 60px !important;
        float: left !important;
        left: 16% !important;
        right: auto;
    }
    
    .slider_content p{
        text-align: center !important;
        padding: 15px 2% !important;
        width: 96% !important;
    }
    
    .slider_content h1{
        padding: 10px 0px !important;
        width: 100%;
        text-align: center !important;
    }
    
    .right_next_thumb{
        margin-right: 10px;
    }
    
    .left_next_thumb{
        margin-left: 10px;
    }
    
    .read_more{
        padding: 20px 0px !important;
        width: 100% !important;
    } 
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~size : min-width:32.5em and max-width: 49.938em (STACKED)~~~~~~~~~~~~*/
@media (min-width:32.5em) and (max-width: 49.938em) {

    .slider_bg{
/*        background: purple;*/
    }
    
    .slider_bg img{
        position: absolute;
        bottom: -100px !important;
        width: 110% !important;
    }
    
    .slider_content{
        width: 68% !important;
        top: 60px !important;
        float: left !important;
        left: 16% !important;
        right: auto;
    }
    
    .slider_content p{
        text-align: center !important;
        padding: 15px 2% !important;
        width: 96% !important;
    }
    
    .slider_content h1{
        padding: 10px 0px !important;
        width: 100%;
        text-align: center !important;
    }
    
    .right_next_thumb{
        margin-right: 10px;
    }
    
    .left_next_thumb{
        margin-left: 10px;
    }
    
    .read_more{
        padding: 20px 0px !important;
        width: 100% !important;
    } 

}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~size : min-width: 32.5em and max-width: 38.688em (STACKED)~~~~~~~~~~~~*/
@media (min-width: 32.5em) and (max-width: 38.688em) {
    
    
    .slider_bg{
/*        background: purple;*/
    }
    
    .slider_bg img{
        position: absolute ;
        bottom: -50px !important;
        width: 110% !important;
    }
    
    .slider_content{
        width: 68% !important;
        top: 40px !important;
        float: left !important;
        left: 16% !important;
        right: auto;
    }
    
    .slider_content p{
        text-align: center !important;
        padding: 15px 2% !important;
        width: 96% !important;
    }
    
    .slider_content h1{
        padding: 10px 0px !important;
        width: 100%;
        text-align: center !important;
    }
    
    .right_next_thumb{
        margin-right: 10px;
    }
    
    .left_next_thumb{
        margin-left: 10px;
    }
    
    .read_more{
        padding: 15px 0px !important;
        width: 100% !important;
    }
    
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~size : max-width: 32.438em (MINIMIZED)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media (max-width: 32.438em) {
    
    
    .slider{
        height: 500px;
    }
    
    .slider_bg{
        height: 500px !important;
/*        background: purple;*/
    }
    
    .slider_bg img{
        position: relative;
        bottom: -200px !important;
        width: 110% !important;
    }
    
    .slider_content{
        width: 68% !important;
        top: 40px !important;
        float: left !important;
        left: 16% !important;
        right: auto;
    }
    
    .slider_content p{
        text-align: center !important;
    }
    
    .slider_content h1{
        padding: 10px 0px !important;
        width: 100%;
        text-align: center !important;
    }
    
    .right_next_thumb{
        margin-right: 10px;
    }
    
    .left_next_thumb{
        margin-left: 10px;
    }
    
    .read_more{
        padding: 15px 0px !important;
        width: 100% !important;
    }
    
}