body{
font-family: 'Gochi Hand';
	font-size: 15px;
}
header {
	background-color: #F7F7F7;
	text-align: center;
	border-radius: 10px;
	border: 2px solid #000;
	width: 98%;
	/*borra las esquinas de la imagen q sobresalen*/
	overflow: hidden;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	height: auto;
}
header figure {
	float: left;
}

header figure img {
	width: 150px;
	height: 110px;
	border-radius: 50%;
}

header h1 {
	color: #000000;
	float: left;
	font-size: 1.6em;
	display: block;
	padding: 0px;
	font-weight: bold;
	margin-top: 30px;
	margin-right: 70px;
	margin-bottom: 0px;
	margin-left: 50px;
}
div#contenedor {
	width: 98%;
	position: relative;
	height: 120px;
	/* oculta de entrada este contenedor */
	display: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}
div#slider {
	border-radius: 10px;
	border: 2px solid #123;
	width: 98%;
	min-height: 550px;
	margin-top: 0px;
	margin-bottom: 5px;
	/*padre*/ 
	position: relative;
	/*borra las esquinas de la imagen q sobresalen*/
	overflow: hidden;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
	height: 120px;
  }
div#slider div.elemento{
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 120px;
  }
div#slider div.elemento img {
	width: 100%;
	margin: 0px;
	padding: 0px;
	border: 0px;
	height: auto;
  	 }
/* cambios al pasar el cursor */
div#slider div.elemento img:hover {
	cursor: pointer;
	opacity:0.8;
	transform: scale(1.2);
}
section article.control div ul a:hover{
	color: #123;
	transform: scale(1.2);
}
section article.control figure img:hover{
	cursor: pointer;
	opacity: 0.9;
	transform:rotate(30deg);
	/* webkit-transform:rotate(30deg);*/
}
/*************/
div#slider div.elemento p.gancho{
	display: block;
	font-size: 1.4em;
	font-weight: bolder;
	line-height: 25px;
	color: #000000;
	width: 29%;
	/* right y top se adaptan al porcentaje de cada pantalla*/
	right: 1%;
	top: 5%;
 	 }
/*MENU*/
section {
	background-position: center;
	background-color: #F7F7F7;
	background-position: center;
	margin-bottom: 5px;
	text-align: center;
	border-radius: 10px;
	width: 97%;
	color: #F9F9F9;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
}
section article.control{
	display: inline-block;
	vertical-align: top;
	position: relative;
	border-radius: 0px 0px 15px 15px;
	width: 50%;
	font-size: 1.2em;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	color: #000;
	background-color: #F7F7F7;
}
section article.control figure{
	/*Gira a la izq y el resto se acomoda al espacio*/
	float: left;
	/* desplazar la fig a la izq y arriba */
	margin-top: -50px;
	margin-left: 30px;
}
section article.control figure img {
	border-radius: 50%;
	width: 180px;
	height: 130px;
	background-color: #FFF;
	border-top-width: 4px;
	border-right-width: 4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
}
/* palabra SOBRESALIENTE MENU */
section article.control span.tipo{
	color: #000;
	position: absolute;
	border-width: 2px;
	border-style: solid;
	top: -38px;
	right: 45px;
	height: 30px;
	line-height: 30px;
	padding: 2px 10px;
	border-radius: 15px 15px 15px 15px;
	font-weight: bold;
}

section article.control p{
	font-size: 0.8em;
	text-align: justify;

}
footer {
	height: 70px;
	line-height: 50px;
	color: #000000;
	text-align: center;
	font-size: 0.8em;
	background-color: #B7B7FF;
	padding: 10px;
	border-radius: 10px;
	width: 98%;
	/*borra las esquinas de la imagen q sobresalen*/
	overflow: hidden;
	padding: 0px;
	font-weight: bold;
	font-style: italic;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
footer imag {
	float: left;
	margin-top: 20px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}
footer a {
	background-color: #123;
	border-radius: 6px;
	color: #000;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	display: block;
	float: right;
	box-shadow: -4px -3px 15px #fff;
	font-weight: bold;
}
/* PONER COLORES  INICIO****************/
/********************************/
section article.inicio,
section article.inicio figure img,
section article.inicio span.tipo{
	border-color: #004080;
}
section article.inicio span.tipo{
	background-color: #EAF4FF;
}
section article.inicio p{
	color: #000000;
}
section article.inicio{
	background-color: #F7F7F7;
}
section article.inicio span{
	color: #9cd95c;
}
/* PONER COLORES  INFORMACION****************/
/********************************/
section article.general,
section article.general figure img,
section article.general span.tipo{
	border-color: #004080;
}
section article.general span.tipo{
	background-color: #EAF4FF;
}
section article.general p{
	color: #000000;
}
section article.general{
	background-color: #F7F7F7;
}
section article.general span{
	color: #9cd95c;
}

/***************************************/
/* PONER COLORES  HISTORIAL****************/
/********************************/
section article.controll,
section article.controll figure img,
section article.controll span.tipo{
	border-color: #004080;
}
section article.controll span.tipo{
	background-color: #EAF4FF;
}
section article.controll p{
	color: #000000;
}
section article.controll{
	background-color: #F7F7F7;
}
section article.controll span{
	color: #f9f5f0;
}
/***************************************/
/* COLORES CONSULTA   ****************/
/********************************/
section article.consumo,
section article.consumo figure img,
section article.consumo span.tipo{
	border-color: #004080;
}
section article.consumo span.tipo,
section article.consumo div,
section article.consumo div span{
	background-color: #EAF4FF;
}
section article.consumo p{
	color: #000000;
}
section article.consumo {
	background-color: #F7F7F7;
}
section article.consumo span{
	color: #000;
}
/* respononsive diseño */
/* celular*/
@media screen and (min-width: 480px) {
	header nav ul li {
		width: 22%;
	}
}
/* tablet*/
@media screen and (min-width: 767px) {
	header nav ul li {
		width: 8%;
	}
	div#contenedor{
		display:inline;
	}
	section article.control{
		width: 40%;
		margin: 50px 3% 20px 6%;
	}
}
/* pc*/
@media screen and (min-width: 950px) {
	section article.control {
		width: 26%;
		margin: 50px 1px 20px 5px;
	}	
}