* {
    border-radius: 0 !important;
}

@media screen and (min-width: 730px) {
    .wide {
        display: block;
    }

    .slim {
        display: none;
    }
}

@media screen and (max-width: 729px) {
    .wide {
        display: none;
    }

    .slim {
        display: block;
    }
}

.datepicker {
    font-size: 12px;
}

.custom-image-container {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.custom-image-upload-area {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border: 1px solid #f5f5f5;
    background-color: #f5f5f5;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
    min-height: 220px;
}

.custom-image-right-corner-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 5px;
    cursor: pointer;
    z-index: 9999;
}

.custom-image-upload-area-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #777;
    display: block;
}

.custom-image-upload-area img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    display: none;
}

.custom-image-upload-area input[type="file"] {
    display: none;
}

.has-switch>div {
    width: 240% !important;
}

.has-switch>div.switch-off {
    left: -140% !important;
}

.time-counter {
    padding-left: 15px;
    height: 30px;
    line-height: 30px;
    font-weight: bold !important;
}

pre {
    white-space: pre-wrap;
    overflow-x: auto;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: normal;
    font-family: helvetica-neue, sans-serif;
    font-size: 12px;
}

:root {
    --color-very-dark: #222222;
    --color-dark: #555555;
    --color-medium: #888888;
    --color-bright: #aaaaaa;
    --color-very-bright: #dddddd;
    --color-red: #ff9696;
    --color-blue: #98d6f1;
    --color-green: #95e294;
    --color-yellow: #ffe671;
}

.swiper {
    margin-bottom: 0px;
    min-height: 220px;
    background-color: #f5f5f5;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    transform: translateY(-50%);
    z-index: 15;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #333;
    font-size: 24px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #555;
}

#swiper-button-trash {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    /* Centers horizontally */
    align-items: center;
    /* Centers vertically */
    padding: 10px;
    height: 100%;
    /* Ensure the slide takes full height */
    background-color: #f5f5f5;
    position: relative;
}

.swiper-slide img {
    justify-content: center;
    max-width: 100%;
    /* Scale image to fit width */
    max-height: 100%;
    /* Scale image to fit height */
    object-fit: contain;
    /* Keeps the image's aspect ratio */
    display: block;
    /* Removes any inline spacing */
}


.btn-primary {
    background-color: #222222 !important;
    border: 1px solid #333333 !important;
    color: #eeeeee !important;
}

.btn-primary:hover,
.switch-primary {
    background-color: #333333 !important;
    border: 1px solid #444444 !important;
    color: #ffffff !important;
}

.btn-danger,
.tile-danger,
.alert-danger {
    background-color: #eeaaaa !important;
    border: 1px solid #dd9999 !important;
    color: #772222 !important;
}

.btn-danger:hover,
.switch-danger,
.tile-danger:hover {
    background-color: #dd9999 !important;
    border: 1px solid #cc8888 !important;
    color: #661111 !important;
}

.btn-info,
.tile-info,
.alert-info {
    background-color: #aaaaee !important;
    border: 1px solid #9999dd !important;
    color: #222277 !important;
}

.btn-info:hover,
.switch-info,
.tile-info:hover {
    background-color: #9999dd !important;
    border: 1px solid #8888cc !important;
    color: #111166 !important;
}

.btn-success,
.tile-success,
.alert-success {
    background-color: #aaeeaa !important;
    border: 1px solid #99dd99 !important;
    color: #227722 !important;
}

.btn-success:hover,
.switch-success,
.tile-success:hover {
    background-color: #99dd99 !important;
    border: 1px solid #88cc88 !important;
    color: #116611 !important;
}

.btn-warning,
.tile-warning,
.alert-warning {
    background-color: #eeeeaa !important;
    border: 1px solid #dddd99 !important;
    color: #777722 !important;
}

.btn-warning:hover,
.switch-warning,
.tile-warning:hover {
    background-color: #dddd99 !important;
    border: 1px solid #cccc88 !important;
    color: #666611 !important;
}

.tile-default {
    background-color: #ffffff !important;
    border: 1px solid #aaaaaa !important;
    color: #111111 !important;
}

.main-content {
    padding-right: 15px;
    overflow-y: auto;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 80px;
    width: 100%;
    height: 80%;
    z-index: 9999;
    background: url(img/loading_icon.gif) center no-repeat #fff;
}

.edit tr {
    cursor: pointer;
}

.gradient-red {
    background: linear-gradient(to bottom right, #ffffff 0% var(--color-red) 140%) !important;
}

.gradient-blue {
    background: linear-gradient(to bottom right, #ffffff 0% var(--color-blue) 140%) !important;
}

.gradient-green {
    background: linear-gradient(to bottom right, #ffffff 0% var(--color-green) 140%) !important;
}

.gradient-yellow {
    background: linear-gradient(to bottom right, #ffffff 0% var(--color-yellow) 140%) !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(200px, calc((100% - 30px) / 4)), 1fr));
    grid-gap: 10px;
}

.tile-stats {
    transition: transform 0.5s;
}

.tile-stats:hover {
    transform: scale(1.1);
}

ul {
    z-index: 2;
}

.panel-heading {
    cursor: pointer !important;
}

.ms-selection .ms-list,
.ms-selectable .ms-list {
    height: auto;
    max-height: calc(2.7rem * 5);
    overflow-y: auto;
    margin-bottom: 10px;
    width: 100%;
}

.ms-container {
    display: flex;
    justify-content: space-between;
    width: 100% !important;
    padding: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 10px !important;
    box-sizing: border-box;
}

.ms-container::before,
.ms-container::after,
.ms-selectable::before,
.ms-selectable::after,
.ms-selection::before,
.ms-selection::after,
.ms-selectable .ms-arrow {
    display: none !important;
    content: none !important;
}

.ms-selectable,
.ms-selection {
    min-width: 48% !important;
    max-width: 48% !important;
    margin: 0px !important;
    padding: 0px !important;
    box-sizing: border-box;
}

.btn-group-toggle {
    display: flex;
}

.btn-group-toggle label {
    flex: 1 1 auto;
    width: 100%;
    white-space: normal;
}

.dt-button-collection .dt-button {
    display: block;
    width: 100%;
    padding: 8px 16px;
    text-align: left;
}

.dt-button-collection .dt-button span {
    display: block;
}

.table,
.dt-paging,
.dt-info,
.dt-search,
.dt-length {
    margin-top: 0px !important;
    margin-bottom: 15px !important;
}

.dt-button,
.dt-paging,
.dt-info,
.dt-length,
.dt-search,
.dt-buttons {
    float: left !important;
    margin-right: 15px !important;
}

.navbar {
    background-color: var(--color-very-dark);
}

.navbar-inner {
    background-color: var(--color-very-dark);
}

.navbar-nav {
    background-color: var(--color-very-dark);
}

.navbar-brand {
    color: #fff;
    font-size: 26px;
    font-family: "NeuePlakText-Regular", sans-serif;
}

header li {
    background-color: var(--color-very-dark);
}

header ul {
    background-color: var(--color-very-dark);
}

.nw {
    white-space: nowrap !important;
}

/* Allow wrap and full width on xs screens */
@media (max-width: 575.98px) {
    .nw-wrap {
        white-space: normal !important;
        width: 100% !important;
    }

    /* Hide other columns */
    .nw-hide {
        display: none !important;
    }
}

.edit {
    cursor: pointer !important;
}

td .input-spinner {
    display: inline-flex;
    align-items: center;
}

td input,
td .btn,
td select td option {
    margin-bottom: 0;
}

div .alert {
    padding: 10px;
}

.input-spinner {
    display: flex;
}

.input-spinner button {
    flex: 1 1 auto;
}

.alert-cell {
    margin: 0px !important;
    padding: 5px !important;
    width: 100% !important;
}

/* keep toolbar items on one line */
.wysihtml5-toolbar>li {
    display: inline-block;
    vertical-align: top;
}

/* optional: a little spacing between groups */
.wysihtml5-toolbar>li {
    margin-right: 4px;
}

/* if something forces full width */
.wysihtml5-toolbar {
    white-space: nowrap;
}

.dashboard-row-eq-height {
    display: flex !important;
    flex-wrap: wrap !important;
}

.dashboard-row-eq-height>[class*="col-"] {
    display: flex !important;
    margin-bottom: 10px !important;
}

.dashboard-row-eq-height a {
    display: flex !important;
    width: 100% !important;
}

.dashboard-row-eq-height .dashboard-tile-stats {
    flex: 1 !important;
    width: 100% !important;
}

.dashboard-tile-stats h4 {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}