/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    color: #1977cc;
    text-decoration: none;
}

a:hover {
    color: #3291e6;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
    transition: opacity 1s ease;
}

/* #preloader.loaded {

    opacity: 0;
} */

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #0ba6a6;
    border-top-color: #d1e6f9;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #50cfd5;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #298ce5;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.datepicker-dropdown {
    padding: 20px !important;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
    background: #fff;
    height: 40px;
    font-size: 14px;
    transition: all 0.5s;
    z-index: 996;
}

#topbar.topbar-scrolled {
    top: -40px;
}

#topbar .contact-info a {
    line-height: 1;
    color: #444444;
    transition: 0.3s;
}

#topbar .contact-info a:hover {
    color: #1977cc;
}

#topbar .contact-info i {
    color: #1977cc;
    padding-right: 4px;
    margin-left: 15px;
    line-height: 0;
}

#topbar .contact-info i:first-child {
    margin-left: 0;
}

#topbar .social-links a {
    color: #437099;
    padding-left: 15px;
    display: inline-block;
    line-height: 1px;
    transition: 0.3s;
}

#topbar .social-links a:hover {
    color: #1977cc;
}

#topbar .social-links a:first-child {
    border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header nav {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 4.4rem;
    background: #ffffff00;
    border-bottom: 1px solid #00000000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);

}


.header nav .wrapper {
    position: relative;
    max-width: 1300px;
    padding: 0 0 0 20px;
    height: 70px;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.header .wrapper .logo a {
    color: #f2f2f2;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}

.header .wrapper .nav-links {
    display: inline-flex;
}

.header .nav-links li {
    list-style: none;
    padding-top: 15px;
}

.header .nav-links li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*---- sombreador ---*/
.header .nav-links li a:hover {
    background: #5DD2D7;
    color: #000000;
}

.header .nav-links .mobile-item {
    display: none;
}

.header .nav-links .drop-menu {
    position: absolute;
    background: #ffffff9c;
    width: 147px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;

}

.header .nav-links li:hover .drop-menu,
.header .nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;

}

.header .drop-menu li a {
    width: 100%;
    display: block;
    padding: 0px;
    font-weight: 500;
    border-radius: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header .mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

.header .mega-box .content {
    background: #242526;
    padding: 25px 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.header .mega-box .content .row {
    width: calc(25% - 30px);
    line-height: 45px;
}

.header .content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header .content .row header {
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
}

.header .content .row .mega-links {
    margin-left: -40px;
    border-left: 1px solid rgba(216, 43, 43, 0.09);
}

.header .row .mega-links li {
    padding: 0 20px;
}

.header .row .mega-links li a {
    padding: 0px;
    padding: 0 20px;
    color: #d9d9d9;
    font-size: 17px;
    display: block;
}

.header .row .mega-links li a:hover {
    color: #f2f2f2;
}

.header .wrapper .btn {
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

.header .wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}



/* Movil */
@media screen and (max-width: 970px) {
    .header .wrapper .btn {
        display: block;
    }

    .header .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        top: 0;
        left: -100%;
        background: #242526;
        display: block;
        padding: 50px 10px;
        line-height: 50px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.3s ease;
    }

    /* custom scroll bar */
    .header ::-webkit-scrollbar {
        width: 10px;
    }

    .header ::-webkit-scrollbar-track {
        background: #242526;
    }

    .header ::-webkit-scrollbar-thumb {
        background: #3A3B3C;
    }

    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
        display: none;
    }

    #close-btn:checked~.btn.menu-btn {
        display: block;
    }

    .header .nav-links li {
        margin: 15px 10px;
    }

    .header .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
        color: #ffffff;
    }

    .header .nav-links .drop-menu {
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        padding-left: 20px;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        background: #242526;
    }

    #showDrop:checked~.drop-menu,
    #showMega:checked~.mega-box {
        max-height: 100%;
    }

    .header .nav-links .desktop-item {
        display: none;
    }

    .header .nav-links .mobile-item {
        display: block;
        color: #f2f2f2;
        font-size: 20px;
        font-weight: 500;
        padding-left: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .header .nav-links .mobile-item:hover {
        background: #3A3B3C;
    }

    .header .drop-menu li {
        margin: 0;

    }

    .header .drop-menu li a {
        border-radius: 5px;
        font-size: 18px;
    }


    .header .mega-box {
        position: static;
        top: 65px;
        opacity: 1;
        visibility: visible;
        padding: 0 20px;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .header .mega-box .content {
        box-shadow: none;
        flex-direction: column;
        padding: 20px 20px 0 20px;
    }

    .header .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header .mega-box .content .row:nth-child(1),
    .header .mega-box .content .row:nth-child(2) {
        border-top: 0px;
    }

    .header .content .row .mega-links {
        border-left: 0px;
        padding-left: 15px;
    }

    .header .row .mega-links li {
        margin: 0;
    }

    .header .content .row header {
        font-size: 19px;
    }
}

.header nav input {
    display: none;
}

.header .body-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 30px;
}

.header .body-text div {
    font-size: 45px;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {

    position: relative;
}


.hero-section .wave {
    width: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    bottom: -150px;
}

@media screen and (max-width: 992px) {
    .hero-section .wave {
        bottom: -180px;
    }
}

.hero-section .wave svg {
    width: 100%;
}

.hero-section,
.hero-section>.container>.row {
    height: 70vh;
    min-height: 100px;
}

.hero-section.inner-page {
    height: 60vh;
    min-height: 0;
}

.hero-section.inner-page .hero-text {
    transform: translateY(-150px);
    margin-top: -120px;
}

@media screen and (max-width: 992px) {

    .hero-section,
    .hero-section>.container>.row {
        height: 50vh;
        min-height: 100px;
    }

    .hero-section.inner-page .hero-text {
        margin-top: -80px;
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 40px;
}

@media screen and (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-top: 40px;
    }
}

/*--------------------------------------------------------------
# Our Values
--------------------------------------------------------------*/
.our-values .card {
    border: 0;
    padding: 160px 20px 20px 20px;
    position: relative;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.our-values .card-body {
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    transition: ease-in-out 0.4s;
    border-radius: 5px;
}

.our-values .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.our-values .card-title a {
    color: #150517;
}

.our-values .card-text {
    color: #5e5e5e;
}

.our-values .read-more a {
    color: #777777;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    transition: 0.4s;
}

.our-values .read-more a:hover {
    text-decoration: underline;
}

.our-values .card:hover .card-body {
    background: #ff7f5d;
}

.our-values .card:hover .read-more a,
.our-values .card:hover .card-title,
.our-values .card:hover .card-title a,
.our-values .card:hover .card-text {
    color: #fff;
}



/*--------------------------------------------------------------
  # especialidad Section
  --------------------------------------------------------------*/
#espe {
    width: 100%;
    height: 70vh;

    background-blend-mode: lighten;
    background-size: cover;
    margin-bottom: 0px;


}

#espe .container {
    position: relative;
}

#espe h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    text-transform: uppercase;
    color: #2c4964;
}

#espe h2 {
    color: #2c4964;
    margin: 10px 0 0 0;
    font-size: 24px;
}

#espe .btn-get-started {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 35px;
    margin-top: 30px;
    border-radius: 50px;
    transition: 0.5s;
    color: #fff;
    background: #1977cc;
}

#espe .btn-get-started:hover {
    background: #3291e6;
}

@media (min-width: 1024px) {
    #espe {
        background-attachment: fixed;
        height: 70vh;
    }
}

@media (max-width: 992px) {
    #espe {
        margin-bottom: 0;
        height: 70vh;

    }

    #espe .container {
        padding-bottom: 63px;
    }

    #espe h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #espe h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }
}

@media (max-height: 600px) {
    #espe {
        height: 50vh;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 40px 0px;
    overflow: hidden;
}

.section-bg {
    background-color: #f1f7fd;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #2c4964;
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #5bd1d7;
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 20px 0;
    background-color: #f1f7fd;
    min-height: 40px;
    margin-top: 120px;
}

@media (max-width: 992px) {
    .breadcrumbs {
        margin-top: 100px;
    }
}

.breadcrumbs h2 {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
}

@media (max-width: 992px) {
    .breadcrumbs h2 {
        margin: 0 0 10px 0;
    }
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumbs ol li+li {
    padding-left: 10px;
}

.breadcrumbs ol li+li::before {
    display: inline-block;
    padding-right: 10px;
    color: #6c757d;
    content: "/";
}

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

    .breadcrumbs ol li {
        display: inline-block;
    }
}

/*--------------------------------------------------------------
# sociedad-nosotros
--------------------------------------------------------------*/
.sociedad .icon-box {
    padding: 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
}

.sociedad .icon-box::before {
    content: "";
    position: absolute;
    background: #afecf4;
    right: -60px;
    top: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    transition: all 0.3s;
    z-index: -1;
}

.sociedad .icon-box:hover::before {
    background: #5bd1d7;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
}

.sociedad .icon {
    margin: 0 auto 20px auto;
    padding-top: 10px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background: #5bd1d7;
    transition: all 0.3s ease-in-out;
}

.sociedad .icon i {
    font-size: 36px;
    line-height: 1;
    color: #fff;
}

.sociedad .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.sociedad .title a {
    color: #425451;
}

.sociedad .description {
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 0;
}

.sociedad .icon-box:hover .title a,
.sociedad .icon-box:hover .description {
    color: #fff;
}

.sociedad .icon-box:hover .icon {
    background: #fff;
}

.sociedad .icon-box:hover .icon i {
    color: #5bd1d7;
}

/*--------------------------------------------------------------
# About-nosotros
--------------------------------------------------------------*/
.about {
    width: 100%;
    height: auto;
    background-image: url("/assets/img/pronto-salud/gallery/gallery-1.jpg"), linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));

    background-blend-mode: darken;
    /* Utiliza darken para oscurecer la imagen */
    background-size: cover;
    margin-bottom: 0px;
}


#about p {
    color: #FFFFFF;
}

#about h2 {
    color: #FFFFFF;
}

#about {
    background-attachment: fixed;
}

#about .container {
    position: relative;

}

.about .content h3 {
    font-weight: 600;
    font-size: 26px;
    color: #000000;
}


.about .content ul {
    list-style: none;
    padding: 0;
    color: #000000;

}

.about .content ul li {
    padding-bottom: 10px;

}

.about .content ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #3fbbc0;
}

.about .content p:last-child {
    margin-bottom: 0;
}

/*---------------------
Linea - tiempo - about
----------------------- */

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    content: "";
    background-color: #6ad5da;
}

.timeline>li {
    position: relative;
    min-height: 50px;
    margin-bottom: 50px;
}

.timeline>li:after,
.timeline>li:before {
    display: table;
    content: " ";
}

.timeline>li:after {
    clear: both;
}

.timeline>li .timeline-panel {
    position: relative;
    float: right;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li .timeline-image {
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    text-align: center;
    color: white;
    border: 7px solid #dce1e3e8;
    border-radius: 100%;
    background-color: #19c7c5;
}

.timeline>li .timeline-image h4,
.timeline>li .timeline-image .h4 {
    font-size: 10px;
    line-height: 14px;
    margin-top: 12px;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4,
.timeline .timeline-heading .h4 {
    margin-top: 0;
    color: inherit;
}

.timeline .timeline-heading h4.subheading,
.timeline .timeline-heading .subheading.h4 {
    text-transform: none;
}

.timeline .timeline-body>ul,
.timeline .timeline-body>p {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .timeline:before {
        left: 50%;
    }

    .timeline>li {
        min-height: 100px;
        /* margin-bottom: 100px; */
    }

    .timeline>li .timeline-panel {
        float: left;
        width: 41%;
        padding: 0 20px 20px 30px;
        text-align: right;
    }

    .timeline>li .timeline-image {
        left: 50%;
        width: 100px;
        height: 100px;
        margin-left: -50px;
    }

    .timeline>li .timeline-image h4,
    .timeline>li .timeline-image .h4 {
        font-size: 13px;
        line-height: 18px;
        margin-top: 16px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        float: right;
        padding: 0 30px 20px 20px;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .timeline>li {
        min-height: 150px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px;
    }

    .timeline>li .timeline-image {
        width: 150px;
        height: 150px;
        margin-left: -75px;
    }

    .timeline>li .timeline-image h4,
    .timeline>li .timeline-image .h4 {
        font-size: 18px;
        line-height: 26px;
        margin-top: 30px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 20px 20px;
    }
}

@media (min-width: 1200px) {
    .timeline>li {
        min-height: 170px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px 100px;
    }

    .timeline>li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px;
    }

    .timeline>li .timeline-image h4,
    .timeline>li .timeline-image .h4 {
        margin-top: 40px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 100px 20px 20px;
    }
}


/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
    background: #f1f7fd;
    padding: 70px 0 60px;
}

.counts .count-box {
    padding: 30px 30px 25px 30px;
    width: 100%;
    position: relative;
    text-align: center;
    background: #fff;
}

.counts .count-box i {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    background: #1977cc;
    color: #fff;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.counts .count-box span {
    font-size: 36px;
    display: block;
    font-weight: 600;
    color: #082744;
}

.counts .count-box p {
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
}

/*--------------------------------------------------------------
# Features especialidad pg
--------------------------------------------------------------*/

.features .icon-box h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 5px 0 10px 60px;
}

.features .icon-box i {
    font-size: 48px;
    float: left;
    color: #3fbbc0;
}

.features .icon-box p {
    font-size: 15px;
    color: #848484;
    margin-left: 60px;
}

.features .image {
    height: 600px;
    /* Ajuste la altura predeterminada para pantallas más grandes */
}

.features .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consultas de medios para la capacidad de respuesta */
@media (max-width: 992px) {
    .features .row {
        flex-direction: column;
    }

    .features .icon-box {
        text-align: center;
        margin-bottom: 30px;
    }

    .features .icon-box h2,
    .features .icon-box p {
        margin-left: 0;
    }

    .features .image {
        padding: 20px 10px 10px;
        height: 300px;
        /* Ajuste la altura para pantallas más pequeñas */

    }
}



/*--------------------------------------------------------------
# servicios Especialidades Médicas en Casa
--------------------------------------------------------------*/
.services_casa {
    padding-bottom: 30px;

}

.services_casa .icon-box {
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 2px 0 35px 0 rgba(68, 88, 144, 0.12);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    text-align: center;
}

.services_casa .icon-box::before {
    content: "";
    position: absolute;
    background: #fdeff2;
    right: 0;
    left: 0;
    bottom: 0;
    top: 100%;
    transition: all 0.4s;
    z-index: -1;
}

.services_casa .icon-box:hover::before {
    background: #5DD2D7;
    top: 0;
    border-radius: 0px;
}

.services_casa .icon {
    margin-bottom: 15px;
}

.services_casa .icon i {
    font-size: 48px;
    line-height: 1;
    color: #5DD2D7;
    transition: all 0.3s ease-in-out;
}

.services_casa .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.services_casa .title a {
    color: #111;
}

.services_casa .description {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 0;
    text-align: left;
}

.services_casa .icon-box:hover .title a,
.services_casa .icon-box:hover .description {
    color: #fff;
}

.services_casa .icon-box:hover .icon i {
    color: #fff;
}


/*--------------------------------------------------------------
# servicios Especialidades Médicas en Móviles
--------------------------------------------------------------*/

.services_moviles .service_moviles-item {
    position: relative;
    padding-top: 40px;
}

.services_moviles .service_moviles-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #cacaca;
}

.services_moviles .service_moviles-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #5DD2D7;
    border-right: 5px solid #ffffff;
}

.services_moviles .service_moviles-item .icon {
    width: 48px;
    height: 48px;
    position: relative;
    margin-right: 50px;
    line-height: 0;
    color: #818181;
}

.services_moviles .service_moviles-item .icon i {
    color: #5DD2D7;
    font-size: 56px;
    transition: ease-in-out 0.3s;
    z-index: 2;
    position: relative;
}

.services_moviles .service_moviles-item .icon:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    border-radius: 50px;
    z-index: 1;
    bottom: -15px;
    right: -15px;
    transition: 0.3s;
}

.services_moviles .service_moviles-item .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.services_moviles .service_moviles-item .title a {
    color: #2B4A64;
}

.services_moviles .service_moviles-item .title a:hover {
    color: #4fb4b8;
}

.services_moviles .service_moviles-item .description {
    line-height: 24px;
    font-size: 14px;
}


/*--------------------------------------------------------------
# contador-index
--------------------------------------------------------------*/
.contador .container {
    width: 1000px;

    flex-wrap: wrap;


}

.contador .container .btn {
    position: relative;
    top: 0;
    left: 0;
    width: 260px;
    height: 70px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #000000;
}

.contador .container .btn i {
    font-size: 38px;
    line-height: 0;
    margin-right: 20px;
    color: #01A4A6;
    padding: 0px;
}

.contador .container .btn span {
    font-size: 35px;
    display: block;
    font-weight: 600;
    color: red;

}

.contador .container .btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 10px;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    color: #000000;
    font-weight: 400px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.contador .container .btn:hover a {
    letter-spacing: 3px;

}

.contador .container .btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 50%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.contador .container .btn:hover a::before {
    transform: skewX(45deg) translate(200px);
}

.contador .container .btn::before {
    content: "";
    position: absolute;
    left: 55%;
    transform: translatex(-50%);
    bottom: -5px;
    width: 50px;
    height: 10px;
    background: #f00;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5;
}

.contador .container .btn:hover::before

/*lightup button*/
    {
    bottom: 0;
    height: 10%;
    width: 90%;
    border-radius: 30px;
}

.contador .container .btn::after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translatex(-50%);
    top: -5px;
    width: 50px;
    height: 10px;
    background: #5bd1d7;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5;
}

.contador .container .btn:hover::after

/*lightup button*/
    {
    top: 0;
    height: 50%;
    width: 90%;
    border-radius: 30px;
}

/* MOVIL */
@media screen and (max-width: 768px) {
    .contador {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 60vh;

    }


    .contador .container .btn {
        position: relative;
        padding-bottom: 20%;
        top: 0;
        left: 0;
        width: 500px;
        height: 10px;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contador .container .btn i {
        font-size: 42px;
        line-height: 0;
        margin-right: 20px;
        color: #01A4A6;
        padding: 0px;
    }

    .contador .container .btn span {
        font-size: 36px;
        display: block;
        font-weight: 600;
        color: red;

    }

}

/*--------------------------------------------------------------
# especialidad index
--------------------------------------------------------------*/
.especialidad .icon-box {
    background-color: rgb(91, 209, 215, 0.10);
    text-align: center;
    border: 1px solid #bdecef;
    padding: 80px 20px;
    transition: all ease-in-out 0.3s;
}

.especialidad .icon-box .icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: #5bd1d7;
    border-radius: 5px;
    transition: all 0.3s ease-out 0s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

.especialidad .icon-box .icon i {
    color: #fff;
    font-size: 28px;
    transition: ease-in-out 0.3s;
}

.especialidad .icon-box .icon::before {
    position: absolute;
    content: "";
    left: -8px;
    top: -8px;
    height: 100%;
    width: 100%;
    background: rgba(25, 119, 204, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease-out 0s;
    transform: translateZ(-1px);
    z-index: -1;
}

.especialidad .icon-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
    color: #2c4964;
}



.especialidad .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.especialidad .icon-box:hover {
    background: #5bd1d7;
    border-color: #5bd1d7;
}

.especialidad .icon-box:hover .icon {
    background: #fff;
}

.especialidad .icon-box:hover .icon i {
    color: #5bd1d7;
}

.especialidad .icon-box:hover .icon::before {
    background: rgba(255, 255, 255, 0.3);
}

.especialidad .icon-box:hover h4,
.especialidad .icon-box:hover p {
    color: #fff;
}

/*  Especialidades ver mas   */
.especialidad .esp {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #bdecef;
    width: 100%;
    height: 100%;
    padding: 30px;
    transition: ease-in-out 0.3s;
    color: #2c4964;
    background-color: rgb(91, 209, 215, 0.10);
}

.especialidad .esp:hover {
    width: 100%;
    color: white;
    background: #5bd1d7;
}


/*--------------------------------------------------------------
    # Appointments
    --------------------------------------------------------------*/
.appointment .php-email-form {
    width: 100%;
}

.appointment .php-email-form .form-group {
    padding-bottom: 8px;
}

.appointment .php-email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 13px;
}

.appointment .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.appointment .php-email-form .error-message br+br {
    margin-top: 25px;
}

.appointment .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.appointment .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.appointment .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
    border-color: #1977cc;
}

.appointment .php-email-form input,
.appointment .php-email-form select {
    height: 44px;
}

.appointment .php-email-form textarea {
    padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
    background: #1977cc;
    border: 0;
    padding: 10px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
}

.appointment .php-email-form button[type=submit]:hover {
    background: #1c84e3;
}

/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments {
    overflow: hidden;
}

.departments .nav-tabs {
    border: 0;
}

.departments .nav-link {
    border: 0;
    padding: 12px 15px 12px 0;
    transition: 0.3s;
    color: #2c4964;
    border-radius: 0;
    border-right: 2px solid #ebf1f6;
    font-weight: 600;
    font-size: 15px;
}

.departments .nav-link:hover {
    color: #1977cc;
}

.departments .nav-link.active {
    color: #1977cc;
    border-color: #1977cc;
}

.departments .tab-pane.active {
    animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c4964;
}

.departments .details p {
    color: #777777;
}

.departments .details p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .departments .nav-link {
        border: 0;
        padding: 15px;
    }

    .departments .nav-link.active {
        color: #fff;
        background: #1977cc;
    }
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.team-item .position-relative {
    width: auto;
    height: auto;

}

.team-item .position-relative img {
    max-width: 100%;
    height: auto;
}

.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
    transition: ease-in-out 0.3s;
    margin-bottom: 20px;
}

.team-item h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: clamp(12px, 1vw, 20px);
    color: #2c4964;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: #5BD1D780;
}

.doctor-info {
    padding: 20px;
    text-align: center;
    height: 25%;
    flex-direction: column;
    display: flex;
    margin-bottom: 10px;
}

.badge {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 2px 10px;
    /*  color: #000; */
    font-size: clamp(10px, 1vw, 13px);
    display: inline-block;
}

/* End teams */

/*--------------------------------------------------------------
# Servicio - Salud Ocupacional
--------------------------------------------------------------*/

#get-started {
    display: inline-block;
    height: 100%;
    width: 100%;
}

#get-started .feature-block {
    background: #fff none repeat scroll 0 0;
    padding: 30px 20px;
    transition: all 0.5s ease-in-out 0s;
}

#get-started .feature-block img {
    height: 60px;
    margin-bottom: 30px;
    width: 60px;
}

@media (max-width: 991px) {
    #get-started .feature-block {
        margin-bottom: 30px;
    }
}

#get-started .feature-block:hover {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out 0s;
}

#get-started .feature-block h4 {
    margin-bottom: 20px;
}

#get-started .feature-block p {
    margin-bottom: 20px;
}

#get-started .feature-block a {
    color: #505050;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.3s;
}

#get-started .feature-block a:hover {
    color: #71c55d;
}



/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
    padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    padding: 30px 30px 30px 60px;
    margin: 30px 15px;
    min-height: 200px;
    box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
    position: relative;
    background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 10px;
    border: 6px solid #fff;
    position: absolute;
    left: -45px;
}

.testimonials h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #2c4964;
    text-align: center;
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #111;
}


.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: #badaf7;
    font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 15px auto 15px auto;
    color: #111;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #1977cc;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #1977cc;
}

@media (max-width: 767px) {
    .testimonials .testimonial-wrap {
        padding-left: 0;
    }

    .testimonials .testimonials-carousel,
    .testimonials .testimonials-slider {
        overflow: hidden;
    }

    .testimonials .testimonial-item {
        padding: 30px;
        margin: 15px;
    }

    .testimonials .testimonial-item .testimonial-img {
        position: static;
        left: auto;
    }
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery .gallery-item {
    overflow: hidden;
    border-left: 5px solid #ffffff;
    border-bottom: 5px solid #ffffff;

}

.img {
    max-width: 100%;
    /* Ajusta el tamaño máximo de la imagen al contenedor */
    height: auto;
    /* Mantiene la proporción de la imagen */
    display: block;
    /* Elimina espacios innecesarios alrededor de la imagen */
    margin: 0 auto;
    /* Centra la imagen horizontalmente */
}

.gallery .gallery-item img {
    transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.text-container {
    text-decoration: none;
    /* Eliminar el subrayado predeterminado de los enlaces */
    color: #2c4964;
    /* Color del texto */
    transition: all 0.3s ease;
    /* Transición suave para los cambios de estilo */
    display: block;
    /* Usar flexbox para centrar el contenido */
    height: 100%;
    /* Ajustar la altura para centrar verticalmente */
    text-align: center;
    /* Agregar borde al contenedor de texto */

    border-bottom: 5px solid #ffffff;

}

.text-container:hover {
    color: #ffffff;
    /* Cambiar el color del texto al pasar el cursor sobre el contenedor */
    background-color: #01a4a6;
    /* Color de fondo al pasar el mouse */
}

.text-container:active {
    background-color: #ccc;
}


.centered-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.3s ease;


}

/* Estilos para el botón "ver más" */
.ver-mas {
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.ver-mas span {
    transition: transform 0.3s ease;
    display: inline-block;
}

.ver-mas:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

/* Animación de vaivén para el icono al pasar el cursor */
.ver-mas:hover span {
    animation: vaiven 0.6s ease infinite;
    /* Aplicar la animación cuando se pasa el cursor */
}

@keyframes vaiven {

    0%,
    100% {
        transform: translateX(0);
        /* Estado inicial y final: sin desplazamiento */
    }

    50% {
        transform: translateX(5px);
        /* Mover hacia adelante */
    }
}

.ver-mas:hover {
    color: #fff;
    /* Cambiar color del texto al pasar el cursor sobre el botón */
}

.ver-mas:hover:before {
    background-color: #fff;
    /* Cambiar color de la línea al pasar el cursor sobre el botón */
}


/*--------------------------------------------------------------
# especialidad
--------------------------------------------------------------*/
.destination-item img {
    transition: .5s;
    height: 100%;
    width: 100%;
    height: 300px;
    object-fit: cover;
    z-index: -1;
    position: relative;
}

.destination-item:hover img {
    transform: scale(1.3);
}

.destination-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: .5s;
    z-index: 1;
}

.destination-item:hover .destination-overlay {
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    border-width: 30px;
}

/* Ajusta la altura del enlace según la altura de la imagen */
.destination-overlay a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* Evita que el subrayado del enlace afecte al tamaño */
}

.destination-overlay i {
    display: none;
    /* Initially hide the 'i' element */
}

.destination-item:hover .destination-overlay i {
    font-size: 28px;
    display: inline-block;
    /* Display the 'i' element on hover */
}

que apareca con una transisicon

/*----------------------------
HorarioPrueba
-----------------------------*/
#schedule {
    padding: 60px 0 60px 0;
}

#schedule .nav-tabs {
    text-align: center;
    margin: auto;
    display: block;
    border-bottom: 0;
    margin-bottom: 30px;
}

#schedule .nav-tabs li {
    display: inline-block;
    margin-bottom: 0;
}

#schedule .nav-tabs a {
    border: none;
    border-radius: 50px;
    font-weight: 600;
    background-color: #01A4A6;
    color: #fff;
    padding: 10px 50px;
    margin-bottom: 5px;
}

@media (max-width: 991px) {
    #schedule .nav-tabs a {
        padding: 8px 60px;
        margin: 5px 0px;
    }
}

@media (max-width: 767px) {
    #schedule .nav-tabs a {
        padding: 8px 50px;
    }
}

@media (max-width: 480px) {
    #schedule .nav-tabs a {
        padding: 8px 30px;
        margin: 5px;
    }
}

#schedule .nav-tabs a.active {
    background-color: #f82249;
    color: #fff;
}

#schedule .sub-heading {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    margin: 0 auto 30px auto;
}

@media (min-width: 991px) {
    #schedule .sub-heading {
        width: 75%;
    }
}

#schedule .tab-pane {
    transition: ease-in-out 0.2s;
}

#schedule .schedule-item {
    border-bottom: 1px solid #cad4f6;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: background-color ease-in-out 0.3s;
}

#schedule .schedule-item:hover {
    background-color: #fff;
}

#schedule .schedule-item time {
    padding-bottom: 5px;
    display: inline-block;
    margin: 20px 0px 20px 46px;
}

#schedule .schedule-item .speaker {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    float: left;
    margin: 0 10px 10px 0;
}

#schedule .schedule-item .speaker img {
    height: 100%;
    transform: translateX(-50%);
    margin-left: 50%;
    transition: all ease-in-out 0.3s;
}

#schedule .schedule-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0px 0px 0px;
}

#schedule .schedule-item h4 span {
    font-weight: normal;
    font-size: 16px;
}

#schedule .schedule-item p {
    font-style: italic;
    color: #152b79;
    margin-bottom: 0;
}


/*--------------------------------------------------------------
# Blog Posts List
--------------------------------------------------------------*/
.blog .post-item{
    margin: 5px
}
.blog .post-item .cartilla{
    padding: 20px;
}

.blog .posts-list .post-item {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    transform: scale(1);
    margin-bottom: 20px;
}

.blog .posts-list .post-img img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.5s;
    max-width: 100%;
    height: auto;
}

.blog .posts-list .post-date {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: green;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.blog .posts-list .cartilla .post-content {
    padding: 0 30px;
}

.blog .posts-list .post-title {
    font-size: 18px;
    color: #00a5a6;
    font-weight: 700;
    transition: 0.3s;
    margin-bottom: 15px;
}

.blog .posts-list .meta i {
    font-size: 16px;
    color: red;
}

.blog .posts-list .meta span {
    font-size: 15px;
    color: #838893;
}

.blog .posts-list p {
    margin-top: 20px;
}

.blog .posts-list hr {
    color: #888;
    margin-bottom: 20px;
}

.blog .posts-list .readmore {
    display: flex;
    align-items: center;
    font-weight: 600;
    line-height: 1;
    transition: 0.3s;
    color: #838893;
}

.blog .posts-list .readmore i {
    line-height: 0;
    margin-left: 6px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.blog .posts-list .readmore:hover i {
    transform: translateX(5px);
    /* Mueve el ícono 5px hacia la derecha cuando se pasa el cursor sobre él */
}

.blog .posts-list .readmore:hover i {
    animation: moveIcon 1s infinite alternate;
    /* Aplica la animación al ícono cuando el cursor está sobre él */
}

@keyframes moveIcon {
    to {
        transform: translateX(-5px);
        /* Mueve el ícono 5px hacia la izquierda cuando el cursor está sobre él */
    }
}

.blog .posts-list .post-item:hover .post-title,
.blog .posts-list .post-item:hover .readmore {
    color: #e04e34;
}



.blog .posts-list .post-item:hover .post-img img {
    transform: scale(1.1);
}

.blog .posts-list .post-item:hover {
    transform: scale(1.05);
}

/*--------------------------------------------------------------
# Blog Details pg
--------------------------------------------------------------*/
.blog .blog-details {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.blog .bg {
    padding-top: 50px
}

.blog .blog-details .post-img img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;

}

/*     @media screen and (max-width: 1500px) {
        .blog .blog-details .post-img img {
            max-width: 100%;
            height: auto;
        }
    } */

.blog .blog-details .title {
    font-size: 25px;
    font-weight: 700;
    padding: 0;
    margin: 20px 0 0 0;

}

.blog .blog-details .content {
    margin-top: 20px;
}

.blog .blog-details .content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}


.blog .blog-details .meta-top {
    margin-top: 20px;
    color: #6c757d;
}

.blog .blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog .blog-details .meta-top ul li+li {
    padding-left: 20px;
}

.blog .blog-details .meta-top i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
    color: green;
}

/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/
.blog .sidebar {
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    color: var(--color-secondary);
}

.blog .sidebar .sidebar-item+.sidebar-item {
    margin-top: 40px;
}

.blog .sidebar .categories ul {
    list-style: none;
    padding: 0;
}

.blog .sidebar .categories ul li+li {
    padding-top: 10px;
}

.blog .sidebar .categories ul a {
    color: red;
    transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
    color: green;
}

.blog .sidebar .categories ul a span {
    padding-left: 5px;
    color: rgba(54, 77, 89, 0.4);
    font-size: 14px;
}

.blog .sidebar .recent-posts .post-item {
    display: flex;
}

.blog .sidebar .recent-posts .post-item+.post-item {
    margin-top: 15px;
}

.blog .sidebar .recent-posts img {
    max-width: 80px;
    max-height: 60px;
    margin-right: 15px;
}

.blog .sidebar .recent-posts h4 {
    font-size: 13px;
    font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
    color: #0ba6a6;
    transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
    color: #df4936;
}

.blog .sidebar .recent-posts time {
    display: block;
    font-style: italic;
    font-size: 14px;
    color: rgba(54, 77, 89, 0.4);
}

/*--------------------------------------------------------------
# blog pagination
--------------------------------------------------------------*/
.blog .pagination-wrapper {
    padding-top: 30px;
    text-align: center;

}

.blog .pagination {
    display: inline-block;
    border-color: red;
}

.blog .pagination li {
    display: inline-block;
    margin: 0 5px;
    /* Espacio entre los elementos de la paginación */
}

.blog .pagination li a {
    padding: 8px 12px;
    border: 1px solid #ff0303;
    border-radius: 20px;
    text-decoration: none;
    color: #df4936;
    background-color: #fff;
    transition: all 0.3s ease;
}

.blog .pagination li.active a {
    background-color: #0ba6a6;
    color: #fff;
    border-color: #0ba6a6;
}

.blog .pagination li a:hover {
    background-color: #0ba6a6;
    color: #fff;
    border-color: #0ba6a6;
}





/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .align-self-center {
    border-top: 3px solid #24b7a4;
    border-bottom: 3px solid #24b7a4;
    padding: 15px;
    background: rgba(255, 255, 255, 0.06);
    width: 100%;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

/* .contact{
    background-color : #D4D2CD80;
} */
.contact .info {
    border-top: 3px solid #24b7a4;
    border-bottom: 3px solid #24b7a4;
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    width: 100%;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info i {
    font-size: 20px;
    color: #070707;
    float: left;
    width: 44px;
    height: 44px;
    background: rgba(85, 139, 77, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.contact .info h4 {
    padding: 0 0 0 60px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact .info p {
    padding: 0 0 10px 60px;
    margin-bottom: 20px;
    font-size: 14px;
    max-width: 100%;
}

.email a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 3vw;
    text-size-adjust: auto;
}

.email p {
    margin: 0;
}



.contact .info .email p {
    padding-top: 5px;

}

.contact .info .social-links {
    padding-left: 60px;
}

.contact .info .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #333;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
    margin-right: 10px;
}

.contact .info .social-links a:hover {
    background: #24b7a4;
    color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
    background: #24b7a4;
    color: #fff;
}

.contact .php-email-form {
    width: 100%;
    border-top: 3px solid #24b7a4;
    border-bottom: 3px solid #24b7a4;
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
    padding-bottom: 8px;
}

.contact .php-email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 13px;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .error-message br+br {
    margin-top: 25px;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .php-email-form input {
    height: 44px;
}

.contact .php-email-form textarea {
    padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
    background: #24b7a4;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #36d8c3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    color: #444444;
    font-size: 14px;
    background: #EEFAFB;
}

#footer .footer-top {
    padding: 60px 0 30px 0;
    background: #fff;
    box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#footer .footer-top .footer-contact {
    margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
    font-size: 22px;
    margin: 0 0 30px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
}

#footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
    color: #777777;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #444444;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #1c84e3;
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #777777;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: #1977cc;
}

#footer .footer-newsletter {
    font-size: 15px;
}

#footer .footer-newsletter h4 {
    font-size: 16px;
    font-weight: bold;
    color: #444444;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-newsletter form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 50px;
    text-align: left;
    border: 1px solid #bfdcf7;
}

#footer .footer-newsletter form input[type=email] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 20px;
    background: #1977cc;
    color: #fff;
    transition: 0.3s;
    border-radius: 50px;
}

#footer .footer-newsletter form input[type=submit]:hover {
    background: #1c84e3;
}

#footer .credits {
    padding-top: 5px;
    font-size: 13px;
    color: #444444;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #1977cc;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .social-links a:hover {
    background: #1c84e3;
    color: #fff;
    text-decoration: none;
}




/*--------------------------------------------------------------
# prueba
--------------------------------------------------------------*/

.hidden {
    opacity: 0;
    transition: all 2.5s;
}

.show {
    opacity: 1;
}
