/* General */
*{
    padding: 0;
    margin: 0;
    -webkit-border: border-box;
    -moz-border: border-box;
    -o-border: border-box;
    border: border-box;
}

ul,li,nav{
    list-style: none;
}

input{
    outline: none;
}

body,html{
    background: url("/app/img/footer.png") bottom center no-repeat, url("/app/img/footer2.png") left bottom repeat-x, url("/app/img/fondo.png") top center no-repeat;
    background-color: #1b1b1b;
    width: 100%;
}

/* Fonts */
@font-face{
    font-family: 'Cinzel';
    src: url("/app/fonts/Cinzel/static/Cinzel-SemiBold.ttf");
}

.select_1{
    border: none;
    padding: 5px 30px;
    width: 240px;
    margin: 10px auto;
    font-family: 'Cinzel';
    font-size: 1.3em;
    outline: none;
    display: block;
    cursor: pointer;
}

.input_1{
    border: none;
    padding: 5px 10px;
    width: 220px;
    margin: 10px auto;
    font-family: 'Cinzel';
    font-size: 1.3em;
    outline: none;
    display: block;
    text-align: center;
}

.submit_1{
    border: none;
    outline: none;
    padding: 8px 0px;
    background: #d41c1c;
    color: #fff;
    width: 120px;
    text-align: center;
    cursor: pointer;
    margin: 5px auto;
    display: block;
    font-family: 'Cinzel';
    font-size: 1.1em;
}

.error{
    font-family: 'Cinzel';
    color: #fff;
    background: #8e1414;
    text-align: center;
    padding: 8px 0px;
    margin: 0px auto;
    font-size: 1.1em;
}

.exito{
    font-family: 'Cinzel';
    color: #fff;
    background: green;
    text-align: center;
    padding: 8px 0px;
    margin: 0px auto;
    font-size: 1.1em;
}

/* Administracion */

div#administracion{
    font-family: 'Cinzel';
    position: fixed;
    background: #000;
    z-index: 100;
    right: 0;
    bottom: 0px;
    margin: 10px;
}

div#administracion img{
    margin: 5px auto;
    display: block;
    padding: 5px;
}

div#administracion table{
    width: 100%;
    border-collapse: collapse;
}

div#administracion table tr:first-child td:first-child{
    color: #fff;
    text-align: center;
    background: url("/app/img/barra6.png") top center no-repeat;;
    padding: 10px 0px;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

div#administracion table tr:first-child td:first-child:hover{
    background: url("/app/img/barra2.png") top center no-repeat;
}

div#administracion a{
    text-decoration: none;
    color: #fff;
    margin: 0px 10px;
    background: url("/app/img/barra1.png") top left no-repeat;
    padding: 10px;
    display: block;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

div#administracion a:hover{
    background: url("/app/img/barra2.png") top center no-repeat;
}

/* Estructura */

div#header{
    min-width: 1300px;
    width: 100%;
        padding-top: 500px;
}

div#wrapper-content{
    width: max-content;
    margin: auto;
    position: relative;
}

footer{
    font-family: 'Cinzel';
    width: 1300px;
    color: #000;
    height: 200px;
    margin: auto;
    margin-top: 20%;
    position: relative;
}

footer div{
    height: 40px;
    width: 100%;
    position: absolute;
    text-align: center;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    font-size: 0.8em;
    line-height: 2;
}

/* Menu principal */

nav#menu_1{
    display: flex;
    font-family: 'Cinzel';
    width: 1300px;
    margin: auto;
    background: url("/app/img/barra2.png") top center no-repeat;
    flex-direction: row-reverse;
    position: relative;
}

nav#menu_1 span{
    color: #ffffff;
    display: block;
    width: 13%;
    padding: 20px 0px;
    margin: 0px;
    height: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.10);
    cursor: pointer;
    -webkit-transition: box-shadow 0.6s, background 0.6s; 
    -moz-transition: box-shadow 0.6s, background 0.6s;
    -o-transition: box-shadow 0.6s, background 0.6s;
    transition: box-shadow 0.6s, background 0.6s;
}

nav#menu_1 span:hover{
    box-shadow: 0 0px 20px 0px #000;
    background: rgb(19 19 19 / 37%);
}

nav#menu_1 span:nth-child(4){
    width: 22%;
    padding: 20px 0px;
    position: relative;
}

nav#menu_1 span:nth-child(4):hover{
    box-shadow: none;
    background: none;
}

nav#menu_1 span:nth-child(4) img{
    position:absolute;
    top: -150px;
    margin: auto;
    left: 0;
    right: 0;
    display: block;
    z-index: 1;
}

/* Contenidos */

div#content{
    width: 1300px;
    margin: auto;
}

div#content div.content{
    width: 100%;
    display: flex;
    margin-top: 10px;
}

div.content div#content_izquierda{
    width: 23%;
    margin-right: 10px;
}

div.content div#content_centro{
    width: 54%;
}

div.content div#content_derecha{
    width: 23%;
    margin-left: 10px;
    font-family: 'Cinzel';
}

div#derecha p.title_horario{
    background: url("/app/img/barra2.png") top center no-repeat;
    padding: 10px 0px;
    color: #fff;
    text-align: center;
    font-family: 'Cinzel';
}

div#derecha div.horarios{
    background: #f9f9f9;
    text-align: center;
    margin-bottom: 20px;
}

div#derecha div.horarios .title_event{
    padding: 10px;
    color: #333;
}

div#derecha div.horarios .title_event_des{
    padding: 5px 10px;
}

div#derecha div.horarios hr{
    width: 80%;
    margin: auto;
    border: 1px solid #ccc;
}

div#centro{
    width: 1200px;
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
    margin: auto;
    top: 60px;
    display: none;
    background: url("/app/img/barra2.png") top center no-repeat;
}

/* Registro */
div#wrapper_registro{
    position: fixed;
    top: 70px;
    left: 0;
    z-index:2;
    background: #fff;
    margin: auto;
    right: 0;
    width: 400px;
    font-family: 'Cinzel';
    display: none;
}

.cerrar_contenido{
    font-family: 'Cinzel';
    font-size: 1.1em;
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    background: #d21515;
    color: #fff;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

div#cerrar_registro:hover{
    background: red;
}

/* Estadisticas */

div#wrapper-estadisticas{
    width: 100%;
    height: 100%;
    top: 70px;
    background: rgba(0,0,0,0.80);
    position: fixed;
    left: 0;
    top:0;
    z-index: 5;
    font-family: 'Cinzel';
    display: none;
}

div#estadisticas{
    width: 90%;
    height: 500px;
    background: url("/app/img/banner2.png") top 50px center no-repeat;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    padding: 5px;
}

/* Descargas y donaciones */
div#descargas table{
    width: 90%;
    margin: auto;
    border-collapse: collapse;
}

div#descargas table td{
    padding: 10px 0px;
    font-size: 1em;
    line-height: 2;
    text-align: justify;
}

div#descargas .title_estadistics{
    text-align: center;
    font-size: 2em;
}

div#descargas table td .title_estadistics{
    font-size: 2em;
}

div#descargas table td a{
    text-decoration: none;
    color: red;
}

div#descargas table td span.media,
div#descargas table td span.drive,
div#descargas table td span.mega{
    width: 300px;
    height: 94px;
    display: block;
    margin: auto;
    cursor: pointer;
    background-color: #fff;
    padding: 10px;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
}

div#descargas table td span.drive{
    background-color: #fff;
}

div#descargas table td span.media:hover,
div#descargas table td span.drive:hover,
div#descargas table td span.mega:hover{
   background-color: #191919; 
}

div#cerrar-estadisticas{
    position: absolute;
    top: -1px;
    right: 0px;
    padding: 0px 10px;
    text-align: center;
    height: max-content;
    cursor: pointer;
    font-size: 1.6em;
    font-family: 'Cinzel';
    color: #fff;
    background: orange;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

div#cerrar-estadisticas:hover{
    background: red;
}

/* Ranking */

#lupa{
    width: 50px;
    height: 42px;
    background: url("/app/img/lupa.png") top center no-repeat;
    cursor: pointer;
    margin: auto;
}

#lupa:hover{
    background: url("/app/img/lupahover.png") top center no-repeat;
}

div#ranking{
    background: url("/app/img/banner4.png") top center no-repeat;
    height: 500px;
    overflow-y: scroll;
}

div#ranking table.ranking{
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.70);
}

div#ranking table.ranking td{
    width: 12.5%;
    padding: 10px 0px;
    border: 1px solid rgba(100,100,100,0.20);
    color: #000;
    text-align: center;
    font-size: 1em;
}


div#ranking table tr.title-rank td{
    background: rgba(0,0,0,0.80);
    color: #fff;
}

.title_estadistics{
    font-size: 2em;
    margin: 15px 20px;
    color: #ff4700;
    font-family: 'Cinzel';
    font-weight: bold;
}

/* Slider */

div#slider{
    margin: 10px auto;
    width: 1300px;
    height: 200px;
    background: #000;
    position: relative;
    overflow: hidden;
}

div#slider .slider{
    display: flex;
    position: absolute;
    width: max-content;
    width: 350px;
    height: 200px;
    margin-left: -300px;
}

div#slider .slider div{
    width: 350px;
    height: 100%;
    margin: 0px 1px;
}

div#slider img{
    opacity: 0.6;
    cursor: pointer;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

div#slider img:hover{
    opacity: 1;
}

div.slider_control{
    position: absolute;
    top: 35%;
    background: rgba(255,255,255,0.40);
    font-family: 'Cizel';
    font-size: 3em;
    cursor: pointer;
    width: 35px;
    text-align: center;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
}

div#slider_r{
    right: 0;
}

div.slider_control:hover{
    background: rgba(255,255,255,0.80);
}

div#img_maxsize{
    background: rgba(0,0,0,0.70);
    width: 800px;
    height: 468px;
    position: fixed;
    z-index: 3;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    padding: 10px;
    display: none;
}

div#cerrar_maxsize{
    font-family: 'Cinzel';
    font-size: 1.8em;
    padding: 0px 10px;
    margin: 2px;
    border-radius: 180px;
    color: #fff;
    border: 4px solid #fff;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

div#cerrar_maxsize:hover{
    color: red;
    border: 4px solid red;
}

/* Info server */

div#wrapper-server{
    margin-top: 10px;
}

div#wrapper-server #ver-server{
    color: #000;
    margin: 0px auto;
    padding: 20px 0px 5px 0px;
    font-family: 'Cinzel';
    text-align: center;
}

div#wrapper-server p.title_1{
    color: #000;
    margin-top: 10px;
}

div.server{
    color: #000;
    font-family: 'Cinzel';
    line-height: 1.5;
    width: 100%;
    margin: 20px auto;
    text-align: center;
    background: #f9f9f9;
}

div.server p.title_server{
    margin-bottom: 20px;
    color: #f9f9f9;
    padding: 10px 0px;
    background: url("/app/img/barra2.png") top center no-repeat;
}

div#pastel_dios{
    display: flex;
    height: 150px;
    position: relative;
    padding: 10px 0px;
    width: 70%;
    margin: auto;
}

div.dioses{
    width: 28%;
    background: rgba(230, 230, 230, 1);
    margin: 0px auto;
    position: relative;
    font-size: 1em;
}

div.dioses p:nth-child(2){
    position: absolute;
    bottom: 0;
    text-align: center;
    z-index: 2;
    width: 100%;
}

p#inca{
    background: #004eff;
    position: absolute;
    bottom:0;
    width: 100%;
    z-index:1;
    color: #fff;
}

p#maya{
    background: #d4c513;
    position: absolute;
    bottom:0;
    width: 100%;
    z-index:1;
    color: #fff;
}

p#azteca{
    background: #d22121;
    position: absolute;
    bottom:0;
    width: 100%;
    z-index:1;
    color: #fff;
}

p.dioses_name{
    position: absolute;
    top: 0;
}

div#zonas p{
    margin: 15px auto;
}

div#zonas p label{
    color: red;
}

div#zonas p img{
    margin-bottom: -2px;
    margin-left: 5px;
}


/* User Panel Button */

div#panel_button{
    background: url("/app/img/barra6.png") top center no-repeat;
    padding: 20px 0px;
    font-family: 'Cinzel';
    text-align: center;
    cursor: pointer;
    color: #fff;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

div#panel_button:hover{
    background: url("/app/img/barra7.png") top center no-repeat;
}

/* Ultimas Noticias */

div#noticias{
    background: #fff;
}

div#noticias h2#title_noticias{
    font-family: 'Cinzel';
    padding: 10px 0px;
    text-align: center;
    font-weight: normal;
    font-size: 1.6em;
    color: #222;
}

div.noticias{
    margin: 10px 20px;
    padding: 10px 20px;
    font-family: 'Cinzel';
    border-top: 5px solid orange;
}

div.noticias .title_n{
    font-weight: bold;
    font-size: 1.1em;
    padding-bottom: 10px;
}

div.noticias .date_n{
    font-size: 0.9em;
    color: red;
    padding-left: 20px;
    font-weight: normal;
}

div.noticias .mensaje_n{
    line-height: 1.5;
    text-align: justify;
    padding-bottom: 10px;
}

div.noticias .autor_n1{
    color: #333;
    font-weight: bold;
    font-size: 0.9em;
}

div.noticias .autor_n{
    color: #333;
    font-size: 0.9em;
    font-weight: normal;
}

div.noticias table{
    border-collapse: collapse;
    width: 100%;
}

div.noticias table td{
    width: 100%;
    position: relative;
}

div.noticias table td pre{
    white-space: pre-wrap;
}

/* Hora actual del servidor */

div#actual_time span{
    background: url("/app/img/cuadro.png");
    font-family: 'Cinzel';
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 10px;
    display: block;
}

div#actual_time span p{
    padding: 10px 0px;
    background: url("/app/img/barra5.png");
}