body {
    padding-top: 200px;
    color: #777;
    height: 100%;
}

a {
    color: #1B5D1B;
}

a:hover {
    color: #95C21F;
}

.footer {
    width: 100%;
    padding: 1em;
    background-color: #f5f5f5;
    bottom: 0;
}

.text-muted {
    margin: 0;
    text-align: center;
}

.btn-primary {
    color: #fff;
    background-color: #1B5D1B;
    border-color: #1B5D1B;
}

aside p,
aside h3 {
    line-height: 1.3;
    margin: 0 0 1em;
}

aside .btn-lg {
    background: #fff;
    color: #95C21F;
}

.btn-primary:hover {
    color: #fff;
    background-color: #95C21F;
    border-color: #95C21F;
}

.separator {
    display: block;
    height: 1px;
    background: #eee;
}

.align-middle {
    display: flex;
    align-items: center;
}

/* MENU (LAPTOP) */

.navbar-default {
    background-color: #fff;
}

#menu {
    border-radius: 0;
    min-height: 110px;
    border: none;
    top: 0;
}

#menu .navbar-brand {
    height: 110px;
}

.navbar-brand>img {
    display: block;
    width: 250px;
    height: auto;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

#menu .nav li {
    padding-top: 35px;
    margin-right: 2em;
}

#menu .nav li a {
    padding: 10px 0px;
    font-size: 16px;
}

#menu .navbar-nav>.active>a,
#menu .navbar-nav>.active>a:focus,
#menu .navbar-nav>.active>a:hover {
    background-color: transparent;
}

#menu ul.nav a::after {
    content: "";
    width: 0;
    height: 2px;
    background: #95C21F;
    display: block;
    margin-top: 8px;
    transition: width .3s;
}

#menu ul.nav a:hover::after,
#menu.navbar-nav>.active>a::after,
#menu .navbar-nav>.active>a:focus::after,
#menu .navbar-nav>.active>a:hover::after {
    width: 100%;
    transition: width .3s;
}


/* TOPBAR */

#topbar {
    top: 110px;
    background: #1B5D1B;
    text-align: center;
    min-height: 0;
    height: auto !important;
    border: none;
    border-radius: 0;
    margin: 0 auto;
}

#topbar ul.nav {
    float: none;
    display: inline-block;
}

#topbar ul.nav li {
    float: none;
    display: inline-block;
    padding: 10px 10px 10px 0;
}

#topbar ul.nav a {
    color: #fff;
    padding: 10px 10px 10px 0;
}

#topbar .call_to_action {
    padding: 10px 15px;
    margin-right: 1em;
}

#topbar ul.nav .call_to_action a {
    background: #fff;
    color: #95C21F;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    -webkit-transition: background .3s;
    -moz-transition: background .3s;
    -ms-transition: background .3s;
    -o-transition: background .3s;
    transition: background .3s;
}

#topbar ul.nav .call_to_action a:hover {
    background: #95C21F;
    color: #fff;
}


/* INICIO */

aside {
    padding: 2em 1em;
    text-align: center;
    background: #1B5D1B;
    color: #fff;
    margin-top: 60px;
}

aside p {
    margin: 1em 0;
}

.photos h2 {
    margin: 2em 0 1em;
}

.photo {
    margin: 25px 0;
}

blockquote {
    margin: 30px 0 20px;
    border-left: 5px solid #95C21F;
}

.separator.margin {
    margin: 2em 0;
}

.jumbotron {
    background-color: #fff;
}

.jumbotron h1,
.jumbotron p {
    margin-bottom: 25px;
}

.jumbotron p a {
    margin-bottom: 10px;
}


/* OFERTA ASISTENCIAL */

.centros-destacados {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.centros-destacados .destacado {
    flex: 0 0 33.33%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.with-padding.row {
    padding: 2em 0;
}

.medico-item {
    margin-bottom: 25px;
}

.special-head {
    margin-bottom: 35px;
    padding-left: .5em;
}

.medico-item .title {
    border-left: 3px solid #95C21F;
    padding-left: 15px;
    font-size: 18px;
}

.medico-item .wrapper-medico {
    padding: 1em .5em;
}

.medico-item .info a {
    display: block;
    padding: .5em;
    background: #eee;
    margin: .5em 0;
    border-radius: 4px;
    color: #1B5D1B;
}

.medico-item .info a span {
    margin-right: 5px;
}

.medico-item .info a:hover {
    text-decoration: none;
    color: #777;
}


/* CONTACTO */

#main-content-contacto {
    padding: 50px 0 0;
}

.dato-contacto {
    text-align: center;
    margin-bottom: 25px;
}

.dato-contacto .icon {
    font-size: 30px;
    border: 3px solid #1B5D1B;
    border-radius: 100%;
    padding: .8em;
    color: #1B5D1B;
    text-align: center;
    vertical-align: middle;
}

.dato-contacto h3 {
    font-size: 30px;
    color: #1B5D1B;
}

.dato-contacto p {
    font-size: 16px;
}

/* HOME 2024 */
#page-inicio #main-content {
    padding: 0;
}

.container.cab-home {
    width: 100%;
    background: url(/assets/images/centro-medico-ruisenores-consulta.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.container.cab-home::after {
    content: "";
    position: absolute;
    background-color: #ffffffd9 !important;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

.cab-home .jumbotron {
    max-width: 1300px;
    margin: auto;
    position: relative;
    z-index: 1;
    background: transparent !important;
}

@media (max-width: 767px) {
    .align-middle {
        flex-direction: column;
    }
    .align-middle.reverse {
        flex-direction: column-reverse;
    }
    body {
        padding-top: 130px;
    }
    #main-content {
        margin-top: 100px;
    }
    .jumbotron h1,
    .jumbotron p {
        margin-bottom: 10px;
    }
    .jumbotron {
        text-align: center;
    }
    .jumbotron h1 {
        font-size: 26px;
    }
    .jumbotron p {
        margin-bottom: 15px;
        font-size: 14px;
        text-align: center;
    }
    .jumbotron .btn-lg {
        padding: 8px 14px;
        font-size: 14px;
    }
    .jumbotron {
        background-color: #fff;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #topbar {
        top: 100px;
    }
    #topbar ul.nav {
        float: none;
        display: inline-block;
        margin: 0 auto;
    }
    #topbar ul.nav li {
        margin: 0 auto;
        padding-right: 0;
    }
    #menu .navbar-brand {
        float: none;
    }
    .navbar-brand>img {
        width: 200px;
        margin-bottom: 38px;
    }
    #navbar {
        border-top: 1px solid #1B5D1B;
        min-height: 0;
        -webkit-transition: height .3s;
        -moz-transition: height .3s;
        -ms-transition: height .3s;
        -o-transition: height .3s;
        transition: height .3s;
        height: 0;
    }
    #navbar .nav {
        margin: 0;
        padding: 0;
        float: none;
        background: #fff;
        display: flex;
    }
    #navbar .nav li {
        cursor: pointer;
        display: inline-block;
        width: 31%;
        padding: 15px 5px 5px;
        margin: 0;
        /*height: 100%;*/
        text-align: center;
        border-left: 1px solid #1B5D1B;
        color: #1B5D1B;
    }
    #navbar .nav li:first-child {
        border-left: 0;
    }
    /*#navbar .nav li:last-child {
        width: 34%;
    }*/
    #navbar .nav li a {
        font-size: 10px;
        padding: 0;
        color: #1B5D1B;
    }
    .nav-up #navbar {
        height: 70px;
    }
}

@media (max-width: 600px)  {
    .centros-destacados .destacado {
        flex: 0 0 100%;
    }

    .centros-destacados .destacado h2 {
        font-size: 25px;
    }
}

@media (min-height: 350px) {
    .jumbotron h1,
    .jumbotron p {
        margin-bottom: 15px;
    }
    body {
        padding-top: 145px;
    }
}

/* Hacer desaparecer los textos SOCIOS e INTERES LEGÍTIMO del banner de cookies */

.hhnhep.hhnhep .qc-cmp2-footer .qc-cmp2-footer-links {   
    display: none !important;
}
