body {
    background-color: #0E0E0E;
    font-family: 'Giga Sans';
}
.text-bg-dark {
    background-color: #0E0E0E !important;
}
#top-navbar {
    padding: 24px 0;
}
#top-navbar .navbar-brand img {
    width: 70%;
    height: 70%;
}
#top-menu {
    font-family: Giga Sans, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
}

@media (min-width: 992px) {
    #top-menu .nav-link {
        padding: 0 15px;
    }
    #top-menu .nav-item {
        height: 22px;
        border-right: 1px solid #fff;
    }
    #top-menu .nav-item:last-child {
        border-right: 0;
    }
}
.max-width-1000 {
    max-width: 1000px;
}
.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}
input.date-picker {
    cursor: pointer;
}
.min-h-100 {
    min-height: 100% !important;
}
#photo_item-view-modal .modal-dialog {
    height: 90%;
}
#video-view-modal .modal-content,
#photo_item-view-modal .modal-content {
    height: 100%;
    border: none;
    background-color: transparent;
}
#video-view-modal .modal-body,
#photo_item-view-modal .modal-body {
    height: 100%;
    padding: 0;
}
#video-view-modal button.btn-close,
#photo_item-view-modal button.btn-close {
    position: absolute;
    top: 0;
    right: -30px;
    color: #fff;
}
#video-view-modal .modal-header,
#photo_item-view-modal .modal-header {
    padding: 0;
    border: none;
}
.photo_item-view {
    height: 100%;
    position: relative;
    text-align: center;
}
.photo_item-view .photo_item-view-img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}
.photo_item-view .photo_item-view-last-link,
.photo_item-view .photo_item-view-next-link {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    cursor: pointer;
}
.photo_item-view .photo_item-view-last-link {
    left: 0;
}
.photo_item-view .photo_item-view-next-link {
    right: 0;
}
input.date-picker {
    position: relative;
}
input.date-picker:after,
input.date-picker:not(:placeholder-shown):after {
    content: '📅';
    padding: 5px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 0;
}
.list-item-preview {
    position: relative;
}
.list-item-preview .item-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    text-shadow: 0 0 5px black;
}
.list-item-preview .item-url {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-decoration: none;
}
.cursor-pointer {
    cursor: pointer;
}
.h-0 {
    height: 0;
}
.td-none {
    text-decoration: none;
}
.has-error .help-block {
    color: #dc3545;
    font-size: 80%;
}
.service-item-input.template {
    display: none;
}
.form-label {
    font-weight: bold;
}
.photo_item-view-banner-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
#order-status-modal > div > .modal-content {
    color: #000 !important;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}
.w100p {
    width: 100px;
}
.mb-n1 {
    margin-bottom: -0.25rem !important;
}
.mb-n2 {
    margin-bottom: -0.5rem !important;
}
.mt-n2 {
    margin-top: -0.5rem !important;
}
.main-banner-container {
    width: 100%;
    /*height: auto;*/
    /*aspect-ratio: 821/220;*/
    position: relative;
    overflow: hidden;
}
.main-banner-container .banner-url {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
