.flight{
    cursor: pointer !important;
}

.barcode {
    font-family: 'Libre Barcode 39', cursive;
    font-size: 60px;
}

.item-top::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0;
    border-bottom: 3px #99999991 dashed;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    background-image: var(--bs-gradient) !important;
    z-index: 0;
}

.item-top-return::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0;
    border-bottom: 3px #99999991 dashed;
    border-top: 3px #99999991 dashed;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    background-image: var(--bs-gradient) !important;
    z-index: 0;
}

.item-content {
    margin-top: 30px;
}

.item-body::before {
    content: '';
    position: absolute;
    width: 89%;
    top: 10.3%;
    left: 5.5%;
    z-index: 1;
}

.item-body::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    border-radius: 8px;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    background-image: var(--bs-gradient) !important;
    z-index: 0;
}

.itinerario-origen::after {
    content: '';
    position: absolute;
    width: 68%;
    border: 1px solid red;
    right: 0%;
    top: 50%;
}

.itinerario-origen-conexion::before {
    content: '\f054';
    position: absolute;
    right: -29%;
    top: 5%;
    color: red;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
}

.itinerario-origen-conexion::after {
    content: '';
    position: absolute;
    width: 45%;
    border: 1px solid red;
    right: 10%;
    top: 50%;
}

.itinerario-conexion::before {
    content: '';
    position: absolute;
    width: 38%;
    border: 1px solid red;
    left: -10%;
    top: 50%;
}

.itinerario-conexion::after {
    content: '';
    position: absolute;
    width: 40%;
    border: 1px solid red;
    right: -10%;
    top: 50%;
}

.itinerario-destino-conexion::before {
    content: '';
    position: absolute;
    width: 41%;
    border: 1px solid red;
    left: 10%;
    top: 50%;
}

.itinerario-destino-conexion::after {
    content: '\f054';
    position: absolute;
    left: 47%;
    top: 5%;
    color: red;
    font-size: 1em;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
}

.itinerario-destino::before {
    content: '';
    position: absolute;
    width: 68%;
    border: 1px solid red;
    left: 0%;
    top: 50%;
}

.itinerario-destino::after {
    content: '\f054';
    position: absolute;
    left: 64%;
    top: 5%;
    color: red;
    font-size: 1em;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
}

@media (min-width: 576px) {
    .item-header::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 98%;
        top: 0;
        left: 0%;
        border-radius: 5px;
        box-shadow: 0px 0px 4px 0px #00000029;
        --bs-bg-opacity: 1;
        background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
        background-image: var(--bs-gradient) !important;
    }

    .resumen .item-header::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 98%;
        top: 0;
        left: 0%;
        box-shadow: none !important;
    }

    .item-body::before {
        content: '';
        position: absolute;
        height: 92%;
        top: 4%;
        left: 7.5%;
        border-left: 3px #99999991 dashed;
        border-top: none;
    }

    .resumen .item-body::before {
        content: '';
        position: absolute;
        width: 90%;
        height: 98%;
        top: 0;
        left: 8%;
        box-shadow: none !important;
        z-index: 1;
    }

    .item-body::after {
        content: '';
        position: absolute;
        width: 92%;
        height: 98%;
        top: 0;
        left: 8%;
        border-radius: 8px;
        box-shadow: 0px 0px 4px 0px #00000029;
        --bs-bg-opacity: 1;
        background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
        background-image: var(--bs-gradient) !important;
        z-index: 0;
    }

    .barcode {
        font-family: "Libre Barcode 39", cursive;
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        font-size: 60px;
        /* margin-left: -12px; */
    }
  
    .boarding-pass .ms-0 {
        margin-left: 0 !important;
    }
  
    .item-content {
        margin-top: 0px;
    }

    .itinerario-origen::after {
        content: '';
        position: absolute;
        width: 60%;
        border: 1px solid red;
        right: 0%;
        top: 50%;
    }

    .itinerario-destino::before {
        content: '';
        position: absolute;
        width: 60%;
        border: 1px solid red;
        left: 0%;
        top: 50%;
    }

    .itinerario-destino::after {
        content: '\f054';
        position: absolute;
        left: 58%;
        top: 5%;
        color: red;
        font-size: 1em;
        font-weight: 900;
        font-family: "Font Awesome 6 Free";
    }
}

@media (min-width: 768px) {
    .barcode {
        font-family: "Libre Barcode 39", cursive;
        writing-mode: horizontal-tb;
        font-size: 60px;
    }
}

@media (min-width: 992px) {
    .barcode {
        font-family: "Libre Barcode 39", cursive;
        writing-mode: vertical-rl;
        font-size: 60px;
    }
}

.conexiones {
    position: relative;
    line-height: 1.5;
    margin: 0px !important;
    padding: 0px !important;
}

.conexiones::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: .125rem;
    height: 60%;
    border-left: 1px dashed #1b1b1b;
}

.conexiones li {
    line-height: 1.323;
    text-align: left;
    padding: .25rem 0 .25rem 1.375rem;
}

.conexiones li.conexion {
    font-weight: 700;
    line-height: 1.323;
    font-size: .875rem;
    position: relative;
    color: #5a5a5a;
}

.conexiones li.conexion-detail {
    line-height: 1.323;
    font-size: .875rem;
    color: #5a5a5a;
    padding-bottom: .25rem;
}

.conexion::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: .3125rem;
    height: .3125rem;
    border-radius: 50%;
    background-color: #0190a0;
    transform: translateY(-50%);
}

.custom-tooltip-trigger.tooltip.show {
    --bs-tooltip-opacity: 1;
    --bs-tooltip-max-width: 250px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
        border-radius: var(--bs-border-radius) !important;
}

.custom-tooltip-trigger.tooltip .tooltip-arrow::before {
    --bs-tooltip-bg: var(--bs-white);
}

.custom-tooltip-trigger.tooltip .tooltip-inner {
    --bs-tooltip-bg: var(--bs-white);
    border-radius: var(--bs-border-radius) !important;
    padding-left: 1.5rem !important;
}