/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

html,
body{margin:0;padding:0;height:100%;min-width:320px;background:#fff;font-family:'GothamRegular';}
@font-face{font-family:'GothamRegular';src:url('../fonts/gotham-book.eot');src:url('../fonts/gotham-book.eot') format('embedded-opentype'),
url('../fonts/gotham-book.woff') format('woff'),
url('../fonts/gotham-book.ttf') format('truetype'),
url('../fonts/gotham-book.svg#GothamRegular') format('svg');}

/* Basic Styles */
body {
	background-color: #ffff;
}
nav {
	height: 70px;
	width: 100%;
	background: url("../img/barra.jpg") top left;
	position: relative;
	margin: 0;
	overflow: hidden;
	
	
}
nav ul {
	position: relative;
	padding: 0;
	margin: 0 auto;
	width: 100%;
	min-width: 100%;
	height: 77px;
	left: 0%;
	
}
nav li {
	display: inline;
	position: relative;
	float: left;
	height: 70px;
	left: 40%;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 150px;
	height: 70px;
	text-align: center;
	text-decoration: none;
	line-height: 80px;
}
nav li a {
	
}
nav li:first-child a {
	position: relative;
	right: 280%;
	background: url("../img/logo.png") no-repeat right;
	background-size: 50px 37px;
	vertical-align: middle;
	width: 80px;
	height: 77px;
}


nav a:hover, nav a:active {
	background-color: #8c99a4;
}


nav a#pull {
	display: none;
}

	#billboard {
		color: white;
		max-width: 1800px;
		margin: 0 auto;
		margin-bottom: 0px;
	}
	
	#billboard img{
		width: 100%;
		height: auto;
		text-align: center;
		color: white;
	}
	
	.banner_fijo {
		text-align: center;
		color: white;
		max-width: 1800px;	
		margin: auto;
		overflow: hidden;
		display: none;
	}
	
	.banner_fijo img{
		height: auto;
		text-align: center;
		position: relative;
		width: 100%;
	}

	#menu_medio{
		max-width: 100%;
		height: 40%;
		background: -webkit-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* For Safari 5.1 to 6.0 */
		background: -o-linear-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* For Opera 11.1 to 12.0 */
		background: -moz-linear-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* For Firefox 3.6 to 15 */
		background: linear-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* Standard syntax (must be last) */
		position: relative;
		margin: auto;
		margin-top: -5px;
		max-width: 1800px;
	}
	
	.secciones{
		width: 32%;
		min-width: 20%;
		display: inline-block;
		position: relative;
		margin: auto;
		max-width: 1800px;
		padding: 0;
		height: 100%;
		float: left;

	}

	.secciones img{
		width: 50%;
		max-width: 165px;
		display: block;
		text-align: center;
		margin: auto;
		margin-top: 20%;
		vertical-align: middle;
	}

	.division{
		width: 1.2%;
		display: inline-block;
		position: relative;
		margin: auto;
		max-width: 1800px;
		padding: 0;
		height: 306px;
		float: left;
	}

	.division img{
		width: 100%;
		margin-top: 4em;	
	}
	
	/*MODAL TEL	
	
		.modalTel {
		position: fixed;
		top: 0%;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0);
		z-index: 99999;
		opacity:0;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: none;
	}

	.modalTel:target {
		opacity:1;
		pointer-events: auto;
	}

	.modalTel > div {
		width: 200px;
		position: relative;
		margin: 10% auto;
		padding: 10px 0px 10px 0px;
		border-radius: 10px;
		background: white;
	}
	
	/*OPEN MODAL*/
	

	
	.modalDialog {
		position: fixed;
		top: -10%;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0.8);
		z-index: 99999;
		opacity:0;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: none;
	}

	.modalDialog:target {
		opacity:1;
		pointer-events: auto;
	}

	.modalDialog > div {
		width: 1100px;
		position: relative;
		margin: 10% auto;
		padding: 10px 0px 10px 0px;
		border-radius: 10px;
		background: white;
	}

	.close {
		background: #606061;
		color: #FFFFFF;
		line-height: 25px;
		position: absolute;
		right: -12px;
		text-align: center;
		top: -10px;
		width: 24px;
		text-decoration: none;
		font-weight: bold;
		-webkit-border-radius: 12px;
		-moz-border-radius: 12px;
		border-radius: 12px;
		-moz-box-shadow: 1px 1px 3px #000;
		-webkit-box-shadow: 1px 1px 3px #000;
		box-shadow: 1px 1px 3px #000;
	}

	.close:hover { background: #101870; }
	
	#call2action{
		width:98.3%;
		display: inline-block;
		height: 53px;
		margin: 40px auto;
		position:relative;
		}
		
	#call2action ul{
		width: 230px;
		height: 100%;	
		position:relative;
		margin:auto;
		padding: 0;
		

		}
		
	#call2action ul li{
		position:relative;
		display:inline-block;
		padding: 0 10px;	
		}
		
	#call2action img{
		width:53px;
		height:53px;
	}
	
	#call2action img:hover{
		opacity:.5;
		-webkit-border-radius:4px;
		-webkit-transition:all .3s ease-in-out;
		-moz-transition:all .3s ease-in-out;
		-o-transition:all .3s ease-in-out;
		transition:all .3s ease-in-out;
		}

	#hidden_content{

		display:none;
		position: absolute;
		top: -50px;
		right: -20px;
		}		

	#hidden_content img{
		width: 120px;
		height: 40px;
		
		
	}
		
	.pie{
		width: 90%;
		position: relative;
		text-align:center;
		font-size:12px;
		margin: 30px auto;
		color: grey;
		}
		
	.pie p{
		display: inline-block;
		}

/* Tablets from 950 px */
@media screen and (max-width: 1083px) {
		nav li {
			left: 30%;
		}
		
		nav a {
		
		}
		
		nav li a {
			
		}
		
		nav li:first-child a {
			right: 280%;
		}
}
		
		
/* Tablets from 950 px */
@media screen and (max-width: 950px) {

	
	nav ul {
		position: relative;
		padding: 0;
		margin: 0 auto;
		width: 100%;
		height: 70px;
	}
	
	nav li {
		left: 10%;
	}

	nav li:first-child a {
		right: 80%;
	}
	
	
	.modalDialog {
		position: fixed;
		top: -5%;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0.8);
		z-index: 99999;
		opacity:0;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: none;
	}
	
		.modalDialog > div {
		width: 95%;
		position: relative;
		margin: 10% auto;
		padding: 10px 0px 10px 0px;
		border-radius: 10px;
		background: white;
	}
	
}	
	
/*Styles for screen 750px and lower*/
@media screen and (max-width: 750px) {
	nav { 
  		height: 80px;
		background: none;
		background-color: #1B4E0A;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
		left: 0px;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: absolute;
		left: 0px;
		height: 40px;
		z-index: 1000;
		
  	}
  	nav li a {
		border-bottom: 1px solid #153E07;
		border-right: 1px solid #153E07;
		
	}
	nav a {
		color: #fff;
		display: inline-block;
		width: 100%;
		height: 40px;
		text-align: center;
		text-decoration: none;
		line-height: 50px;
		text-shadow: 1px 1px 0px #283744;
	}



}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 750px) {
	nav {
		border-bottom: 0;
		background: none;
		background-color: #1B4E0A;
		height: 40px;
		

	}
	nav ul {
		display: none;
		height: 80px;
		position: fixed;
		top: 5%;
		left: 50%;
		z-index: 1001;
	}
	
  	nav li {
  		width: 51%;
  		float: left;
		background-color: #1B4E0A;
  		position: relative;
		height: 40px;
  	}

  	nav li a {
		
		border-bottom: 1px solid #153E07;
		border-right: 1px solid #153E07;
		width: 100%;
	}
	
	nav a#pull {
		display: block;
		background-color: #1B4E0A;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url("../img/nav-icon.png") no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
	
	nav li:first-child a {
		right: 0%;
		background: url("../img/inicio.png") no-repeat center 10px;
		width: 100%;
	}

	nav li:first-child:hover {
		background-color: #8c99a4;

	}
	
	#logo_menu2 {
		height: 25px;
		width: 35px;
		position: fixed;
		left: 8px;
		margin-top: 7px;
	}
	
	#logo_menu {
		display: none;
	}
	
	#billboard {
		text-align: center;
		color: white;
		max-width: 1800px;	
		margin: auto;
		overflow: hidden;
	}
	
	#billboard img{
		height: auto;
		text-align: center;
		position: relative;
		left: -15%;
		width: 130%;
	}
	

	
	
		#menu_medio{
		max-width: 100%;
		height: 140px;
		background: -webkit-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* For Safari 5.1 to 6.0 */
		background: -o-linear-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* For Opera 11.1 to 12.0 */
		background: -moz-linear-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* For Firefox 3.6 to 15 */
		background: linear-gradient(linear, 97% 100%, 50% 0%, from(#F3F0EF), to(#FAFAFA)); /* Standard syntax (must be last) */
		position: relative;
		margin: auto;
		margin-top: -5px;
	}
	
	.division img{
		width: 100%;
		margin-top: 2em;	
	}
}

/*Button FIX*/
@media only screen and (max-width : 500px) {		
		#menu_medio{
			width: 100%;
			position: relative;
			padding-bottom: 75%;

	}

	.secciones{
		width: 100%;
		min-width: 20%;
		display: block;
		position: relative;
		padding: 0;
		float: left;
		margin: 5px auto;

	}

	.secciones img{
		width: 40%;
		display: block;
		text-align: center;
		vertical-align: middle;
		margin: 10px auto;

	}

	.secciones a{
		display:block;
		vertical-align: middle;
		position: relative;

	}
	
	.division{
		display: none;
	}

	#call2action{

		}
		
	.pie{
		position: relative;
		top: 0px;
		}

	}

/*Smartphone*/
@media only screen and (max-width : 385px) {
		#billboard{
			display: none;
		}
		
		.banner_fijo {
		display: block;
	}
	
		#menu_medio{
			padding-bottom: 85%;
	}

	
}
	
/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
		height: 35px;
	}
	nav li a img {
		text-align: center;
	}

	.secciones{
		margin: 0px auto;

	}

		#menu_medio{
			padding-bottom: 85%;
	}

	#call2action{
		}

	.pie{
		position: relative;
		top: -50px;
		}

	
	}








