/* importar fuente*/
@font-face{
    font-family: "fajala";
    src:url(../fonts/fuente.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* generales*/
*{
    margin: 0px;
    padding: 0px;
    font-family: sans-serif, Helvetica, Arial;
    text-decoration: none;
}

.clearfix{
    clear:both;
    float: none;
}

body{
    background: url(../img/cubes.png) #f4f4f4;
}

#table{
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 14px;    
    margin: 45px;     
    width: 480px; 
    text-align: left;    
    border-collapse: collapse; }

#th{
    font-size: 14px;
    font-weight: normal;
    padding: 8px;
    background: #b40e0e;
    border-top: 2px solid black;
    border-bottom: 1px solid #fff; color: black;
    color: white;
 }

#td{
    padding: 6px;
    background: #d5d6da;
    border-bottom: 1px solid #fff;
    color: rgb(0, 0, 0);
    border-top: 1px solid transparent; }

#tr:hover td { 
    background: #bd9494; 
    color: black; }



#cabecera{
    width: 95%;
    height: auto;
    background: transparent;
    margin: 0px auto;
    /*border: 1px solid black;*/
}

.alerta{
    padding: 5px;
    font-size: 10px;
    color: white;
    background: green;
    box-shadow: 0px 1px 3px #ccc;
    margin-bottom: 10px;
    width: 25%;
}

.alerta-error{
    background: red;
}

#responsive-image{
    width: 100%;  
    height: auto; 
    border-radius: 8px;
} 


/*lOGOTIPO*/
#logo{
    float: left;
    width: 540px;   
    height: 100px;
}

#logo a{
    font-family: "fajala", Helvetica;
    font-size: 40px;
    letter-spacing: 2px;
    color: #b40e0e;
    text-shadow:0px 0px 0px black, 1px 1px 0px black,2px 2px 0px black;
    transition: all 500ms;
    line-height: 90px;
}

#logo a:hover{
    cursor: pointer;
    text-shadow:0px 0px 0px black, -1px -1px 0px black,-2px -2px 0px black;    
}
/*Menu*/
#menu{
    clear: both;
    width: 100%;
    height: 45px;
    background: linear-gradient(to bottom,#f9f9f9 0px, #e9e9e9 100%);
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    box-shadow: 0px 1px 1px #ccc;
    overflow: hidden;
}

#menu ul{
    list-style: none;
}

#menu li{
    float: left;
    line-height: 45px;
    border-right: 1px solid #d6d6d6;
}

#menu li a{
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
    color: #838282;
}

#menu li a:hover{
    transition: 1000ms;
    background: #b40e0e;
    color: whitesmoke;
}

/*Contenido*/
#contenedor{
    width: 95%;
    min-height: 700px;
    margin: 0px auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*barra lateral*/
#sidebar{
    float: left;
    width: 20%;
    min-height: 700px;
}
.bloque{
   display: block;
   width: 80%;
   margin: 0px auto;
   margin-bottom: 35px;
   background: white;
   padding: 15px;
   box-shadow: 0px 0px 1px rgba(0,0,0,0.3),0px 3px 7px rgba(0,0,0,0.3),0px 0px 1px #ffffff inset,0px -3px 2px rgba(0,0,0,0.3); 
}
.bloque h3{
    margin-bottom: 5px;
    color: #b40e0e;
}

.bloque:hover{
    padding: 20px;
}

label,
input[type="text"],
input[type="email"],
input[type="password"]{
    display: block;
    width: 90%;
    margin-top: 2px;
    margin-bottom: 2px;
}
input[type="text"],
input[type="email"],
input[type="password"]{
    padding: 1px;
    margin-bottom: 1px;
}
.inputAuto{
    display: block !important;;
    width: auto !important;;
    margin-top: 0px !important;;
    margin-bottom: 0px !important;;
}


input[type="button"],
input[type="submit"],

.boton{
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    border-radius: 2px;
    color: white;
    background: #b40e0e;
    border: 1px solid #b40e0e;
    cursor: pointer;
    padding: 6px;
}
.boton{
    text-align: center;
    width: 130px;
}
.boton-rojo{
    background: red;
    color: white !important;
}

.boton-verde{
    background: green;
    color: white !important;
}

.boton-cookies{
    background: green;
    color: white !important;
    margin-top: 20px auto !important;
    padding: 2px !important;
}

.boton-cookies:hover{
    box-shadow: 0px 0px 5px black; 
}

.boton-atras{
    width: 300px !important;
    background: #44975B;
    color: rgb(87, 187, 125) !important;
}
.boton-atras:hover{
    box-shadow: 0px 0px 5px black; 
}


.botonE{
    text-align: center;
    width: 60px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    border-radius: 2px;
    color: white;
    background: #b40e0e;
    border: 1px solid #b40e0e;
    cursor: pointer;
    padding: 6px;;
}
.botonEd{
    text-align: center;
    width: 60px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    border-radius: 2px;
    color: white;
    background: #219704;
    border: 1px solid #000000;
    cursor: pointer;
    padding: 6px;;
}

input[type="button"],
input[type="submit"]:hover{
    box-shadow: 0px 0px 5px black;
}

.boton:hover{
    box-shadow: 0px 0px 5px black; 
}
.boton-rojo:hover{
    box-shadow: 0px 0px 5px black; 
}
.boton-verde:hover{
    box-shadow: 0px 0px 5px black; 
}
/*Contenedor*/
#principal{
    float: left;
    width: 70%;
    min-height: 572px;
    background: white;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #ccc;
    margin-left: 20px;
    overflow: hidden;
    padding: 20px;
}
#principalc{
    float: left;
    width: 70%;
    min-height: 100px;
    background: rgb(197, 194, 194);
    border-radius: 5px;
    box-shadow: 0px 0px 5px #ccc;
    margin-left: 20px;
    overflow: hidden;
    padding: 20px;
}
#principal a{
    color: #333;
}
#principal h1{
    font-size: 32px;
    color: #444;
    letter-spacing: 1px;
    text-shadow:1px 1px 2px #ccc;
    font-family: "fajala";
}
#principal h2{
    font-size: 20px;
    color: #b40e0e;
    letter-spacing: 1px;
    font-family: "fajala";
    margin-top: 25px;
    text-shadow:1px 1px 2px #ccc;
}

#principal p{
    margin-top: 8px;
}
#ver-todas a{ 
    display: block;
    border-radius: 2px;
    padding: 15px;
    color: white;
    background: #b40e0e;
    border: 1px solid #156785;
    cursor: pointer;
    width: 160px;
    margin: 0px auto;
    margin-top: 40px;
}
#ver-todas a:hover{ 
    box-shadow: 0px 0px 5px black;
}

/*pie de pag*/
#pie{
    clear: both;
    width: 85%;
    margin: 0px auto;
    background: linear-gradient(to bottom,#f9f9f9 0px, #e9e9e9 100%);
    border: 1px solid #c9c9c9;
    border-bottom: none;
    border-radius: 8px 8px 0px 0px;
    color: #666;
    height: auto;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 0px 4px black;
}


.entrada:hover{
    padding: 2px;
    box-shadow: 0px 0px 8px black; 
}

.spanEntradas{
    color: #999;
    margin-top: 6px;
    font-size: 12px;
}

#leer_mas{  
    color: #b40e0e !important;
}

#leer_mas:hover{
    text-shadow:0px 0px 2px black;
    }
    
.correcto{
    font-size: 16px;
    color: green;
    
}    

.modal-container {
    display: flex;
    align-items: left;
    justify-content: left;

    top: 0;
    left: 0;

    transition: opacity 0.3s ease;
  }