@font-face {
    font-family: 'caviar_dreamsregular';
    src:url('../font/caviardreams-webfont.eot');
    src: url('../font/caviardreams-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/caviardreams-webfont.woff') format('woff'),
         url('../font/caviardreams-webfont.ttf') format('truetype'),
         url('../font/caviardreams-webfont.svg#caviar_dreamsregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


form{
	margin-top:50px;
}

.contacto label{
	display: block; 
	font-weight: bold;
}
.contacto div{
	display:inline-block;
	width:35%;
	margin:0 1% 20px;
}

.contacto div.mensaje{
	display:inline-block;
	width:72%;
	margin:0 0 0 0;
}

.contacto input[type='text'], .contacto textarea{
	font-family:'caviar_dreamsregular';
	padding: 7px 6px;
	width:100%;
	border: 1px solid #CED5D7;
	resize: none;
	margin: 5px 0;
}

.contacto input[type='text']:focus, .contacto textarea:focus{
	outline: none;
	box-shadow:0 0 0 3px #006837;
}
.contacto input[type='text'].invalido, .contacto textarea.invalido{
	box-shadow:0 0 0 3px #FFC9C9;
}
.contacto input[type='submit']{
	font-family: 'caviar_dreamsregular';
	color:rgba(51,51,51,1);
	font-weight: 400;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	font-size: 18px;
	padding: 13px 20px 10px;
	background:none;
	margin-top:30px;
	border: 1px solid rgba(51,51,51,1);
	content: '';
	-moz-transition:all 0.3s ease-in;
	-ms-transition:all 0.3s ease-in;
	-webkit-transition:all 0.3s ease-in;
	-o-transition:all 0.3s ease-in;
	transition:all 0.3s ease-in;
}

.contacto input[type='submit']:hover{
	background:rgba(51,51,51,1);
	color:rgba(255,255,255,1);
	-moz-transition:all 0.3s ease-in;
	-ms-transition:all 0.3s ease-in;
	-webkit-transition:all 0.3s ease-in;
	-o-transition:all 0.3s ease-in;
	transition:all 0.3s ease-in;
}

.error{
    background-color: #BC1010;
    border-radius: 4px 4px 4px 4px;
    color: white;
    font-weight: bold;
    margin-left: 16px;
    margin-top: 6px;
    padding: 6px 12px;
    position: absolute;
}
.error:before{
    border-color: transparent #BC1010 transparent transparent;
    border-style: solid;
    border-width: 6px 8px;
    content: "";
    display: block;
    height: 0;
    left: -16px;
    position: absolute;
    top: 8px;
    width: 0;
}
.result_fail{
    background: none repeat scroll 0 0 #BC1010;
    border-radius: 20px 20px 20px 20px;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
}
.result_ok{
    background: none repeat scroll 0 0 #1EA700;
    border-radius: 20px 20px 20px 20px;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
}

@media screen and (max-width:768px){
	
div.contenido section{
	padding-left:0;
	padding-right:0;
	padding-bottom:40px;
}

@media screen and (max-width:480px){
	
.contacto div, .contacto div.mensaje{
	display:inline-block;
	width:70%;
	margin-left:0;
	margin-right:0;
}
	
}