/* / default style for table */

table {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {

    table.responsive-table,
    table.responsive-table thead,
    table.responsive-table tbody,
    table.responsive-table tr,
    table.responsive-table td,
    table.responsive-table th {
        display: block;
    }

    table.responsive-table thead {
        display: none !important;
    }

    table.responsive-table tr {
        margin-bottom: 16px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 6px;
    }

    table.responsive-table td {
        padding: 6px 10px;
        position: relative;
    }

    table.responsive-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        color: #333;
    }

    table.responsive-table tr:nth-child(odd) {
        background: #f5f5f5;
    }

    table.responsive-table tr:nth-child(even) {
        background: #ececec;
    }
}


/* fixed table */

.table-scroll {
    position: relative !important;
    width: 100 !important;
    z-index: 1 !important;
    margin: auto !important;
    overflow: auto !important;
    height: 150px !important;
}

.table-scroll .b-table table {
    white-space: nowrap !important;
    width: 100% !important;
    min-width: 400px !important;
    margin: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table-scroll .b-table {
    position: relative !important;
    width: 100% !important;
    z-index: 1 !important;
    margin: auto !important;
    overflow: auto !important;
    height: 150px !important;
}

.table-scroll .b-table table {
    width: 100% !important;
    min-width: 400px !important;
    margin: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table-wrap {
    position: relative !important;
}

.table-scroll th,
.table-scroll td {
    padding: 5px 10px !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    vertical-align: top !important;
}

.table-scroll thead th {
    background: #509e46 !important;
    color: #fff !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
}

.table-scroll .b-table th,
.table-scroll td {
    padding: 5px 10px !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    vertical-align: top !important;
}

.table-scroll .b-table thead th {
    background: #509e46 !important;
    color: #fff !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
}

.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
    position: -webkit-sticky !important;
    position: sticky !important;
    bottom: 0 !important;
    background: #666 !important;
    color: #fff !important;
    z-index: 4 !important;
}

.table-scroll .b-table tfoot,
.table-scroll .b-table tfoot th,
.table-scroll .b-table tfoot td {
    position: -webkit-sticky !important;
    position: sticky !important;
    bottom: 0 !important;
    background: #666 !important;
    color: #fff !important;
    z-index: 4 !important;
}

[data-type="fixed-table"] th:first-child {
    position: -webkit-sticky !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    background: #ccc !important;
}

[data-type="fixed-table"] thead th:first-child,
tfoot th:first-child {
    z-index: 5 !important;
}

[data-type="fixed-table"] tr th:first-child {
    position: -webkit-sticky !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    background: #ccc !important;
}

[data-type="fixed-table"] tr thead th:first-child,
tfoot th:first-child {
    z-index: 5 !important;
}


/* twoo column table */
[data-type="twoocolumn"] {
    margin: 0 auto !important;
    border-collapse: collapse !important;
    font-weight: 100 !important;
    background: #fff !important;
    color: #509e46 !important;
    text-rendering: optimizeLegibility !important;
    border-radius: 5px !important;
    border: 1px solid #a6a6a6 !important;
}

[data-type="twoocolumn"] caption {
    font-size: 2rem !important;
    color: #000 !important;
    margin: 1rem !important;

}

[data-type="twoocolumn"] thead th {
    font-weight: 600 !important;
}

[data-type="twoocolumn"] thead th,
[data-type="twoocolumn"] tbody td {
    padding: .8rem !important;
    font-size: 14px !important;
}

[data-type="twoocolumn"] tbody td {
    padding: .8rem !important;
    font-size: 14px !important;
    color: #000 !important;
    background: #fff !important;
}

[data-type="twoocolumn"] tbody tr:not(:last-child) {
    border-top: 1px solid #a6a6a6 !important;
    border-bottom: 1px solid #a6a6a6 !important;
}


@media only screen and (max-width: 560px) {
    [data-type="twoocolumn"] caption {
        background-image: none !important;
    }

    [data-type="twoocolumn"] thead {
        display: none !important;
    }

    [data-type="twoocolumn"] tbody td {
        display: block !important;
        padding: .6rem !important;

    }

    [data-type="twoocolumn"] tbody tr td:first-child {
        background: #fff !important;
        color: #509e46 !important;
        border-bottom: 1px solid #a6a6a6 !important;
        text-align: center !important;
        font-weight: bold !important;
    }

}

/* twoo rows  */

/* .plus-minus {
    margin-bottom: 35px !important;
}



.plus-minus-two,
.plus-minus-one {
    border: 1px solid #a6a6a6 !important;
    font-size: 14px !important;
}

.plus-minus-two,
.plus-minus-one td {
    font-size: 14px !important;
}

.plus-minus table>tr:first-child td {
    color: #fff !important;
    background: #509e46 !important;

}

.plus-minus-two,
.plus-minus-one {
    border: 1px solid #a6a6a6 !important;
    font-size: 14px !important;
}

.plus-minus-two,
.plus-minus-one td {
    font-size: 14px !important;
}


ul li,
ol li {
    color: #424242 !important;
}

@media (min-width: 992px) {
    .plus-minus {
        display: flex !important;
        justify-content: center !important;
    }
} */

@media (max-width: 768px) {
    table[data-type="twoo-rows"] {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    table[data-type="twoo-rows"] tr,
    table[data-type="twoo-rows"] td {
        display: block !important;
        width: 100% !important;
    }

    table[data-type="twoo-rows"] tr {
        margin-bottom: 12px !important;
    }
}




/* ticket table */

table[data-type="ticket"],
table[data-type="ticket"] td,
table[data-type="ticket"] th {
    border-color: var(--ticket-border-color) !important;
    color: var(--ticket-font-color) !important;
}

table[data-type="ticket"] td {
    background: var(--ticket-bg-color) !important;
}

table[data-type="ticket"] button {
    margin: 0 auto !important;
    background-color: var(--ticket-btn-color) !important;
    padding: 9.6px 30px 15px !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    line-height: normal !important;
    display: inline-block !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    color: var(--ticket-font-color) !important;
}

table[data-type="ticket"] td>th {
    background: #e9ecef !important;
}



@media screen and (max-width: 768px) {
    table[data-type="ticket"] {
        width: 100% !important;
    }

    table[data-type="ticket"] td {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }


    table[data-type="ticket"] thead {
        display: none !important;
    }

    table[data-type="ticket"]:not(:has(thead)) tbody tr:first-child {
        display: none !important;
    }

    table[data-type="ticket"] tr {
        border: 2px solid #cecece !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 10px !important;
    }
}


/* front sticky banner */

#sticky-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3) !important;
    z-index: 9999 !important;
    transition: transform 0.3s ease-in-out !important;
}

#sticky-banner .banner-container {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sticky-banner img {
    max-height: 200px !important;
    width: auto !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}

#sticky-banner .banner-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

#sticky-banner .close-banner {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: red !important;
    border: none !important;
    color: white !important;
    padding: 5px 10px !important;
    cursor: pointer !important;
    border-radius: 3px !important;
}