
/* Slider */
#slider{
   width: 100%;
height: 25vh;
position: relative;
overflow: hidden;
border-radius: 0;
}
@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:right;
    position:relative;
    z-index:1;
    overflow:hidden;
}
.slide img{
    width:100%;
    height:100%;
}
.slide img{
    width:100%;
    height:100%;
}
.image{
    width:100%;
    height:100%;
}
.image img{
    width:100%;
    height:auto;
}

/* Legend */
.legend{
    border: 299px solid #31292900;

    border-left: 412px solid #4236596b;
    border-bottom: 0;
    position: absolute;
    bottom: 0;
}

/* Contents */
.content{
    width:100%;
    height:100%;
    position:absolute;
    overflow:hidden;
}
.content-txt{
    width: 300px;
    height: auto;
    float: right;
    position: relative;
    top: 30%;
    -webkit-animation: content-s 7.5s infinite;
    -moz-animation: content-s 7.5s infinite;
    animation: content-s 7.5s infinite;
    /*background: #2623233d;*/
    border-radius: 0 12px 12px 0;
}
.content-txt h1{
    font-family:Arial;
    text-transform:uppercase;
    font-size:24px;
    color:#fff;
    text-align:right;
    margin-right:30px;
    padding-bottom:10px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    text-shadow: 2px 2px 11px #000;
}
.content-txt h2{
    text-shadow: 1px 1px 13px #000;
    font-family:arial;
    font-weight:normal;
    font-size:14px;
    /*font-style:italic;*/
    color:#fff;
    text-align:left;
    margin-left:30px;
    font-family: 'Cairo', sans-serif;
}

/* Switch */
.switch{
    width: 120px;
    height: 10px;
    position: absolute;
    bottom: 10px;
    z-index: 99;
    left: 5px;
}
.switch > ul{
    list-style:none;
}
.switch > ul > li{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#eeecec;
    float:left;
    margin-right:5px;
    cursor:pointer;
}
.switch ul{
    overflow:hidden;
}
.on{
    width:100%;
    height:100%;
    border-radius:50%;
    background:#FC0;
    position:relative;
    -webkit-animation:on 30s infinite;
    -moz-animation:on 30s infinite;
    animation:on 30s infinite;
}

/* 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:-420px;}
    10%{left:0px;}
    30%{left:0px;}
    40%{left:0px;}
    50%{left:0px;}
    60%{left:0px;}
    70%{left:0;}
    80%{left:-420px;}
    90%{left:-420px;}
    100%{left:-420px;}
}
@-moz-keyframes content-s{
    0%{left:-420px;}
    10%{left:0px;}
    30%{left:0px;}
    40%{left:0px;}
    50%{left:0px;}
    60%{left:0px;}
    70%{left:0;}
    80%{left:-420px;}
    90%{left:-420px;}
    100%{left:-420px;}
}
@keyframes content-s{
    0%{left:-420px;}
    10%{left:20px;}
    15%{left:0px;}
    30%{left:0px;}
    40%{left:0px;}
    50%{left:0px;}
    60%{left:0px;}
    70%{left:0;}
    80%{left:-420px;}
    90%{left:-420px;}
    100%{left:-420px;}
}

@-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;
    }
}

/* main */
/* Reset */
a{text-decoration:none;color:inherit;}


/* Body */




.code{
    width:600px;
    height:auto;
    margin:20px auto;
    padding:10px 20px;
    background:#222;
    border-left:10px solid #aaa;
    font-family: arial;
    font-size:16px;
    color:#fff;
}
.code span{
    color:#89A978;
}
.space{
    width:20px;
    height:1px;
    float:left;
}

footer{
    width:100%;
    height:50px;
    background:#222;
}
footer h1{
    font-family:Arial;
    font-weight:normal;
    font-size:14px;
    color:#fff;
    margin-left:5%;
    line-height:50px;
}

#credits{
    position:relative;
    width:100%;
    margin: auto;
    bottom:0;
    margin-bottom:20px;
    font-family:'Open Sans', sans-serif;
    color:#b297a2;
    font-size:10px;
    text-transform: uppercase;
    text-align : center;
}
#credits a {
    color:#b297a2;
}
