/*
verde: #8dc63f;
verde hover: #066543;
azul: #40a3c4;

-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
box-shadow: 0 1px 4px rgba(0,0,0,0.2);

-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;

img: 192 * 129;
*/

/*---------------------------------------
	WEBFONTS
----------------------------------------*/
@font-face {
    font-family: 'bebas_neueregular';
    src: url('../fonts/bebasneue-webfont.eot');
    src: url('../fonts/bebasneue-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bebasneue-webfont.woff') format('woff'),
         url('../fonts/bebasneue-webfont.ttf') format('truetype'),
         url('../fonts/bebasneue-webfont.svg#bebas_neueregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'droid_sansregular';
    src: url('../fonts/droidsans-webfont.eot');
    src: url('../fonts/droidsans-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/droidsans-webfont.woff') format('woff'),
         url('../fonts/droidsans-webfont.ttf') format('truetype'),
         url('../fonts/droidsans-webfont.svg#droid_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'droid_sansbold';
    src: url('../fonts/droidsans-bold-webfont.eot');
    src: url('../fonts/droidsans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/droidsans-bold-webfont.woff') format('woff'),
         url('../fonts/droidsans-bold-webfont.ttf') format('truetype'),
         url('../fonts/droidsans-bold-webfont.svg#droid_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@-ms-viewport{
    width: extend-to-zoom;
    zoom: 1.0;
}

/*-------------------------------------*/

* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html { font-size: 100%; }

body {
	font-size: 62.5%/1.5;
	font-family: droid_sansregular, sans-serif;
	color: #636465;
}

ul {
	list-style: none;
}

nav.main-nav {
	font-family: bebasregular, sans-serif;
	text-transform: uppercase;
}

header {
	height: 103px;
	background-color: #8dc63f;
	box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.9);
	position: relative;
	z-index: 1000;
}

footer {
	clear: both;
	background: #066543;
	color: #fff;
	height: 100%;
	margin-top: 24px;
	padding-top: 24px;
	padding-bottom: 12px;	
	overflow: hidden;
}

footer img {
	float: right;
	display: block;
	margin-bottom: 4px;
}

hr {
    border: none;
    border-top: 1px solid #8dc63f;
    margin-top: 1px;
    /*height: 1px;*/
    /* Set the hr color */
    color: #8dc63f; //old IE
    background-color: #8dc63f; //Modern Browsers
}
/*---------------------------------------
	LAYOUT
----------------------------------------*/

.centered {
	width: 90%;
	max-width: 960px;
	margin: 0 auto;
	position: relative;
}

.direccion {
	font-size: .7em;
	font-weight: bold;
	text-align: right;
	right: 0;
	top: 18px;
	position: absolute;
	color: #066543;
}

.main-content {
	overflow: hidden;
	padding-top: 48px;
}

.slider {
	background-image: url(../imgs/header/front.jpg);
	/*background-attachment: fixed;*/
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
	padding-bottom: 30em;
}

h1.logo {
	position: absolute;
	left: 0;
	top: 20px;
	text-indent: -9000px;
	display: block;
	width: 150px;
	height: 61px;
	background: url(../imgs/logo.png) 0 0 no-repeat;
}

#direccion {
	float: left;
}

#links {
	float: right;
}

#wapp {
	width: 70px; 
	height: 70px; 
	position: fixed; 
	bottom: 30px; 
	left: 20px; 
	z-index:1000
}

ul.general {
	margin-bottom: 24px;
}
ul.general li {
	padding-left: 6px;
}

/*---------------------------------------
	NAVIGATION
----------------------------------------*/

a { 
	text-decoration: none; 
}

.main-nav { background: #8dc63f; overflow: hidden;}

.main-nav li:first-child {
	border-left: 1px solid #fff;
}

.main-nav li {
	width: 20%;
	float: left;
	position: relative;	
	border-right: 1px solid #fff;
	display: block;	
	font-family: bebas_neueregular, sans-serif;
	font-size: 1.4em;
	text-align: center;
	color: #066543;
	height: 58px;
}

.main-nav li a {
	color: #066543;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;	
	padding-top: 18px;	
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}	
.main-nav li a:hover {
	color: #fff;
	background: #066543;
}

li.active {
	color: #fff;
	background: #066543; 
	padding-top: 18px; 
}

li.aside {	
	text-align: center;
	color: #fff;
	margin-bottom: 1px;
	/*height: 40px;*/
	overflow: hidden;
	padding-top: 36px;
	padding-bottom: 26px;
	position: relative;
	display: block;
	/*background-color:*/ #40a3c4;	
	background-color: #8dc63f;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

/*li.aside:hover { background: #2683a2; }*/

li.aside a { 	
	color: #066543; 
	font-size: .8em;  
	position: absolute;
	padding-top: 41px;
	padding-bottom: 0px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: all .15s ease-in-out;
}

li.aside:hover { 
	background: #6d9635;
	
}

li.aside:hover a {
	color: #eee;
}

li.aside.wapp a {
	background: url(../imgs/layout/logoWapp.svg) 50% 12px no-repeat;	
	background-size: 22px 22px;
}

li.aside.trabaja a {
	background: url(../imgs/layout/trabaja-g.png) 50% 12px no-repeat;	
}

li.aside.faq a {
	background: url(../imgs/layout/faq-g.png) 50% 12px no-repeat;	
}

li.aside.fb a {
	background: url(../imgs/layout/fb-g.png) 50% 12px no-repeat;	
}



/*---------------------------------------
	TEXT
----------------------------------------*/

p {
	font-size: 1.1em;
	margin-bottom: 1.1em;
	font-family: droid_sansregular;
}

footer {
	font-size: .7em;
}

/*---------------------------------------
	IMAGES
----------------------------------------*/


.break-point {
	/*margin-bottom: 1.6em;*/
	/*width: 40%;*/
	margin-bottom: 24px;
}

img { 
	/*width: 50px;*/
	max-width: 100%;
	display: inline-block;	
}

#gallery li {
	float: left;
	width: 20%;
	position: relative;
	padding-right: 1px;
	padding-bottom: 1px;
	
}

#gallery li img:hover {
	-moz-box-shadow: inset #B3B3B3 0 -5px 0 0;
	-webkit-box-shadow: inset #B3B3B3 0 -5px 0 0;
	box-shadow: inset #B3B3B3 0 -5px 0 0;
}


#gallery li img {
	max-width: 100%;
	display: block;
	margin: 0;
	padding: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	/*position: absolute;
	top: 0;
	left: 0;*/
}

#gallery li img:hover {
	opacity: .7;
}

/*---------------------------------------
	GRID
----------------------------------------*/
.one-col {
	width: 20%;
	float: left;
}
.two-col {
	width: 40%;
	float: left;
}
.three-col {
	width: 60%;
	float: left;

}
.four-col {
	width: 80%;
	float: left;
	padding-right: 3em;
}
.five-col {
	width: 100%;
	float: left;
}

#map-canvas {
	/*width: 100%;*/
	height: 375px;
	/*border: 1px solid #ccc;*/
}

.gmnoprint img {
    max-width: none; 
}

input, textarea {
	width: 85%;
	font-size: 1em;
	padding: 1rem;
}

textarea { 
	height: 110px; 
	font-family: inherit;

}

input { 
	height: 40px; 
	margin-bottom: 1.4rem;
}

#contact-submit {
	width: 85%;
	background: #8dc63f;
	border: none;
	color: #fff;	
	font-size: 1em;
	transition: all .2s ease-in-out;
	padding: 1em;
	margin-top: 1.4rem;
}

#contact-submit:hover {
	background: #066543;
}

fieldset {
	border: none;
}

h1, h2, h3, h4 { color: #066543; }


@media only screen and (max-width: 900px) {
	.main-content {
		padding-top: 24px;
	}
	.main-nav li {		
		font-size: 1em;
		line-height: .9em;

	}
	h3 { font-size: .9em; }
	p { font-size: .9em; }

	li.aside a {
		font-size: .57em;
	}
}

@media only screen and (max-width: 768px) {
	.contacto .two-col, .contacto .three-col {
		width: 100%;
		margin-bottom: 1.2rem;
	}
	input, textarea, #contact-submit {
		width: 100%;
	}
	li.aside {
		padding-bottom: 41px;
	}
	li.aside a {
		/*padding-top: 41px;*/
		padding: 43px 4px 41px;
	}
}
