/*
    font-family: 'Montserrat Alternates', sans-serif;
    font-family: 'Roboto', sans-serif;
*/


body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #4D4D4D;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #4D4D4D;
}

h2, h3, h5 {
    /*font-family: 'Montserrat Alternates', sans-serif;*/
    font-weight: 400;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

strong {
    color: #0d80b7;
}

hr {
    border: solid 1px #0d80b7;
    width: 45px;
    margin: 20px auto;
}

hr.left {
    margin: 20px 0;
}

input[type="button"], input[type="submit"] {
    border: 2px solid #0d80b7;
    
    border-radius: 10px;
    padding: 25px 32px;
    text-align: center;
    color: #0d80b7;
    font-size: 20px;
    font-family: 'Montserrat Alternates', sans-serif;
    line-height: 26px;
    margin-top: 40px;
    transition: all .2s ease-in-out;
    background-color: transparent;
}

.required {
    color: #0d80b7;
    vertical-align: top;
}

.banner {
    width: 100%;
}

.banner div {
    width: 1200px;
    margin: 0 auto;
}

.azul {
    background-color: #0d80b7;
    color: white;
}

.gris {
    background-color: #dde2dc;
    color: #4d4d4d;
}

.mobile_break {
    display: none;
}

h1#logo {
    margin-top: 0;
}

#header {
    height: 135px;
}

#header ul {
    float: right;
    list-style: none;
    width: 290px;
    margin: 0;
}

#header ul li {
    display: inline-block;
    height: 38px;
    margin-right: 8px;
}

#header ul li a, #header ul li a img {
    transition: all .2s ease-in-out;
}
#header ul li a:hover {
    transform: scale(1.1);
}
#header ul li a img:hover {
    transform: scale(1.4);
}

#header #logo img {
    margin-top: 22px;
    margin-left: 90px;
    vertical-align: top;
    float: left;
}

#header #logo h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: normal;
    display: inline-block;
    margin-top: 40px;
    margin-left: 12px;
    margin-bottom: 0px;
    color: #666666;
}

#header #logo .azul {
    color: #0d80b8;
    background-color: transparent;
    font-weight: bold;
}

#header #logo .gris {
    color: #999999;
    background-color: transparent;
    font-size: 17px;
    margin-left: 12px;
}


#header .telefono {
    width: 50px;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 12px;
    line-height: 14px;
    padding-top: 2px;
    padding-right: 112px;
    height: 29px;
}

#header .telefono a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 20px;
    position: absolute;
    top: 7px;
    margin-left: 50px;
}

#header .telefono img {
    position: absolute;
    top: 31px;
    margin-left: -40px;
}

#menu-hamburguesa {
    display: none;
}

#menu {
    text-align: center;
    border-top: 1px solid #c8ccb1;
    border-bottom: 1px solid #c8ccb1;
}

#menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

#menu ul li {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    margin-right: 30px;
    font-weight: bold;
 }

#menu ul li a {
    color: #979797;
    transition: all .2s ease-in-out;
}

#menu ul li.selected a {
    color: #0d80b7;
}

#menu ul li a:hover {
    color: #6dd0ff;
}

#banner1 {
    height: 295px;
    padding-top: 180px; /* 295 + 180 = 475px */
    background-size: 100%;
    background-position-y: center;
}

#banner1 h2 {
    left: 50%;
    margin: 0 auto;
    width: 550px;
    text-align: center;
    font-size: 48px;
    font-weight: 400;
    color: white;
    line-height: 44px;
    text-shadow: 2px 2px 5px grey;
}

#banner2 {
    padding: 30px 0 20px 0;
    text-align: center;
    font-size: 21px;
}
#banner2 p {
    margin: 25px auto;
    width: 580px;
}

#banner2 input {
    margin: 25px;
    height: 78px;
    border: 2px solid white;
    border-radius: 10px;
    background-color: transparent;
    color: white;
    font-size: 20px;
    padding: 24px 40px;
    font-weight: bold;
    cursor: pointer;
}

#banner3 {
    text-align: center;
    font-size: 19px;
}

#banner3 h2 {
    font-size: 34px;
    line-height: 38px;
}

#banner3 h2 strong {
    font-size: 40px;
}

#banner3 p {
    width: 660px;
    margin: 0 auto;
}

#banner3 ul {
    margin: 60px 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

#banner3 ul li {
    display: inline-block;
    text-align: center;
    width: 200px;
    height: 200px;
    margin: 0 2px;
    border: 2px solid transparent;
    vertical-align: top;
    /* ANIM */
    transition: all .2s ease-in-out;
}

#banner3 ul li#tratamiento8 {
    width: 220px;
}
#banner3 ul li#tratamiento8 img {
    margin-left: 46px;
}

#banner3 ul li:hover {
    border-color: #d3d4c2;
    border-radius: 10px;
    /* ANIM */
    transform: scale(1.1);
}

#banner3 ul li img {
    display: block;
    margin: 12px 36px 0;
}

#banner4 {
    height: 400px;
    background-size: 100%;
    background-position-y: center;
}

#banner5 {
    text-align: center;
}

#banner5 h2 {
    width: 510px;
    margin: 70px auto 20px;
    font-size: 27px;
}

#banner5 h2 strong {
    font-weight: 400;
}

#banner5 p {
    width: 700px;
    font-size: 19px;
    text-align: center;
    margin: 10px auto;
}

#banner5 .telefono {
    border: 2px solid #0d80b7;
    width: 186px;
    height: 64px;
    border-radius: 10px;
    padding: 18px 32px;
    text-align: center;
    color: #0d80b7;
    font-size: 20px;
    font-family: 'Montserrat Alternates', sans-serif;
    line-height: 26px;
    margin-top: 40px;
    transition: all .2s ease-in-out;
}

#banner5 .telefono:hover {
    transform: scale(1.1); 
}


#banner5 .telefono a {
    color: #0d80b7;
    font-size: 35px;
    
}



#banner5 #curriculum {
    font-size: 20px;
    color: #0d80b7;
    text-decoration: underline;
    display: inline-block;
    margin: 16px auto 100px;
}

#banner6 {
    text-align: center; 
}

#banner6 #iso {
    margin: -59px auto 0;
}

#banner6 p {
    margin: 20px auto 40px; 
    width: 500px;
    font-size: 19px;
}

#banner6 p a {
    color: #0d80b7;
    text-decoration: underline;
    
}

#banner6 a img {
    margin-bottom: 25px;
    margin-left: 5px;
    margin-right: 5px;
    height: 32px;
    transition: all .2s ease-in-out;
}

#banner6 a img:hover {
    transform: scale(1.2);
}

#banner7 {
    background: url('img/img-contacto.jpg') center;
    background-size: 100% auto;
    height: 300px;
}

#banner7 h1 {
    text-align: center;
    font-size: 42px;
    line-height: 40px;
    padding-top: 80px;
    margin: 0;
    color: white;
    text-shadow: 1px 1px 5px #6D6D6D;
}

#tratamientos input[type="button"]{
    width: 28px;
    height: 46px;
    padding: 0;
    border: 0;
    display: inline-block;
    vertical-align: top;
    margin-top: 75px;
    cursor: pointer;
}

#tratamientos input[type="button"].izq{
    background: url('iconos/izq1.png') no-repeat;
    background-size: 100% auto;
}

#tratamientos input[type="button"].der{
    background: url('iconos/der1.png') no-repeat;
    background-size: 100% auto;
}

#tratamientos input[type="button"].izq:disabled {
    background: url('iconos/izq0.png') no-repeat;
    background-size: 100% auto;
}

#tratamientos input[type="button"].der:disabled {
    background: url('iconos/der0.png') no-repeat;
    background-size: 100% auto;
}

#tratamientos ul {
    padding: 0 15px;
    display: inline-block;
    white-space: nowrap;
}

#tratamientos ul li {
    display: inline-block;
    width: 135px;
    height: 135px;
    padding: 15px;
    text-align: center;
    white-space: normal;
    vertical-align: top;
    border: 2px transparent solid;
    border-radius: 15px;
    transition: all .2s ease-in-out;
}

#tratamientos ul li:hover {
    border-color: white;
    transform: scale(1.1);
}

#tratamientos ul li.selected {
    border-color: #7bb5d1;
}

#tratamientos ul li a {
    color: white;
    font-size: 13px;
}

#tratamientos ul li img {
    display: block;
    width: 105px;
    margin-left: 15px;
}

#tratamientos_scroll {
    overflow: hidden;
    display: inline-block;
    width: 1058px;

}

#tratamiento div {
    padding-left: 270px;
    padding-right: 270px;
    padding-top: 50px;
    padding-bottom: 100px;
    width: 660px;
}

#tratamiento div div {
    padding: 0;
    width: auto;
    margin: 0;
}

#tratamiento .icono {
    position: absolute;
    margin-left: -180px;
}

#tratamiento h1 {
    color: black;
    font-size: 38px;
    font-weight: bold;
}

#tratamiento h2 {
    color: #0d80b7;
    text-align: left;
}

#tratamiento h4 {
    color: black;
    font-weight: bold;
}

#tratamiento p {
    text-align: justify;
}

#tratamiento img {
    display: block;
    margin: 0 auto;
}

#tratamiento input[type="button"], #tratamiento input[type="submit"]{
    display: block;
    margin: 40px auto;
    cursor: pointer;
}

#tratamiento div.carillas-intro {
    width: 647px;
    height: 430px;
    background: url(_img/carillas-fondo-647.jpg) no-repeat right;
    margin-bottom: 30px;
    position: relative;
    left: -27px;

    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 30px;
    z-index: -5;
}

.carillas-intro .texto {
    color: #585858;
    font-size: 19px;
    line-height: 1em;
    position: absolute;
    top: 282px;
    left: 23px;
}

#tratamiento .carillas-intro div.slogan {
    color: #0d80b7;
    font-size: 41px;
    position: absolute;
    top: 100px;
    left: 13px;
    line-height: 39px;
    text-align: right;

    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    width: auto;
}

.carillas-intro .boton-rojo {
    background-color: rgba(255,255,255,0.3);
    position: absolute;
    bottom: 20px;
    left: 23px;
}
.boton-rojo {
    display: inline-block;
    background: transparent;
    color: #0d80b7;
    border: solid 2px #0d80b7;
    font-size: 22px;
    padding: 12px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 10px;
    text-decoration: none;
}

form table {
    margin: 60px auto 0px;
}

form input[type="text"], form textarea, form select {
    width: 377px;
    height: 38px;
    line-height: 38px;
    font-family: 'Roboto', sans-serif;
    color: #4D4D4D;
    font-size: medium;
    padding: 0 10px;
    margin-bottom: 12px;
    background-color: white;
}

form textarea {
    height: 160px;
}

form input[type="file"] {
    font-family: 'Roboto', sans-serif;
    color: #4D4D4D;
    font-size: medium;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #4D4D4D;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #4D4D4D;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #4D4D4D;
}
:-moz-placeholder { /* Firefox 18- */
  color: #4D4D4D;
}

::-ms-browse {
  background: #0d80b7;
  color:white;
  padding: 10px;
  border: none;
  border-radius: 6px;
}
::-webkit-file-upload-button {
  background: #0d80b7;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
}

#actualizacion {
    padding: 8px;
    display: block;
}

form input.dia, form input.anio {
    width: 96px;
}

form input.mes {
    width: 160px;
}

#footer .columna {
    display: inline-block;
    width: 275px;
    vertical-align: top;
    margin: 45px;
    font-size: 14px;
}

#footer #facebook {
    float: right;
    margin-right: 60px;
}

#footer .columna p {
    text-align: left;
}

#footer .columna .titulo {
    font-weight: bold;
    font-size: 19px;
}

#footer .columna a {
    color: white;
    text-decoration: underline;
    line-height: 25px;
}

#footer dt {
    font-size: 11px;
}

#footer dd {
    margin-left: 0;
    margin-bottom: 14px;
}

#footer p {
    text-align: center;
    margin: 0;
    padding-bottom: 20px;
}

#footer p a {
    font-size: 11.5px;
    color: white;
}

#footer p a, #footer .columna a {
    transition: all .2s ease-in-out;
}

#footer p a:hover, #footer .columna a:hover {
    color: #6dd0ff;
}

/* ===============  MOBILE  ============== */
@media (max-width: 1200px) {

    .banner div {
        width: 94%;
        padding-left: 3%;
        /*padding-right: 3%;*/
    }

    .parallax {
        background-size: auto 100% !important;
    }
    

    #header {
        height: auto;
        position: fixed;
        background-color: white;
        border-bottom: 1px solid #c8ccb1;
    }

    #header ul {
        display: none;
    }

    #header #logo {
        /*background: url('iconos/logo-header-mob.png') no-repeat left center;
        */
        height: 80px;
        margin: 0;
    }

    #header #logo img {
        margin-top: 4px;
        margin-left: 2px;
        height: 70px;
    }

    #header #logo h1 {
        font-size: 19px;
        margin-top: 18px;
        margin-left: 6px;
        font-weight: bold;
    }

    #header #logo .azul {
        color: #666666;
        display: inline-block;
        white-space: nowrap;
        vertical-align: top;
    }

    #header #logo .azul #extra {
        display: none;
    }

    #header #logo .gris {
        font-size: 12px;
        margin-left: 6px;
    }
   
    #menu-hamburguesa {
        display: block;
        float: right;
        margin-top: 14px;
        margin-right: 0px;
        padding: 16px;
        cursor: pointer;
    }

    #menu {
        display: none;
        position:fixed;
        top: 80px;
        background: rgba(255, 255, 255, 1);
        /*padding-top: 10px;
        padding-bottom: 20px;*/
    }

    #menu div {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #menu ul {
        width: 100%;
    }

    #menu ul li {
        display: block;
        line-height: 50px;
        height: 50px;
        border-bottom: 1px solid #eaeed8;
        margin: 0px;
    }

    #menu ul :last-child {
        border-bottom: none;
    }

    #banner1 {
        height: 300px;
        padding-top: 250px;
        
    }

    #banner1 h2 {
        font-size: 32px;
        line-height: 30px;
        width: 100%;
    }


    #banner2 p {
        width: 80%;
        font-size: 18px;
    }

    #banner3 {
        text-align: center;
    }
    
    #banner3 ul {
        margin: 40px 0;
    }

    #banner3 ul li, #banner3 ul li#tratamiento8 {
        width: 46%;
        max-width: 200px;
    }

    #banner3 ul li img, #banner3 ul li#tratamiento8 img {
        max-width: 128px;
        width: 64%;
        margin-left: 18%;
    }

    #banner3 p {
        width: 85%;
        font-size: 17px;
        text-align: center;
    }

    #banner5 h2 {
        width: 80%;
    }

    #banner5 p {
        width: 80%;
    }

    #banner6 p {
        width: 80%;
        font-size: 17px;
    }

    #banner7 {
        /*background: url('img/img-contacto-mob.jpg') top;*/
        background-size: 100% auto !important;
        height: 300px;
    }

    #banner7 h1 {
        padding-top: 140px;
    }

    #tratamientos {
        padding-top: 100px;
    }
    

    #tratamientos input[type="button"]{
        width: 20px;
        margin-top: 50px;
    }

    #tratamientos_der {
        float: right;
    }

    #tratamientos ul {
        padding: 0 5px;
        margin: 10px 0px 5px;
    }

    #tratamientos ul li {
        width: 105px;
        height: 105px;
        padding: 5px;
    }

    #tratamientos ul li img {
        width: 60px;
        margin-left: 22px;
    }

    #tratamientos ul li a {
        font-size: 11px;
    }

    #tratamientos div {
        overflow: hidden;
        height: 140px;
    }

    #tratamientos div#tratamientos_scroll {
        width: 80%;
        overflow-x: scroll;
        height: 160px;
    }

    #tratamiento h1 {
        font-size: 28px;
    }

    #tratamiento div {
        padding: 0 0 80px 0;
        width: 80%;
    }

    #tratamiento p {
        text-align: left;
    }

    #tratamiento .icono {
        display: none;
    }

    #tratamiento img {
        max-width: 100%;
    }

    form table {
        margin-left: 0px;
        margin-top: 0px;
        width:100%;
    }

    form input[type="text"],form input[type="text"], form textarea, form select { 
        width: 90%;
    }

    form input.dia, form input.anio {
        width: 22%;
    }

    form input.mes {
        width: 43%;
    }
    

    #footer {
        text-align: center;
    }

    #footer #facebook {
        display: none;
    }

    #footer .columna {
        width: 100%;
        max-width: 360px;
        margin: 25px 0;
        text-align: center;
    }

    #footer .columna p {
        text-align: center;
    }

}

@media (max-width: 800px) {
    #banner7 {
        background-position-x: -100px;
        background-size: auto 120% !important;
    }
    #tratamiento div.carillas-intro {
        width: 100%;
        height: 340px; 
        background-size: auto 100%;
        left: 0;
        padding: 0;
        margin-left: 0;
    }

    #tratamiento .carillas-intro div.slogan {
        font-size: 28px;
        position: initial;
        padding-top: 30px;
        margin-left: 13px;
        line-height: 28px;
        text-align: center;
        width: 55%;
    }

    .carillas-intro .texto {
        width: 50%;
        margin-left: 23px;
        margin-top: 25px;
        position: initial;
    }
    .mobile_break {
        display: inline;
    }
}

@media (max-width: 640px) {
    #banner4 {
        background-position-x: 70% !important;
    }
    #header #logo {
        white-space: nowrap;
    }
   
}

@media (max-width: 450px) {
    #header #logo h1 {
        font-size: 16px;
        white-space: initial;
        width: 50%;
        margin-top: 12px;
    }
}

@media (max-width: 430px) {
    
    .banner div {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 320px) {
    #header #logo h1 {
        width: 45%;
        margin-top: 8px;
    }
}