/*
-----------------------------
SIMPLEBAR
-----------------------------
*/
[data-simplebar] {
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}

.simplebar-wrapper {
    overflow: hidden;
    width: inherit;
    height: inherit;
    max-width: inherit;
    max-height: inherit;
}

.simplebar-mask {
    direction: inherit;
    position: absolute;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto !important;
    height: auto !important;
    z-index: 0;
}

.simplebar-offset {
    direction: inherit !important;
    box-sizing: inherit !important;
    resize: none !important;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.simplebar-content-wrapper {
    direction: inherit;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */
    width: auto;
    visibility: visible;
    max-width: 100%; /* Not required for horizontal scroll to trigger */
    max-height: 100%; /* Needed for vertical scroll to trigger */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.simplebar-content:before,
.simplebar-content:after {
    content: ' ';
    display: table;
}

.simplebar-placeholder {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    pointer-events: none;
}

.simplebar-height-auto-observer-wrapper {
    box-sizing: inherit !important;
    height: 100%;
    width: 100%;
    max-width: 1px;
    position: relative;
    float: left;
    max-height: 1px;
    overflow: hidden;
    z-index: -1;
    padding: 0;
    margin: 0;
    pointer-events: none;
    flex-grow: inherit;
    flex-shrink: 0;
    flex-basis: 0;
}

.simplebar-height-auto-observer {
    box-sizing: inherit;
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 1000%;
    width: 1000%;
    min-height: 1px;
    min-width: 1px;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.simplebar-track {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

[data-simplebar].simplebar-dragging .simplebar-content {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

[data-simplebar].simplebar-dragging .simplebar-track {
    pointer-events: all;
}

.simplebar-scrollbar {
    position: absolute;
    left: 0;
    right: 0;
    min-height: 10px;
}

.simplebar-scrollbar:before {
    position: absolute;
    content: '';
    background: #bbbec3;
    border-radius: 7px;
    left: 2px;
    right: 2px;
    opacity: 0;
    transition: opacity 0.2s linear;
}

.simplebar-scrollbar.simplebar-visible:before {
    /* When hovered, remove all transitions from drag handle */
    opacity: 0.5;
    transition: opacity 0s linear;
}

.simplebar-track.simplebar-vertical {
    top: 0;
    width: 11px;
}

.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
    top: 2px;
    bottom: 2px;
}

.simplebar-track.simplebar-horizontal {
    left: 0;
    height: 11px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
    height: 100%;
    left: 2px;
    right: 2px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
    right: auto;
    left: 0;
    top: 2px;
    height: 7px;
    min-height: 0;
    min-width: 10px;
    width: auto;
}

/* Rtl support */
[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {
    right: auto;
    left: 0;
}

.hs-dummy-scrollbar-size {
    direction: rtl;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    height: 500px;
    width: 500px;
    overflow-y: hidden;
    overflow-x: scroll;
}

.simplebar-hide-scrollbar {
    position: fixed;
    left: 0;
    visibility: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/*
-----------------------------
LIGHTBOX
-----------------------------
*/
body.lb-disable-scrolling {
    overflow: hidden;
}

.lightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity: 0.8;
    display: none;
}

.lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10000;
    text-align: center;
    line-height: 0;
    font-weight: normal;
    outline: none;
}

.lightbox .lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    max-height: none;
    border-radius: 3px;

    /* Image border */
    border: 4px solid white;
}

.lightbox a img {
    border: none;
}

.lb-outerContainer {
    position: relative;
    *zoom: 1;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 4px;

    /* Background color behind image.
       This is visible during transitions. */
    background-color: white;
}

.lb-outerContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-loader {
    position: absolute;
    top: 43%;
    left: 0;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}

.lb-cancel {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background: url(../images/ssl/loading.gif) no-repeat;
}

.lb-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.lb-container > .nav {
    left: 0;
}

.lb-nav a {
    outline: none;
    background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
    height: 100%;
    cursor: pointer;
    display: block;
}

.lb-nav a.lb-prev {
    width: 34%;
    left: 0;
    float: left;
    background: url(../images/ssl/prev.png) left 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.lb-nav a.lb-next {
    width: 64%;
    right: 0;
    float: right;
    background: url(../images/ssl/next.png) right 48% no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.lb-dataContainer {
    margin: 0 auto;
    padding-top: 5px;
    *zoom: 1;
    width: 100%;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-data {
    padding: 0 4px;
    color: #ccc;
}

.lb-data .lb-details {
    width: 85%;
    float: left;
    text-align: left;
    line-height: 1.1em;
}

.lb-data .lb-caption {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1em;
}

.lb-data .lb-caption a {
    color: var(--accent);
}

.lb-data .lb-number {
    display: block;
    clear: left;
    padding-bottom: 1em;
    font-size: 12px;
    color: #999999;
}

.lb-data .lb-close {
    display: block;
    float: right;
    width: 30px;
    height: 30px;
    background: url(../images/ssl/close.png) top right no-repeat;
    text-align: right;
    outline: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
    cursor: pointer;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

/*
-----------------------------
CURTAIN
-----------------------------
*/
.curtain {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: .5s all;
    z-index: 1;
    vertical-align: top;
    background-color: var(--base20);
    border: 1px solid var(--base80);
    border-radius: .25rem;
    color: var(--base80);
}

.curtain i {
    font-size: 1.75rem;
}

.curtain:hover {
    color: var(--base0);
    text-shadow: 1px 1px 1px var(--shadow);
}

.curtain::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--base60);
    transform: scaleX(0);
    z-index: -1;
    transition: .5s all;
}

.curtain:hover::before {
    left: 0;
    transform: scaleX(1);
}

/*
-----------------------------
DATEPICKER
-----------------------------
*/
.ui-datepicker {
    position: relative;
    width: 21rem;
    height: auto;
    padding: .3rem auto 0 auto;
    background-color: var(--base20);
    box-shadow: .25rem .25rem .25rem var(--base80);
    font-size: 1.2rem;
}

.ui-datepicker-header {
    font-weight: bold;
    border: none;
    background-color: var(--base60);
    color: var(--base0);
    text-shadow: 1px 1px 1px var(--shadow);
}

.ui-datepicker-title {
    border: 1px solid var(--base60);
    border-bottom: none;
    text-align: center;
    padding: .5rem 0;
    overflow: hidden;
}

.ui-datepicker-prev, .ui-datepicker-next {
    display: inline-block;
    height: 2rem;
    font-size: 1.2rem;
    padding: .5rem;
    cursor: pointer;
    overflow: hidden;
}

.ui-datepicker-prev {
    float: left;
}
.ui-datepicker-next {
    float: right;
}

.ui-datepicker table {
    border-collapse: collapse;
    box-sizing: border-box;
}

.ui-datepicker th {
    background-color: var(--base40);
}

.ui-datepicker td, .ui-datepicker th {
    border: 1px solid var(--base60);
    width: 3rem;
    text-align: center;
}

.ui-datepicker td > a {
    display: inline-block;
    width: 100%;
    padding: .3rem 0;
    color: var(--base80);
    transition: all .5s;
}

.ui-datepicker .ui-state-hover {
    background-color: var(--base60);
    color: var(--base0);
    text-shadow: 1px 1px 1px var(--shadow);
}

.ui-datepicker-calendar .ui-state-active {
    background-color: var(--theme);
    color: var(--base0);
}

/*
-----------------------------
PRELOAD
-----------------------------
*/
#preload {
    display: none;
    position: fixed;
    width: 6rem;
    height: 6rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#preload::before {
    position: relative;
    top: 1rem;
    left: 1rem;
    content: url("data:image/svg+xml; utf8, %3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.0%22%20width%3D%2264px%22%20height%3D%2264px%22%20viewBox%3D%220%200%20128%20128%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23000000%22%2F%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23c0c0c0%22%20transform%3D%22rotate%2845%2064%2064%29%22%2F%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23c0c0c0%22%20transform%3D%22rotate%2890%2064%2064%29%22%2F%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23c0c0c0%22%20transform%3D%22rotate%28135%2064%2064%29%22%2F%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23c0c0c0%22%20transform%3D%22rotate%28180%2064%2064%29%22%2F%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23c0c0c0%22%20transform%3D%22rotate%28225%2064%2064%29%22%2F%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23c0c0c0%22%20transform%3D%22rotate%28270%2064%2064%29%22%2F%3E%3Cpath%20d%3D%22M38.52%2033.37L21.36%2016.2A63.6%2063.6%200%200%201%2059.5.16v24.3a39.5%2039.5%200%200%200-20.98%208.92z%22%20fill%3D%22%23c0c0c0%22%20transform%3D%22rotate%28315%2064%2064%29%22%2F%3E%3CanimateTransform%20attributeName%3D%22transform%22%20type%3D%22rotate%22%20values%3D%220%2064%2064%3B45%2064%2064%3B90%2064%2064%3B135%2064%2064%3B180%2064%2064%3B225%2064%2064%3B270%2064%2064%3B315%2064%2064%22%20calcMode%3D%22discrete%22%20dur%3D%22960ms%22%20repeatCount%3D%22indefinite%22%3E%3C%2FanimateTransform%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}