@charset "utf-8";
/* RESET */
* {
    margin: 0px;
    padding: 0px;
    outline: 0px none transparent;
    border: 0px none transparent;
    background: transparent none repeat scroll 0% 0%;
    font-weight: normal;
    font-style: normal;
    font-size: 100%;
    list-style-type: none;
    color: #1e1a1b;
    position: relative;
    font-family: Open Sans, Arial, sans-serif;
}
*, *::after, *::before {
    box-sizing: border-box;
}
@font-face {
    font-family: 'Pacifio';
    font-style: normal;
    font-weight: 400;
    src: local('Pacifio'), local('Pacifio'), url(../fonts/pacifio.woff2) format('woff2');
}
h1{font-size: 4em;}
h2{font-size: 3em;}
h3{font-size: 2.5em;}
h4{font-size: 2em;}
h5{font-size: 1.5em;}

a{
    cursor: pointer;
    text-decoration: none;
}
a:hover, *:hover{
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
b, strong{
    font-weight: bold;
}

img{
    width: 100%;
}
.center{text-align: center;}
.txt-left{text-align: left;}
.txt-right{text-align: right;}
.pull-right{float: right!important}
.pull-left{float: left!important}

.m10{margin: 10px !important}
.m20{margin: 20px !important}
.m30{margin: 30px !important}
.m40{margin: 40px !important}
.m50{margin: 50px !important}
.mtop10{margin-top: 10px !important}
.mtop20{margin-top: 20px !important}
.mtop30{margin-top: 30px !important}
.mtop40{margin-top: 40px !important}
.mtop50{margin-top: 50px !important}
.mbot10{margin-bottom: 10px !important}
.mbot20{margin-bottom: 20px !important}
.mbot30{margin-bottom: 30px !important}
.mbot40{margin-bottom: 40px !important}
.mbot50{margin-bottom: 50px !important}

.clear{clear: both}
.hide {display:none;}

header{
    z-index: 9;
}
nav.contact {
    padding: 5px 10%;
    text-align: center;
}
nav.contact li{
    display: inline-block;
    margin-right: 30px;
    font-size: 12px;
}
nav.contact li img{
    width: 20px;
    margin-right: 10px;
    vertical-align: middle;
}
.logo{
    width: 200px;display: inline-block;
    vertical-align: middle
}
nav.sections{
    width: 85%;
    margin: 20px auto;
    background: #fff;
    border-radius: 50px;
    -webkit-box-shadow: 0 0 18px rgba(158, 75, 147, 0.51);
    -moz-box-shadow: 0 0 18px rgba(158, 75, 147, 0.51);
    box-shadow: 0 0 18px rgba(158, 75, 147, 0.51);
    overflow: hidden;
}
nav.sections ul{
    text-align: center
}
nav.sections li{
    display: inline-block;
}
nav.sections li a{
    display: inline-block;
    padding: .5em .20em;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 100;
    margin: 0 20px;
}
nav.sections li:before{
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translate(-50%, -300%);
    width: 100%;
    height: 60px;
    background: #9e4b93;
    transition: .5s ease-in-out;
    opacity: 0;
}
nav.sections li:hover:before{
    transform: translate(-50%, 0);
    opacity: 1
}
nav.sections li:hover a{
    color: #fff;transition: .5s ease-in-out;
}
nav.sections li:first-child:before{
    background: #fff;}

/*contenido*/
section{
    padding: 30px 10% 50px;
    width: 100%;
    max-width: 1680px;
    margin: -3px auto;
}
body{
    background-image: url('../images/landing/hoja.jpg');
    background-size:  cover;
    background-position: center;
    background-attachment:  fixed;
}
.pedircita{
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0 0 18px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 18px rgba(0,0,0,.5);
    box-shadow: 0 0 18px rgba(0,0,0,.5);
}
.pedircita .contact{
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.pedircita .btn.only-on-mobile{
    position: absolute;
    bottom: 15px;
    right: 10px;
}
.pedircita h1 {
    color: #fff;
    position: absolute;
    top: 10px;
    left: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2em;
    text-shadow: 0 0 10px #000;
}
.pedircita form{
    padding: 0 20px 20px 20px;
}
input, textarea, select{
    background: rgba(255,255,255,.9);
    padding: 20px 25px;
    width: 50%;
    float: left;
}
input, select{
    border: 1px solid transparent;
}
input, select{
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}
input:nth-child(2), select{
    border-right: 1px solid transparent;
}
textarea{
    width: 100%;
    border-bottom: 1px solid #eee;
}
input[placeholder], [placeholder], *[placeholder] {
    color: #1e1a1b;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #ccc;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #ccc;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #ccc;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    #ccc;
}
::-ms-input-placeholder { /* Microsoft Edge */
    color:    #ccc;
}
select{
    color: #ccc;
    padding: 19px 25px;
}
.error{
    border-color: red!important;
}
.error::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: red;
}
.error:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    red;
    opacity:  1;
}
.error::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    red;
    opacity:  1;
}
.error:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    red;
}
.error::-ms-input-placeholder { /* Microsoft Edge */
    color:    red;
}

.btn{
    background-color: #9e4b93;
    color: #fff;
    padding: .5em 1em;
    border-radius: 2px;
    max-width: 100px;
}
.btn:hover{
    background-color: #511f4a;
}
.btn:active{
    background-color: #1e1a1b;
}
.destacado{
    padding: 11em 3em 0 15em;
}
.destacado img{
    width: 295px;
    position: absolute;
    top: 0;
    left: 0;
}
.destacado h1{
    text-align: right;
    color: #fff;
    text-shadow: 0 0 6px rgba(0,0,0,.6);
    font-size: 2em;
    margin-bottom: 30px
}
.destacado h1 br{
    margin-bottom: 20px
}
.destacado h1 strong{
    color: #9e4b93;
    text-shadow: none;
}
.destacado h1 b:before{
    content: '';
    position: absolute;
    right: 0;
    top: 15px;
    width: 200%;
    height: 5px;
    background-color: #9e4b93;
    z-index: 0;
}
.content-img{
    height: 220px;
    overflow: hidden;
}
.content-img img{
    top: 50%;
    transform: translateY(-50%);
}
.sectiontwo, .sectionthree, .sectionfour{
    overflow: hidden;
    background: #fff;
    -webkit-box-shadow: 0 0 18px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 18px rgba(0,0,0,.5);
    box-shadow: 0 0 18px rgba(0,0,0,.5);
}
.sectiontwo p, .sectionthree p, .sectionfour p{
    margin: 10px 0
}
.sectiontwo h1, .sectionthree h1, .sectionfour h1{
    color: #ccc;
    line-height: 100%;
    margin-bottom: 50px
}
.sectiontwo img.bk {
    margin: -50px 0 -55px -18%;
}
.col-2.right{
    position: absolute;
    right: 0;
    top: 0;
}
.sectionthree{
    margin: 150px auto;
    padding: 0 0 0 10%;
    overflow: hidden;
}
.sectionthree img.bk {
    margin: -20px 0 -5px 14%;
    max-height: 424px;
    width: auto;
}
.sectionfour img.bk {
    margin: -70px 0 -55px -20%;
}

section img.bk {
    max-height: 600px;
    width: auto;
}
/*footer*/
footer {
    background-image: -webkit-linear-gradient(30deg, #511f4a 0%, #9e4b93 100%);
    background-image: -o-linear-gradient(30deg, #511f4a 0%, #9e4b93 100%);
    background-image: linear-gradient(60deg, #511f4a 0%, #9e4b93 100%);
    padding: 40px 10%;
    display: inline-block;
    margin: -5px 0;
}
footer h4{
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2em;
    margin-bottom: 8px
}
footer  h4 + ul{
    margin-left: 15px;
}
footer  li, footer p{
    color: rgba(255,255,255,.4);
    margin: 10px 0 0 15px;
}
footer li span{
    color: rgba(255,255,255,.7);
}
footer li span a{
    color: #e5ae14;
}

.form_error{
    float: left;
    width: 50%;
}
.form_error *{
    width: 100%;
}
.form_error input, .form_error select{
    border-color: rgba(255, 102, 102, 0.9);
}
.form_error textarea{
    border: 1px solid rgba(255, 102, 102, 0.9);
}
.form_error .mensaje_error {
    position: absolute;
    top: 60px;
    padding: 2px 20px;
    background-color: rgba(255, 102, 102, 0.9);
    z-index: 1;
    color: white;
    left: 0;
    font-size: 0.9em;
}
.cien {
    width: 100%;
}
#contacto_cargando {
    height: 100%;
    display: none;
    text-align: center;
    padding: 8% 0%;
    color: #9e4b93;
}
#contacto_cargando img{
    height: 50%;
    margin-bottom:20px;
}
#contacto_respuesta{
    text-align: center;
    width:100%;
    padding: 1%;
    float:left;
    display: none;
}
.respuestaText{
    margin: 20px auto;
    max-width: 500px;
}
#okemail{
    color: #00FF00;
}
#email_error{
    color: red;
}
.volver_principal {
    text-align: center;
}
.volver_principal .btn {
    font-size: 20px;
}
#mensaje_enviando_cita {
    height: 35px;
    width: auto;
    vertical-align: bottom;
    display: none;
}
#mensaje_ok_cita {
    text-align: center;
    padding: 20px 20px 70px;
    max-width: 426px;
    margin: auto;
    display: none;
}
#mensaje_ok_cita * {
    width: auto;
    font-size: 16px;
}
#mensaje_ok_cita .w {
    font-size: 1.3em;
    margin-bottom: 0.5em;
}