/* ===================================
    Crafto - Medical
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* variable */
:root {
    --base-color: #4B9CB6;
    --base-color-light: #65ebf0;
    /* --base-color: #26b4be; */
    /* --seccondary-color: #524973; */
    --seccondary-color: #0047AB;
    --alt-font: 'Manrope', sans-serif;
    --primary-font: 'Manrope', sans-serif;
    --dark-gray: #303334;
    --red: #f45959;
    --medium-light-gray: #b4b4b4;
    --medium-gray: #848587;
}

/* :root {     
    --base-color: #18bcc7;  
    --alt-font: 'Manrope', sans-serif; 
    --primary-font: 'Manrope', sans-serif;
    --dark-gray: #303334;
    --red: #f45959;
    --medium-light-gray:#b4b4b4;
    --medium-gray:#848587;
} */
/* box layout */
.box-layout {
    padding: 0 100px;
}

body {
    font-size: 17px;
    line-height: 30px;
}

/* header */
.navbar .navbar-nav .nav-link {
    font-weight: 700;
    font-size: 18px;
    padding: 10px 22px;
}



header .container-fluid {
    padding-left: 85px;
    padding-right: 85px;
}

.sticky-wrap.shadow-in {
    left: 31px;
}

header .navbar-brand img {
    max-height: 80px;
    width: 100%;
}

.highlight-animation {
    animation: fadeInHighlight 0.5s ease-in-out;
    animation-delay: 2.5s;
    /* Delay to allow text animation to complete */
    animation-fill-mode: both;
}

.fs-55 {
    font-size: 55px;
}

.icon-swiper-slide {

    color: #16C1CC !important;
}

/* YouTube Shorts Gallery Styling */
.youtube-shorts-container {
    max-width: 410px;
    margin: 0 auto;
}

.youtube-shorts-container>div {
    position: relative;
    padding-bottom: 177.78%;
    /* 16:9 aspect ratio for vertical video */
    height: 0;
}

.youtube-shorts-container iframe {
    position: absolute;
    top: 30px;
    left: 35px;
    width: 86%;
    height: 90%;
    border-radius: 18px;
}



/* Improve mobile viewing */
@media (max-width: 768px) {
    .youtube-shorts-container iframe {
        top: 15px;
        left: 25px;
        width: 88%;
        height: 92%;
    }
}

@keyframes fadeInHighlight {
    0% {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
    }

    100% {
        opacity: 0.5;
        /* Match your opacity-5 class */
        transform: scaleX(1);
        transform-origin: left;
    }
}

.swiper-caption {
    font-size: 20px;
    font-weight: 600;
    color: var(--extra-very-slate-blue) !important;
    margin-bottom: 20px;
}

/* bg color */
.bg-light-turquoise-blue {
    background-color: #edf9fa;
}

.bg-light-red {
    background-color: var(--red);
}

.bg-light-cian-blue-transparent {
    background-color: rgb(75, 156, 182, 0.9);
}

.bg-light-sea-green-transparent {
    background-color: rgba(22, 193, 204, 0.8);
}

.accordion-style-05 .accordion-item .accordion-body {
    padding: 0 0px 0px 0px;
}

.accordion-body {
    padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
}

.bg-light-sea-green-transparent-light {
    background-color: rgba(22, 193, 204, 0.15);
}

.bg-whatsapp-green {
    /* background-color: #25D366; */
    /* background-color: #00FF66; */
    /* background-color: #00D26A; */
    background-color: #00CC44;
    /* background-color: #009E60  ; */
}

.bg-contrast {
    /* background-color: #232323; */
    /* background-color: #FFC107; */
    /* background-color: #00838F; */
    /* background-color: #FF6F00; */
    background-color: #0047AB;
}

/* border color */
.border-color-transparent-dark-gray {
    border-color: rgba(39, 47, 48, 0.1) !important;
}

.border-color-red {
    border-color: var(--red) !important;
}

h1,
.h1 {
    font-size: 3.8rem;
    line-height: 4rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 25px;
}

/* btn */
.btn {
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0px;
}

.btn.btn-extra-large {
    font-size: 18px;
}

.btn.btn-large {
    font-size: 17px;
}

.btn.btn-medium {
    font-size: 16px;
}

.btn.btn-small {
    font-size: 15px;
}

.btn.btn-very-small {
    font-size: 14px;
}

.btn.btn-dark-gray {
    background-color: var(--seccondary-color);
    color: var(--white);
}

.btn.btn-dark-gray:hover,
.btn.btn-dark-gray:active,
.btn.btn-transparent-light-gray:hover,
.btn.btn-transparent-light-gray:active,
.btn.btn-box-shadow.btn-base-color:hover,
.btn.btn-box-shadow.btn-base-color:active {
    background-color: var(--base-color);
    border-color: var(--base-color);
    color: var(--white);
}

.btn.btn-base-color:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
    color: var(--white);
}

.underliner {
    --cnvs-underliner-size: 30%;
    --cnvs-underliner-color: var(--base-color);
    --cnvs-underliner-opacity: 0.5;
    --cnvs-underliner-speed: 0.3s;
    position: relative;
    opacity: 1 !important;
    background-image: linear-gradient(to bottom, transparent calc(100% - var(--cnvs-underliner-size)), rgba(var(--cnvs-underliner-color), var(--cnvs-underliner-opacity)) calc(100% - var(--cnvs-underliner-size)));
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size var(--cnvs-underliner-speed) cubic-bezier(.14, .15, .13, .99);
}

.map {
    position: relative;
    height: 450px;
    width: 100%;
}

.infowindow {
    padding: 10px 0;
}

.infowindow strong {
    color: #232323;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.infowindow p {
    font-size: 14px;
    margin: 0;
}

.google-maps-link {
    margin-top: 8px;
    display: inline-block;
}

.google-maps-link a {
    color: #18bcc7;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* page title */
.page-title-extra-large h2 {
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0px;
}

/* social media icon */
.social-icon-style-02 .small-icon li {
    margin: 0;
}

/* outside box right */
.outside-box-right-2 {
    margin-left: 10vw;
}

.left-22 {
    left: 22%;
}
.left-35 {
    left: 35%;
}


.youtube-shorts-gallery {
    padding: 2px;
    /* background-color: #f8f9fa; */
    /* border-radius: 15px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.youtube-shorts-swiper {
    height: 700px;
    /* background-color: red; */
}

.youtube-placeholder {
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.youtube-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.youtube-placeholder:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.play-button i {
    margin-left: 5px;
}

.youtube-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 0, 0, 1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.loading-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid white;
    margin-bottom: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.license-category {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.license-category:hover {
    transform: translateY(-5px);
}

.license-tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 120%;
    left: 21%;
    transform: translateX(-50%) translateY(-10px);
    width: 280px;
    background-color: rgba(255, 255, 255, 0.952);
    color: #333;
    text-align: left;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    opacity: 0;
    transition: all 0.3s ease;
}

.license-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.license-category:hover .license-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-20px);
}

.license-tooltip h5 {
    color: var(--base-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.license-tooltip p {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .license-tooltip {
        width: 230px;
    }

    .license-category.active .license-tooltip {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(-20px);
    }
}

.youtube-shorts-button-next,
.youtube-shorts-button-prev {
    color: var(--base-color-light) !important;
}

.youtube-shorts-button-next:after,
.youtube-shorts-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.banner-with-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Adjust opacity as needed */
    z-index: 0;
}

.image-background-banner {
    background-image: url("/images/CRC/background-banner03.jpg") !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    /* Ajusta la altura según tus necesidades */
}

@media (max-width: 768px) {

    .image-background-banner {
        background-image: url("/images/CRC/background-banner3-movil.jpg") !important;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        /* Adjust height as needed for your vertical image */
        height: 100%;
        width: 100%;

    }
}

.banner-with-overlay .container {
    position: relative;
    z-index: 1;
}

header .navbar-brand .alt-logo,
header .navbar-brand .mobile-logo {
    visibility: hidden;
    opacity: 0;
    max-width: 180px;
}

/* tab style 01 */
.tab-style-01 .nav-tabs .nav-link.show,
.tab-style-01 .nav-tabs .nav-link.active,
.tab-style-01 .nav-tabs .nav-link:hover {
    background-color: var(--base-color) !important;
    color: var(--white) !important; ;
}

.tab-style-01 .nav-tabs .nav-link {
    padding: 7px 29px;
    color: var(--dark-gray);
}

.tab-style-01 .nav-tabs>li.nav-item {
    padding: 0 13px;
}

.time-schedule {
    max-width: 1200px;
    /* Adjust this value based on your desired maximum width */
    margin: 0 auto;
    /* This centers the table */
}

.time-schedule-min-width {
    min-width: auto;
    /* Override any minimum width */
    width: 100%;
    /* Take full width of parent */
}

/* time table */
.time-table-box .hover-detail {
    padding: 25px 30px;
}

.time-table-box {
    flex-basis: 14.28% !important;
    /* For 7 columns (100% ÷ 7 = 14.28%) */
}

/* accordion style 05 */
.accordion-style-05 .accordion-item {
    padding: 25px 35px 27px 75px;
}

/* footer */
footer .nav-link {
    color: var(--white);
}

footer .nav-title {
    color: var(--white);
}

.elements-social .light li a:hover {
    color: var(--base-color) !important;
}

footer .footer-logo img {
    max-height: 40px;
}

footer .elements-social ul li:last-child {
    margin-right: 0;
}
.service-image {
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Revolution Slider */
#demo-corporate-slider {
    border-radius: 6px;
}

.hesperiden.tparrows {
    width: 54px;
    height: 54px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out
}

.hesperiden.tparrows:hover {
    border: 1px solid rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 1);
    ;
}

.hesperiden.tparrows:hover:before {
    color: #232323
}

.hesperiden.tparrows:before {
    line-height: 52px;
}

.hesperiden.tparrows.tp-leftarrow:before {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    font-size: 16px;
    font-weight: 900
}

.hesperiden.tparrows.tp-rightarrow:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-size: 16px;
    font-weight: 900
}

.hesperiden.tparrows.tp-leftarrow:before {
    margin-left: 0;
}

.hesperiden.tparrows.tp-rightarrow:before {
    margin-right: 0;
}

.get-started-btn {
    transition: 0.3s ease-in-out !important;
}

.hesperiden.tparrows {
    z-index: 97;
}

/* media query responsive */
@media (min-width: 768px) {
    .page-title-extra-large h1 {
        font-size: 3.8rem;
        line-height: 3.8rem;
    }
}

@media (max-width: 1600px) {
    .box-layout {
        padding: 0 60px;
    }

    .sticky-wrap.shadow-in {
        left: 10px;
    }

    header .container-fluid {
        padding-left: 45px;
        padding-right: 45px;
    }
}

@media (max-width: 1400px) {
    footer .nav-link {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}

@media (max-width: 1199px) {
    .box-layout {
        padding: 0 0;
    }

    .navbar .navbar-nav .nav-link {
        padding-left: 18px;
        padding-right: 18px;
    }

    header .btn.btn-switch-text.btn-small>span {
        padding: 8px 10px;
    }

    .tab-style-01 .nav-tabs>li.nav-item {
        padding: 0 8px;
    }

    header .navbar [class*=col-] {
        padding: 0px;
    }

    .time-table-box {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 991px) {
    .tab-style-01 .nav-tabs .nav-link {
        padding: 5px 25px;
    }

    .time-schedule-scroll {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .time-schedule-scroll .time-schedule-min-width {
        min-width: 1050px;
    }




    .tab-style-01 .nav-tabs>li.nav-item {
        padding: 0 4px;
    }

    header .navbar [class*=col-] {
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .accordion-style-05 .accordion-item .number {
        top: 13px;
    }
}