/* -----------------Logo-----------------------*/
#logo {
    /*position: relative;*/
    float: left;
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    line-height: 100%;
    /*margin-right: 40px;*/
}

#logo img {
    max-height: 70px;
}

#logo a {
    display: block;
    color: #000;
}

#logo img {
    display: block;
    max-width: 100%;
}

#logo a.standard-logo {
    display: block;
}

#logo a.retina-logo {
    display: none;
}

#logo {
    display: block;
    float: none;
    margin: 0 auto 0 !important;
    max-width: none;
    text-align: center;
    border: 0 !important;
    padding: 0 !important;
}

#header-wrap {
    background-color: black;
    position: relative;
}

#header.full-header #logo {
    padding-right: 30px;
    margin-right: 30px;
    border-right: 1px solid #EEE;
}

#header.transparent-header.full-header #logo {
    border-right-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    #header.sticky-header #header-wrap {
        position: fixed;
    }

    #header,
    #header-wrap {
        height: auto !important;
    }

    #logo {
        display: block;
        float: none;
        position: relative;
        margin: 0 auto !important;
        max-width: none;
        text-align: center;
        border: 0 !important;
        padding: 0 !important;
    }

    #logo a.standard-logo {
        display: inline-block;
    }

    #primary-menu-trigger {
        opacity: 1;
        pointer-events: auto;
        top: 0;
        margin-top: 0;
        left: 0;
        z-index: 1;
    }

    #primary-menu {
        display: block;
        float: none;
        height: auto !important;
    }

    #primary-menu>ul,
    #primary-menu>div>ul {
        display: none;
        float: none !important;
    }
}

/* -----------------Primary Menu-----------------------*/
#primary-menu {}

#primary-menu ul li a {
    display: block;
    padding: 0 20px;
    color: #444;
    text-align: center;
    text-decoration: none;
}

#primary-menu-trigger {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 11;
    color: #fff;
    opacity: 1;
    pointer-events: auto;
}

#primary-menu>ul {
    list-style: none;
    margin: 0;
}

#primary-menu-trigger {
    display: none;
}

@media (max-width: 991px) {
    #primary-menu-trigger {
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -25px;
        left: 0;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 14px;
        cursor: pointer;
        z-index: 11;
        color: #fff;
        opacity: 1;
        pointer-events: auto;
    }
}

canvas {
    max-width: 100%;
    height: auto !important;
}

/* BS5: no bundled .close — legacy modal dismiss buttons get reboot “button” chrome + theme .dark .close (near-invisible ×). */
.modal button.close[data-bs-dismiss="modal"],
.modal a.close[data-bs-dismiss="modal"] {
    background: transparent;
    border: 0;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: #212529;
    opacity: 0.65;
    box-shadow: none;
    width: auto;
    height: auto;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
}

.modal .modal-header.text-white button.close[data-bs-dismiss="modal"],
.modal .modal-header.text-white a.close[data-bs-dismiss="modal"],
.modal .transfer-modal-header button.close[data-bs-dismiss="modal"],
.modal .transfer-modal-header a.close[data-bs-dismiss="modal"],
.modal .modal-header.main-linear-color button.close[data-bs-dismiss="modal"],
.modal .modal-header.main-linear-color a.close[data-bs-dismiss="modal"],
.modal .modal-header.bg-custom button.close[data-bs-dismiss="modal"],
.modal .modal-header.bg-custom a.close[data-bs-dismiss="modal"] {
    color: #fff;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.modal button.close[data-bs-dismiss="modal"]:hover,
.modal a.close[data-bs-dismiss="modal"]:hover {
    opacity: 1;
}

/* [EDGE CASE]: body.dark .close from dark.css sets rgba(0,0,0,0.15) — wins without this override. */
body.dark .modal button.close[data-bs-dismiss="modal"],
body.dark .modal a.close[data-bs-dismiss="modal"],
.dark .modal button.close[data-bs-dismiss="modal"],
.dark .modal a.close[data-bs-dismiss="modal"] {
    color: #fff !important;
    opacity: 0.92;
    text-shadow: none;
}

body.dark .modal button.close[data-bs-dismiss="modal"]:hover,
body.dark .modal a.close[data-bs-dismiss="modal"]:hover,
.dark .modal button.close[data-bs-dismiss="modal"]:hover,
.dark .modal a.close[data-bs-dismiss="modal"]:hover {
    opacity: 1;
}

/* bootstrap-datepicker + Bootstrap 5 */
.datepicker.dropdown-menu {
    z-index: 1065 !important;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
}

.datepicker table {
    margin: 0;
}

.datepicker table tr td,
.datepicker table tr th {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.datepicker table tr td.day:hover,
.datepicker table tr td.focused {
    background: rgba(123, 0, 238, 0.12);
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
    background: #7B00EE !important;
    background-image: none !important;
    color: #fff !important;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
    background: rgba(123, 0, 238, 0.2) !important;
    color: #333 !important;
}

.datepicker table tr td.today:before {
    border-bottom-color: #7B00EE;
}

.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover {
    background: #7B00EE !important;
    background-image: none !important;
}

.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next,
.datepicker tfoot tr th {
    border-radius: 0.375rem;
}

.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker tfoot tr th:hover {
    background: rgba(123, 0, 238, 0.1);
}

/* ================================================================
   #slider Owl Carousel (mobile slideshow)
   ================================================================ */

#slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#slider .owl-theme .owl-controls {
    margin: 0;
}

#slider .owl-prev,
#slider .owl-next {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    top: 50%;
    left: 0;
    margin-top: -26px;
    background-color: rgba(0, 0, 0, 0.3);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 0 3px 3px 0;
    -webkit-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}

#slider .owl-next {
    left: auto;
    right: 0;
    border-radius: 3px 0 0 3px;
}

#slider .owl-prev i,
#slider .owl-next i {
    line-height: 50px;
    width: 34px;
    height: 52px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    font-size: 34px;
    text-align: center;
    margin-left: 7px;
}

#slider .owl-prev i {
    margin-left: 0;
}

#slider .owl-next i {
    margin-right: 4px;
}

#slider .owl-controls .owl-nav {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

#slider .owl-controls .owl-nav div,
#slider:hover .owl-controls .owl-nav {
    opacity: 1;
}

#slider .owl-prev:hover,
#slider .owl-next:hover {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

#slider .owl-dots {
    position: absolute;
    width: 100%;
    z-index: 20;
    margin: 0;
    top: auto;
    bottom: 15px;
}

#slider .owl-controls .owl-dots span {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    opacity: 1;
    background-color: transparent;
    border: 1px solid #FFF;
}

#slider .owl-dots .owl-dot.active span,
#slider .owl-dots .owl-dot:hover span {
    background-color: #FFF !important;
}

#slider .owl-carousel .owl-item img {
    -webkit-backface-visibility: hidden;
}