/* ==========================================================================
   FONT FACES
   ========================================================================== */

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


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{ background-color:#ffffff; }

.content{
	position:relative;
	vertical-align:top;
	width:760px;
	background-color:#fffaec;
	margin:0 auto;
}
.header{
    position:relative;
    display:inline-block;
    width:100%;
    text-align:center;
}
.header .logo{
    position:relative;
    display:block;
    width:476px;
    height:123px;
    background:#522d1d url("../img/logo_lacasa.png") no-repeat center;
    border-radius:0 0 30px 30px;
    margin:0 auto;
}
.header h1, .header h4, .header p{
    font-family: 'optimaregular';
}
.header h1{
    color:#f3801f;
    font-size:37px;
    font-weight:bold;
    line-height:46px;
}
.header h1 span{
    font-size:42px;
    display:block;
}
.header h4{
    color:#3b1f1a;
    font-size:25px;
    font-weight:100;
    margin: 0 0 10px 0;
}
.header p{
    color:#3b1f1a;
    font-size:16px;
    margin: 0 0 30px 0;
}
.formulario{
    position:relative;
    display:block;
    background:#ffead3;
}
.formulario .border_formulario{
    position:relative;
    display:block;
    width:100%;
    height:50px;
    background:url("../img/fondolacasa.jpg");
}
.one_el, .two_el, .three_el {
    margin-top:10px;
    margin-bottom:10px;
}
.one_el input {
    width:468px; 
    height:36px; 
    background-color:#FDFBF4; 
    border:1px solid #E6D1B2; 
    border-radius:5px; 
    color:#A88239; 
    font-size:13px; 
    text-align:center; 
    font-family:Verdana, Geneva, sans-serif;
}
.two_el input {
    width:231px; 
    height:36px; 
    background-color:#FDFBF4; 
    border:1px solid #E6D1B2; 
    border-radius:5px; 
    color:#A88239; 
    font-size:13px; 
    text-align:center; 
    font-family:Verdana, Geneva, sans-serif;
}
.three_el input,.three_el .input {
    width:152px; 
    height:36px; 
    background-color:#FDFBF4; 
    border:1px solid #E6D1B2; 
    border-radius:5px; 
    color:#A88239; 
    font-size:13px; 
    text-align:center; 
    font-family:Verdana, Geneva, sans-serif;
}
.three_el .input{
    display:inline-block;
    width:143px;
}
.three_el select{
    width:140px;
    margin:0;
    margin-top:9px;
    color:#A88239; 
    font-size:13px; 
    text-align:center; 
    font-family:Verdana, Geneva, sans-serif;
    border:0;
    padding:0;
}
.three_el > input {
    display: inline-block;
    float: left;
    margin-right: 8px;
}
option, select {
    height: 25px;
    line-height: 36px;
}
.sexo{ 
    margin-bottom:20px;
}
.sexo input:nth-child(2){
    margin-left: 40px;
}
.end_el div{ 
    float:left; 
    width:230px; 
    font-size:11px; 
    line-height:1.5em; 
}
.end_el #privacidad{
    position:absolute;
}
.end_el label{
    padding-left:24px;
    padding-right:10px;
    display:inline-block;
}
.end_el div a{ 
    color:#A88239;
}
form{ 
    width:480px;
    margin:20px 0 40px 0;
    margin-left:calc(50% - 240px);
    color:#A88239; 
    font-family:Verdana, Geneva, sans-serif; 
    font-size:13px;
}
input[type="text"], input[type="email"]{
    color:#a78139;
}


.button{
    background: #4c302c;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzRjMzAyYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMyJSIgc3RvcC1jb2xvcj0iIzQ4MmMyOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYzJSIgc3RvcC1jb2xvcj0iIzNiMWYxYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMzFiMTciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #4c302c 0%, #482c29 32%, #3b1f1b 63%, #331b17 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c302c), color-stop(32%,#482c29), color-stop(63%,#3b1f1b), color-stop(100%,#331b17));
    background: -webkit-linear-gradient(top, #4c302c 0%,#482c29 32%,#3b1f1b 63%,#331b17 100%);
    background: -o-linear-gradient(top, #4c302c 0%,#482c29 32%,#3b1f1b 63%,#331b17 100%);
    background: -ms-linear-gradient(top, #4c302c 0%,#482c29 32%,#3b1f1b 63%,#331b17 100%);
    background: linear-gradient(to bottom, #4c302c 0%,#482c29 32%,#3b1f1b 63%,#331b17 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c302c', endColorstr='#331b17',GradientType=0 ); 
    color:#F0D9A3; 
    font-family: 'optimaregular'; 
    text-align: center; 
    height:50px; 
    line-height:50px; 
    font-size:24px; 
    border:0; 
    border-radius:10px; 
    min-width:242px; 
    padding-left:10px; 
    padding-right:10px; 
    cursor:pointer; 
    display:inline-block; 
    text-decoration:none;
}
.button:hover{
    background: #603c3a;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzYwM2MzYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMyJSIgc3RvcC1jb2xvcj0iIzYwMjgyMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYzJSIgc3RvcC1jb2xvcj0iIzU0MWQxNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0YzFiMTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #603c3a 0%, #602823 32%, #541d15 63%, #4c1b13 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#603c3a), color-stop(32%,#602823), color-stop(63%,#541d15), color-stop(100%,#4c1b13));
    background: -webkit-linear-gradient(top,  #603c3a 0%,#602823 32%,#541d15 63%,#4c1b13 100%);
    background: -o-linear-gradient(top,  #603c3a 0%,#602823 32%,#541d15 63%,#4c1b13 100%);
    background: -ms-linear-gradient(top,  #603c3a 0%,#602823 32%,#541d15 63%,#4c1b13 100%);
    background: linear-gradient(to bottom,  #603c3a 0%,#602823 32%,#541d15 63%,#4c1b13 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#603c3a', endColorstr='#4c1b13',GradientType=0 );
}
.button a{
    color:#F0D9A3;
    text-decoration:none;
}
.footer{
    position:relative;
    text-align: center;
    margin-top:30px;
    margin-bottom:20px;
}

#gracias .formulario{
    text-align: center;
}
#gracias .formulario .button{
    margin-top:40px;
	margin-bottom:40px;
}
#gracias .formulario p{
    font-family: 'optimaregular';
    font-size: 16px;
    color:#3a1f19;
    margin-bottom:30px;
}
