﻿/*ESTILOS GENERALES*/
*{
	margin:0;
	padding:0;
}

body{
	height: 100%;
	background: #b9b6b6;
	max-width: 2080px;
	margin:auto;
	transition: background 0.5s;
}

 .menu-bar {
	display:none;
}

/*HEADER*/

header{
	width:100%;
}

/*----Navegador----*/
header nav{
	width: 100%;
	background: #144548;
	background: -moz-linear-gradient(top,  #144548 100%, #0b5d7b 100%);
	background: -webkit-linear-gradient(top,  #144548 100%,#0b5d7b 100%);
	background: linear-gradient(to bottom,  #144548 100%,#0b5d7b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#144548', endColorstr='#0b5d7b',GradientType=0 );
	box-shadow: 0px 1.5px #04234d;
}

header nav ul{
	list-style: none;
	font-family: 'Lobster', cursive;
	overflow: hidden;
}

header nav ul li{
	float: right;
}

header nav ul li a, header nav ul div a{
	display: block;
	padding: 12px;
	color: white;
	text-decoration: none;
	transition: .3s;
}

header nav ul li a:hover, header nav ul div a:hover{
	border-left: 3px solid #26921c;
	transition: .3s;
}

header nav ul div{
	float: left;
}

/*----Imagen----*/

header #imag{
	position: relative;
}

header h1 a{
	position: absolute;
	top: 40%;
	width: 100%;
	text-align: center;
	text-decoration: none;
	font-family: 'Tangerine', serif;
	font-size:90px;
	color: black;
	opacity: 0.7;
	transition: 1.5s;
}

header h1 a:hover{
	opacity: 1;
	color: #26921c;
	transition: 1.5s;
}

header img{
	position: relative;
	width: 100%;
	height: 610px;
	opacity: 0.3;
	z-index: -1;
}

/*WRAPP*/

#wrapp{
	height: 100%;
	margin-top:20px;
	top: 45px;
}

#main{
	height: 100%;
	width:90%;
	margin-left: 5%;
	margin-right: 5%;
}

/*----Contenido-----*/

#main #contenido{
	width:100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	border-bottom: 4px solid #3f6e8c;
	border-radius: 3px;
	margin-bottom: 1%;
	overflow: hidden;
}

#main #contenido article{
	position: relative;	
	height: 100%;
	width: 25%;
	height: 200px;
	cursor: pointer;
	text-align:justify;
	float: left;
	border-left: 1px solid rgba(0,0,0,0.5);
	border-right: 1px solid rgba(0,0,0,0.5);
	border-bottom: 1px solid #3f6e8c;
	font-family: 'Handlee', cursive;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#main #contenido article img{
	width: 100%;
	height: 100%;
	position: relative;
	opacity: 0.3;
}

.icon{
	position: absolute;
	top: 20%;
	left: 40%;
	width: 40px;
	height: 40px;
	padding: 10px 5px 0px 5px;
	color: white;
	background: rgba(0,0,0,0.8);
	font-size: 25px;
	text-align: center;
	border-radius: 25%;
	margin: auto;
	margin-top: 10px;
	cursor: pointer;
	transition: .3s;
}

.icon:hover{
	width: 45px;
	height: 45px;
	transition: 0.3s;
}

#main #contenido .titulo{
	position: absolute;
	top: 40%;
	left: 0;
	width:100%;
	padding: 8%;
	text-align: center;
	font-size: 20px;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

 #block-one, #block-two, #block-three, #block-four{
    width: 80%;
    height: 100%;
    bottom: 0;
    left: -100%;
    padding: 150px;
    position: fixed;
    z-index: 1;
    background-color: rgba(20,69,72,0.99);
    color: white;
    overflow-x: hidden;
    transition: 0.5s;
    border-right: 2px solid #000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#block-one .link{
	text-decoration: none;
	color: black;
	transition: .3s;
}

#block-one .link:hover{
	color: white;
	transition: .3s;
}


#main  aside{
	position: relative;
	width: 100%;
	background: rgba(38,146,28,0.4);
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
	z-index: -9999;
}

#main aside #slideshow{
	width: 30%;
	font-family: 'Handlee', cursive;
	float: left;
	border-left: 4px solid #26921c;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#main aside #widget {
	width: 70%;
	padding: 30px;
	float: left;
	font-size: 18px;
	font-family: 'Handlee', cursive;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


/*----------------------------------------------------------------SLIDESHOW-------------------------------------------------------------*/
.container {
  position: relative;
  width: 100%;
  height: 200px;
  font-family: 'Quicksand', sans-serif;

}

#slides {
    display: none
}

a.slidesjs-next,
a.slidesjs-previous,
a.slidesjs-play,
a.slidesjs-stop {
  text-indent: -9999px;
  float: left;
}


.slidesjs-pagination {
	display: none;
}
/*------------------------------------------------------------------------------------------------------------------------------------------*/

#main aside #widget .tituloh3{
	width:100%;
	font-size: 17px;
	margin-bottom: 20px;
}


/*FOOTER*/

#wrapp footer{
	width:100%;
	font-family: 'Handlee', cursive;
	clear:both;
}

/*----Redes-s&CopyRight----*/

#wrapp footer #redes-s{
	width:70%;
	overflow:hidden;
	margin: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*--email--*/
#wrapp footer #redes-s #email a{
	background:white;
}

/*--youtube--*/
#wrapp footer #redes-s #youtube a{
	background:rgb(154,8,8); 
}

/*--facebook--*/
#wrapp footer #redes-s #facebook a{
	background: rgb(9,14,103);
}

/*--twitter--*/
#wrapp footer #redes-s #twitter a{
	background:#0089fa;	
}


#email a span{
	color:black;
	font-size: 18px;
}

#twitter a span, #facebook a span, #youtube a span{
	color:white;
	font-size: 18px;
}

#wrapp footer #redes-s a{
	float: right;
	display: inline-block;
	padding: 3px;
	margin: 5px;
	text-decoration: none;
	transition: 0.25s;
	border-radius: 3.5px;
	box-shadow: 2px 2px #04234d;
}

#wrapp footer #redes-s a:hover{
	padding: 4.5px;
	transition:0.25s;
}

/*--copyright--*/

#wrapp footer #copyright{
	width:100%;
	background:black;
	color:white;
	font-size: 16px;
	text-align: center;
	padding:20px 0px;	
}

/*PARA HACERLO ADAPTABLE A DISPOSITIVOS MOVILES*/

/*TABLETS*/

@media screen and (max-width: 800px){
	header nav div{
		display: none;
	}

	header nav{
		width:100%;
		height: 100%;
		left: -100%;
		margin:0;
		position: fixed;
		z-index: 1;
	}
	
	header nav ul li{
		display:block;
		float:none;
		text-align:center;
		border-bottom: 1px solid rgba(225, 225, 225, .3)
	}
	
	.menu-bar{
		display:block;
		font-family: 'Lobster', cursive;
		width:100%;
	}
	
	.menu-bar .bt-menu{
		display:block;
		padding:15px;
		background: #144548;
		background: -moz-linear-gradient(top,  #144548 100%, #0b5d7b 100%);
		background: -webkit-linear-gradient(top,  #144548 100%,#0b5d7b 100%);
		background: linear-gradient(to bottom,  #144548 100%,#0b5d7b 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#144548', endColorstr='#0b5d7b',GradientType=0 );
		color:white;
		text-decoration:none;
		width-font:bold;
		font-size:20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing:border-box;
		-box-sizing:border-box;
	}
	
	.menu-bar span{
		float:right;
		font-size:22px;
	}

	header img{
		width: 100%;
		height: auto;
	}

	header h1 a{
		font-size: 60px;
		z-index: -1;
	}
	
	#main{
		width:100%;
		margin:0;
	}
	
	#main #contenido{
		width:100%;
	}
	
	#main #contenido article{
		width: 100%;
		border-radius:0;
	}

	 #block-one, #block-two, #block-three, #block-four{
	 	padding: 45px 25px;
	 }

	.icon{
		left: 45%;
	}

	#main aside{
		width:100%;
	}
	
	#main aside #widget{
		width: 100%;
		border-left: 4px solid #26921c;
		border-radius:0;
	}

	#main aside #slideshow{
		width: 100%;
	}

	.container {
	  height: 300px;
	}

	#slides {
		height: 300px;
	}

}


/*SMARTPHONES*/

@media screen and (max-width: 400px){	
	header h1 a{
		font-size: 50px;
	}	
	
	#main #contenido article .titulo{
		text-align:center;
	}

	#main aside{
		display:none;
	}
}