/*Mobile, portrait*/
html {
    box-sizing: border-box;
    /*background-color:#FABDC6;*/
    /*color: #f7f7f7;*/
}

body {
    background: #f8f8ff;
    font-family: 'Josefin Sans', sans-serif;
}

body *{
    box-sizing: border-box;
}

.menu {
    display: none;
}

.menu--show {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #A1E0D4;
    left: 0;
    position: fixed;
    top: 100px;
    padding: 1em 0;
    text-align: center;
}

.menu--show li {
    list-style: none;
}

.menu--show ul {
    padding: 0;
    margin: 0;
}

.menu--show a {
    color: #f7f7f7;
    font-size: 1.5rem;
}

.menu--show a:link {
    text-decoration: none;
}

.menu--show a:visited {
    text-decoration: none;
}

.menu--show a:hover {
    text-decoration: underline;
}

.menu--show a:active {
    text-decoration: underline;
}

.burger {
    display: inline-block;
    cursor: pointer;
    flex: 1;
    max-width: 80px;
}

#burger-nav-selected {
    /* text-decoration: underline double #f6d1de; */
    text-decoration-line: underline;
    text-decoration-thickness: initial;
    text-decoration-style: double;
    text-decoration-color: rgb(246, 209, 222);
}

#wide-menu-selected {
    text-decoration: underline double #f6d1de;
}

.wide-menu {
    display: none;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #f8f8ff;
    margin: 6px auto;
    transition: 0.4s;
}
.cabecera-mobile {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1em;
    height: 100px;
    top: 0;
    flex-direction: column;
    background-color: #A1E0D4;
    z-index: 10;
}

.cabecera-mobile--main {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1em;
    height: 100px;
    top: 0;
    flex-direction: column;
    background-color: #A1E0D4;
    z-index: 10;
}

.cabecera-visible {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80px;
    width: 100%;
    justify-content: space-between;
}

.title{
    color: #f8f8ff;
}

.title-container {
    flex: 3;
}

.main-container {
    margin-top: 100px;
}

.main-container--no-space-top {
    margin-top: 0;
}

/* footer */
.footer-container {
    padding: 1em;
    background-color: #A1E0D4;
    color: #f8f8ff;
    text-align: center;
}

.horario {

}

.horario ul {
    list-style: none;
    padding: 0;
}

.direccion {

}

.direccion ul {
    list-style: none;
    padding: 0;
}

.contacto {

}

.contacto ul {
    list-style: none;
    padding: 0;
}

.social-media-icon {
    width: 30px;
}

.social-media-icon-container {
    display: flex;
    /* justify-content: space-evenly; */
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1366px;
    margin: 0 auto 2rem;
}

.social-media-icon-container a {
    padding: 0.5rem;
    /* width: 160px; */
}

.social-media-icon-container img {
    margin: 0.5rem;
}

.social-media-icon-container a:link {
    text-decoration: none;
}

.social-media-icon-container a:visited {
    text-decoration: none;
    color: black;
}

.equipo-img, .tratamientos-img, .formaciones-img, .clinica-img, .contacto-img, .my-clinic-img {
    width: 100%;
}

.staff-img--vic-offset {
    object-position: 0px -40px;
}

.staff-img--ola-offset {
    object-position: 0px -30px;
}

.staff-img--general-offset {
    object-position: 0px -60px;
}

.staff-img--terciary-offset {
    object-position: 0px -60px;
}

.hero-img-container {
    width: 100%;
    background-image: url(../images/Maren.jpg);
    /*height: calc(100vh - 100px);*/
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-text-container {
    text-align: center;
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    padding: 1rem;
    width: 70%;
    background: rgba(1, 1, 1, .4);
}

.hero-text {
    text-align: center;
    font-size: 1.5rem;
    color: #f8f8ff;
}

.sec-text {
    padding: 1rem
}

.sec-title {
    text-align: center;
    text-decoration: underline double #f6d1de;
    font-size: 1.5rem;
}

.sec-title-link:visited{
    color: black;
}

.sec-title-link:link{
    color: black;
}

.sec-title-link:active{
    color: #f6d1de;
    /*color: blue;*/
}

.staff-desc {
    text-align: center;
}

.staff-desc.staff-desc--main {
    text-align: justify;
}

.staff-img {
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.staff-container {
    padding: 0.5rem;
}

.staff-separator {
    opacity: 0.2;
    width: 80%;
}

.staff-img-container {
    display: flex;
    justify-content: center;
    width: 95vw;
    height: 95vw;
    max-width: 370px;
    max-height: 370px;
    margin: 0 auto;
}

.my-clinic-sec {
    /* margin-top: 1rem; */
}

.my-clinic-top-spc {
    padding-top: 1rem;
}

.contact-detail-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.25rem;
    width: 335px;
}

.contact-detail-icon {
    width: 50%;
}

.contact-detail-text-block {
    list-style: none;
    padding: 0;
}

.contact-detail-text-row {

}

.contact-details-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.contact-spacing {
    padding-top: 1rem;
}

.map-iframe {
    width: 100%;
}

.contact-spacing-social {
    margin-bottom: 2rem;
}

.treatments-spacing {
    padding-top: 1rem;
}

.logo-img{
    width: 100%;
    height: 80px;
}

/* Overriding the position of the arrows provided by Glide */
.glide__arrow--left {
    left: 0.75em;
}

.glide__arrow--right {
    right: 0.75em;
}

.extra-top-separation {
    margin-top: 2rem;
}

.treatment-sec .sec-text {
    text-align: justify;
}

.my-clinic-p-container .sec-text {
    text-align: justify;
}

.treatment__button-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    margin: 0 0 1rem;
}

.treatment__back-button {
    border-radius: 5px;
    border: none;
    background-color: #f6d1de;
    padding: 0.5rem;
    color: white;
    text-decoration: underline double #f6d1de;
}

.my-clinic-sec a:link{
    text-decoration: none;
}

.social-media-icon-container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.four-block-sec a:link{
    text-decoration: none;
}

#scroll-to-top-btn {
    position: fixed;
    bottom: 0px;
    right: 10px;
    width: 50px;
    z-index: 3;
}

.scroll-to-top-btn--hide {
    display: none;
}

.scroll-to-top-btn__img {
    width: 100%;
}

/*Mobile, landscape*/
/*#f6d1de, b0f6f6*/
@media only screen and (min-width: 568px) {
    .sec-text {
        font-size: 1.25rem;
    }
    .staff-desc {
        font-size: 1.25rem;
    }
    .equipo-sec {
        padding: 2rem;
    }
    .tratamientos-sec {
        padding: 2rem;
    }
    .clinica-sec {
        padding: 2rem;
    }
    .formaciones-sec {
        padding: 2rem;
    }
    .contacto-sec {
        padding: 2rem;
    }

    .staff-container {
        padding: 2rem;
    }
    .my-clinic-sec {
        padding: 0 2rem;
    }
    .the-clinic-sec {
        padding: 0 2rem;
    }
    .treatment-sec {
        padding: 0 2rem;
    }
    .img-carousel {
        padding: 2rem;
    }
    .map-iframe {
        padding: 2rem;
    }
    .treatment__back-button {
        font-size: 1.25rem;
    }
    .contact-details-container {
        margin: 1rem 0;
    }
}
/*Tablet, portrait*/
@media only screen and (min-width: 768px) {
    .footer-container {
        display: flex;
        flex-flow: wrap;
        justify-content: space-evenly;
    }

    .burger-nav-ul {
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }
    .equipo-sec {
        padding: 2rem 5rem 0;
    }
    .tratamientos-sec {
        padding: 2rem 5rem 0;
    }
    .clinica-sec {
        padding: 2rem 5rem 0;
    }
    .formaciones-sec {
        padding: 2rem 5rem 0;
    }
    .contacto-sec {
        padding: 2rem 5rem 0;
    }

    .staff-container {
        padding: 2rem 5rem 0;
    }
    .my-clinic-sec {
        padding: 2rem 5rem 0;
    }
    .the-clinic-sec {
        padding: 0 5rem 0;
        max-width: 900px;
        margin: auto;
    }
    .treatment-sec {
        padding: 2rem 5rem 0;
    }
    .img-carousel {
        padding: 2rem 5rem 2rem;
    }

    .sec-title {
        font-size: 2rem;
    }
    .map-iframe {
        padding: 2rem 5rem 0;
    }
    .my-clinic-p-container .sec-text {
        padding: 0;
    }
}
/*Tablet, landscape*/
@media only screen and (min-width: 1024px) {
    .hero-text-container {
        left: 75%;
        top: 80%;
        width: 30%;
    }

    .burger {
        display: none;
    }

    #burger-nav {
        display: none;
    }

    .wide-menu {
        display: flex;
        flex: 2;
        flex-direction: column;
        max-width: 800px;
    }

    .wide-menu a {
        color: #f7f7f7;
        font-size: 1.25rem;
    }

    .wide-menu a:link {
        text-decoration: none;
    }

    .wide-menu a:visited {
        text-decoration: none;
    }

    .wide-menu-ul {
        display: flex;
        list-style: none;
        justify-content: space-evenly;
        padding: 0;
    }

    .title-container {
        flex: 2;
    }

    .flex-container {
        display: flex;
        margin-top: 3rem;
    }

    .sec-img-container {
        flex: 2;
    }

    .sec-text {
        flex: 1;
        text-align: center;
        padding: 2rem;
    }

    .contacto-sec {
        margin-bottom: 2rem;
    }

    .reverse-order {
        flex-direction: row-reverse;
    }

    .img-carousel {
        padding: 2rem 12rem 2rem;
    }

    .img-carousel > div {
        max-width: 800px;
        margin: auto;
    }

    .map-iframe {
        max-width: 1000px;
    }

    .map-container {
        display: flex;
        justify-content: center;
    }

    .treatment-sec {
        max-width: 800px;
        margin: 0 auto 2rem;
    }

    .treatment-sec .sec-text {
        padding: 0;
        text-align: justify;
    }

    .my-clinic-sec {
        max-width: 450px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .my-clinic-sec .sec-text {
        margin: 1rem 0;
        padding: 0;
    }

    .treatments-layout {
        display: flex;
        flex-wrap: wrap;
        max-width: 1366px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-staff-container {
        display: flex;
        max-width: 1024px;
        margin: auto;
    }

    .main-staff-text-container {
        padding-left: 2rem;
    }

    .staff-img-container {
        width: unset;
        height: unset;
    }

    /*.cabecera-mobile {*/
    /*    background-color: unset;*/
    /*}*/

    .cabecera-mobile--main {
        /* background-color: unset; */
        background: rgba(1, 1, 1, .4);
    }

    .cabecera-mobile--with-background {
        background-color: #A1E0D4;
    }
}
/*Laptop displays*/
@media only screen and (min-width: 1366px) {
    .submain-container {
        display: flex;
        flex-wrap: wrap;
    }

    .four-block-sec {
        width: 50%;
    }

    .flex-container {
        flex-direction: column;
    }

    .staff-separator {
        display: none;
    }

    .rest-staff-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .rest-staff-container section {
        margin-top: 1rem;
    }

    .secondary-staff-container {
        display: flex;
        flex-wrap: wrap;
    }

    .secondary-staff-container section {
        width: 525px;
    }

    .secondary-staff-container img {
        max-width: 300px;
        max-height: 300px;
    }

    .terciary-staff-container {
        display: flex;
        flex-wrap: wrap;
        margin-top: 2rem;
        width: 95vw;
        justify-content: center;
    }

    .terciary-staff-container section {
        padding: 0;
        width: 300px;
    }

    .terciary-staff-container img {
        max-width: 200px;
        max-height: 200px;
    }

    .staff-img--terciary-offset {
        object-position: 0px -35px;
    }

    .staff-img--vic-offset {
        object-position: 0px -25px;
    }

    .staff-img--ola-offset {
        object-position: 0px -20px;
    }

    .staff-container {
        margin: 0 auto;
    }

    .my-clinic-p-container {
        padding: 0 2rem;
    }

    .my-clinic-p-container .sec-text {
        padding: unset;
        margin: 0;
    }

    .the-clinic-sec {
        display: flex;
        max-width: 1366px;
        margin: auto;
    }

    .my-clinic-p-container .sec-text.p-top-space {
        margin: 1rem 0 0;
    }

    .title-container {
        max-width: 775px;
    }
}
/*Desktop displays*/
@media only screen and (min-width: 1680px) {
}