@charset "utf-8";
#asistencia {
	display: inline;
	float: left;
	width: 30%;
	padding: 18% 5%;
	height: 15%;
	margin: 0 auto;
}
footer  {
	height: 15%;
	width: 100%;
	position: relative;
	overflow: hidden;
}
footer img {
	max-width: 100%;
	z-index: -1;
	min-width: 100%;
}

#contenedor{
	width: 80%;
	height: 1%;
	margin: 0 auto;
	background-color: #FFF;
	color: #000;
	position: relative;
	overflow: hidden;
	}
	
#cabecera {
	width: 100%;
	height: 10%;
	margin: 0 auto;
	position: relative;
	display: block;
	}
#cabecera img {
	max-width: 100%;
	min-width:100%;
	}
#cuerpo {
	display: block;
	width: 100%;
}

#foto {
	width: 100%;
	height: 23%;
	background-repeat: no-repeat;
	background-size: auto;
	overflow: hidden;
	display: block;
	}
#foto img {
	max-width: 100%;
	min-width: 100%;
}

#fotopie {
	display: block;
	width: 100%;
	margin: 7% auto 1%;
	height: 20,5%;
	overflow: hidden;
	background-color: #999;
	left: 0px;
}
#fotopie img {
	max-width: 100%;
}

#contenedorimagenes {
	float: left;
	display: inline-block;
	margin: 0 auto;
	width: 40%;
	margin-top: 10%;
	box-sizing: border-box;
	position: relative;
	}
#texto {
	width: 40%;
	text-align: justify;
	float: left;
	margin: 5%;
	display:inline-block;
	box-sizing: border-box;
	left: 10%;
}

#textoquien {
	width: 50%;
	text-align: justify;
	float: left;
	margin: 5%;
	display: inline;
	height: 70%;
	}
	
#textoadimi {
	display: inline;
	float: left;
	width: 50%;
	margin: 5%;
	text-align: justify;
	height: auto;
}

#textotarifas1 {
	text-align: justify;
	float: left;
	height: auto;
	width: 40%;
	margin-top: 5%;
	margin-right: 5%;
	margin-bottom: 0px;
	margin-left: 10%;
	}
	
#textolaboral {
	float: left;
	width: 50%;
	padding: 2%;
	text-align: justify;
	}
	
#fotolaboral {
	float: left;
	width: 40%;
	padding: 1%;
	padding-top: 18%;
	}

#cita {
	font-size: 0.9em;
	width: 80%;
	color: #333;
	text-align: justify;
	margin: 10% auto;
	background-color: #CCCCCC;
	font-style: italic;
	font-weight: bold;
	padding: 2%;
	display: block;
	clear: both;
}

#fotoquien {
	font-size: 0.9em;
	width: 35%;
	display: inline;
	float: left;
	margin-top: 15%;
}

#fotomercantil {
	width: 35%;
	display: inline;
	float: left;
	padding-top: 2%;
	padding-left: 5%;
}

#piefoto  {
	font-size: 0.9em;
	color: #333333;
	width: 30%;
	text-justify: auto;
	margin: 0;
	display: inline;
	clear: both;
	}

#fotoquien img {
	clear: both;
	margin-top: 0px;
	margin-bottom: 0px;
}

#fototarifas {
	display: block;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 10%;
	margin-left: auto;
}

#fotomaterias {
	display: block;
	width: 50%;
	margin: 5% auto;
}

#fotopenal {
	float: left;
	width: 40%;
	padding: 2%;
	}

#textopenal1 {
	display: inline;
	float: left;
	width: 45%;
}

#textocivil {
	width: 40%;
	display: inline;
	float: left;
	text-align: justify;
	padding: 5%;
	list-style-type: square;
}

#telatencion {
	display: inline;
	float: left;
	width: 50%;
	box-sizing: border-box;
	margin: 0px auto;
	}
	
#telatencion img {
	max-width: 100%;
}

#textopenal {
	width: 40%;
	display: inline;
	float: left;
	text-align: justify;
	padding: 2%;
	list-style-type: square;
	height: 50%;
	}

#direccion {
	width: 50%;
	height: 15%;
	padding: 2%;
	color: #999;
	box-sizing: border-box;
	z-index: 1000;
	position: absolute;
	/* [disabled]bottom: -4%; */
	top: 0px;
	}

#textotarifas {
	text-align: justify;
	display: block;
	height: auto;
	width: 80%;
	clear: both;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 10%;
	margin-left: 10%;
}

#aviso a{
	display: inline;
	width: 50%;
	text-align: right;
	float: left;
	height: 15%;
	color: #999;
	padding: 2%;
	box-sizing: border-box;
	z-index: 1;
	position: absolute;
	right: 0%;
	cursor: pointer;
	/* [disabled]bottom: -4.5%; */
	top: 25%;
}

body {
	font-family: Calibri;
	font-size: 1em;
	color: #000;
	background-color: #CCCCCC;
	margin: 0 auto;
	width: 100%;
	}
h1 {
	font-family: Calibri;
	color: #7E1E33;
	text-align: center;
}

#logo {
	float: left;
	display: inline;
	width: 50%;
	margin-left: 5%;
}

#consulta {
	float: left;
	display: inline;
	margin-top: 1.2%;
	width: 15%;
	}
	
#iconos {
	float: right;
	height: 4%;
	display: inline;
	margin-top: 4%;
	margin-right: 5%;
	padding: 0.8%;
}

#iconos p {
	float: left;
	margin: 0;
	height: 4%;
	display: inline;
	position: absolute;
	color: #6D1025;
	font-size: large;
	clear: right;
}

#iconos img {
	padding: 0.8%;
	float: left;
}

ul#menu {
	text-align: center;
	background: #6d1025;
	margin: 0px;
	padding: 0em 0em 0em 0em;
	list-style: none;
	display:inline-block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	max-width: 100%;
	min-width: 100%;
	}

ul#menu li {
	display: inline-block;
	position: relative;
	}
/*Listas primer nivel*/
ul#menu li a {
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	float: left;
	padding-top: 0.7em;
	padding-right: 0.7em;
	padding-bottom: 0.7em;
	padding-left: 0.7em;
	}
	
ul#menu li p{
	padding: 0;
	margin: 0;
	color: #CCCCCC;
	font: 0.9em Calibri;
}

ul#menu li a:hover{
	background: #330000;
	color: #CCCCCC;
     }

ul#menu li ul {
	display: none;
}

ul#menu li ul {
	margin: 0px;
	padding: 0px;
	width: 150px;
	float: left;
	position: absolute;
	left: 0px;
	top: 50px;
	border: 0;
	overflow: hidden;
	background: #6D1025;
	z-index: 1000;
	border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	-webkit-border-radius: 0px 0px 5px 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	}

 
ul#menu li ul.children li a{
	color: #ffffff;
	padding: 13px 0 13px 20px;
	width: 130px;
	border-bottom: 1px solid #2f2f2f;
	background: #6D1025;
	font-size: 0.8em;
	text-align: left;
	}
	 

ul#menu li ul.children li:last-child a{		
   border-bottom:none;
   }

ul#menu li ul.children li a:hover{
    color: #cccccc;
    padding-left:28px;
    background: #330000;
	}

ul#menu li:hover ul.children{
    	display:block;
	}

#cuerpocontacto img {
	width: 100%;
	margin:0 auto;
}

#horario {
	font-weight: bold;
	height: 40%;
	width: 40%;
	box-sizing: border-box;
	display: inline;
	float: left;
	background-image: url(../imagenes/fondo.png);
	padding-top: 3%;
	padding-right: 3%;
	padding-bottom: 3%;
	padding-left: 10%;
	}

#cuerpocontacto {
	margin: 2% auto;
	width: 90%;
	height: 1%;
	overflow: hidden;
	padding: 2%;
	background-image: url(../imagenes/fondo.png);
	border-radius: 20px 20px 20px 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-color: #600;
	border-width: 5px;
	border-style: solid;
}

#mapa {
	display: inline;
	padding: 1%;
	height: 40%;
	width: 60%;
	float: left;
	box-sizing: border-box;
	}

#fotofachada {
	display: inline;
	float: left;
	height: 31%;
	width: 50%;
	overflow: hidden;
}

h2, h3 {
	font-family: Calibri;
	color: #6D1025;
}

#textoaviso  {
	text-align: justify;
	padding: 1%;
	text-justify: distribute;
	}
	
#textoformulario {
	font-family: Calibri;
	text-align: justify;
	display: inline;
	padding: 2em;
	float: left;
	/* [disabled]height: auto; */
	width: 35%;
	box-sizing: border-box;
	margin: 0 AUTO;
	font-size: 1em;
	
}
#formulario {
	display: inline;
	width: 65%;
	box-sizing: border-box;
	margin: 0 auto;
	/* [disabled]background-color: #CCC; */
	border: 2px;
	/* [disabled]padding: 20px; */
	float: left;
}
.contact_form ul {
	width: 80%;
	list-style-type: none;
	margin: 10px auto;
	padding: 0px;
	background-color: #CCC;
}
.contact_form li{
    padding:12px;
    border-bottom:1px solid #eee;
    position:relative;
}
.contact_form label {
	color: #333333;
	display: inline-block;
	float: left;
	font-family: Calibri;
	font-size: 14px;
	font-weight: bold;
	/* [disabled]margin-top: 3px; */
	/* [disabled]padding: 3px; */
	width: 32%;
}
.contact_form input {
	height: 20px;
	width: 55%;
	padding: 5px 8px;
}
.contact_form textarea {
	padding: 8px;
	width: 55%;
}
.contact_form button {
	margin-left: 45%;
}
.contact_form input, .contact_form textarea {
	border: 1px solid #aaa;
	/*box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;*/
	border-radius: 2px;
	color: #888;
	font-size: 14px;
	padding-right: 30px;
	/* [disabled]-moz-transition: padding .25s; */
	/* [disabled]-webkit-transition: padding .25s; */
	/*-o-transition: padding .25s;
	/* [disabled]transition: padding .25s; */
}


input#aceptar {
	color: #888;
	font-size: 14px;
	padding-right: 30px;
	/* [disabled]-moz-transition: padding .25s; */
	/* [disabled]-webkit-transition: padding .25s; */
	/*-o-transition: padding .25s;
	/* [disabled]transition: padding .25s; */
	width: 10%;
}
/*.contact_form input:focus, .contact_form textarea:focus {
	background: #fff;
	border: 1px solid #603;
	box-shadow: 0px 0px 3px #603;
   }
*/
label#aceptar{
	width: 60%;
}
button.submit {
	padding: 9px 17px;
	font-family: Calibri;
	font-weight: bold;
	line-height: 1;
	color: #333;
	border: none;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#bbb));
	background-image: -moz-linear-gradient(0% 100% 90deg, #BBBBBB, #FFFFFF);
	background-color: #fff;
	border: 1px solid #f1f1f1;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	font-size: 12px;
}
button.submit:hover {
	opacity: .55;
	cursor: pointer;
	color: #333;
}
button.submit:active {
    border: 1px solid #222;
    box-shadow: 0 0 10px 5px #444 inset;
}
#enlaces {
	width: 40%;
	margin: 1% auto;
	border: 2px solid #6d1025;
	padding-left: 10%;
	padding-right: 5%;
}

#datos {
	font-size: 1.1em;
	width: 40%;
	box-sizing: border-box;
	display: inline;
	float: left;
	height: 60%;
}

#cuerpoformulario {
	margin: 5% auto;
	width: 95%;
	height: 1%;
	overflow: hidden;
	}
#movil {
	display: none;
}
#face {
	position: absolute;
	top: 65%;
	right: 13%;
	z-index: 100;
}
#tuit {
	position: absolute;
	top: 65%;
	right: 10%;
	z-index: 100;
}
#ingles {
	position: absolute;
	top: 65%;
	right: 7%;
	z-index: 100;
}
#aleman {
	position: absolute;
	top: 65%;
	right: 4%;
	z-index: 100;
}
