@font-face {
    font-family: 'Lunardi Font';
    src: url('../fonts/lunardi/lunardi.eot');
    src: url('../fonts/lunardi/lunardi.eot?#iefix') format('embedded-opentype'),
         url('../fonts/lunardi/lunardi.woff') format('woff'),
         url('../fonts/lunardi/lunardi.ttf') format('truetype'),
         url('../fonts/lunardi/lunardi.svg#lunardi') format('svg');
    font-weight: normal;
    font-style: normal;
}
* {
	padding: 0;
	margin: 0;
}
body {
	background: #6F503F;
	color: white;
	font: 400 16px 'Open Sans', sans-serif;
	margin: 0 auto;
}
a {
	color: #DDD;
	cursor: pointer;
	text-decoration: none;
}
a:hover {text-decoration:none}
a.link {
	color: #666;
	cursor:pointer;
	text-decoration:none;
}
a.link:hover {text-decoration: underline}
img {border: 0}
.clear {
	clear: both;
	font-size: 0;
	line-height: 0;
}
.scrollup{
    position:fixed;
    width: 40px;
    height: 40px;
    bottom:2.5em;
    right:2em;
    display:none;
}
.scrollup:before {
	color: rgba(0,0,0,0.5);
	font: 4em 'Lunardi Font';
	content: "T";
    width: 100%;
    height: 100%;
    text-align: center;
}
/* Preloader START*/
#preloader {
	background: #806455;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
#status {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#status:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(255,255,255,0.6);
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#status:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(255,255,255,0.2);
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}

/* Preloader END */

/***********************/
/******* Header ********/
/***********************/
h1 {
	background-image: url("../images/casa-lunardi.svg");
	background-position: 0 0;
	background-size: 100%;
	height: 80px;
	margin: 0 auto;
	width: 300px;
}
header {
	position: fixed;
	width: 100%;
	z-index: 3;
}
header.small #header1 {display: none}
header.small h1 {
	height: 53px;
	width: 200px;
	margin-top: -0.4em;
}
header.small #hd2_1 {height: 50px;}
header.small #hd2_2 {display: none}
#header1 {
	background: #563D2C;
	height: 50px;
	width: 100%;
}
#header2 div {width: 100%}
#hd2_1 {
	background: rgba(255, 255, 255, 0.85);
	height: 100px;
	padding-top: 15px;
}
#hd2_2 {
	background: url(../images/bg_triangle.png) repeat-x;
	height: 16px;
}
/********* nav *********/
nav {
	font: 600 1em 'Open Sans', sans-serif;
	list-style: none;
	margin: 0 auto;
	text-align: center;
}
nav li {
	cursor: pointer;
	display: inline-block;
	padding: 15px 15px 13px 15px;
	transition: background-color 1s ease;
	vertical-align: middle;
}
nav li:hover {background-color: #806455}

/***********************/
/****** Sections *******/
/***********************/
h2 {font: 300 2.5em 'Open Sans', sans-serif;}
#closeEmpresaSection, #closeContactoSection, #closeEnviadoSection {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 3px rgba(0,0,0,0.7);
	border-radius: 50%;
	color: #FFF;
	cursor: pointer;
	float: right;
	font: 1.3em 'Lunardi Font';
	height: 45px;
	text-align: center;
	line-height: 2.3em;
	width: 45px;
}
#closeEnviadoSection {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 3px rgba(0,0,0,0.7);
	border-radius: 50%;
	color: #FFF;
	cursor: pointer;
	float: right;
	margin: 1em 1em 0 0;
	font: 1.3em 'Lunardi Font';
	height: 45px;
	text-align: center;
	line-height: 2.3em;
	width: 45px;
}
#closeEmpresaSection:hover, #closeContactoSection:hover, #closeEnviadoSection:hover {
	background: rgba(255, 255, 255, 0.8);
	color: #563D2C;
}
#contactoSection01, #contactoSection02 {
	display: inline-block;
	vertical-align: top;
	width: 49.5%;
}
#contactInfo div {
	background: rgba(0,0,0,0.2);
	border-radius: 5px;
	margin-bottom: 1em;
}
#contactInfo div p, #contactInfo div i {
	display: inline-block;
	vertical-align: middle;
}
#contactInfo div i {
	color: rgba(255, 255, 255, 0.6);
	font: 2em 'Lunardi Font';
	width: 10%;
}
#contactInfo div p {
	font: 400 1em 'Open Sans', sans-serif;
	text-align: left;
	width: 85%;
}
#empresaSection, #contactoSection {
	background: rgba(86,61,44,0.9);
	box-shadow: 3px 3px 10px rgba(0,0,0,0.85);
	color: #FFF;
	left: 10%;
	margin: 0 auto;
	padding: 190px 4px 0 4px;
	position: absolute;
	text-align: center;
	width: 80%;
}
#empresaSection, #contactoSection {z-index: 2}
#enviadoSection {
	background: #563D2C;
	box-shadow: 3px 3px 10px rgba(0,0,0,0.85);
	color: #FFF;
	height: 40%;
	margin: 0 auto;
	padding: 0 0 20% 0;
	position: absolute;
	text-align: center;
	width: 100%;
	z-index: 3;
}
#enviadoSection i {
	color: rgba(255, 255, 255, 0.5);
	font: 10em 'Lunardi Font';
}
#mapCanvasContact {
	height: 350px;
	margin: 1em 0;
	padding: 0;
	width: 100%;
}
input, textarea {
	background: #EEE;
	border: 2px solid #CCC;
	color: #563D2C;
	font: 400 1em 'Open Sans', sans-serif;
	margin: 0.5em auto;
	padding-left: 2%;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {color: #563D2C}
input {
	border-radius: 15px;
	display: inline-block;
	height: 40px;
	vertical-align: middle;
	width: 43.5%;
}
input[type=submit] {
	background: #806455;
	border-radius: 15px;
	border: none;
	color: #FFF;
	display: block;
	font: 400 2em 'Open Sans', sans-serif;
	height: 50px;
	padding-right: 1em;
	margin: 1em auto;
	width: 92%;
}
input[type=submit]:hover {
	background: #FFF;
	color: #563D2C;
}

textarea {
	border-radius: 15px;
	display: block;
	height: 200px;
	padding-right: 10%;
	width: 80%;
}
input:required {background: #EEE url(../images/required.png) no-repeat 98% 4px}
textarea:required {background: #EEE url(../images/required.png) no-repeat 99% 4px}
input:required:valid {background: #EEE url(../images/valid.png) no-repeat 98% 4px}
textarea:required:valid  {background: #EEE url(../images/valid.png) no-repeat 99% 4px}

/***********************/
/******* Footer ********/
/***********************/
footer{
	background: #563D2C;
	margin: 0 auto;
	position: fixed;
	text-align: center;
	width: 100%;
	bottom: 0;
	color: white;
}
footer div {
	right: 0;
}
footer section p {
	color: #FFF;
	font: 400 1em 'Open Sans', sans-serif;
}
footer section, footer div {
	display: inline-block;
	vertical-align: middle;
}
footer div i {
	color: rgba(255,255,255,0.8);
	display: inline-block;
	font: 2em 'Lunardi Font';
	margin: 0.2em 0.5em;
	vertical-align: middle;
}
footer div i:hover {
	color: #A37E4E;
}

/*********************************************
************* RESPONSIVE DESIGN	**************
**********************************************/

/* Monitores 20" ******************************************************************************* 1680px */
@media screen and (max-width: 1680px){}

/*********************************************************************************************** 1600px */
@media screen and (max-width: 1600px){
	#mapCanvasContact {height: 300px}
}

/* Monitores 19" ******************************************************************************* 1440px */
@media screen and (max-width: 1440px){}

/* Algunas Notebooks *************************************************************************** 1366px */
@media screen and (max-width: 1366px){
	/* Header */
	h1 {
		height: 65px;
		width: 243px;
	}
	#header1 {
		background: #563D2C;
		height: 50px;
		width: 100%;
	}
	#header2 div {width: 100%}
	#hd2_1 {
		background: rgba(255, 255, 255, 0.85);
		height: 70px;
		padding-top: 0;
	}
	/* sections */
	#empresaSection, #contactoSection {
		left: 1%;
		padding: 140px 1% 0 1%;
		width: 96%;
		}
}

/* Notebooks Viejas **************************************************************************** 1280px */
@media screen and (max-width: 1280px) {}

/* Tablet ************************************************************************************** 1024px */
@media screen and (max-width: 1024px) {
	/* sections */
	#enviadoSection {height: 60%}
}

/* Mobile High Resolution ********************************************************************** 800px */
@media screen and (max-width: 800px) {
	/* sections */
	#contactoSection01, #contactoSection02 {
		display: block;
		width: 100%;
	}
	#enviadoSection {height: 100%}
}

/* Iphone ************************************************************************************** 640px */
@media screen and (max-width: 640px) {
	h2 {font: 300 2em 'Open Sans', sans-serif}
	/*form section */
	input {
		display: block;
		width: 90%;
	}
}

/* Mobile ************************************************************************************** 610px */
@media screen and (max-width: 610px) {}

/* Mobile ************************************************************************************** 380px  */
@media screen and (max-width: 380px) {}