@font-face {
    font-family: DIN;
    src: url(../fonts/DINPro-Regular.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: DIN;
    src: url(../fonts/DINPro-Bold.otf);
    font-weight: bold;
    font-style: normal;
}

:root {
    --morado: #623b4c;
    --rosa: #f3cbc5;
    --rojopas: #ee826a;
    --azulpas: #48b5e6;
    --turquesa: #93cdd7;
    --verdepas: #5db396;
    --rojo: #de3900;
    --cafec: #c29666;
}

.morado-b {
    background-color: var(--morado);
}

.rosa-b {
    background-color: var(--rosa);
}

.rojopas-b {
    background-color: var(--rojopas);
}

.azulpas-b {
    background-color: var(--azulpas);
}

.turquesa-b {
    background-color: var(--turquesa);
}

.verdepas-b {
    background-color: var(--verdepas);
}

.rojo-b {
    background-color: var(--rojo);
}

.cafe-b {
    background-color: var(--cafec);
}

.blanco-b {
    background-color: #fff;
}

.gris-b {
    background-color: rgb(226, 226, 226);
}

.morado {
    color: var(--morado);
}

.rosa {
    color: var(--rosa);
}

.rojopas {
    color: var(--rojopas);
}

.azulpas {
    color: var(--azulpas);
}

.turquesa {
    color: var(--turquesa);
}

.verdepas {
    color: var(--verdepas);
}

.rojo {
    color: var(--rojo);
}

.cafe {
    color: var(--cafec);
}

.blanco {
    color: #fff;
}

body {
    width: 100%;
    height: 100%;
    margin: auto;
    font-family: DIN;
    text-align: center;
    font-size: 16px;
}

.swiper-container {
    width: 100vw;
    overflow: hidden;
    height: 42vw;
    position: relative;
}

.swiper-slide .slide {
    width: 100%;
    margin: auto;
}

.swiper-slide .abtn {
    position: absolute;
    right: 20%;
    bottom: 10%;
}
.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after, .swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {
    color: white;
}
/* PILL */

.pill {
    width: 225px;
    display: block;
    position: absolute;
    top: 30%;
    left: 10%;
    animation: flota 6s linear infinite;
}

@keyframes flota {
    0% {
        /* top: 30%; */
        transform: rotateZ(25deg);
    }
    25% {
        /* top: 40%; */
        transform: rotateZ(0deg);
    }
    50% {
        /* top: 50%; */
        transform: rotateZ(-25deg);
    }
    75% {
        /* top: 40%; */
        transform: rotateZ(0deg);
    }
    100% {
        /* top: 30%; */
        transform: rotateZ(25deg);
    }
}

/* END PILL */

.espacio-menu {
    height: 70px;
    display: block;
}

.info-container {
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0 30px 0;
}

.info-container p {
    text-align: center;
    margin: 25px auto auto auto;
    line-height: 1.5;
    width: 60%;
    display: block;
    font-size: 1rem;
}

.abtn {
    margin: 20px 0;
    text-decoration: none;
    display: block;
    width: max-content;
    padding: 0 !important;
}

.ondas-rojo, .ondas-verde, .ondas-cafe, .ondas-azul {
    width: 70px;
    height: 20px;
    background-size: contain;
    display: block;
    margin: auto;
}

.abtn:hover>.ondas-rojo {
    background: url(../img/ondas-rojo.svg) no-repeat center center;
}

.abtn:hover>.ondas-verde {
    background: url(../img/ondas-verde.svg) no-repeat center center;
}

.abtn:hover>.ondas-cafe {
    background: url(../img/ondas-cafe.svg) no-repeat center center;
}

.abtn:hover>.ondas-azul {
    background: url(../img/ondas-azul.svg) no-repeat center center;
}

.tres-columnas {
    display: grid;
    grid-template-columns: repeat(3, 20vw);
    /* grid-template-rows: 20vw 20vw; */
    width: max-content;
    margin: auto;
}

.tres-columnas .cuadro {
    position: relative;
    width: 100%;
    height: 20vw;
    border: none;
    text-decoration: none;
    overflow: hidden;
    text-align: center;
}

.tres-columnas .cuadro .txt-btn-box {
    /* position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%); */
    width: 100%;
    display: block;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.tres-columnas .cuadro .mas {
    /* position: absolute;
    bottom: 10%;
    left: calc(50% - 10px); */
    width: 15px;
    height: 15px;
    margin: auto;
    color: inherit;
    display: block;
}

.tres-columnas .cuadro:hover>.mas {
    transform: rotateZ(90deg);
    transition: .5s all ease-in-out;
}

.tres-columnas .cuadro .cuadro-img {
    width: 80%;
    margin: auto;
}

.titulo {
    width: max-content;
    font-size: 2.3rem;
    text-align: center;
    padding: 20px;
    position: relative;
    margin: 50px auto;
}

sup {
    vertical-align: super;
    font-size: .4rem;
}

.left-up {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
}

.right-down {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
}

.text {
    font-size: 1.2rem;
    width: 60%;
    margin: auto;
    line-height: 2;
    color: var(--morado);
}

.left-align {
    text-align: left;
}

.left-align a {
    text-decoration: none;
}

.soporte {
    /* width: 100%; */
    margin: 50px auto auto auto;
}

.soporte div img {
    display: inline-block;
    width: 30px;
    margin: auto;
    position: relative;
    top: 0;
}

.soporte div h3 {
    display: inline-block;
    padding: 10px 0 20px 0;
    color: var(--morado);
}

.soporte img {
    width: 200%;
    margin: auto;
    position: relative;
    top: -25%;
}

.soporte p {
    padding: 0 15px 0 0;
}

.sabias-que {
    height: 250px;
    position: relative;
}

.sabias-que-img {
    position: absolute;
    left: 10%;
    top: 10%;
    height: 80%;
    z-index: 1;
}

.half {
    height: 50%;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.half p {
    width: 50%;
    margin: 20px 0 auto auto;
    text-align: left;
}

.hashtag {
    width: 50%;
    margin: auto 0 auto auto;
    text-align: left;
    font-size: 2rem;
    font-weight: bold;
}

.hashtag img {
    height: 35px;
}

.normal {
    font-weight: normal;
}

.title-cont {
    display: inline-block;
    height: 100px;
    margin: 25px auto;
    width: 100%;
}

.title-cont img, .title-cont h2 {
    height: 100%;
    display: inline-block;
}

.title-cont h2 {
    width: 50%;
    text-align: left;
    margin: auto 10%;
}

.contact {
    background: rgb(72, 181, 230);
    background: linear-gradient(90deg, rgba(72, 181, 230, 1) 0%, rgba(147, 205, 215, 1) 100%);
    position: relative;
    overflow: hidden;
}

.estetoscopio {
    position: absolute;
    bottom: 5%;
    left: -5%;
    height: 80%;
}

.barrita {
    width: 100%;
    height: 100px;
    background: url(../img/barrita-contacto.jpg) no-repeat center center;
    background-size: cover;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    padding: 25px 0;
    margin: 50px 10%;
    position: relative;
}

form label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin: 5px 0;
}

input, textarea {
    width: 50%;
    display: flex;
    border: none;
    margin-left: 25px;
    padding: 10px;
    background-color: rgb(241, 241, 241);
}

input {
    height: 40px;
    border-radius: 20px;
}

textarea {
    height: 100px;
    resize: none;
    border-radius: 40px;
}

form button {
    border: none;
    width: max-content;
    font-size: 1.2rem;
    background-color: transparent;
    position: absolute;
    right: 23%;
    bottom: -20%;
    font-family: DIN;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

footer img {
    width: 150px;
    margin: 25px auto;
}

footer p {
    font-size: .7rem;
    margin: 25px auto;
    color: #673918;
    letter-spacing: 2px;
}

footer p a {
    text-decoration: none;
    color: #673918;
}

/* NOSOTROS */

.banner {
    width: 100%;
    height: 500px;
    margin: auto;
    padding: 0;
}

.nosotros {
    background: url(../img/NosotrosBanner.jpg) no-repeat center center;
    background-size: cover;
    display: grid;
    grid-template-columns: 50% 50%;
    text-align: left;
}

.nosotros div {
    margin: auto 5%;
    padding: 5%;
    text-align: left;
    background-color: rgba(255, 255, 255, .7);
}

.align-left {
    margin-left: 0 !important;
}

.gde {
    font-size: 1.5rem;
}

.gde-just-doble {
    font-size: 1.2rem;
    line-height: 2;
}

.nosotros-info-desktop {
    display: block;
    width: 80%;
    margin: 25px auto;
}

.nosotros-info-mobile {
    display: none;
}

/* SERVICIOS */

/* Filtros */

.container {
    overflow: hidden;
}

.filterDiv {
    display: none;
    /* Hidden by default */
    width: 100vw;
    height: max-content;
    text-align: center;
    margin: auto;
    /* background-color: var(--rosa); */
    background: url(../img/fondo-servicios.png) no-repeat bottom center;
    background-size: cover;
}

/* The "show" class is added to the filtered elements */

.show {
    display: block;
}

#serviciosbanner {
    width: 100%;
    height: 300px;
    display: block;
}

.dispositivos {
    background: url(..//img/DispositivosMedicosBanner.jpg) no-repeat center center;
    background-size: cover;
}

.tecnovigilancia {
    background: url(..//img/TecnovigilanciaBanner.jpg) no-repeat center 90%;
    background-size: cover;
}

.farmacovigilancia {
    background: url(..//img/FarmacovigilanciaBanner.jpg) no-repeat center center;
    background-size: cover;
}

.gestioncalidad {
    background: url(..//img/GestionCalidadBanner.jpg) no-repeat center center;
    background-size: cover;
}

.otroservicios {
    background: url(..//img/OtrosServiciosBanner.jpg) no-repeat center center;
    background-size: cover;
}

.medicamentos {
    background: url(..//img/MedicamentosBanner.jpg) no-repeat left center;
    background-size: cover;
}

/* Style the buttons */

#myBtnContainer {
    width: 100%;
    display: inline-flex;
}

.btn {
    border: none;
    outline: none;
    padding: 20px 15px;
    margin: auto 1px;
    cursor: pointer;
    width: calc(100% / 6 - 1px);
    display: block;
    color: white;
    font-size: 1vw;
    font-family: DIN;
    font-weight: normal;
    line-height: 1.5;
    background-color: #ccc;
}

.btn .mas {
    width: 15px;
    margin: 5px auto auto auto;
}

/* Add a light grey background on mouse-over */

.btn:hover>.mas {
    transform: rotateZ(90deg);
    transition: .5s all ease-in-out;
}

/* Add a dark background to the active button */

.btn.active {
    font-weight: bold;
}

/* extiende a filtros */

.cont-filtro {
    width: 90%;
    margin: auto auto 100px auto;
    padding: 50px 0 0 0;
    position: relative;
    display: block;
}

.card {
    display: block;
    width: 80%;
    margin: 25px auto;
    padding: 2.5%;
    position: relative;
    box-shadow: 5px 5px 10px rgb(180, 180, 180);
}

.wider {
    width: 90%;
}

.card h3 {
    font-size: 2rem;
    color: var(--morado);
    margin: 5% auto 10px auto;
    text-align: left;
    padding: 0 0 0 5%;
}

.card h4 {
    font-size: 1.3rem;
    font-weight: normal;
    color: var(--morado);
    margin: auto;
    text-align: left;
    padding: 0 0 0 5%;
}

.narrower {
    padding: 0 20% 0 5% !important;
}

.card p {
    font-size: 1rem;
    margin: 5%;
}

.card h4 img {
    height: 15px;
}

.card ul {
    margin: 15px auto;
    text-align: left;
    padding: 0 15%;
}

.card ul li {
    list-style: circle;
    color: var(--azulpas);
}

.card ul li p {
    margin: auto;
    padding: 0;
}

.img-flotante {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(40%, -30%);
    z-index: 900;
}

.img-flotante.dispositivosmed {
    width: 37vw;
}

.img-flotante.tecnov {
    width: 20vw;
    transform: translate(45%, -30%);
}

.img-flotante.medics {
    width: 24vw;
    transform: translate(0%, -30%);
}

.img-flotante.farmak {
    width: 30vw;
    transform: translate(30%, -15%);
}

/* GESTION Y OTROS ESTÁN INTERCAMBIADOS */

.img-flotante.gestical {
    width: 32vw;
    transform: translate(30%, -40%);
}

.img-flotante.otritos {
    width: 20vw;
    transform: translate(30%, -30%);
}

.orilla-derecha {
    margin: 25px 0 auto auto;
    text-align: justify;
}

.casi-izq {
    margin: 25px auto 25px 3%;
    text-align: justify;
}

.orilla-izq {
    margin: 25px auto 25px 0;
    text-align: justify;
}

.centro {
    text-align: center;
    margin: 50px auto auto auto;
    color: var(--morado);
    font-size: .8rem;
    font-weight: normal;
}

.txt-left {
    text-align: left;
    margin: 10px auto auto auto;
    padding: 0 0 0 10%;
}

.subt-esp {
    color: var(--morado);
    font-size: 1rem;
    text-align: left;
    padding-left: 5%;
    margin: 5px auto !important;
}

/* INFORMACIÓN PUBLICA */

.enlaces {
    display: grid;
    grid-template-columns: 20% 10% 70%;
    text-align: left;
}

.fondo-info-publica {
    background: url(../img/fondo-servicios.png) no-repeat center center;
    background-size: 300%;
}

.sub-gde {
    font-size: 1.5rem;
    font-weight: normal;
    /* color: var(--verdepas); */
    margin: auto;
    padding: 0;
    border: none !important;
}

.enlaces .enlace-img {
    display: inline-block;
    height: 20px;
}

.enlaces a {
    margin: 25px 0;
    text-decoration: none;
    color: var(--morado);
    font-weight: bold;
    position: relative;
    display: block;
    width: max-content;
}

.enlaces .raya {
    display: block;
    height: 4px;
    width: 50px;
    border-radius: 2px;
}

.enlaces a:hover>.raya {
    width: 100%;
    transition: .5s all ease-in-out;
}

/* BLOG */

iframe {
    width: 100%;
    height: calc(100vh - 50px);
}

/* CONTACTO */

.fondito {
    background: url(../img/fondito-uno.png) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    grid-column: 4;
    grid-row: 1/4;
}

.grid-contacto {
    width: 100%;
    display: grid;
    grid-template-columns: 10% repeat(3, 1fr);
    margin: 50px auto;
    text-align: left;
}

.icono-pq {
    width: 20px;
    margin: auto;
}

.inline-icono {
    text-decoration: none;
    margin: auto;
    color: #673918;
    width: 80%;
}

.flexi {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 5px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.grid-contacto form {
    grid-column: 2/4;
    width: 100%;
    text-align: left;
    margin: auto;
    text-align: center;
    height: max-content;
}

.grid-contacto form label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 90%;
    margin: 5px 10% 5px 5px;
    position: relative;
}

.grid-contacto form input, .grid-contacto form textarea {
    width: 600px;
}

.grid-contacto form button {
    color: var(--rojo);
    margin: auto;
    padding: 0;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    background-color: transparent;
}

@media (max-width: 1020px) {
    .swiper-container {
        width: 100%;
        height: 42vw;
    }
    .swiper-slide .slide {
        width: 100%;
        margin: auto;
    }
    /* PILL */
    .pill {
        width: 180px;
        display: block;
        position: absolute;
        top: 30%;
        left: 10%;
        animation: flota 6s linear infinite;
    }
    @keyframes flota {
        0% {
            /* top: 30%; */
            transform: rotateZ(25deg);
        }
        25% {
            /* top: 40%; */
            transform: rotateZ(0deg);
        }
        50% {
            /* top: 50%; */
            transform: rotateZ(-25deg);
        }
        75% {
            /* top: 40%; */
            transform: rotateZ(0deg);
        }
        100% {
            /* top: 30%; */
            transform: rotateZ(25deg);
        }
    }
    /* END PILL */
    .espacio-menu {
        height: 70px;
        display: block;
    }
    .info-container {
        height: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .info-container p {
        text-align: center;
        line-height: 1.5;
        width: 60%;
        display: block;
        font-size: 1rem;
    }
    .abtn {
        margin: 20px 0;
        text-decoration: none;
        display: block;
        width: max-content;
        padding: 0 !important;
    }
    .ondas-rojo, .ondas-verde, .ondas-cafe, .ondas-azul {
        width: 70px;
        height: 20px;
        background-size: contain;
        display: block;
        margin: auto;
    }
    .abtn:hover>.ondas-rojo {
        background: url(../img/ondas-rojo.svg) no-repeat center center;
    }
    .abtn:hover>.ondas-verde {
        background: url(../img/ondas-verde.svg) no-repeat center center;
    }
    .abtn:hover>.ondas-cafe {
        background: url(../img/ondas-cafe.svg) no-repeat center center;
    }
    .abtn:hover>.ondas-azul {
        background: url(../img/ondas-azul.svg) no-repeat center center;
    }
    .titulo {
        width: max-content;
        font-size: 2.3rem;
        text-align: center;
        padding: 20px;
        position: relative;
        margin: 25px auto;
    }
    .left-up {
        position: absolute;
        top: 0;
        left: 0;
        width: 15px;
    }
    .right-down {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 15px;
    }
    .text {
        font-size: 1.2rem;
        width: 60%;
        margin: auto;
        line-height: 2;
        color: var(--morado);
    }
    .left-align {
        text-align: left;
    }
    .soporte {
        /* width: 100%; */
        margin: 50px auto auto auto;
    }
    .soporte div {
        padding-left: 40px;
    }
    .soporte div img {
        display: inline-block;
        width: 30px;
    }
    .soporte div h3 {
        display: inline-block;
        padding: 10px 0 20px 0;
        color: var(--morado);
    }
    .soporte img {
        width: 200%;
        margin: auto;
        position: relative;
        top: -25%;
    }
    .soporte p {
        padding: 0 15px 0 0;
    }
    .sabias-que {
        height: 250px;
        position: relative;
    }
    .sabias-que-img {
        position: absolute;
        left: 10%;
        top: 10%;
        height: 80%;
        z-index: 1;
    }
    .half {
        height: 50%;
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    .half p {
        width: 50%;
        margin: 20px 0 auto auto;
        text-align: left;
    }
    .hashtag {
        width: 50%;
        margin: auto 0 auto auto;
        text-align: left;
        font-size: 2rem;
        font-weight: bold;
    }
    .hashtag img {
        height: 35px;
    }
    .normal {
        font-weight: normal;
    }
    .title-cont {
        display: inline-block;
        height: 100px;
        margin: 25px auto;
        width: 100%;
    }
    .title-cont img, .title-cont h2 {
        height: 100%;
        display: inline-block;
    }
    .title-cont h2 {
        width: 50%;
        text-align: left;
        margin: auto 10%;
    }
    .contact {
        background: rgb(72, 181, 230);
        background: linear-gradient(90deg, rgba(72, 181, 230, 1) 0%, rgba(147, 205, 215, 1) 100%);
        position: relative;
        overflow: hidden;
    }
    .estetoscopio {
        position: absolute;
        bottom: 5%;
        left: -5%;
        height: 60%;
        z-index: 0;
    }
    .barrita {
        width: 100%;
        height: 100px;
        background: url(../img/barrita-contacto.jpg) no-repeat center center;
        background-size: cover;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: stretch;
        padding: 25px 0;
        margin: 50px 10%;
        position: relative;
        z-index: 100;
    }
    form label {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        margin: 5px 0;
    }
    input, textarea {
        width: 50%;
        display: flex;
        border: none;
        margin-left: 25px;
        padding: 10px;
        background-color: rgb(241, 241, 241);
    }
    input {
        height: 40px;
        border-radius: 20px;
    }
    textarea {
        height: 100px;
        resize: none;
        border-radius: 40px;
    }
    form button {
        border: none;
        width: max-content;
        font-size: 1.2rem;
        background-color: transparent;
        position: absolute;
        right: 23%;
        bottom: -20%;
    }
    footer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    footer img {
        width: 150px;
        margin: 25px auto;
    }
    footer p {
        font-size: .6rem;
        margin: 25px auto;
        color: #673918;
        letter-spacing: 2px;
    }
    footer p a {
        text-decoration: none;
        color: #673918;
    }
    /* NOSOTROS */
    .banner {
        width: 100%;
        height: 500px;
        margin: auto;
        padding: 0;
    }
    .nosotros {
        background: url(../img/NosotrosBanner.jpg) no-repeat left center;
        background-size: cover;
        display: grid;
        grid-template-columns: 100% !important;
        text-align: left;
        margin: auto auto 50px auto;
    }
    .nosotros div {
        margin: auto 5%;
        padding: 5%;
        text-align: left;
        background-color: rgba(255, 255, 255, .7);
    }
    .align-left {
        margin-left: 0 !important;
    }
    .gde {
        font-size: 1.5rem;
    }
    .gde-just-doble {
        font-size: 1.2rem;
        line-height: 2;
    }
    .nosotros-info-desktop {
        display: none;
    }
    .nosotros-info-mobile {
        display: block;
        width: 90vw;
        margin: 50px auto auto auto;
    }
    /* SERVICIOS */
    /* Filtros */
    .container {
        overflow: hidden;
    }
    .filterDiv {
        display: none;
        /* Hidden by default */
        width: 100vw;
        height: max-content;
        text-align: center;
        margin: auto;
        /* background-color: var(--rosa); */
        background: url(../img/fondo-servicios.png) no-repeat bottom center;
        background-size: cover;
    }
    /* The "show" class is added to the filtered elements */
    .show {
        display: block;
    }
    /* Style the buttons */
    #myBtnContainer {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
    .btn {
        border: none;
        outline: none;
        padding: 20px 0;
        cursor: pointer;
        width: 100%;
        display: block;
        color: white;
        font-size: .8rem;
        font-family: DIN;
        font-weight: normal;
        line-height: 1.5;
    }
    .btn .mas {
        width: 15px;
        margin: 5px auto auto auto;
    }
    /* Add a light grey background on mouse-over */
    .btn:hover>.mas {
        transform: rotateZ(90deg);
        transition: .5s all ease-in-out;
    }
    /* Add a dark background to the active button */
    .btn.active {
        font-weight: bold;
    }
    /* extiende a filtros */
    .cont-filtro {
        width: 90%;
        margin: auto auto 100px auto;
        padding: 50px 0 0 0;
        position: relative;
        display: block;
    }
    .card {
        display: block;
        width: 80%;
        margin: 25px auto;
        padding: 2.5%;
        position: relative;
        box-shadow: 5px 5px 10px rgb(180, 180, 180);
    }
    .wider {
        width: 90%;
    }
    .card h3 {
        font-size: 2rem;
        color: var(--morado);
        margin: 5% auto 10px auto;
        text-align: left;
        padding: 0 0 0 5%;
    }
    .card h4 {
        font-size: 1.3rem;
        font-weight: normal;
        color: var(--morado);
        margin: auto;
        text-align: left;
        padding: 0 0 0 5%;
    }
    .narrower {
        padding: 0 20% 0 5% !important;
    }
    .card p {
        font-size: .8rem;
        margin: 5%;
    }
    .card h4 img {
        height: 15px;
    }
    .card ul {
        margin: 15px auto;
        text-align: left;
        padding: 0 15%;
    }
    .card ul li {
        list-style: circle;
        color: var(--azulpas);
    }
    .card ul li p {
        margin: auto;
        padding: 0;
    }
}

*/ .orilla-derecha {
    margin: 25px 0 auto auto;
    text-align: justify;
}

.casi-izq {
    margin: 25px auto 25px 3%;
    text-align: justify;
}

.orilla-izq {
    margin: 25px auto 25px 0;
    text-align: justify;
}

.centro {
    text-align: center;
    margin: 50px auto auto auto;
    color: var(--morado);
    font-size: .8rem;
    font-weight: normal;
}

.txt-left {
    text-align: left;
    margin: 10px auto auto auto;
    padding: 0 0 0 10%;
}

.subt-esp {
    color: var(--morado);
    font-size: 1rem;
    text-align: left;
    padding-left: 5%;
    margin: 5px auto !important;
}

/* INFORMACIÓN PUBLICA */

.enlaces {
    display: grid;
    grid-template-columns: 20% 10% 70%;
    text-align: left;
}

.fondo-info-publica {
    background: url(../img/fondo-servicios.png) no-repeat center center;
    background-size: 300%;
}

.sub-gde {
    font-size: 1.5rem;
    font-weight: normal;
    /* color: var(--verdepas); */
    margin: auto;
    padding: 0;
    border: none !important;
}

.enlaces a {
    margin: 25px 0;
    text-decoration: none;
    color: var(--morado);
    font-weight: bold;
    position: relative;
    display: block;
    width: max-content;
}

.enlaces .raya {
    display: block;
    height: 4px;
    width: 50px;
    border-radius: 2px;
}

.enlaces a:hover>.raya {
    width: 100%;
    transition: .5s all ease-in-out;
}

/* CONTACTO */

.fondito {
    background: url(../img/fondito-uno.png) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    grid-column: 4;
    grid-row: 1/4;
}

.grid-contacto {
    width: 100%;
    display: grid;
    grid-template-columns: 10% repeat(3, 1fr);
    margin: 50px auto;
    text-align: left;
}

.icono-pq {
    width: 20px;
    margin: auto;
}

.inline-icono {
    text-decoration: none;
    margin: auto;
    color: #673918;
    width: 80%;
}

.flexi {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 5px auto;
}

.grid-contacto form {
    grid-column: 2/4;
    width: 100%;
    text-align: left;
    margin: auto;
    text-align: center;
    height: max-content;
}

.grid-contacto form label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 90%;
    margin: 5px 10% 5px 5px;
    position: relative;
}

.grid-contacto form input, .grid-contacto form textarea {
    width: 600px;
}

.grid-contacto form button {
    color: var(--rojo);
    margin: auto;
    padding: 0;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

@media (max-width: 768px) {
    .btn {
        border: none;
        outline: none;
        padding: 15px 0;
        cursor: pointer;
        width: 100%;
        display: block;
        color: white;
        font-size: .5rem;
        font-family: DIN;
        font-weight: normal;
        line-height: 1.5;
    }
    .swiper-slide .abtn {
        position: absolute;
        right: 20%;
        bottom: 0;
    }
    .info-container p {
        width: 80%;
    }

    .tres-columnas .cuadro .txt-btn-box {
        font-size: 20px;
        opacity: 1;
    }
    .tres-columnas .cuadro .mas {
        left: calc(50% - 5px);
        width: 15px;
        height: 15px;
        margin: auto;
        color: inherit;
    }
    .titulo {
        font-size: 2rem;
    }
    .text {
        font-size: 1rem;
        width: 80%;
        line-height: 1.5;
    }
    .soporte div {
        padding-left: 20px;
    }
    .soporte img {
        width: 100%;
        margin: auto;
        position: relative;
        top: 0;
    }
    .soporte p {
        padding: 0 15px 0 0;
    }
    .sabias-que {
        height: 450px;
        position: relative;
    }
    .sabias-que-img {
        position: absolute;
        left: 50%;
        top: 20%;
        height: 40%;
        z-index: 1;
        transform: translateX(-50%);
    }
    .half {
        height: 60%;
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    .half p {
        width: 80%;
        margin: 100px auto auto auto;
        text-align: center;
    }
    .hashtag {
        width: 80%;
        margin: auto auto auto auto;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
    }
    .hashtag img {
        height: 30px;
    }
    .normal {
        font-weight: normal;
    }
    .title-cont {
        display: inline-block;
        height: 100px;
        margin: 25px auto;
        width: 100%;
    }
    .title-cont img, .title-cont h2 {
        height: 100%;
        display: inline-block;
    }
    .title-cont h2 {
        width: 80%;
        text-align: center;
        margin: auto 10%;
    }
    .estetoscopio {
        display: none !important;
    }
    input, textarea {
        width: 65%;
        display: flex;
        border: none;
        margin-left: 25px;
        padding: 5px;
        background-color: rgb(241, 241, 241);
    }
    input {
        height: 30px;
        border-radius: 20px;
    }
    textarea {
        height: 100px;
        resize: none;
        border-radius: 20px;
    }
    form button {
        border: none;
        width: max-content;
        font-size: 1.2rem;
        background-color: transparent;
        position: absolute;
        right: 50%;
        bottom: -15%;
        transform: translateX(50%);
    }
    footer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    footer img {
        width: 100px;
        margin: 25px auto;
    }
    footer p {
        font-size: .5rem;
        margin: 25px auto;
        color: #673918;
        letter-spacing: 2px;
    }
    footer p a {
        text-decoration: none;
        color: #673918;
    }
}

@media (max-width: 560px) {
    .swiper-slide .abtn {
        position: absolute;
        right: 20%;
        bottom: 0;
        margin: auto;
    }

    .img-flotante.dispositivosmed {
        width: 50vw;
    }
    .img-flotante.tecnov {
        width: 35vw;
    }
    .img-flotante.medics {
        width: 32vw;
        transform: translate(20%, -30%);
    }
    .img-flotante.farmak {
        width: 35vw;
        transform: translate(25%, -60%);
    }
    .img-flotante.gestical {
        width: 30vw;
    }
    .img-flotante.otritos {
        width: 30vw;
        transform: translate(20%, -55%);
    }
    .info-container {
        height: max-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .info-container p {
        text-align: center;
        line-height: 1.2;
        width: 80%;
        display: block;
        font-size: .8rem;
    }
    .abtn {
        font-size: .7rem;
    }
    .sabias-que {
        height: 300px;
    }
    .sabias-que-img {
        position: absolute;
        left: 50%;
        top: 10%;
        height: 40%;
        z-index: 1;
        transform: translateX(-50%);
    }
    .half {
        height: 70%;
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    .half p {
        width: 80%;
        margin: 70px auto auto auto;
        text-align: center;
    }
    .hashtag {
        width: 80%;
        margin: auto auto auto auto;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
    }
    .hashtag img {
        height: 30px;
    }
    .tres-columnas {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: repeat(3, 60vw);
        width: max-content;
        margin: auto;
        overflow: hidden;
        width: 100%;
    }
    .tres-columnas .cuadro {
        position: relative;
        width: 100%;
        height: 100%;
        border: none;
        text-decoration: none;
        overflow: hidden;
        text-align: center;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 30px;
    }
    .tres-columnas .cuadro .txt-btn-box {
        width: 100%;
        display: block;
        font-size: 14px;
    }
    .tres-columnas .cuadro .mas {
        width: 10px;
        height: 10px;
        margin: 10px auto;
        color: inherit;
    }
    .tres-columnas .cuadro:hover>.mas {
        transform: rotateZ(90deg);
        transition: .5s all ease-in-out;
    }
    .tres-columnas .cuadro .cuadro-img {
        width: 80%;
        display: block;
        margin: auto;
    }
    .titulo {
        font-size: 1.5rem;
    }
    .text {
        font-size: .9rem;
    }
    .left-align {
        text-align: left;
    }
    .tres-columnas.soporte {
        display: grid;
        grid-template-columns: 100%;
        width: max-content;
        margin: auto;
        overflow: hidden;
        width: 100%;
    }
    .soporte div {
        padding-left: 40px;
    }
    .soporte div img {
        display: inline-block;
        width: 30px;
        margin: 10px 0 0 0;
    }
    .soporte div h3 {
        display: inline-block;
        padding: 10px 0 20px 0;
        color: var(--morado);
        margin: 10px 0;
    }
    .soporte img {
        width: 100%;
        margin: auto;
        position: relative;
        top: 0;
    }
    .soporte p {
        padding: 0 15px 0 0;
    }
    /* NOSOTROS */
    .banner {
        width: 100%;
        height: 400px;
        margin: auto;
        padding: 0;
    }
    .nosotros div {
        margin: auto;
        padding: 5%;
        text-align: left;
    }
    .align-left {
        margin-left: 0 !important;
    }
    .gde {
        font-size: 1.2rem;
    }
    .gde-just-doble {
        font-size: 1rem;
    }
    /* SERVICIOS */
    /* extiende a filtros */
    .cont-filtro {
        width: 90%;
        margin: auto auto 100px auto;
        padding: 50px 0 0 0;
        position: relative;
        display: block;
    }
    .card {
        display: block;
        width: 80%;
        margin: 25px auto;
        padding: 2.5%;
        position: relative;
        box-shadow: 5px 5px 10px rgb(180, 180, 180);
    }
    .wider {
        width: 90%;
    }
    .card h3 {
        font-size: 1.3rem;
        color: var(--morado);
        margin: 5% auto 10px auto;
        text-align: left;
        padding: 0 0 0 5%;
    }
    .card h4 {
        font-size: 1rem;
        font-weight: normal;
        color: var(--morado);
        margin: auto;
        text-align: left;
        padding: 0 0 0 5%;
    }
    /* INFORMACIÓN PUBLICA */
    .enlaces {
        display: grid;
        grid-template-columns: 10% 10% 80%;
        text-align: left;
    }
    .fondo-info-publica {
        background: url(../img/fondo-servicios.png) no-repeat center center;
        background-size: auto 100%;
    }
    .sub-gde {
        font-size: 1.2rem;
    }
    .enlaces a {
        font-size: 1rem;
        width: 100%;
    }
    /* CONTACTO */
    .fondito {
        display: none;
    }
    .grid-contacto {
        width: 100%;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        margin: 50px auto;
        text-align: center;
    }
    .icono-pq {
        width: 20px;
        margin: auto;
    }
    .inline-icono {
        text-decoration: none;
        padding-left: 20px;
        color: #673918;
        width: 100%;
        text-align: left;
    }
    .flexi {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        margin: 5px auto;
        width: 200px;
    }
    .grid-contacto form {
        grid-column: auto;
        width: 90%;
        text-align: left;
        margin: auto;
        text-align: center;
        height: max-content;
    }
    .grid-contacto form label {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        width: 90%;
        margin: 5px 10% 5px 5px;
        position: relative;
    }
    .grid-contacto form input, .grid-contacto form textarea {
        width: 65%;
    }
    .grid-contacto form button {
        color: var(--rojo);
        margin: auto;
        padding: 0;
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
    }
    .pill {
        width: 70px;
        display: block;
        position: absolute;
        top: 30%;
        left: 10%;
        animation: flota 6s linear infinite;
    }
    @keyframes flota {
        0% {
            /* top: 30%; */
            transform: rotateZ(25deg);
        }
        25% {
            /* top: 40%; */
            transform: rotateZ(0deg);
        }
        50% {
            /* top: 50%; */
            transform: rotateZ(-25deg);
        }
        75% {
            /* top: 40%; */
            transform: rotateZ(0deg);
        }
        100% {
            /* top: 30%; */
            transform: rotateZ(25deg);
        }
    }
    /* END PILL */
}