
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


body{
	background: #808080;
	padding: 0px;
}

header{
	width: 100%;
	height: 100%;
	float: center;
	background:#808080;
	position: relative;
}



#logo{
	position: relative;
	width: 90%;
	margin: auto;
	background: #bbb;
}
#logo img{
	width: 100%;
	height: 100%
}

#logo .contenedor{
	position: absolute;
	top:40%;
	left:50%;
	transform: translateX(-50%) translateY(-50%);
}

#logo h1{
	font-size: 18px;
	color:#087700;
	text-decoration: solid;
	text-shadow:
		0 0 5px rgba(0,178,255,1),
		0 0 10px rgba(0,178,255,1),
		0 0 20px rgba(0,178,255,1),
		0 0 40px rgba(38,104,127,1),
		0 0 80px rgba(38,104,127,1),
		0 0 90px rgba(38,104,127,1),
		0 0 100px rgba(38,104,127,1),
		0 0 140px rgba(38,104,127,1),
		0 0 180px rgba(38,104,127,1);
}

#logo p{
	font-size: 12px;
	text-decoration: solid;
}







/*MENU HORIZONTAL*/
section{
	width: 90%
	margin-left:20px;
	margin-bottom: 1px;
	background: #bbb;
}

.menu-h{
	width: 90%;
	margin-left: 5%;
	min-height: 20px;
	background: #bbb;
}

.menu-h	ul{
	list-style: none;
	display: flex;
	justify-content: flex-end;
	position: relative;

}
.menu-h a{
	color: #fff;
	display: block;
	padding: 8px;
	text-decoration: none;
	background: #000399;
	font-family: arial;
	font-size: 12px;
	border-radius: 10px 10px;
}
.menu-h a:hover{
	background: #000;
}
.menu-h ul ul{
	display: none;
	position: absolute;
}
.menu-h ul li:hover ul{
	display: block;
}




/*CONTENIDO cabecera*/
#contenedor{
	
	width: 90%;
	margin: auto;
	background: #ccc;
}
.contenido{
	width: 90%;
	margin:auto;
}

#menu-v{
	display: none;
}

.contenido h1{
	padding-top: 20px;
	text-align: center;
	margin-top: 0px;
	font-size: 40px;
}

.contenido h2{
	padding-top: 20px;
	text-align: center;
	margin-top: 0px;
	font-size: 30px;
}

.contenido h3{
	text-align: center;
	margin-bottom: 20px;
}

.contenido h4{
	margin-top: 10px;
	font-family: arial;
	font-size: 20PX;
	color:#0000ff;
	text-align: center;
	margin-bottom: 20px;
}

.contenido p{
	margin-top: 10px;
	margin-bottom: 20px;
	background: #ccc;
	font-family: arial;
	font-size: 15px;
	text-align: justify;
	text-decoration-color: #000fff;
}


#categorias{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;

}

.catego-section{
	display: inline-flex;
	justify-content: center;
	padding: 0px;

}


.proy img{
	width: 100%;
	height: 100%;
	flex-wrap: wrap;
	background-color: #fff;
}
.proy p{
	background: #bbb;
	font-family: arial;
	font-size: 14px;
	text-align: left;
	text-decoration-color: #000fff;
}
.proy b{
	background: #bbb;
	font-family: arial;
	font-size: 18px;
	text-align: center;
	color: #0000ff;
}


.paginacion{
	margin: 10px 0px 0px 140px;
	background-color: #ccc; 
	padding-top: 20px;
	padding-bottom: 20px;

}



#lista ol {
    margin: 0 0 0 2em; 
}

#lista li{
    position: relative;
    display: block;
    padding: .4em .4em .4em .8em;
    *padding: .4em;
    margin: .5em 0 .5em 2.5em;
    background: #ddd;
    color: #444;
    text-decoration: none;
    transition: all .3s ease-out;   
}

#lista li:hover{
    background: #eee;
}   

#lista li:before{
    content: counter(li);
    counter-increment: li;
    position: absolute; 
    left: -2.5em;
    top: 50%;
    margin-top: -1em;
    background: #fa8072;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    font-weight: bold;
}

#lista li:after{
    position: absolute; 
    content: '';
    border: .5em solid transparent;
    left: -1em;
    top: 50%;
    margin-top: -.5em;
    transition: all .3s ease-out;               
}

#lista li:hover:after{
    left: -.5em;
    border-left-color: #fa8072;             
}


.btn{
	text-decoration: none;
	text-align: center;
    background: #ff523b;
    color: #ffffff;
    padding: 10px;
    border-radius: 30px;
    transition: 0.5s;    
}


/*CONTENIDO*/

  /*PIE DE PAGINA*/


footer{
	width: 90%;
	margin-left: 5%;
	min-height: 50px;
	background: #000399;
	border-radius: 0 0 20px 20px;
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-family: arial;
}


/*PIE DE PAGINA*/

/*KEYFRAMES*/



@keyframes rotacion{
	0%{
		transform: rotate(270deg);
	}
}


@media(min-width: 480px){
	#logo h1{
	font-size: 30px;
	color:#087700;

	}

	#logo p{
	font-size: 16px;
	margin-left: 40px;
	}

	.menu-h a{
	font-size: 14px;
	}
}

@media(min-width: 768px){
	#logo h1{
	font-size: 40px;
	color:#087700;

	}

	#logo p{
	font-size: 20px;
	margin-left: 40px;
	}

	.menu-h a{
	font-size: 16px;
	}
}

@media(min-width: 1024px){
	#logo h1{
	font-size: 60px;
	color:#087700;

	}

	#logo p{
	font-size: 30px;
	margin-left: 40px;
	}

	.menu-h a{
	font-size: 20px;
	}

	#menu-v{
	display: block;	
	width: 200px;
	height: 100%;
	min-height: 750px;
	background: #ccd;
	float: left;
	position: relative;
	padding-left: 10px;
	}

	#menu-v ul{
	list-style: none;
	padding: 10px;
	}

	#menu-v a{
	display: block;
	color: #fff;
	background: #000;
	padding: 10px;
	text-decoration: none;
	margin-bottom: 8px;
	border-radius: 5px;
	font-family: arial;	
	font-size: 18px;
	}

	#menu-v a:hover{
	background: #069;
	}

	#menu-v a:hover img{
	animation: 1s rotacion 1;
	}

	#categorias{
	min-height: 595px;
	}

	.proy img{
	width: 100%;
	height: 100%;
	display: block;
	margin-left: 5px;
	margin-top: 20px;
	background-color: #fff;
	}
}	
