﻿/************************************************************************************
GENERAL
*************************************************************************************/
body{
	background:url(images/background.jpg) repeat-x #F3F3F3;
	color:#1D1D1D;
	font-size: 0.8em;
	line-height: 140%;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin:0;
	text-align:justify;
}
section{
	width:72%;
	margin:0 auto;
}
header{
	width:100%;
	background-color:#F8F8F8;
	border:#FDDDDE 1px solid;
	height:240px;
	border-bottom: solid 3px #9e0b0f;
}
nav{
	width:95%;
	height:40px;
	margin:-62px auto !important;
	background-color:#F8F8F8;
	
}
article{
	width:100%;
	margin-top:72px;
	background-color:#F8F8F8;
	border:#FDDDDE 1px solid;
	height:360px;
	border-bottom: solid 1px #C4C5C6;
}
#container{
	background-color:#FFF;
	border:#FDDDDE 1px solid;
	margin-top:72px;
	height:580px;
	width:100%;
        border-bottom: solid 3px #9e0b0f;
}
.banner{
	background:#FFF;
	width:95%;
	height:95%;
	margin:10px auto;
	border: solid 1px #D8D8D8;
}
aside{
	width:100%;
	float:left;
	background-color:#FFF;
	border:#FDDDDE 1px solid;
	border-bottom: solid 3px #9e0b0f;
	text-align:justify;
	line-height:1.5;
	height:500px;
}

#faleconosco{
	background-color:#FFF;
	border:#FDDDDE 1px solid;
	border-bottom: solid 3px #9e0b0f;
	height:520px;
	width:100%;
	margin-top:72px;
}
.left{
	width:56%;
	margin-left:10px;
	padding:10px;
	float:left;
}
.right{
	width:35%;
	padding:10px;
	float:left;
	border-left:#CCC 1px solid;
}
.right img{
	padding:10px;
	width:100%;
	text-align:center;
}
footer{
	width:100%;
	background-color:#3b3c3d;
	border:#FDDDDE 1px solid;
	height:80px;
	float:left;
}
footer p{
	color:#CECECE;
}
a {
	text-decoration: none;
	color: #39C;
}
h1, h2 {
	line-height: 120%;
	font-size:130%;
	margin: 0 0 10px;
	color: #000;
}
h3{color:#9e0b0f}
header {
	content: " "; 
	display: table; 
}
form {
    font-family: Verdana,Tahoma,sans-serif;
    font-size: 14px;
    background-color:#3b3c3d;
    max-width: 500px;
	color:#FFF;
	padding-top:2px;
	padding-bottom:2px;
	border:#FDDDDE 1px solid;
}
input, textarea {
    width: 200px;
    padding: 7px;
    color: black;
    margin-left: 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px solid;
}

    input:hover, textarea:hover, input:focus, textarea:focus {
        border-color: #000066;
        box-shadow: 5px 0px 9px #FCFFD7;
        background-color: #CEFFF0;
        color: black;
    }

.submit input {
    background-color: #66FFFF;
    height: 30px;
    width: 100px;
    font-weight: bold;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px solid;
    color: black;
}

textarea {
    width:85%;
    height: 60px;
    line-height: 20px;
    max-width: 400px;
}

form label {
    margin-left: 20px;
    color: #FFFFFF;
    font-weight: bold;
}


/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 960px;
	max-width: 94%;
	margin: 30px auto 0;
}


/************************************************************************************
NAV
*************************************************************************************/

/* menu icon */
#menu-icon {
	display: none; /* hide menu icon initially */
}

#nav li {
	margin: 0;
	padding-top: 5px;
}
#nav li {
	list-style: none;
	float: left;
	margin-right: 5px;
}

/* nav link */
#nav a {
	padding: 5px 15px;
	display: block;
	color: #191970;
	background-color:#F8F8F8;
        font-size:120%;
        font-weight:bold;
}
#nav a:hover {
	background-color:#F8F8F8;
        color:#9e0b0f;
}

/* nav dropdown */
#nav ul {
	background: #fff;
	padding: 2px;
	position: absolute;
	border: solid 1px #ccc;
	display: none; /* hide dropdown */
	width: 200px;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav li:hover > ul {
	display: block; /* show dropdown on hover */
}

/************************************************************************************
MOBILE
*************************************************************************************/
@media screen and (max-width: 800px) {
	body{ font-size:80%;background:#FFF}
        header{height:190px; border:none}
        header img{max-width:100%;}
		section{width:99%;margin:0 auto;border:none}
		nav{background-color:#F8F8F8;}
		#faleconosco{border:none;}

	/* nav-wrap */
	nav{background-color:transparent}
	#nav-wrap {
	position: relative;
    top:-20px;
	border:none;
	background-color:transparent
	}

	/* menu icon */
	#menu-icon {
		color: #000;
		width: 42px;
		height: 30px;
		background: #ecebeb url(images/menu-icon.png) no-repeat 10px center;
		padding: 8px 10px 0 42px;
        margin:12px 0;
		float:right;
		cursor: pointer;
		border: solid 1px #666;
		display: block; /* show menu icon */
	}
	#menu-icon:hover {
		background-color: #f8f8f8;
	}
	#menu-icon.active {
		background-color: #bbb;
	}
	
	/* main nav */
	#nav {
		clear: both;
		position: absolute;
		width: 160px;
		z-index: 10000;
		padding: 5px;
		background: #f8f8f8;
		border: solid 1px #999;
		display: none; /* visibility will be toggled with jquery */
	}
	#nav li {
		clear: both;
		float: none;
		margin: -5px 0 10px 0;
	}
	#nav a, 
	#nav ul a {
		font: inherit;
		background: none;
		display: inline;
		padding: 0;
		color: #666;
		border: none;
	}
	#nav a:hover, 
	#nav ul a:hover {
		background: none;
		color:#9e0b0f;
	}
	
	/* dropdown */
	#nav ul {
		width: auto;
		position: static;
		display: block;
		border: none;
		background: inherit;
	}
	#nav ul li {margin: -10px 20px 3px 5px;}
	.banner{height:156px;}
	article{height:180px;border:none}
	#container{border:none}
	aside{height:102%;border:none}
	h1, h2, h3{ font-size:90%;}
	.left {width:94.6%;float:left;border:none;background-color:#FFF;padding-left:0;padding-bottom:25px}
	#historia{ margin-top:-20px}
	.right{width:96.5%;float:left;border:none;margin-top:-10px;margin-bottom:10px;background-color:#FFF;padding-left:5px;}
	.right img{margin-left:-10px; max-width:100%}
	footer{border:none}
	footer p{font-size:80%; padding-left:5px}

}

@media screen and (min-width: 800px) {

	/* ensure #nav is visible on desktop version */
	#nav {
		display: block !important;
	}

}