/*FUENTES*/
@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;
}

.alerta{
    padding: 5px;
    font-size: 14px;
    color: white;
    background: green;
    box-shadow: 0px 1px 3px #ccc;
    margin-bottom: 15px;
    border-radius: 15px;
}

.alerta-error{
    background: red;
}

.fecha{
    color: #4e4e4e;
    margin-top:5px;
    font-size: 14px;
}

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


/*LOGOTIPO*/
#logo{
    float:left;
    
}

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

#logo a:hover{
    cursor: pointer;
    text-shadow: 0px 0px 0px black, -1px -1px 0px black, -2px -2px 0px black;
}

/*MENU*/
#menu{
    clear: both;
    width: 16%;
    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 ul li{
    float: left;
    line-height: 44px;
    border-right: 1px solid #D6D6D6;
    
}

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

#menu ul li a:hover{
    background: linear-gradient(to bottom, #f2f2f2 0px, #dad9d4 100%);
}
/*MENU 2*/
#menu2{
    clear: both;
    width: auto;
    height: auto;
    background: linear-gradient(to bottom, #f9f9f9 0px, #e9e9e9 100%);
    border: 1px solid #C9C9C9;
    border-radius: 8px;
    box-shadow: 0px 1px 1px #ccc;
    overflow: hidden;
    
}

#menu2 ul{
    list-style: none;
}

#menu2 ul li{
    float: left;
    line-height: 44px;
    border-right: 1px solid #D6D6D6;
    
}

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

#menu2 ul li a:hover{
    background: linear-gradient(to bottom, #f9f9f9 0px, #e9e9e9 100%);
}

/*CONTENIDO*/
#contenedor{
    width: 90%;
    height: auto;
/*    min-height: 600px;*/
    margin: 0px auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
}

/*BARRA LATERAL*/
#sidebar{
    float:left;
    width: 22%;
    height: auto;
}

#sidebar2{
    float:right;
    width: 15%;
    height: auto;
}

.bloque{
    display:block;
    width: 90%;
    margin: 0px auto;
    margin-bottom: 35px;
    background: url(../img/menu_i.png);
    color: #FFFFFF;
    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.25) inset; 
    border: 1px solid #C9C9C9;
    border-radius: 15px;
}

.bloque2{
  display:block;
  width: 70%;
  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.25) inset; 
  border: 1px solid #C9C9C9;
  border-radius: 15px;
}

.bloque h3{
    margin-bottom: 15px;
}

label,
input[type="text"],
input[type="date"],
input[type="email"],
input[type="password"],
select{
    display: block;
    width: 70%;
    margin-top:2px;
    margin-bottom: 2px;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="password"],
select{
    border-radius: 15px;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
}

input[type="button"],
.boton{
    width: 5%;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    border-radius: 15px;
    color:white;
    background: #007ee5;
    border: 1px solid #156785;
    cursor:pointer;
    padding: 7px;
}

.boton{
    color:white !important;
    text-align: center;
    width: 95%;
}

.boton-naranja{
    background: orange;
    border-color: #bd7d08;
}

.boton-rr{
    background: url(../img/fondo.png);
    border-color: #bd7d08;
}

.boton-rrf{
    background: url(../img/fondo2.png);
    border-color: #342186;
}

.boton-verde{
    background: url(../img/cubes.png);
    border-color: green;
}

.boton-rojo{
    background: red;
    border-color: #444;
}

.boton-morado{
  background: rgb(209, 6, 182);
  border-color: #444;
}

.boton-turquesa{
  background: rgb(79, 9, 158);
  border-color: #444;
}

.boton-finanzas{
    background: rgba(2, 9, 109, 0.52);
    border-color: #444;
  }


.boton-pdf{
  background: rgb(245, 154, 154);
  border-color: #444;
  width: 190px;
  align-items: center;
}


/*PRINCIPAL*/
#principal{
    float: left;
    width: 75%;
    min-height: 572px;
    background:url(../img/cubes2.png);
    border-radius: 15px;
    box-shadow: 0px 0px 5px #ccc;
    margin-left: 20px;
    padding: 20px;
    overflow: hidden;
}

#principal2{
    float: left;
    width: 65%;
    min-height: 100px;
    background:white;
    border-radius: 15px;
    box-shadow: 0px 0px 5px #ccc;
    margin-left: 20px;
    padding: 20px;
    overflow: hidden;
}

#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: #2979CD;
    text-shadow: 1px 1px 2px #ccc;
    letter-spacing: 1px;
    font-family: "fajala";
    margin-top: 25px;
}

#principal p{
    margin-top: 8px;
}

#ver-todas a{
    display: block;
    border-radius: 10px;
    padding: 15px;
    color:white;
    background: #007ee5;
    border: 1px solid #156785;
    cursor:pointer;
    width: 180px;
    margin: 0px auto;
    margin-top:50px;
    
    
}

/*PIE DE PAGINA*/
#pie{
    clear:both;
    width: 50%;
    margin: 0px auto;
    background: url(../img/menup.jpg);
    border: 1px solid #c9c9c9;
    border-bottom: none;
    border-radius: 8px 8px 0px 0px;
    color: rgb(44, 42, 42);
    height: auto;
    padding: 15px;
    text-align: center;
}




input[type="submit"]{ 
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    margin: 0 10px 20px 0;
    border: 1px solid #ccc;
    background: #eee;
    border-radius: 8px 8px 8px 8px; 
}

input[type="submit"]:hover {
    background: #ddd;
}

table {
    border-collapse: collapse;
    width: 100%;
  }
  
  th, td {
    text-align: center;
    padding: 8px;    
}


.th3{
    background-color: rgb(245, 131, 131);
}

.th2{
    background-color: rgb(147, 245, 155);
}
tr:hover {background-color: #e7e4e4;}

#div1 {
    overflow:auto;
    height:140px;
    
}

#div2 {
    overflow:auto;
    height:140px;
    
}



