/*
Theme Name: ClínicaVN
Theme URI: https://cremastudio.com/
Author: CREMA™
Author URI: https://cremastudio.com/
Description: Wordpress boilerplate template used by CREMA™ for custom-coded websites
Version: 20240605
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: clinicavn

ClínicaVN WordPress Theme © 2013-2024 CREMA™
ClínicaVN is distributed under the terms of the GNU GPL
*/

/* CSS Reset */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth;box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{line-height:1}a{text-decoration-skip-ink:auto}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before,q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{-webkit-tap-highlight-color:transparent}.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute!important}

/* Document colours:
-----------------------------
    Black:          #000
    White:          #FFF
    Teal Green:     #004B51
    Light Salmon:   #FFC4B9
    Dark Salmon:    #FAA89B
    Gray:           #919191
*/

/* Webfonts */

@font-face {
    font-family: 'isidora';
    src: url('fonts/isidorasans-boldit-webfont.woff2') format('woff2'),
         url('fonts/isidorasans-boldit-webfont.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'isidora';
    src: url('fonts/isidorasans-medium-webfont.woff2') format('woff2'),
         url('fonts/isidorasans-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'isidora';
    src: url('fonts/isidorasans-regular-webfont.woff2') format('woff2'),
         url('fonts/isidorasans-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'isidora';
    src: url('fonts/isidorasans-semibold-webfont.woff2') format('woff2'),
         url('fonts/isidorasans-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* General */

body {
    font-family: 'isidora', Arial, Helvetica, sans-serif;
    background-color: #000;
    color: #FFF;
    max-width: 100vw;
}
#wrapper {
    width: 100%;
    overflow-x: hidden;
}
.bg {
    width: 100%;
}
.container {
    width: 86%;
    margin: 0 auto;
    max-width: 1640px;
}
.slogan {
    font-size: 4.5em;
    line-height: 1.513888em;
    letter-spacing: 0;
    font-weight: 700;
    font-style: italic;
}
.large {
    font-size: 1.5em;
    line-height: 1.5em;
    letter-spacing: 1.824px;
}
.caps {
    font-weight: 500;
    font-size: .875em;
    line-height: 1.5em;
    letter-spacing: 2.52px;
    text-transform: uppercase;
    display: block;
}
.upp {
    text-transform: uppercase;
}
.title {
    font-weight: 700;
    font-style: italic;
    font-size: 3em;
    line-height: 1.125em;
    letter-spacing: .72px;
    display: block;
    margin: 16px 0;
}
p:not(:last-child) {
    margin-bottom: 1em;
}
h3 {
    font-weight: 600;
    font-size: 1.875em;
    line-height: 1em;
    letter-spacing: .9px;
    margin: 0 0 8px;
}
::selection {
    background-color: rgba(0,75,81,.8);
    color: #FFF;
}
::-moz-selection {
    background-color: rgba(0,75,81,.8);
    color: #FFF;
}


/* Header */

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    width: 100%;
    height: 205px;
    padding: 60px 0 0;
    pointer-events: none;
    -webkit-transition: all .5s;
    transition: all .5s;
    background: transparent;
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
#header.sticky {
    position: fixed;
    padding: 20px 0 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}
#header > .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: stretch;
    align-items: flex-end;
    pointer-events: all;
}
#header > .container > nav {
    flex: 1;
    padding: 0 0 2px;
}
#logo {
    max-width: 566px;
    width: 34.51%;
    margin: 0 7% 0 0;
}
#logo img {
    width: 100%;
    height: auto;
}
#menu ul {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    width: 100%;
}
#menu ul li {
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 1.064px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
#menu ul li+li {
    margin-left: 7%;
}
#menu ul li a {
    color: inherit;
    text-decoration: none;
}
#menu ul li::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 100%;
    width: 100%;
    height: 1px;
    background: #FFF;
    -webkit-transition: all .5s;
    transition: all .5s;
}
#menu ul li:hover::after {
    right: 0;
    background: #004B51;
    -webkit-transition: all .2s;
    transition: all .2s;
}
#menu .cta, #menu .cta:hover {
    white-space: nowrap;
    max-width: unset;
    padding: 0 10px;
    margin-right: 0;
    margin-bottom: 0;
}
#menu .cta + .cta {
    margin-left: 15px;
}
#menu ul li.cta::after {
    display: none;
}
#menu .cta:hover, #menu .cta:focus {
    border-color: #004B51;
}

/* Content */

section {
    position: relative;
}
.bg {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
}
.bg img {
    width: 100%;
    height: auto;
}
.bg+* {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    width: 100%
}
.full-height {
    height: 100vh;
    padding: 7% 0;
}
.bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}
.right {
    align-items: flex-end;
}
.bg::before, .bg::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.37);
}
.bg::after {
    z-index: 2;
    top: unset;
    height: 53.31%;
    background: #000;
    background: rgba(0,0,0,.37);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.cta {
    border: 1px solid #FFF;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    text-align: left;
    font-size: .875em;
    line-height: 1.2em;
    letter-spacing: 2.52px;
    padding: 16px;
    margin: 0 auto 0 0;
    width: auto;
    max-width: 260px;
    display: inline-flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: center;
    -webkit-transition: all .8s;
    transition: all .8s;
}
html[lang^=en] .cta {
    max-width: 300px;
}
.cta:not(:last-child) {
    margin-bottom: 30px;
}
html[lang] .cta:hover {
    max-width: 100%;
}
.cta:focus, .cta:active {
    border-color: #FFC4B9;
    border-radius: 0;
    outline: 0;
    max-width: 100%;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.cta img {
    margin: -4px 10px -4px 0;
}
.cta span:not(:last-child) {
    margin: auto 14px auto 0;
    white-space: nowrap;
}
.cta span:last-child {
    min-width: 48px;
    min-height: 16px;
    background: url(img/arrow-tip-right.svg) no-repeat right center transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.cta:hover span:last-child {
    min-width: 90px;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.cta span:last-child::after {
    content: "";
    height: 1px;
    width: 100%;
    background: #FFF;
}
#intro {
    min-height: 100vh;
}
#intro .cta {
    border-color: #FFC4B9;
    color: #FFC4B9;
}
#intro .cta span:last-child {
    background-image: url(img/arrow-tip-right-pink.svg);
}
#intro .cta span:last-child::after {
    background: #FFC4B9;
}
#intro .cta:focus, #intro .cta:active {
    border-color: #FFF;
    color: #FFF;
}
#presentation {
    background: #000;
}
.odd-even > .row, #contacto .row {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: flex-start;
    text-align: left;
}
.odd-even .row+.row {
    margin-top: 12vw;
}
.odd-even > .row:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}
.odd-even > .row:nth-child(odd) .text-block {
    margin: 0 auto auto 16px;
}
.odd-even > .row:nth-child(even) .text-block {
    margin: 0 16px auto auto;
}
.img-block {
    max-width: 57.926829%;
}
.img-block img {
    width: 100%;
    height: auto;
    display: block;
}
.text-block {
    max-width: 532px;
}
.text-block p, .text-block ul {
    font-size: 1.125em;
    line-height: 1.666667em;
    letter-spacing: 0.54px;
}
.text-block p+ul {
    margin-top: -1em;
}
.text-block ul:not(:last-child) {
    margin-bottom: 1em;
}
.text-block ul {
    list-style-type: disc;
    padding: 0 0 0 2em;
}
#proceso .text-block ul {
    list-style-type: none;
    padding-left: 0;
}
.text-block *+h3 {
    margin-top: 1em;
}
#equipo {
    margin-bottom: 7%;
}
#equipo .bg img {
    opacity: .27;
}
#equipo .bg::before {
    background: rgba(0,0,0,.73);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    height: 12vw;
    bottom: unset;
}
#equipo .bottom {
    height: 100%;
    margin-top: 7%;
}
.equipo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.equipo li {
    text-align: left;
    width: 220px;
    max-width: calc((100% - 96px) / 7);
} 
.equipo img {
    display: block;
    margin: 0 0 10px;
    width: 100%;
    height: auto;
}
.name {
    display: block;
    font-weight: 500;
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 2.52px;
    text-transform: uppercase;
}
.position {
    display: block;
    font-weight: 400;
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 1.064px;
}
.teal {
    background: #004B51;
}
#casos {
    padding: 200px 0;
    position: relative;
}
section.teal::before, section.teal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 12vw;
    z-index: 1;
    background: rgba(0,0,0,.73);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
section.teal::after {
    top: unset;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
section.teal > * {
    position: relative;
    z-index: 2;
}
#casos .img-block {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
}
#casos .img-block figure {
    width: 50%;
    position: relative;
}
#casos .img-block figure>img {
    aspect-ratio: 404/514;
    height: 100%;
    object-fit: cover;
}
#casos .img-block figure figcaption {
    text-align: center;
    width: 100%;
    position: absolute;
    top: calc(100% + 10px);
    color: #FFF;
    font-weight: 500;
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 2.52px;
}
#casos .casos, #casos .slick-list {
    overflow: visible;
}
#casos .img-block figure.full {
    width: 100%;
}
#casos .img-block figure.full li>img {
    aspect-ratio: 812/514;
    height: 100%;
    object-fit: cover;
}
#casos .img-block figure.full figcaption {
    text-align: right;
    color: #699599;
    width: calc(100% - 135px);
    left: 0;
    right: 135px;
}
#casos .text-block {
    margin-top: auto;
    margin-bottom: 0;
}
.casos-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 105px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
    font-weight: 500;
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 2.52px;
}
.casos-prev, .casos-next {
    cursor: pointer;
    background: none;
    appearance: none;
    border: 0;
    outline: 0;
    padding: 0;
}
.casos-prev img {
    transform: rotate(180deg);
}
.center {
    text-align: center;
}
#tratamientos {
    padding: 5% 0 10%;
}
ul.tratamientos {
    list-style-type: none;
    display: block;
    text-align: left;
    margin: 55px 0;
}
ul.tratamientos li {
    background: #004B5180;
    border-radius: 9px;
    width: 398px;
    height: 465px;
    padding: 37px 16px 30px;
    margin: 0 16px 16px 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
ul.tratamientos li figure {
    height: 68px;
    width: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 27px 0;
}
ul.tratamientos li img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
ul.tratamientos li [itemprop=name] {
    font-weight: 600;
    font-size: 1.5em;
    line-height: 1.25em;
    letter-spacing: .72px;
    margin: 0 0 12px;
}
ul.tratamientos li [itemprop="description"] {
    font-weight: 400;
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 1.064px;
    margin: 0;
}
ul.tratamientos li .cta {
    border: 0;
    padding: 0;
    margin: 27px auto 0 0;
}
ul.tratamientos .slick-slide {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
ul.tratamientos.slick-slider li {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 100%;
}
ul.tratamientos::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: -1px;
    bottom: 0;
    height: 100%;
    width: 260px;
    max-width: 15%;
    background: linear-gradient(-90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.conclusion {
    font-weight: 400;
    font-size: 1.125em;
    line-height: 1.666667em;
    letter-spacing: .54px;
    max-width: 48em;
    margin-left: auto;
    margin-right: auto;
}
#detalles {
    padding: 7% 0;
}
#detalles .container {
    margin-right: 0;
    max-width: calc(1640px + 7%);
}
#detalles .container .text-block {
    max-width: calc(674px - 7%);
}
#detalles .container .img-block {
    max-width: 64.926829%;
}
.odd-even > .row:nth-child(odd) .text-block:first-child {
    margin: 0 16px auto auto;
    text-align: right;
}
#proceso {
    padding: 0 0 calc(65vh + 18em);
}
#proceso .bg::before {
    display: none;
}
#proceso > .center {
    margin-top: 50%;
}
#proceso .row {
    align-items: stretch;
}
#proceso .text-block {
    min-width: 30em;
}
#proceso .title {
    margin-bottom: 55px;
}
.process-text-slider {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    width: 100%;
}
.process-text-slider li {
    padding: 0 16px 0 0;
    color: #3D3D3D;
    border-right: 5px solid #004B5100;
    cursor: pointer;
    -webkit-transition: all .8s;
    transition: all .8s;
}
.process-text-slider li+li {
    margin-top: 27px;
}
.process-text-slider li.active {
    color: #FFF;
    border-right: 5px solid #FFC4B9;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.process-text-slider li * {
    color: inherit;
}
.process-text-slider li p {
    font-weight: 400;
    font-size: 1.125em;
    line-height: 1.666667em;
    letter-spacing: .54px;
}
.process-text-slider li p.step {
    font-weight: 600;
    font-size: 1.875em;
    line-height: 1em;
    letter-spacing: .9px;
    margin: 0 0 8px;
}
html .slick-dots li {
    margin: 0;
    width: 18px;
    height: 18px;
}
html .slick-dots li button {
    width: 18px;
    height: 18px;
}
html .slick-dots li button:before {
    content: "";
    background: #FFF;
    position: static;
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 9px;
    opacity: .4;
}
html .slick-dots li.slick-active button:before {
    color: #FFF;
    opacity: .75;
}
html .slick-dots li button:hover:before, html .slick-dots li button:focus:before {
    opacity: 1 !important;
}
.odd-even > .row:nth-child(odd) .slick-dots {
    text-align: right;
    margin-right: -4px;
}
.odd-even > .row:nth-child(even) .slick-dots {
    text-align: left;
    margin-left: -4px;
}
#contacto {
    padding: 10% 0;
}
#contacto .container {
    max-width: 1080px;
}
#contacto .title {
    margin-bottom: 75px;
}
#contacto .cta {
    margin-bottom: 0;
    min-width: 260px;
}
.contact-details {
    width: 400px;
    max-width: 100%;
    margin: 0 auto 0 0;
}
.contact-form {
    width: calc(50% - 8px);
    margin: 0 0 0 16px;
}
.contact-header {
    display: block;
    font-weight: 400;
    font-size: .875em;
    line-height: 2.142857em;
    letter-spacing: 1.064px;
    padding: 0;
    border-bottom: 1px solid #FFF;
    margin: 0 0 31px;
}
.contact-header:not(:first-child) {
    margin-top: 55px;
}
input, select, textarea {
    -webkit-appearance: none;
    appearance: none;
    padding: 13px 0 13px 16px; 
    width: 100%;
    display: block;
    border: 0;
    outline: 0;
    box-shadow: none;
    color: #FFF;
    background: #015C63;
    font-family: 'isidora', Arial, Helvetica, sans-serif;
    font-size: .875em;
    font-weight: 500;
    line-height: 1.714285em;
    letter-spacing: 2.52px;
}
input:not(:last-child), select:not(:last-child), textarea:not(:last-child) {
    margin-bottom: 31px;
}
input[type=submit] {
    margin-top: 15px;
    padding-right: 160px;
    white-space: nowrap;
    background: url(img/arrow-submit.svg) no-repeat transparent;
    background-size: auto 17px;
    background-position: right 16px center;
    position: relative;
    cursor: pointer;
    -webkit-transition: all 2s;
    transition: all 2s;
}
input[type=submit]:hover {
    padding-right: 202px;
    -webkit-transition: all .2s;
    transition: all .2s;
}
textarea {
    height: 122px;
}
::placeholder {
    text-transform: uppercase;
    color: #FFFA;
}
.wpcf7-not-valid-tip {
    background: #dc3232;
    color: #FFF;
    padding: .25em 1em;
    position: absolute;
    width: 100%;
    top: 100%;
}
.legal {
    font-size: .875em;
    line-height: 1.4em;
    color: #FFF6;
}
.legal a {
    color: inherit;
}
#brands {
    padding: 5% 0;
}
ul.brands {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 55px 0;
}
ul.brands li {
    margin: 0 2%;
    max-width: 10%;
}
ul.brands li:first-child {
    margin-left: 0;
}
ul.brands li:last-child {
    margin-right: 0;
}
ul.brands li img {
    opacity: .35;
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
}
.aparece {
    opacity: 0;
    transition: all .2s ease-in-out;
}
.aparece.onscreen {
    opacity: 1;
    transition: all 1s ease-in-out;
}
.row .img-block .aparece {
    transform: translateX(-50px);
}
.row .img-block  .aparece.onscreen {
    transform: translateX(0);
}
.row .text-block .aparece {
    transform: translateX(50px);
}
.row .text-block .aparece.onscreen {
    transform: translateX(0);
}

/* Masonry-style gallery */

#gallery {
    background: #000;
    padding: 7vw 0;
}
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 16px;
    column-gap: .975609%;
    row-gap: 2.919708%;
    grid-auto-flow: dense;
    margin: auto;
    -webkit-transition: all .5s;
    transition: all .5s;
}
.masonry-gallery div {
    width: 100%;
    height: 100%;
    aspect-ratio: 260/172;
    overflow: hidden;
}
.masonry-gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 260/172;
    object-fit: cover;
    overflow: hidden;
    -webkit-transition: all 2s;
    transition: all 2s;
}
.masonry-gallery .tall {
    grid-row: span 2;
    aspect-ratio: 260/360;
    object-fit: cover;
}
.masonry-gallery img:hover {
    transform: scale(1.2);
    -webkit-transition: all .2s;
    transition: all .2s;
}
@media (max-width: 960px) {
    .masonry-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 6px;
        column-gap: 6px;
        row-gap: 6px;
    }
}

/* Forms */

.grecaptcha-badge { 
    visibility: hidden !important;
}

/* Footer */

#testimonials {
    display: block;
    padding: 20px 0 12px;
    background: #FFF;
}
#customMap {
    position: relative;
    display: block;
    width: 100%;
    height: 518px;
    background: #CCC;
    border-top: 4px solid #000;
}
#customMap::after {
    content: "";
    width: 100%;
    height: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background: transparent;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
#footerContent {
    padding: 138px 0 90px;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: flex-start;
}
#footerContent .left {
    padding: 0 70px 0 0;
    text-align: right;
}
#footerContent .main {
    width: calc(100% - 260px);
    padding: 11px 0 0;
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 1.064px;
    color: #FFF;
}
#footerContent .right {
    width: 130px;
}
#footerContent .menu {
    text-transform: uppercase;
}
#footerContent a {
    color: inherit;
    text-decoration: underline;
}
#footerContent a:hover, #footerContent a:focus {
    color: #FFC4B9;
}
#footerContent .menu .cta {
    display: none;
}
#footerContent .footerLegal .menu {
    text-transform: none;
    margin: 1em 0 .5em;
}
#footerContent .footerLegal .menu li {
    display: inline-block;
}
#footerContent .footerLegal .menu li+li {
    margin-left: 1.5em;
}
.cols_x4, .cols_x5 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    margin: 61px 0 0
}
.cols_x4 > * {
    width: calc(25% - 30.06px);
}
.cols_x5 > * {
    width: calc(20% - 24.8px);
}
.cols_x4 span, .cols_x5 span, .main span {
    display: block;
    white-space: nowrap;
}
.cols_x4 img, .cols_x5 img {
    vertical-align: middle;
}
.footerLegal {
    font-size: .625em;
    line-height: 1.8em;
    letter-spacing: .76px;
}
#credits {
    font-size: .625em;
    line-height: 1.8em;
    letter-spacing: .76px;
    color: #919191;
    opacity: .93;
    margin: 7vw 0 0;
}
.mobile_only {
    display: none !important;
}

/* Other pages */

.post-type-archive-tratamientos ul.tratamientos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}
.post-type-archive-tratamientos ul.tratamientos li {
    width: calc(25% - 12px);
    height: auto;
    margin: 0 0 16px 16px;
}
.post-type-archive-tratamientos ul.tratamientos li:nth-child(4n+1) {
    margin-left: 0;
}
.post-type-archive-tratamientos ul.tratamientos::after {
    display: none;
}
.single-tratamientos #intro {
    min-height: 100vh;
}
#sub_tratamientos {
    padding: 0 0 7%;
}
.single-tratamientos #proceso {
    padding: 0;
}
.single-tratamientos #proceso .bg::before {
    display: block;
    top: -1px;
    bottom: unset;
    height: 12vw;
    z-index: 1;
    background: rgba(0, 0, 0, .73);
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}
.single-tratamientos #proceso .bg+* {
    position: relative;
    margin-top: -10em;
}
.single-tratamientos #proceso .cta {
    margin: 40px auto 0 0;
}
#dudas_frecuentes {
    padding: 7% 0;
}
#dudas_frecuentes .container {
    max-width: 1364px;
}
.faqs {
    text-align: left;
    margin: 0 auto;
}
.faq {
    width: 50%;
    margin-bottom: 40px;
}
.faq:nth-child(2n+1) {
    float: left;
    padding: 0 16px 0 0;
}
.faq:nth-child(2n) {
    float: right;
    padding: 0 0 0 16px;
}
.faq [itemprop=name] {
    font-weight: 600;
    font-size: 1.5em;
    line-height: 1.25em;
    letter-spacing: .72px;
    margin: 0 0 1em;
}
.faq [itemprop=text] {
    font-size: .875em;
    line-height: 1.714285em;
    letter-spacing: 1.064px;
}

/* Media-queries */

@media screen and (max-width: 1650px) {
    #header > .container > nav {
        padding: 0;
    }
    #menu ul li+li {
        margin-left: calc(5px + 1.5vw);
    }
    #footerContent .main {
        width: calc(100% - 130px)
    }
    #footerContent .right {
        display: none;
    }
}

@media screen and (max-width: 1280px) {
    #menu ul li {
        font-size: .75em;
    }
    .process-text-slider {
        font-size: .8em;
    }
    .post-type-archive-tratamientos ul.tratamientos li {
        width: calc(33.333333% - 10.666667px);
    }
    .post-type-archive-tratamientos ul.tratamientos li:nth-child(4n+1) {
        margin-left: 16px;
    }
    .post-type-archive-tratamientos ul.tratamientos li:nth-child(3n+1) {
        margin-left: 0;
    }
    #footer .container {
        width: calc(100% - 80px);
    }
    #footerContent .main {
        width: calc(100% - 87px)
    }
    #footerContent .left {
        padding: 0 27px 0 0;
    }
}

@media screen and (max-width: 1023px) {
    #header > .container {
        align-items: baseline;
    }#menu ul li {
        font-size: 1.2vw;
    }
    .cols_x4 {
        flex-wrap: wrap;
    }
    .cols_x4 > * {
        width: calc(50% - 49.6px);
        margin-bottom: 27px;
    }
}

@media screen and (max-width: 768px) {
    .mobile_only {
        display: block !important;
    }
    .container, #footer .container {
        width: calc(100% - 26px);
    }
    #header, #header.sticky {
        position: fixed;
        padding: 13px;
        max-width: 100vw;
        height: 87px;
    }
    #header > .container {
        justify-content: space-between;
        margin: 0;
        width: 100%;
    }
    #logo {
        width: calc(100% - 68px);
    }
    .burger-menu {
        cursor: pointer;
    }
    .burger-menu img {
        display: block;
    }
    .close-menu {
        cursor: pointer;
        position: absolute;
        top: 16px;
        right: 16px;
    }
    #menu {
        position: fixed;
        top: 0;
        left: 100%;
        bottom: 0;
        width: 100%;
        background: #000E;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        -webkit-transition: all .8s;
        transition: all .8s;
    }
    #menu.open {
        left: 0;
        -webkit-transition: all .2s;
        transition: all .2s;
    }
    #menu ul.menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    #menu ul li, #menu ul li.cta {
        font-size: .875em;
        text-align: center;
        width: 100%;
    }
    #menu ul li+li, #menu .cta+.cta, #menu ul li.cta {
        margin: 1em auto 0;
        text-align: center;
    }
    #menu ul li::after {
        display: none;
    }
    #menu ul li a {
        display: block;
        width: 100%;
        margin: auto;
    }
    #intro .bg::before {
        display: none;
    }
    #intro .bg::after {
        height: 151px;
    }
    .bg+* {
        position: relative;
        padding: 0 13px 59px;
        margin-top: -8em;
    }
    .full-height {
        height: auto;
    }
    #intro .container {
        width: 100%;
    }
    #intro .title {
        font-size: 11.5vw;
        line-height: 1.181818em;
        letter-spacing: .66px;
    }
    .large {
        font-size: 5.333333vw;
        line-height: 1.4em;
        letter-spacing: .72px;
    }
    .odd-even > .row, .odd-even > .row:nth-child(even), #contacto .row {
        flex-direction: column;
        text-align: left;
    }
    .img-block, .text-block {
        max-width: unset;
        width: 100%;
        margin: 0 !important;
    }
    .img-block:last-child, .text-block:last-child {
        margin: 16px 0 0 0 !important;
    }
    #casos .text-block {
        margin-top: 77px !important;
    }
    .text-block p, .text-block ul {
        font-weight: 500;
        font-size: .875em;
        line-height: 1.571428em;
        letter-spacing: .868px;
    }
    .caps {
        font-size: .75em;
        line-height: 1.5em;
        letter-spacing: 2.16px;
    }
    .title {
        text-align: left;
        font-size: 1.875em;
        line-height: 1.2em;
        letter-spacing: .45px;
        margin: 9px 0 13px;
    }
    .contact-details, .contact-form {
        width: 100%;
        margin: 0 0 16px;
    }
    .cta {
        max-width: 100%;
        width: 100%;
        font-size: .75em;
        letter-spacing: 2.16px;
    }
    .row .text-block .cta span:last-child, #intro .cta span:last-child, #contacto .cta span:last-child {
        flex: 1;
    }
    #equipo {
        margin-bottom: -5em;
    }
    #equipo .bg img {
        opacity: 1;
    }
    #equipo .bottom {
        margin-top: -10em;
        padding-bottom: 0;
    }
    #equipo .container {
        width: 100%;
    }
    #equipo .caps, #equipo .title {
        display: none;
    }
    .equipo {
        flex-wrap: wrap;
    }
    .equipo li {
        width: calc(50% - 3px);
        max-width: unset;
        margin-bottom: 23px;
    }
    .name {
        font-size: .75em;
        font-size: 3.05vw;
        line-height: 1.5em;
        letter-spacing: 2.16px;
    }
    .position {
        font-size: 3.05vw;
        line-height: 1.5em;
        letter-spacing: .912px;
    }
    section.teal::before {
        height: 250px;
        top: -1px;
    }
    section.teal::after {
        height: 250px;
        bottom: -1px;
    }
    #casos {
        padding: 150px 0 120px;
    }
    #casos .img-block figure figcaption {
        top: unset;
        bottom: 5px;
        font-size: .75em;
    }
    #casos .img-block figure.full figcaption {
        top: calc(100% + 5px);
        bottom: unset;
        font-weight: 500;
        font-size: .75em;
        line-height: 1.5em;
        text-align: left;
    }
    #tratamientos {
        padding: 0 0 10%;
    }
    #tratamientos .center {
        text-align: left;
    }
    #tratamientos .container {
        display: flex;
        flex-direction: column;
    }
    #tratamientos .caps {
        order: 1;
    }
    #tratamientos .title {
        order: 2;
    }
    #tratamientos .conclusion {
        order: 3;
        font-weight: 500;
        font-size: .875em;
        line-height: 1.571428em;
        letter-spacing: .868px;
    }
    #tratamientos .container > div {
        order: 4;
    }
    ul.tratamientos {
        margin: 25px 0 0;
    }
    ul.tratamientos li {
        padding: 30px 13px 25px;
        margin: 0 6px 0 0;
        display: flex;
    }
    ul.tratamientos li > div {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    ul.tratamientos li [itemprop=name] {
        margin: 0 0 8px;
    }
    ul.tratamientos li [itemprop="description"] {
        font-weight: 500;
        line-height: 1.571428em;
        letter-spacing: .868px;
        flex: 1;
        margin-bottom: auto;
    }
    ul.tratamientos li .cta {
        margin-top: auto;
    }
    #detalles {
        padding: 90px 0 120px;
    }
    #detalles .container {
        margin-right: auto;
    }
    #detalles .odd-even > .row {
        flex-direction: column-reverse;
    }
    #detalles .container .text-block {
        text-align: left;
        max-width: unset;
    }
    #detalles .container .img-block {
        max-width: unset;
        width: calc(100% + 13px);
        margin-right: -13px;
    }
    #proceso {
        padding: 0;
    }
    #proceso .bg img {
        opacity: .62;
    }
    #proceso > .center {
        margin-top: -40%;
        padding-bottom: 0;
    }
    #proceso .caps {
        text-align: left;
    }
    #proceso .title {
        margin-bottom: 25px;
    }
    #proceso .container {
        width: 100%;
    }
    #proceso img {
        width: 100%;
        height: auto;
        border-radius: 9px 9px 0 0;
    }
    #proceso .text-block {
        min-width: unset;
        background: #004B5180;
        padding: 13px;
        margin: 0 !important;
        flex: 1;
        min-height: 284px;
    }
    .process-text-slider {
        font-size: 1em;
    }
    .process-text-slider li {
        color: #FFF;
        padding: 0;
        margin: 0 6px 0 0;
        border-radius: 9px;
        overflow: hidden;
        min-height: 388px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .process-text-slider li+li {
        margin-top: 0;
    }
    .process-text-slider li p {
        font-size: .875em;
        line-height: 1.571428em;
        letter-spacing: .868px;
    }
    h3, .process-text-slider li p.step {
        font-size: 1.5em;
        line-height: 1.25em;
        letter-spacing: .72px;
    }
    #dudas_frecuentes {
        padding-top: 120px;
    }
    #dudas_frecuentes > .container {
        background: #EDEDED;
        color: #000;
        border-radius: 9px;
        padding: 27px 0 13px;
    }
    #dudas_frecuentes .caps, #dudas_frecuentes .title {
        text-align: left;
        padding: 0 13px;
    }
    .faqs {
        padding: 0;
    }
    .faq, .faq:nth-child(2n+1), .faq:nth-child(2n) {
        float: none;
        width: 100%;
        padding: 0;
        margin: 0;
        position: relative;
    }
    .faq::before {
        content: "";
        position: absolute;
        top: 0;
        left: 13px;
        right: 13px;
        height: 1px;
        background: #FFF;
    }
    .faq [itemprop=name] {
        font-size: 1.125em;
        line-height: 1.33333em;
        letter-spacing: .54px;
        font-weight: 700;
        cursor: pointer;
        padding: 16px 33px 16px 13px;
        margin: 0;
        background: url(img/arrow-toggle-closed.svg) no-repeat #EDEDED;
        background-position: top 24px right 16px;
        -webkit-transition: all .5s linear;
        transition: all .5s linear;
    }
    .faq [itemprop=name].active {
        background: url(img/arrow-toggle-open.svg) no-repeat #FFF;
        background-position: top 24px right 16px;
        -webkit-transition: all .2s linear;
        transition: all .2s linear;
    }
    .faq [itemprop=acceptedAnswer] {
        display: block;
        padding: 0 16px 0 13px;
        background-color: #FFF;
        overflow: hidden;
        max-height: 0;
        -webkit-transition: all .5s ease-out;
        transition: all .5s ease-out;
    }
    .faq [itemprop=acceptedAnswer].active {
        max-height: 999px;
        padding: 0 16px 16px 13px;
        -webkit-transition: all .2s ease-in;
        transition: all .2s ease-in;
    }
    .faq [itemprop=text] {
        font-weight: 500;
        line-height: 1.571428em;
    }
    #contacto {
        padding: 190px 0;
    }
    #contacto .title {
        margin: 0 0 30px;
    }
    .legal {
        font-size: .75em;
        color: #FFF9;
    }
    #brands .center {
        text-align: left;
    }
    #brands .center > .container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    #brands .caps {
        order: 1;
    }
    #brands .title {
        order: 2;
    }
    #brands .conclusion {
        order: 3;
        font-weight: 500;
        font-size: .875em;
        line-height: 1.571428em;
        letter-spacing: .868px;
    }
    #brands ul.brands {
        order: 4;
        flex-wrap: wrap;
    }
    ul.brands li {
        max-width: unset;
        flex-basis: 30%;
        text-align: center;
    }
    ul.brands li img {
        max-width: 102px;
        max-height: 40px;
    }
    ul.brands li:nth-child(3n+0) {
        margin-right: 0;
    }
    ul.brands li:nth-child(3n+1) {
        margin-left: 0;
    }
    ul.brands li:last-child {
        margin-right: auto;
    }
    #stickyFooter.mobile_only {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        display: flex !important;
        flex-direction: row;
        justify-content: stretch;
        align-items: stretch;
        width: 100%;
        height: 49px;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
    #stickyFooter .cta {
        background: #FFC4B9;
        border: 0;
        color: #000;
        font-size: .75em;
        line-height: 1.5em;
        letter-spacing: 2.16px;
        flex-basis: 50%;
        height: 100%;
        text-align: center;
        display: flex;
        flex: 1;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
    }
    #stickyFooter .cta+.cta {
        border-left: 1px solid #707070;
    }
    #footerContent {
        flex-direction: column;
        padding: 140px 13px 13px;
    }
    #footerContent img {
        max-width: 100%;
        height: auto;
    }
    #footerContent .main {
        width: 100%;
    }
    .cols_x4, .cols_x5 {
        flex-direction: column;
        margin: 31px 0 14px;
    }
    .cols_x4 > *, .cols_x5 > * {
        width: 100%;
        margin: 0 0 13px;
    }
    html .img-block .slider.slick-slider, html .tratamientos.slick-slider, html .process-img-slider.process-text-slider.slick-slider {
        width: calc(100% + 13px);
        margin-right: -13px;
    }
    html .img-block .slider.slick-slider .slick-list, html .tratamientos.slick-slider .slick-list, html .process-img-slider.process-text-slider.slick-slider .slick-list  {
        padding: 0 20% 0 0 !important;
    }
    html .img-block .slider.slick-slider .slick-slide,  html .tratamientos.slick-slider .slick-list {
        margin: 0 13px 0 0;
    }
    .aparece {
        transition: all .1s ease-in-out;
    }
    .aparece.onscreen {
        transition: all .4s ease-in-out;
    }
    .row .img-block .aparece {
        transform: translateX(50px);
    }
    .row .text-block .aparece {
        transform: translateX(50px);
    }
    .post-type-archive-tratamientos ul.tratamientos li, .post-type-archive-tratamientos ul.tratamientos li:nth-child(4n+1) {
        width: calc(50% - 3px);
        margin: 0 0 6px 6px;
    }
    .post-type-archive-tratamientos ul.tratamientos li:nth-child(3n+1) {
        margin-left: 6px;
    }
    .post-type-archive-tratamientos ul.tratamientos li:nth-child(2n+1) {
        margin-left: 0;
    }
}

@media screen and (max-width: 390px) {
    #stickyFooter .cta {
        flex: .9;
    }
    #stickyFooter .cta+.cta {
        flex: 1.1;
    }
    ul.tratamientos.slick-slider li {
        height: 482px;
    }
    .post-type-archive-tratamientos ul.tratamientos li, .post-type-archive-tratamientos ul.tratamientos li:nth-child(4n+1), .post-type-archive-tratamientos ul.tratamientos li:nth-child(3n+1), .post-type-archive-tratamientos ul.tratamientos li:nth-child(2n+1) {
        width: 100%;
        margin: 0 0 6px;
    }
}

@media screen and (max-width: 375px) {
    ul.tratamientos.slick-slider li {
        height: 495px;
    }
}