#contBuscador {
    width: 680px;
    margin: 20px auto;
    padding: 20px 15px 0 15px;
    font: normal 70% "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.left {
    float: left;
}

.margenH6 {
    margin-left: 3px;
}

.margenV6 {
    margin-top: 3px;
}

.block {
    display: block;
    clear: both;
    width: 100%;
}

.ysearchSuggestRow,
.ysearchSuggestGeneric,
.ysearchSuggestAirport,
.ysearchSuggestAllAirports,
.ysearchSuggestSubAllAirports,
.ysearchSuggestRail,
.ysearchSuggestMixed,
.ysearchSuggestCity,
.ysearchSuggestPredefined,
.ysearchSuggestPredefinedLast {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    font-family: arial;
    font-size: 8pt;
    padding-left: 20px;
}

.ysearchSuggestCountry {
    color: #808080;
    float: right;
    font-family: arial;
    font-size: 8pt;
    padding-right: 5px;
    right: 3px;
    z-index: 10;
}

.ysearchSuggestAllAirports {
    background-color: transparent;
    background-image: url("images/spriteIata.gif");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    background-position: 0px -71px;
}

.ysearchSuggestSubAllAirports {
    padding-left: 38px;
    background-color: transparent;
    background-image: url("images/spriteIata.gif");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    background-position: 0px -36px;
}

.ysearchSuggestAirport {
    background-color: transparent;
    background-image: url("images/spriteIata.gif");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    background-position: 0px 0px;
}

#DestinoTextHoteles-list,
#txtOrigen_1-list,
#txtDestino_1-list,
#txtOrigen_2-list,
#txtDestino_2-list,
#txtOrigen_3-list,
#txtDestino_3-list,
#txtOrigen_4-list,
#txtDestino_4-list {
    width: 480px !important;
}

.airlineSmall {
    vertical-align: middle;
    max-height: 20px;
    width: auto;
}

.btnControls {
    margin: 5px;
    padding-top: 10px;
}

#tabsHorizontal>li>a {
    padding: 10px 13px;
}

#buscadorVuelos label,
#buscadorHoteles label,
#buscadorAutos label,
#buscadorSeguros label,
#buscadorPlanes label,
#buscadorTransfers label,
#buscadorTiquetes label,
#buscadorVueloHotel label,
#calendar_flight label,
#buscadorVuelos strong {
    font-weight: 400;
    color: #000000;
}

.container-Passenger {
    background-color: #f1f1f1 !important;
    width: 205px !important;
    position: absolute !important;
        left: -25px; /* default (mobile / legacy) overridden below for desktop */
    border-radius: 3% !important;
    z-index: 999 !important;
    display: none;
}

/* Ensure container acts as positioning context */
.IfPassContainer { position: relative; }

/* Desktop: align popover to the right edge of its container and below trigger */
@media (min-width: 768px) {
    .IfPassContainer .container-Passenger {
        left: auto !important;
        right: 0 !important;
        top: 100%;
        margin-top: 6px;
        box-shadow: 0 6px 18px rgba(0,0,0,.15);
        border: 1px solid #e0e0e0;
    }
}

/* Optional small arrow (desktop) */
@media (min-width: 768px) {
    .IfPassContainer .container-Passenger::before {
        content: "";
        position: absolute;
        top: -8px;
        right: 14px;
        width: 14px; height: 14px;
        background: #f1f1f1;
        transform: rotate(45deg);
        border-left: 1px solid #e0e0e0;
        border-top: 1px solid #e0e0e0;
    }
}

.label-Passenger {
    margin-top: 10px !important;
    margin-left: 7px !important;
    font-size: 14px !important;
    color: #000 !important;
    font-family: Titillium Web, sans-serif !important;
    font-weight: 200 !important;
    width: 56px !important;
}

.container-Table-Passenger {
    margin-top: 4px !important;
    display: table !important;
}

.contMarginPassenger {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.btnPrimary.btn-buscar {
    margin-top: 0;
    margin: 12px;
    border-radius: 5px;
    text-transform: initial;
    color: black;
}

.colPaddingR10 {
    padding-right: 2px !important;
}

input[type=checkbox]:not(old),
input[type=radio]:not(old) {
    width: 2em;
    margin: 0;
    padding: 0;
    font-size: 1em;
    cursor: pointer;
}

.label-NewHab-Passenger {
    font-size: 14px !important;
    color: orange !important;
    margin-top: 16px !important;
    left: 31px !important;
    cursor: pointer !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600 !important;
}

.span-Delete-Passenger {
    /* float: right !important; */
    margin-top: 11px !important;
    cursor: pointer !important;
    color: red !important;
    font-weight: 600 !important;
    border: 0px !important;
}

.label_edades-assitencia {
    padding: 6px 12px;
    width: 30%;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: black;
}

.label_edades-assitencia2 {
    padding: 6px 12px;
    width: 30%;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: black;
    display: none;
}


/* .label_edades-assitencia2 {
    background-color: #fff;
    color: #ff8c01 !important;
    border: 1px solid #ccc;
    padding: 0px 0 5px 16px;
    font-size: 14px;
    width: 30%;
    border-radius: 6px;
    padding: 6px 12px;
    height: 34px;
    margin-top: 2%;
    display: none;
} */

/*******************************estilos plantilla hoteles en promocion********************************************/
.posth.post-offerhotel {
    padding-bottom: 15px;
    background-color: #fff;
}

.posth.post-offerhotel:hover {
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19) !important;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.posth.post-offerhotel a {
    text-decoration: none;
}

.posth.post-offerhotel figure {
    height: 273px;
}

.posth.post-offerhotel figure img {
    width: 100%;
}

.IconoIzquierdaCeleste {
    background-color: #fff;
    color: #fff;
    display: inline-block;
    position: relative;
    float: left;
    margin-left: 25px;
    margin-top: -20px;
    padding: 5px;
    border-radius: 5px;
}

.estrellasestadias {
    color: #333333;
    clear: left;
    margin-left: 10%;
}

.CalugaCiudadHOtel {
    color: #333;
    font-size: 14px;
    font-weight: normal;
    line-height: 14px;
    padding-left: 10px;
}

.CalugaHotel {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    padding-left: 10px;
    margin: 0;
    min-height: 50px;
}

.CalugaDesdehoteles {
    color: #333;
    font-size: 14px;
    margin: 0;
    padding-left: 10px;
    margin: 4% 0%;
}

.CalugaPreciohoteles {
    font-family: "Titillium Web", sans-serif;
    color: #008bcc;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    margin: 0px 0px 0px;
    padding-left: 10px;
}

.price-flex_amount {
    font-family: "Titillium Web", sans-serif;
    color: #008bcc;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
}

.CalugaDetallehoteles {
    color: #666;
    font-size: 14px;
    line-height: 20px;
    padding-left: 10px;
    margin-top: 4%;
}

.CalugaOrigenhoteles {
    color: #008bcc;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding-left: 10px;
    font-weight: 500;
}

#slideHomeHotel {
    margin-top: 20px;
}

/* Center tabs and add thin orange underline */
#tabsHorizontal {
    justify-content: center; /* flexbox centering (Bootstrap 5 sets display:flex) */
    border-bottom: 2px solid transparent; /* remove default gray line */
    gap: 6px;
}

#tabsHorizontal .nav-link {
    border: none !important;
    background: transparent !important;
    color: #000 !important;
    position: relative;
    font-weight: 500;
}

#tabsHorizontal .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* sits just below text */
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,#ff8c01,#ffb347);
    border-radius: 2px;
    transition: width .25s ease;
}

#tabsHorizontal .nav-link:hover::after {
    width: 100%;
}

#tabsHorizontal .nav-link.active::after {
    width: 100%;
}

/* Optional: reduce default padding to make underline tighter */
#tabsHorizontal > li > a.nav-link {
    padding: 8px 14px;
}

/* Remove Bootstrap's active background */
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    background-color: transparent !important;
    color: #000 !important;
}

.btnPrimary,
.btnPrimary.btn-buscar,
.btn-buscar,
.btn.btn-primary,
button.btnPrimary,
input[type=button].btnPrimary {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.btnPrimary:hover,
.btnPrimary.btn-buscar:hover,
.btn-buscar:hover,
.btn.btn-primary:hover,
.btnPrimary:focus,
.btn-buscar:focus,
.btn.btn-primary:focus {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.btnPrimary:active,
.btn-buscar:active,
.btn.btn-primary:active {
    background-color: #cc7400 !important;
    border-color: #cc7400 !important;
    color: #fff !important;
}

.btnPrimary:disabled,
.btn-buscar:disabled,
.btn.btn-primary:disabled {
    background-color: #ffb866 !important;
    border-color: #ffb866 !important;
    color: #fff !important;
    opacity: .85;
}

.btnBlue { background: #ff9400 !important; border-color: #ff9400 !important; color:#fff !important; }

@media (max-width: 575.98px) {
    .trayectoInputs .row.g-3.align-items-center.mt-2 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 6px; /* separaciÃ³n uniforme */
        margin-left: 0;
        margin-right: 0;
    }
    .trayectoInputs .row.g-3.align-items-center.mt-2 > [class*="col-"] {
        width: 100% !important; /* que la celda ocupe su fracciÃ³n */
        padding: 0; /* el gap maneja el espacio */
    }
    .trayectoInputs .row.g-3.align-items-center.mt-2 .form-check {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 4px 4px;
        background: transparent; /* sin fondo sÃ³lido */
        border: none; /* quitar borde */
        border-radius: 0;
        height: auto;
        white-space: nowrap;
    }
    .trayectoInputs .row.g-3.align-items-center.mt-2 .form-check-input {
        margin-top: 0;
        margin-right: 4px;
        flex-shrink: 0;
    }
    .trayectoInputs .row.g-3.align-items-center.mt-2 .form-check-label {
        font-size: 11px;
        line-height: 1.15;
        font-weight: 500;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    #tabsHorizontal {
        flex-wrap: nowrap; /* impedir que bajen */
        overflow: hidden; /* evitar scroll visible */
        gap: 2px;
    }
    #tabsHorizontal .nav-item {
        flex: 1 1 auto; /* que se repartan el ancho */
        min-width: 0; /* permite encoger */
    }
    #tabsHorizontal .nav-link {
        padding: 4px 2px !important;
        font-size: 0.65rem; /* mÃ¡s pequeÃ±o */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    /* Ocultar texto para ganar espacio si hay muchos tabs */
    #tabsHorizontal .nav-link span {
        display: none;
    }
    #tabsHorizontal .nav-link img, #tabsHorizontal .nav-link i {
        width: 22px !important;
        height: 22px !important;
    }
}
