/* CSS Document */
body{ 
	margin: 0px;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
	background-color: #EBF2FF;
	color: #3B5893;
	font-size: 100%;
}

a{
	color: #a00000;
    text-decoration: none;
}

a.nice{
	color: #a00000;
    text-decoration: none;
    background-image: url(/imagenes/extlink.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 14px;
}

#comunicado{
    font-size: 0.8em;
    padding: 2px 12px;
    background-color: #ffffcc;
    margin-top: 43px;
    border-radius: 5px;
    position: absolute;
    width: 205px;
    z-index: -1;
    border: 1px solid;
    left: 10px;
}

.col-3 {
	display: grid;
	grid-gap: 1rem;	
	grid-template-columns: repeat(3, 1fr);
}

header h1{
    color: #4066B3;
	border-bottom: 1px solid #4066B3;
    margin: 0px 0 40px 0;
    padding: 2%;
    font-weight: normal;
    width: 98%;
    background-color: #cdf;
    text-align: center;
}

img{
	vertical-align: middle;
}

.ficha-campo{ 
	font-weight:bold;
}

.msg_exito, .msg_advertencia, .msg_error, .msg_info{
	padding: 10px 50px;
	margin: 5px 0px;
	color: #333;
	font-family: sans-serif;
	line-height: 20px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

}

.msg_error ul{
	padding: 0 10px 0 10px;
    margin: 0;
}

.msg_advertencia{background:url(/webadmin/img/msg-advertencia.gif) #f7b924 5px no-repeat; color: #000;}
.msg_info{background:url(/webadmin/img/msg-info.gif) #EBEFFF 5px no-repeat;}
.msg_error{background: url(/webadmin/img/msg-error.png) #ffdddd 5px no-repeat;
    border: 1px solid #B10000;
}
.msg_guardado, .msg_exito{font-size: 16px;
	font-family: sans-serif;
	background: url(/webadmin/img/verificacion.png) 5px no-repeat;
	background-color: #CCFFCC;
}

section#marco-principal{
    margin: 0 auto 20px auto;
    width: 685px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #4066B3;
    border-radius: 5px;
    font-size: 0.9em;
    line-height: 1.4em;
}

section#login{
    margin: 10px auto;
    width: 385px;
    background-color: #fff;
    padding: 20px;
    border: 3px solid #4066B3;
    border-radius: 5px;
    font-size: 14px;
    line-height: 18px;
}

#login input[type="text"], input[type="password"]{
	width: calc(100% - 10px);
}

section h2{
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 30px;
    font-weight: normal;
}

section h3{ 
    font-weight: normal;
    font-size: 18px;
    margin: 15px 0 15px 0;
    background-color: #CDF;
    padding: 3px 10px;
    border-bottom: 2px solid #4066B3;
}

section .item{
    margin: 15px 0 5px 0;
	clear:both;
	font-weight: bold;
    font-size: 15px;
}

section .item-izq{
    margin: 15px 28px 5px 0px;
	font-weight: bold;
    font-size: 15px;
	float: left;
}

section .nota{
	color: #666;
	font-weight: normal;
	font-size: 12px;
}

section#finalidad{
	text-align: center;
    margin: 50px;
}

.separador{
	clear:both;
	width:100%;
	display:block;
}

section .separador{
    border-bottom: 1px solid;
}

#modal-background{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: .50;
    -webkit-opacity: .5;
    -moz-opacity: .5;
    filter: alpha(opacity=50);
    z-index: 1000;
}

#modal-background.active{
	display:block;
}

#clausula{
	display:none;
    font-size: 12px;
	background-color: white;
    box-shadow: 0 0 20px 0 #222;
    -webkit-box-shadow: 0 0 20px 0 #222;
    -moz-box-shadow: 0 0 20px 0 #222;
    left: 50%;
    top: 40%;
    margin: 0 0 0 -360px;
    padding: 10px;
    position: absolute;
    width: 700px;
    z-index: 1000;	
}

#clausula.active{
	display:block;
}

input[type=text], input[type=password], select{
	border: 1px solid #3B5893;
    border-radius: 3px;
    height: 24px;
    padding: 2px 4px;
    margin: 5px 0px;
    font-size: 14px;
}

textarea {
	border: 1px solid #3B5893;
    border-radius: 3px;
    padding: 2px 4px;
    margin: 5px 0px;
    font-size: 14px;
}

select{
	height: 30px !important;	
}

.boton-s{
    font-size: 12px !important;
    padding: 4px 10px !important;
    border-radius: 3px !important;
	border: 0;
	border-bottom: 1px solid #333;
    cursor: pointer;
    margin: 0 auto;
	line-height: 1em;
	color: #000;
	background-color: #CCC;
    white-space: nowrap;
	display: inline-table;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

.boton{
	background-color: #ccc;
    border: 0;
	border-bottom: 1px solid #333;
	color: #000;
	font-size: 16px;
    padding: 6px 30px;
    border-radius: 3px;
    cursor: pointer;
    margin: 0 auto;
	line-height: 1em;
    white-space: nowrap;
	display: inline-table;
    -webkit-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

.boton:hover, .boton-s:hover{
	background-color: #929292
}

.crear, .verde{
	color: #fff;
	background-color: #00BB3A;
}

.crear:hover, .verde:hover{
	background-color: #008A2B;
}

.editar, .azul{
	color: #fff;
	background-color: #4066B3;
}

.editar:hover, .azul:hover{
	background-color: #304C86;
}

.cancelar{
	color: #000;
	background-color: #CCC

}

.cancelar:hover{
	background-color: #ACACAC;
}

.eliminar{
	background-color: #cc0000;
	color: #fff;
}

.eliminar:hover{
	background-color: #A00000;
}

#codigo-seguridad {
    text-align: center;
    background-color: #4066B3;
    padding: 10px;
    border-radius: 5px;
    min-width: 275px;
    max-width: 330px;
    color: #fff;
    border: 1px solid #000;
    margin: 5px auto;
}

#codigo-seguridad input[type=text]{
    padding: 5px;
    margin: 0px;
    height: 25px;
    vertical-align: bottom;
    text-align: center;
}

.centrado{
	text-align:center;
	clear:both;
	display:block;
}

.recuadro{
    border: 1px solid;
    line-height: 1.5em;
    padding: 6px 4px;
	margin: 2px 0;
}

#sesion-nombre{
    color: #fff;
    padding: 6px 10px 4px 10px;
    font-size: 0.9em;
    float: right;
    background-color: #333;
    position: absolute;
    right: 5px;
    border-radius: 0 0 5px 5px;
}

#sesion-nombre a{
	color: #fff;
}

.cerrar-sesion{
	display: none !important;
}

#baja{
	margin: 30px 0 0 0; border-top: 1px solid; padding: 10px; text-align: center;
}

.nav-mobile {
	display:none;
	/* Hide from browsers that don"t support media queries */
	background: center center no-repeat transparent;
	background-image: url(../imagenes/000002/nav.png);
	width: 40px;
	height: 40px;
	position: fixed;
	top: 5px;
	left: 10px;
	z-index: 10;
}

/* ESTILOS DEL GRUPO @media screen and (max-width: 700px)  */

@media screen and (max-width: 700px) {

	header h1{
		font-size: 1.2em;
		width: 98%;
		padding: 1%;
		margin: 0px;
		position: fixed;
		top: 0px;
	}
		
	#baja{
		font-size: 0.9em;	
	}
		
	section h2{
		font-size: 1.5em;
	}
	
	section h3{
		font-size: 1.1em;
	}
	
	section#marco-principal, section#login{
		width: 94%;
		padding: 80px 3% 3% 3%;
		border: none;
	}
	
	.nav-mobile {
		display: block;
	}
	
	
	.mm-panels > .mm-panel{
		padding-left: 0px !important
	}
		
	.col-3 {
		grid-template-columns: repeat(2, 1fr);
	}
	
	section#finalidad{
		margin: 50px 10px;
		font-size: 0.9em;
	}
	
	.cerrar-sesion{
		display: block !important;
	}
	
	#sesion-nombre{ 
		display:none;
	}
	
}

@media screen and (min-width: 700px){
	.combinaciones{
		display: grid;
		grid-gap: 1rem;	
		grid-template-columns: repeat(3, 1fr);	
		}	
		
	.nav{
		width: 725px;
		margin: 20px auto;
		text-align: center;
	}
	
	nav#m_es_Principal ul{
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
	
	nav#m_es_Principal li{
		display: inline-block;
		margin: 0;
		padding: 0;		
	}
	
	nav#m_es_Principal li:last-child {
		margin-right: 0;
	}
	
	nav#m_es_Principal a{
		margin: 2px 6px;
		border: 1px solid;
		border-radius: 5px;
		padding: 7px;
		font-size: 0.9em;
		color: #4066B3;
	}

	nav#m_es_Principal a:last-child {
		margin-right: 0;
	}
	
	
	nav#m_es_Principal a:hover, nav#m_es_Principal a.activado{
		background-color: #fff;
	}
	
}
