:root {
    --cs-theme-primary: #02b9d2;
    --cs-theme-primary-light: #DDEEF8;
    --cs-theme-primary-dark: #025972;
    --cs-theme-text: #4D4D4D;
    --cs-theme-primary-darken: #039cb0;
    --cs-theme-primary-lighten: #9ce8f2;

    --cs-theme-ticket-bg: var(--cs-theme-primary-lighten);
    --cs-theme-ticket-normal: var(--cs-theme-primary);
    --cs-theme-ticket-dark: var(--cs-theme-primary-darken);

    --bs-primary-rgb: 247,147,30;

    --cs-theme-highlight: var(--cs-theme-primary);
}

.voucher {
    --cs-theme-ticket-bg: #bdc;
    --cs-theme-ticket-hover: #485;
    --cs-theme-ticket-active: var(--cs-theme-ticket-hover);
}

.ticket-info {
    --cs-theme-ticket-edit: #000;
    --cs-theme-ticket-edit-default: #777;
    --cs-theme-ticket-btn: var(--cs-theme-ticket-dark);
    --cs-theme-ticket-line: var(--cs-theme-ticket-normal);
    --cs-theme-ticket-hover: var(--cs-theme-ticket-normal);
    --cs-theme-ticket-hover-bg: var(--cs-theme-ticket-bg);
    --cs-theme-ticket-active: white;
    --cs-theme-ticket-active-bg: var(--cs-theme-ticket-normal);
}

.btn-primary {
    --bs-btn-bg: var(--cs-theme-primary);
    --bs-btn-border-color: var(--cs-theme-primary);
    --bs-btn-active-bg: var(--cs-theme-primary-darken);
    --bs-btn-active-color: white;
    --bs-btn-active-border-color: var(--cs-theme-primary-darken);
    --bs-btn-hover-bg: var(--cs-theme-primary-darken);
    --bs-btn-hover-color: white;
    --bs-btn-hover-border-color: var(--cs-theme-primary);
    --bs-btn-disabled-bg: var(--cs-theme-primary-lighten);
    --bs-btn-disabled-color: var(--cs-theme-text);
    --bs-btn-disabled-border-color: var(--cs-theme-primary-lighten);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  padding-bottom: 1em;
}

body .text {
    white-space: pre-line;
}

.screen-100 {
    height: 100% !important;
}

/* main navigation menu */
@media (max-width: 575px) {
    header > nav {
        background-color: white;
    }
}

    @media (min-width: 576px) {

    header > nav:nth-last-child(2) {
        background-color: white;
    }

    header > nav:last-child {
        padding-bottom: 3em;
        background-image: linear-gradient(white, white), linear-gradient(white, rgba(255,255,255, 0));
        background-position: bottom, bottom;
        background-size: 100% 120%, 100% 3em;
        background-origin: content-box, padding-box;
        background-repeat: no-repeat, no-repeat;
    }
}

header > nav .nav-link {
    padding-bottom: .1rem;
}

    header > nav .nav-link > * {
        color: #8c8c8c;
        text-underline-offset: .5rem;
    }

    header > nav .nav-link.active > * {
        text-decoration: solid underline black;
        -webkit-text-decoration: solid underline black;
        text-decoration-thickness: 3px;
        color: black;
    }

    header > nav .nav-link:hover > * {
        text-decoration: solid underline #707070;
        -webkit-text-decoration: solid underline #707070;
        text-decoration-thickness: 2px;
        color: #707070;
    }

header > nav .nav.member > li {
    padding-left: 1em;
    color: #6c757d;
}

    header > nav .nav.member > li > a {
        text-decoration: none;
        -webkit-text-decoration: none;
        color: #6c757d;
    }

header > nav .nav.member > li > a:hover {
    border-bottom: 3px solid #808080;
    color: #000;
}

.initial-header .navbar {
    min-height: 100px;
}

.initial-header .navbar-brand > img {
    height: 80px;
}

footer > .nav .btn-group > a {
    --bs-text-opacity: 1;
    color: var(--bs-secondary-color) !important;
    text-decoration: none !important;
}

/* navigation menu for modules */
.menu-module.nav .nav-link {
    padding-bottom: .1rem;
    color: #444;
}

.menu-module.nav .nav-link.active {
    border-bottom: 3px solid black;
    font-weight: bold;
    color: #000;
}

.menu-module.nav .nav-link:hover {
    border-bottom: 3px solid #808080;
    color: #808080;
}

/* search form */
.search-module .nav .nav-link {
    border-radius: unset;
    padding-bottom: .1rem;
    color: #444;
}

.search-module .nav .nav-link.active {
    border-bottom: 3px solid black;
    font-weight: bold;
    color: #000;
}

.search-module .nav .nav-link:hover {
    border-bottom: 3px solid #808080;
    color: #808080;
}

/* apply styles to original select element before hidden */
select.select2 {
    color: #444;
    background-color: #FFF;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    padding-left: 5px;
    font: unset;
}

span.select2-selection--multiple {
    border-color: #ced4da !important;
}

/* for each data block */
.block-header {
    border-bottom: 2px solid var(--cs-theme-primary);
    background: var(--cs-theme-primary-light);
    color: var(--cs-theme-primary-dark);
    margin: 0em -.5em 1em -.5em;
    border-left: 8px solid var(--cs-theme-primary);
    padding: 1rem 1rem 0rem 1rem;
}

    .block-header a {
        text-decoration: none;
        -webkit-text-decoration: none;
    }

        .block-header a:hover {
            color: #999;
            text-decoration: underline;
            -webkit-text-decoration: underline;
        }

.block-header h5 {
    font-weight: 900;
    color: black;
    display:flex;
    justify-content:space-between;
    text-transform: uppercase;
}


.block-header h5::after {
    font: var(--fa-font-solid);
    font-weight: 600;
    content: " \f105";
}

.side-header {
    border-bottom: 2px solid #eee;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
    padding-bottom: 0em;
    margin-bottom: 1em;
}

.side-header h6 {
    font-weight: 900;
    color: #444;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}

    .side-header a {
        text-decoration: none;
        -webkit-text-decoration: none;
    }

        .side-header a:hover {
            color: #999;
            text-decoration: underline;
            -webkit-text-decoration: underline;
        }

.card.author > .card-body {
    max-height: 10rem;
    overflow: auto;
}

/* each item of the block */
.item {
    position: relative;
}

.item .image img {
    object-fit: cover;
}

.item.d-flex > * {
    flex-grow: 1;
}

.item.d-flex .image {
    width: 84px;
    height: 84px;
    margin-right: 1em;
    flex-shrink: 0;
    flex-grow: 0;
}

.item .image>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item .image .image-default {
    object-fit: contain;
    -webkit-transform: scale(0.5); /* Saf3.1+, Chrome */
    -moz-transform: scale(0.5); /* FF3.5+ */
    -ms-transform: scale(0.5); /* IE9 */
    -o-transform: scale(0.5); /* Opera 10.5+ */
    transform: scale(0.5);
}

.item .title {
    margin-bottom: 0em;
    font-weight: bold;
    color:#444;
}

.item .date {
    margin-bottom: .2em;
    text-size-adjust: 75%;
    color: #444;
}

.item .body {
    color: #444;
    margin-bottom: 0em;
}

.item .image {
    background-color: #577ebd;
    z-index: 0;
    position: relative;
}

.item .image .overlay {
    position: absolute;
    bottom: .75em;
    right: .75em;
    width: auto;
    height: auto;
    left: auto;
    top: auto;
    z-index: 2;
    font-size: .75em;
    border-radius: 1.5em;
    padding: .25em 1em .25em 1em;
    background: #900;
    color: #fff;
}

    .item a {
        text-decoration: none;
        -webkit-text-decoration: none;
        font-weight: bold;
        color: #577ebd;
    }

.item .body a {
    font-weight: normal;
    color: #444;
}

    .item a:hover {
        text-decoration: underline;
        -webkit-text-decoration: underline;
    }

.item .link::after {
    font: var(--fa-font-solid);
    font-weight: 600;
    content: " \f105";
}

.avatar, .avatar-2 {
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.avatar {
    padding: 2em;
}

.avatar-2 {
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
}

ul.list-author, ul.list-keywords {
    list-style-type: none;
    padding-left: 0px;
}

ul.list-author > li {
}

ul.list-author.inline {
    display: inline;
}

ul.list-author.inline > li {
    display: inline;
    padding-right: .5em;
}

ul.list-keywords > li {
    display: inline;
    white-space: nowrap;
}

ul.list-attachments {
    list-style-type: none;
}

ul.list-attachments > li {
    padding-bottom: .5em;
}

    ul.list-attachments > li a {
        text-decoration: none;
        -webkit-text-decoration: none;
        color: #444;
        font-weight: bolder;
    }

        ul.list-attachments > li a:hover {
            text-decoration: underline;
            -webkit-text-decoration: underline;
            color: #888;
        }

h6.list-article-group {
    font-weight: bolder;
}

ul.list-article {
    list-style-type: none;
    padding-left: 0px;
}

ul.list-article > li {
    margin-bottom: 0.5em;
}

ul.list-article > li a {
    text-decoration: none;
    -webkit-text-decoration: none;
    color: #444;
}

    ul.list-article > li a:hover {
        text-decoration: underline;
        -webkit-text-decoration: underline;
        color: #888;
    }

/* side pane */
ul.side-list {
    padding-left: 1em;
}

ul.side-list > li {
    list-style-type: none;
    color: #444;
    margin-bottom: 1em;
}

    ul.side-list > li a {
        text-decoration: none;
        -webkit-text-decoration: none;
        color: #444;
    }

ul.side-list .title {
    margin-bottom: 0px;
}

.separator-dot::before {
    content: "\2002\2022\2002";
    color: #888;
}

/* article related */
.article.carousel {
}

.article.carousel .carousel-item {
}

.article.carousel .carousel-item.image {
    width: 100%;
}

    .article.carousel .carousel-item.image img {
        object-fit: cover;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

iframe.video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* cart-related */
ul.cart {
    list-style: none;
    list-style-position: inside;
}

ul.cart > li {
   position: relative;
}

ul.cart > li > input {
    height: 1.5rem;
    position: absolute;
    left: -1.5rem;
    padding-right: 0em;
    margin-right: 0em;
}

table.detail-table th {
    padding-right: 1em;
}

/* notification alert */
.notification {
    background: var(--cs-theme-primary-light);
    color: var(--cs-theme-primary-dark);
    margin: 0em -.5em 1em -.5em;
    border-left: 8px solid var(--cs-theme-primary);
    padding: .5rem 1rem .5rem 1rem;
}

.notification > div {
    padding: .5rem 1rem;
}

    .notification > div:not(:last-child) {
        border-bottom: 1px solid var(--cs-theme-primary);
    }

    .notification a {
        text-decoration: none;
        -webkit-text-decoration: none;
        color: var(--cs-theme-primary-dark);
        font-weight: bold;
    }

        .notification a:hover {
            text-decoration: underline;
            -webkit-text-decoration: underline;
            text-decoration-color: black;
        }

/* main page */
.promo {
    display: flex;
    min-height: 17em;
}

.promo > .item {
    flex-grow: 1;
    display: flex;
    background-color: #577ebd;
}

.item .body {
    white-space: pre-line;
}

.promo > .item .image-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    object-fit: cover;
}

.promo > .item .image-caption {
    align-self: flex-end;
    width: 100%;
    background-color: rgba(255,255,255,.75);
    padding-top: 2em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
    z-index: 1;
}

#promo-carousel > .carousel-inner .carousel-caption {
    width: 100%;
    left: 0px;
    bottom: 0px;
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.2),rgba(0,0,0,.5));
    color: white;
    padding-bottom: 2em;
    text-align: left;
    padding-left: 5em;
    padding-right: 5em;
}

#promo-carousel > .carousel-inner img {
    object-fit: cover;
}

#promo-carousel > .carousel-inner .carousel-caption a {
    color: white;
}

    #promo-carousel > .carousel-inner .carousel-caption a:link {
        text-decoration: none;
        -webkit-text-decoration: none;
    }

    #promo-carousel > .carousel-inner .carousel-caption a:hover {
        text-decoration: underline;
        -webkit-text-decoration: underline;
        text-decoration-color: white;
    }

/* share button styling */
.share-links {
    padding-bottom: 1em;
}

.share-links .fa-facebook {
    color: #3b5998;
}

.share-links .fa-facebook:hover {
    color: blue;
}

.share-links .fa-line {
    color: #00B900;
}

.share-links .fa-line:hover {
    color: lawngreen;
}

/* order related */
.table .price {
    text-align: right;
    text-align: end;
    padding-right: 1em;
}

.table th.price {
    padding-right: 2em;
}

table.info th {
    padding-right: 1em;
}

/* FAQ / accordion */
.accordion-item {
    border-radius: .5rem !important;
    margin-bottom: 1em;
    border: 1px solid rgba(0,0,0,.125) !important;
    box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.1), 3px 4px 20px 0 rgba(0, 0, 0, 0.08);
}
    .accordion-item:not(:first-of-type) {
        border-top: initial;
    }

    .accordion-item .accordion-button {
        border-top-left-radius: calc(.5rem - 1px);
        border-top-right-radius: calc(.5rem - 1px);
        padding: 1rem 3rem;
        font-weight: bold;
        color: var(--cs-theme-primary-dark);
    }

    .accordion-item .accordion-body {
        padding: 1rem 3rem;
    }

    .accordion-item .accordion-button:not(.collapsed) {
        color: var(--cs-theme-primary-dark);
        background-color: var(--cs-theme-primary-light);
    }
    .accordion-item .accordion-button.collapsed {
        border-radius: calc(.5rem - 1px) !important;
    }

.faq-cat {
    background: var(--cs-theme-primary-light);
    color: var(--cs-theme-primary-dark);
    border-left: 8px solid var(--cs-theme-primary);
    padding: .5rem 1rem 1rem 1rem;
    margin-bottom: 1em;
}

.faq-cat.nav-pills .nav-link {
    border-radius: unset;
    color: black;
    font-weight: bold;
}

    .faq-cat.nav-pills .nav-link:hover {
        text-decoration: solid underline var(--cs-theme-primary-dark);
        -webkit-text-decoration: solid underline var(--cs-theme-primary-dark);
        text-decoration-thickness: 2px;
        text-underline-offset: .5rem;
    }

    .faq-cat.nav-pills .nav-link.active,
    .faq-cat.nav-pills .show > .nav-link {
        background-color: unset;
        color: unset;
        text-decoration: solid underline var(--cs-theme-primary-dark);
        -webkit-text-decoration: solid underline var(--cs-theme-primary-dark);
        text-decoration-thickness: 3px;
        text-underline-offset: .5rem;
    }


.btn-login-line {
    background-color: #06C755;
    color: white;
    padding: 0;
    display: inline-flex;
    align-items: stretch;
    --btn-margin-x: calc(var(--bs-btn-line-height) * var(--bs-btn-font-size));
}

    .btn-login-line > :nth-child(2) {
        padding: var(--bs-btn-padding-y) var(--btn-margin-x);
        vertical-align: middle;
        border-left: 1px solid rgba(0,0,0,0.08);
        flex-grow: 1;
    }

    .btn-login-line > img {
        margin: calc(var(--bs-btn-padding-y)/2) var(--bs-btn-padding-y);
        width: var(--btn-margin-x);
        height: auto;
        aspect-ratio: 1;
        object-fit: contain;
    }

    .btn-login-line:hover {
        background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1)), #06C755;
        color: white;
    }

    .btn-login-line:active {
        background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)), #06c755 !important;
        color: white !important;
    }

.ticket {
}

.ticket-info {
}

.ticket > .ticket-header {
    background-color: white;
    border-radius: 1rem 1rem 0rem 0rem;
    text-align: end;
    padding: .5rem .5rem 0rem 0rem;
}

.ticket > .ticket-body {
    background-color: white;
    border-radius: 0rem 0rem 1rem 1rem;
    text-align: center;
}

    .ticket > .ticket-body div {
        padding: 0rem 2rem 0rem 2rem;
    }

.ticket #qrcode > img {
    padding: 10px;
    display: inline-block !important;
}

.ticket > .ticket-body::after {
    content: '';
    display: block;
    border-bottom: 2px dashed black;
    margin: 2rem .5rem 0rem .5rem;
}

.ticket > .ticket-detail::before {
    content: '';
    display: block;
    border-top: 2px dashed black;
    margin: 0rem .5rem 2rem .5rem;
}

.ticket > .ticket-detail {
    background-color: var(--cs-theme-ticket-bg);
    padding: 0rem 2rem 1rem 2rem;
    border-radius: 1rem 1rem 1rem 1rem;
}

.ticket-info {
    background-color: var(--cs-theme-ticket-bg);
    border-radius: 1rem 1rem 1rem 1rem;
    position: relative;
}

    .ticket-info > .ticket-summary {
        padding: 1.5rem 2rem .5rem 2rem;
    }

    .ticket-info .edit {
        position: relative;
        z-index: 3;
        text-decoration: none;
        -webkit-text-decoration: none;
        color: var(--cs-theme-ticket-edit);
    }

        .ticket-info .edit:active {
            color: var(--cstheme-ticket-active);
            text-decoration: dotted underline var(--cstheme-ticket-active);
            -webkit-text-decoration: dotted underline var(--cstheme-ticket-active);
        }

        .ticket-info .edit:hover {
            color: var(--cs-theme-ticket-hover);
            text-decoration: dotted underline var(--cstheme-ticket-hover);
            -webkit-text-decoration: dotted underline var(--cstheme-ticket-hover);
        }

        .ticket-info .edit.default {
            text-decoration: dotted underline;
            -webkit-text-decoration: dotted underline;
            color: var(--cs-theme-ticket-edit-default);
        }

.ticket h4,
.ticket h5 {
    font-weight: bold;
}

.ticket-info .ticket-status {
    text-size-adjust: 150%;
}

.ticket-info .action {
    border-top: 1px solid var(--cs-theme-ticket-line);
    width: 100%;
    display: flex;
}

    .ticket-info .action > * {
        padding: .5rem 0px;
        z-index: 2;
        flex: 1 1 0px;
        text-align: center;
    }

        .ticket-info .action > *:not(:first-child) {
            border-left: 1px solid var(--cs-theme-ticket-line);
        }

        .ticket-info .action > *:first-child {
            border-bottom-left-radius: 1rem;
        }

        .ticket-info .action > *:last-child {
            border-bottom-right-radius: 1rem;
        }

    .ticket-info .action > button,
    .ticket-info .action > a {
        color: var(--cs-theme-ticket-btn);
        text-decoration: none;
        -webkit-text-decoration: none;
    }

        .ticket-info .action > button:hover,
        .ticket-info .action > a:hover {
            background-color: var(--cs-theme-ticket-hover-bg);
            color: var(--cs-theme-ticket-hover);
        }

        .ticket-info .action > button:active,
        .ticket-info .action > a:active {
            background-color: var(--cs-theme-ticket-active-bg);
            color: var(--cs-theme-ticket-active);
        }

.ticket-info .btn-qrcode {
    z-index: 1;
}

    .ticket-info .btn-qrcode:hover {
        color: var(--cs-theme-ticket-hover);
        transition: all .2s;
    }

    .ticket-info .btn-qrcode:after {
        content: '';
        z-index: 1;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transition: all .5s;
        border-radius: 1rem 1rem 1rem 1rem;
        border: 4px solid rgba(0,0,0,0);
    }

    .ticket-info .btn-qrcode:hover:after {
        border-radius: 1rem 1rem 1rem 1rem;
        border: 4px solid var(--cs-theme-ticket-hover);
    }

.list-booking {
    gap: .5rem;
    padding: 0 .5em 1em .5em;
}

.list-booking-item {
    position: relative;
}

.list-booking .list-group-item {
    cursor: pointer;
    border-radius: .5rem;
    padding: 1rem 1rem 1rem 3rem;
}

    .list-booking .form-check-input {
        z-index: 2;
        margin-top: -.5em;
        top: 50%;
        left: 0;
        font-size: 1.25rem;
    }

    .list-booking .list-group-item:hover,
    .list-booking .list-group-item:focus {
        background-color: var(--bs-secondary-bg);
    }

    .list-booking .form-check-input:checked + .list-group-item {
        background-color: var(--bs-body);
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 2px var(--bs-primary);
    }

    .list-booking .form-check-input[disabled] + .list-group-item,
    .list-booking .form-check-input:disabled + .list-group-item {
        pointer-events: none;
        filter: none;
        opacity: .5;
    }


label.required::after {
    content: "*";
    font-weight: bold;
    color: red;
    display: inline;
}

.form-control::placeholder {
    color: currentColor;
    opacity: 0.4;
}