:root {
    --e-global-color-primary: #134360;
    --e-global-color-secondary: #feda58;
    --e-global-color-dea41e4: #e3ddd1;
    --black-transparency: rgba(0, 0, 0, .80);
    --white-transparency: rgba(255, 255, 255, 0.90);
    --black-tint: rgba(0, 0, 0, 0.5);
    --white-tint: rgba(255, 255, 255, 0.5);
    --black-shadow: 0 0 20px var(--black-transparency);
    --white-shadow: 0 0 20px var(--white-transparency);
}

.background {
    --position: relative;
    background-attachment: fixed;
    background-color: var(--e-global-color-secondary) !important;
    background-image: url('../assets/vgsc/lcj9ioli-ue-1.jpg');
    background-position: 0px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    --overflow: hidden;
}

.shadow-box {
    box-shadow: var(--black-shadow);
}

/* Tint overlay */
.background::before {
    content: "";
    --position: absolute;
    background-attachment: fixed;
    inset: 0;
    background: var(--e-global-color-secondary);
    opacity: 0.10;
    /* Adjust for desired tint strength */
    pointer-events: none;
    z-index: -2;
}

/* Logo overlay */
.background::after {
    content: "";
    --position: absolute;
    background-attachment: fixed;
    inset: 0;
    background-image: url('../assets/vgsc/VGS_CMYK_1_logo1.png');
    background-position: -173px bottom;
    background-repeat: no-repeat;
    background-size: auto;
    filter: opacity(71%);
    pointer-events: none;
    z-index: -1;
}

.mt-6 {
    margin-top: 5rem !important;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.min-vh-75 {
    min-height: 75vh !important;
}

.h-100-fluid {
    height: 100% !important;
}

h1,
.h1 {
    /*padding-top: calc(1rem * 1.5);*/
    font-size: calc(1rem * 1.5);
}

h2,
.h2 {
    /*padding-top: calc(1rem * 1.375);*/
    font-size: calc(1rem * 1.375);
}

h3,
.h3 {
    /*padding-top: calc(1rem * 1.25);*/
    font-size: calc(1rem * 1.25);
}

h4,
.h4 {
    /*padding-top: calc(1rem * 1.125);*/
    font-size: calc(1rem * 1.125);
}

h5,
.h5 {
    /*padding-top: calc(1rem * 1.0);*/
    font-size: calc(1rem * 1.0);
}

h6,
.h6 {
    /*padding-top: calc(1rem * 0.875);*/
    font-size: calc(1rem * 0.875);
}

.fs-7 {
    font-size: calc(var(--bs-body-font-size) * 0.75) !important;
}

.fs-8 {
    font-size: calc(var(--bs-body-font-size) * 0.5) !important;
}

.fs-9 {
    font-size: calc(var(--bs-body-font-size) * 0.25) !important;
}

.error {
    color: red;
}

.colon {
    visibility: visible;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
    padding: .75rem 1rem;
}

/*
 * Sidebar
 */

.bi {
    display: inline-block;
    vertical-align: -.125em;
    fill: currentcolor;
}

@media (min-width: 768px) {
    .sidebar .offcanvas-lg {
        position: -webkit-sticky;
        position: sticky;
        top: 48px;
    }

    .navbar-search {
        display: block;
    }
}

.sidebar .nav-link {
    font-size: .875rem;
    font-weight: 500;
}

.sidebar .nav-link.active {
    color: #2470dc;
}

.sidebar-heading {
    font-size: .75rem;
}

.container-fluid-special {
    background-color: var(--white-transparency);
    --bs-gutter-y-custom: 1.5rem;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-top: calc(var(--bs-gutter-y-custom) * .5);
    padding-bottom: calc(var(--bs-gutter-y-custom) * .5);
    margin-right: auto;
    margin-left: auto;
}

/*
 * Create Job Form
 */

.bleed,
#ticketForm>div:nth-child(5)>div:nth-child(5) {
    display: none;
}


[class^=icon-]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pull-right {
    float: right;
}

.icon-trash {
    display: inline-block;
    vertical-align: -.125em;
    fill: currentcolor;
}

.icon-trash::before {
    content: "\f78a";
}

ul:has(span[style="color:rgb(255,0,0)"]),
ul:has(span[style="color:rgb(255, 0, 0)"]) {
    list-style: none;
    display: none;
}

#ticketForm>div:nth-child(12)>div:nth-child(4)>div {
    --bs-alert-padding-x: 1rem;
    --bs-alert-padding-y: 1rem;
    --bs-alert-margin-bottom: 1rem;
    --bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);
    --bs-alert-border-radius: var(--bs-border-radius);
    position: relative;
    padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
    margin-bottom: var(--bs-alert-margin-bottom);
    color: var(--bs-alert-color);
    background-color: var(--bs-alert-bg);
    border: var(--bs-alert-border);
    border-radius: var(--bs-alert-border-radius);

    --bs-alert-color: var(--bs-warning-text-emphasis);
    --bs-alert-bg: var(--bs-warning-bg-subtle);
    --bs-alert-border-color: var(--bs-warning-border-subtle);
    --bs-alert-link-color: var(--bs-warning-text-emphasis);
}

/*
 * File Drop Zone - https://portal.vgsc.au/upload/css/filedrop.css
 */

.filedrop {
    padding-bottom: 10px;
    flex: 1 0 0;
}

.filedrop .dropzone {
    border: 2px dashed rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    color: #999;
}

.filedrop .dropzone a {
    color: rgba(24, 78, 129, 0.7);
}

.filedrop .files:not(:empty) {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px 5px 0 0;
    padding: 5px;
}

.filedrop .files:not(:empty)+.dropzone {
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.filedrop .files .file {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin: 0;
    border-radius: 5px;
    padding: 5px;
}

.rtl .filedrop .files .file {
    padding-left: 10px;
    padding-right: 20px;
}

.filedrop .files .file:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.filedrop .files .file .filesize {
    margin: 0 1em;
    color: #999;
}

.filedrop .files .file>span {
    padding: 4px 0 0 0;
    display: block;
}

.filedrop .files .file .upload-rate {
    margin: 0 10px;
    color: #aaa;
}

.filedrop .files .file .trash {
    cursor: pointer;
}

.filedrop .progress {
    margin-top: 5px;
}

.filedrop .cancel {
    cursor: pointer;
}

.preview {
    display: none !important;
}

.filedrop .preview {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 25px;
    display: inline-block;
    float: left;
    padding-right: 10px;
}

.rtl .filedrop .preview {
    padding-right: initial;
    padding-left: 10px;
    float: right;
}

.-redactor-container+.filedrop .dropzone,
.-redactor-container .filedrop .dropzone,
.-redactor-container .filedrop .files {
    border-top-width: 1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.tooltip-preview,
.tooltip-preview img {
    max-width: 300px;
    max-height: 300px;
    z-index: 11;
}