
.station-address {
    font-size: 1.3rem;
}

    .station-address h2 {
        padding: 10px 0;
    }



#cookie-bar, #cookie-bar-button {
    background-color: var(--main-color) !important;
    color: #fff !important;
    border: solid 1px #fff !important;
}

    #cookie-bar-button:hover {
        background-color: #174aa1 !important;
    }


#mainContent h1 {
    background-color: var(--main-color) !important;
}

.error {
    display: inline-block;
    color: red !important;
    /*padding: 10px !important;*/
    margin: 10px 0;
}

a, a:link, a:visited {
    color: var(--main-color);
    border-bottom: none;
}

.mainMenu a, .mainMenu a:link, .mainMenu a:visited {
    color: #fff;
}


.registerform {
    width: 40%;
}

    .registerform button[type=submit] {
        display: block !important;
        width: 100% !important;
    }

#resetpassword {
    width: 50%;
}

    .registerForm input[type=text], #resetpassword input[type=password] {
        padding-left: 0;
        padding-right: 40px;
        width: 100%;
        box-sizing: border-box;
    }

.forgot {
    padding: 10px;
    display: inline-block;
    border: 0;
}

#loginform {
    width: 50%;
}

    #loginForm input[type=text] {
        padding-left: 0;
        padding-right: 40px;
        box-sizing: border-box;
    }

    #resetpassword .togglePassword, #loginform .togglePassword {
        position: absolute;
        right: 10px;
        /*top: 70%;*/
        transform: translateY(-160%);
        cursor: pointer;
    }

/*#loginform .togglePassword {
    position: absolute;
    margin-left: 10px;
    margin-top: 10px;
}*/

#ForgotPasswordForm #forgotPasswordEmailLabel {
    min-width: 5% !important;
    width: auto !important;
    text-align: left;
}

#ForgotPasswordForm input[type=email] {
    width: 50%;
}

.registerform .togglePassword {
    position: absolute;
    right: 10px;
    /*top: 70%;*/
    transform: translateY(-160%);
    cursor: pointer;
}

.registerform label {
    padding: 10px;
}

.fieldContainer {
    position: relative;
}

.validation {
    display: block;
    /*padding: 10px 0;*/
    margin-top: 5px;
}

.togglePassword {
    cursor: pointer;
}

#mainContent h1 {
    padding: 10px;
}

.siteContainer {
    position: relative;
    height: 100vh;
    /*top: 55px;*/
}

#selectedImage {
    display: none;
}

.toast {
    z-index: 999999 !important;
    /*position: absolute !important;*/
}

.modal-open {
    padding-right: 0 !important;
}

.manualSync {
    display: block;
    margin-top: 20px;
}

.leaflet-marker-icon.failed {
    background-color: #fff !important;
    border: 3px solid red !important;
}

/*#addAreaButton {
    display: none !important;
}*/

#stationsDisplay .showRegisterIcons {
    display: none !important;
}

.auto-populate {
    display: none;
}

/*#markAsComplete{
    display: none;
}*/
/* colour scheme */
:root {
    --main-color: #151a66;
    --secondary-color: #f2e900;
    --success-green: #157347;
}

/* basic css reset */
html {
    position: relative;
    min-height: 90%;
    margin: 0;
    padding: 0;
}

body {
    overflow-y: hidden;
}


body, h1, h2, h3, h4, h5, h6, p, ol, ul, div, .container-fluid, .row {
    line-height: 1.1em;
    margin: 0;
    padding: 0;
}

ol, ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* bug fixes */
body, .modal {
    overflow-y: auto !important;
}
/* fixes bug that prevents scrolling after modal close */
.modal {
    z-index: 9999 !important;
}
/* set modal z-index */
.leaflet-control-attribution {
    display: none !important;
}
/* hide leaflet attribution */

/* main html styles */
/*h1, h2, h3, h4, h5, h6, p { padding: 8px; }*/
h1 {
    background-color: var(--main-color);
    color: #ffffff;
}

h2, h3, h4, h5, h6 {
    color: var(--main-color);
}

body {
    min-height: 50%;
    margin-bottom: 60px;
    max-width: 100%;
}

header {
    padding: 0 !important;
}

html {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

a {
    color: var(--main-color);
    text-decoration: none;
    border-bottom: 1px dashed;
}

    a:hover {
        border-bottom: none;
    }

.footer-container {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

#mainContent {
    padding: 4px 128px 4px 4px;
}

.blue {
    color: var(--main-color);
}

.yellow {
    color: var(--secondary-color);
}

#modal {
    height: 100vh;
}

/* modal general style */
.modal-header {
    border: none;
    height: fit-content;
    padding: 12px;
    margin: 0;
}

.modal-body h2 {
    padding: 0 0 12px 0;
    /*margin: -32px 64px 0 0;*/
}

.modal-body #editor {
    padding: 8px;
}

.modal-content textarea {
    width: 100%;
    height: 100px;
    font-weight: 500;
    padding: 10px;
    overflow-y: auto;
}

#syncStatusContainer {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 4000;
}

#stickyTopElements {
    position: sticky;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    justify-content: flex-start;
    height: auto;
    z-index: 3000;
    background: #FFF;
}

#syncContainer {
    display: none;
}

#syncContainer, #navContainer {
    min-height: 50px;
}

#syncStatusProgress {
    border: 1px solid darkgrey;
}

    #syncStatusProgress .accordion-button, #syncStatusProgress .accordion-header {
        padding: 0 0 0 10px;
        color: #000;
        font-weight: 500;
    }

#syncStatusProgress {
    border: 1px solid darkgrey;
}

    #syncStatusProgress .accordion-button, #syncStatusProgress .accordion-header {
        padding: 0 0 0 10px;
        color: #000;
        font-weight: 500;
    }

/* Uncomment to show PWA Install button */
#intallPWAContainer {
    display: none;
}
/* mobile and tablet */
@media (max-width: 991px) {
    #mainContent {
        padding: 0;
        margin: 0;
    }

    body {
        font-size: 1.1em;
    }
}

/* context headings */
h2.msgComponent {
    padding: 4px 64px 12px 4px;
}

/* sync history and status notifications */
.syncHistoryContainer {
}

    .syncHistoryContainer .accordion-header {
        margin: 0;
        padding: 0;
        background: none;
    }

    .syncHistoryContainer .accordion-item {
        border: none;
        background: none;
    }

.accordion-button {
    background: none;
    box-shadow: none;
}

    .accordion-button:not(.collapsed) {
        background: none;
        box-shadow: none;
    }

    .accordion-button:focus {
        border: none;
        box-shadow: none;
    }

.syncHistoryData {
    padding: 8px;
}

.accordionTop {
    margin-bottom: 20px;
    border: 1px solid #151a66;
    border-radius: 5px;
}

.accordion.assetlist {
    margin-bottom: 16px;
}

.accordion-header .handle-icon {
    margin-left: auto;
    margin-right: 10px;
}

.accordion-header.assetlist {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    cursor: pointer;
}

.accordion-header-row {
    display: flex;
    padding: 8px;
    background-color: #939090;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    margin: 15px;
}

    .accordion-header-row .col-md-2,
    .accordion-header-row .col-md-5,
    .accordion-header-row .col-md-3,
    .accordion-header-row .col-md {
        padding: 4px;
    }

.accordion-content.assetlist {
    padding: 12px;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
}

.pulsate {
    animation: pulsate 1s ease-out infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

#syncNotifications {
}

.syncStatus {
    font-weight: bold;
}

.syncOk {
    color: var(--success-green);
}

.syncNotOk {
    color: red;
}

.syncMarkComplete {
    position: relative;
    float: right;
    color: white;
    padding-top: 24px;
}

#syncNotifications button {
    padding: 2px 6px;
    margin: 0;
}

/* menus */
.navbar {
    border-bottom: 2px solid var(--main-color) !important;
    height: auto !important;
}

/* left hand side menu*/
@media (min-width: 992px) {

    /*main {
        height: 75vh;
    }*/

    .mainContentArea {
        min-height: 75vh;
        height: auto;
        position: relative;
        margin-bottom: 4%;
    }


    .mainMenuBar {
        width: 100%;
        min-width: 180px;
        min-height: 420px;
        border-right: 1px solid #999;
        padding-right: 20px;
        text-align: center;
    }

        .mainMenuBar .logo {
            width: 80%;
            padding: 12px 4px;
        }

        .mainMenuBar h1.tocName {
            background: none;
            color: var(--main-color);
            font-size: 1.2rem;
            text-align: center;
            margin: 1rem 0;
        }

    .mainMenu li {
        margin-bottom: 1rem;
        margin: 0.5rem auto;
        text-align: center;
        width: 90%;
    }

    .mainMenu .menuIcon {
        font-size: 0.7em;
        padding-right: 2px;
    }

    .mainMenu a {
        width: 100%;
    }

    .navButton {
        font-size: 1em;
        background: var(--main-color);
        border-radius: 4px;
        text-decoration: none;
        border-bottom: 4px solid var(--main-color);
    }

        .navButton:hover {
            border-bottom: 4px solid var(--main-color);
        }

    .mobileViewUser {
        display: none;
    }
}

/* app style menu */
@media (max-width: 991px) {
    .mobileViewUser {
        display: inline-flex;
        position: fixed;
        top: 0;
        right: 0;
        background: var(--main-color);
        height: 32px;
        width: 64px;
        justify-content: space-between;
        align-items: center;
    }

        .mobileViewUser a, .mobileViewUser dropdown a {
            color: #ffffff;
            border: none;
        }

        .mobileViewUser .notifications {
            position: fixed;
            padding: 0px 4px;
            margin: 0;
            right: 2px;
            top: 16px;
            width: 14px;
            height: 14px;
            font-size: 0.8em;
            color: #ffffff;
            border-radius: 6px;
            background: red;
        }

    .mainMenuBarAppStyle {
        position: fixed;
        bottom: 0px;
        padding: 0;
        margin: 0;
        max-width: 100%;
        z-index: 7000;
    }

        .mainMenuBarAppStyle ul.mainMenu {
            min-width: 100%;
            display: inline-flex;
            justify-content: space-evenly;
            vertical-align: bottom;
            align-items: baseline;
            background: var(--main-color);
            height: 53px;
        }

            .mainMenuBarAppStyle ul.mainMenu li a {
                width: 48px;
                height: 48px;
                background: var(--main-color);
                font-size: 1.2em;
                color: #ffffff;
                border: none;
                border-top: solid 4px var(--main-color);
                border-radius: 0;
            }

                .mainMenuBarAppStyle ul.mainMenu li a.active {
                    border-top: solid 6px var(--secondary-color);
                    border-top: solid 4px #ffffff;
                }
}

/* hide items in app view */
@media (max-width: 991px) {
    .mainMenuBarAppStyle ul.mainMenu li a .menuPageTitle {
        display: none;
    }

    .mainMenuBar .logo {
        display: none;
    }

    .mainMenu .dropdownMenu {
        display: none;
    }

    #markerTools {
        display: none;
    }
}

/* footer (not the app style menu) */
footer {
    font-size: 0.8rem;
    padding: 12px;
}

@media (max-width: 991px) {
    footer {
        display: none; /* padding: 8px 0; margin: 0; width: 100%; background-color: #fcfcfc; z-index: 7000;*/
    }
}

@media (max-width: 991px) {
    header {
        display: none;
    }

    #offline-items-message {
        padding: 4px;
        margin: 8px 0;
        border: 1px dashed var(--main-color);
    }

    .leaflet-top {
        z-index: 500 !important;
    }
}

/* login form */
.form-group {
    clear: left;
    padding: 8px;
}

    .form-group label {
        float: left;
        width: 20%;
        min-width: 120px;
        padding: 4px 12px;
        text-align: right;
    }

    .form-group input {
        float: left;
        width: 30%;
        min-width: 120px;
        padding: 4px;
    }

    .form-group .login {
        float: left;
        width: 10%;
        min-width: 120px;
        padding: 4px 12px;
        background-color: var(--main-color);
    }

/* pwa */
#intallPWAContainer {
    position: absolute;
    top: 40px;
    right: 8px;
}

#installPWA {
    position: fixed;
    padding: 2px 4px;
    margin: 5px 0 0 0;
    right: 5px;
}

#polyTools {
}

#polyTools .manualSync {
    padding: 2px 4px;
    float: right;
    background: var(--main-color);
    margin-top: 0;
}



/* entity assignment */
#carriageDisplay {
    padding: 16px;
}

#userListContainer li {
    line-height: 1.5em;
}

/* incidents */
.incidentsContainer {
    border: 1px solid #999;
    padding: 8px;
    margin: 4px 8px;
    width: 100%;
    margin-top: 2%;
}

.incident {
    margin-bottom: 2%;
}

.incidentsContainer .incidentSpan {
    font-weight: bold;
    color: var(--main-color);
}

.incidentsContainer div {
    font-size: 1rem;
    line-height: 1.4em;
}

.dropdownMenu li a {
    color: #000;
    text-decoration: none;
}

    .dropdownMenu li a:hover {
        text-decoration: underline;
    }

/* dashboard */
.dashboard a {
    text-decoration: none;
    color: var(--main-color);
}

.incidentsHeading, dashboard h3 {
    margin-top: 2%;
}

/*.dashboard h3{
    margin-top:2%;
}*/

a .card-img-top:hover {
    border: 2px solid var(--main-color);
}

.card-img-top {
    text-align: center;
    padding: 12px;
    margin: 8px;
    border: 2px solid grey;
}

    .card-img-top i {
        font-size: 2rem;
    }

/* station / carriage search */

@media (max-width: 991px) {
    #stations {
        width: 90%;
    }
}

@media (min-width: 992px) {
    #stations, .chosen-container, .chosen-single {
        width: 90% !important;
    }
}

.chosen-container .chosen-results li {
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.5;
}
/*@media ( max-width: 1024px) {
    .chosen-container .chosen-results li {
        padding: 12px 15px;*/
/*        font-size: 16px;
        line-height: 1.5;*/
/*}
}*/
/* asset popup */

#uploadForm {
    padding-top: 16px;
}

#imageContainer {
    padding: 24px 0;
}

#editAssetTypeSelect {
    width: 100%;
    margin: 0 auto;
    padding: 2px;
}

.criteria-container {
    width: 100%;
    min-height: 120px;
    max-height: 260px;
    overflow-y: scroll;
    border: 1px solid var(--main-color);
    padding: 4px;
    margin: 0;
}

/* modal */

.modal-backdrop {
    z-index: 800 !important;
}

/* asset map */

#asset-map {
    height: 100%;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
}

.map-area {
}

#map-container {
    min-height: 360px;
    height: 80%;
    margin-bottom: 24px;
}

@media (min-width: 992px) {
    #map-container {
        min-height: 560px;
        margin-bottom: 12px;
    }
}

/*.marker {
    background-color: #fff !important;
    border: 2px solid #D60330;
    border-radius: 50%;
    position: absolute !important;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    z-index: 2 !important;
}*/

/* leaflet stuff */

.leaflet-container {
    font-size: 1em;
}

.leaflet-marker-icon {
    background-color: #fff !important;
    border: 3px outset #1f4edc !important;
    border-radius: 50%;
    position: absolute !important;
    text-align: center;
    cursor: pointer;
    z-index: 610 !important;
    display: inline-block;
    font-family: "Font Awesome 6 free";
    font-weight: 900;
    padding: 0;
}


.marker-icon-selected {
    background-color: #fff !important;
    border: 3px solid yellow !important;
    border-radius: 50%;
    position: absolute !important;
    text-align: center;
    cursor: pointer;
    z-index: 610 !important;
    display: inline-block;
    font-family: "Font Awesome 6 free";
    font-weight: 900;
    padding: 0;
}

.leaflet-marker-icon i {
    font-style: normal;
    color: var(--main-color);
}

.leaflet-control-attribution a {
    display: none !important;
}

.leaflet-control {
    align-items: center;
    clear: none !important;
}

.leaflet-button {
    padding: 2px 4px;
    margin: 2px 0;
    white-space: nowrap !important;
}

.iconPopupButtonAdd {
    display: inline-flex;
}

@media (min-width: 992px) {
    .showRegisterIcons {
        position: fixed;
        top: 220px;
        right: 0px;
        min-width: 64px;
        width: auto;
        max-width: 132px;
        overflow: auto;
        display: inline-block;
        font-size: 0.9em;
    }

    .zoomMapContainer {
        padding-right: 40px;
    }

    .iconPopupButtonAdd {
        display: none;
    }

    .showRegisterIconsPopup .iconPopupButtonAdd {
        display: inline-flex;
    }
}

.registerIcon {
    font-size: 1.5em;
    text-align: center;
    width: 32px;
    padding: 1px;
    margin: 1px;
    border: 1px solid #ccc;
    display: inline-block;
    cursor: grab;
}

    .registerIcon:active {
        cursor: grabbing !important;
        background-color: #00ff0033;
    }

.showRegisterIconsPopup {
    overflow: auto;
    max-height: 280px;
    overflow: auto;
}

    .showRegisterIconsPopup .registerIcon {
        display: list-item;
        list-style-type: none;
        min-width: 90%;
        text-align: left;
        border: none;
    }

        .showRegisterIconsPopup .registerIcon i {
            width: 36px;
            height: 36px;
            border: solid 1px #333;
            padding: 2px;
            text-align: center;
            align-content: center;
        }

        .showRegisterIconsPopup .registerIcon::after {
            content: attr(data-content);
            font-size: 0.7em;
            font-family: Arial, Helvetica, sans-serif;
            font-weight: normal;
        }

#markerTools {
    padding: 0;
    margin: 0;
}

.markerToolsCol {
    padding: 0;
    margin: 0;
}

#popupIconList * {
    line-height: 0.9rem;
}

#popupIconList ul li {
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

    #popupIconList ul li i {
        width: 32px !important;
        margin-right: 12px;
    }

.btn-addmarker {
    float: right;
    font-size: 0.9rem;
}

.fa-li.fa.fa-2x.fa-check {
    background: black;
    -webkit-filter: blur(2px); /* Blur */
    -moz-filter: blur(2px);
    filter: blur(2px);
    font-size: 15px;
}

/* glow animation */

@keyframes glowing {
    0% {
        background-color: #eee;
        box-shadow: 0 0 5px #2ba805;
    }

    50% {
        background-color: #2ba805;
        box-shadow: 0 0 20px #49e819;
    }

    100% {
        background-color: #eee;
        box-shadow: 0 0 5px #2ba805;
    }
}

.btn-glow {
    animation: glowing 1300ms 3;
}

/* image uploader */

input[type=file] {
    padding: 0;
}

.btn-fileselect::file-selector-button {
    padding: 0.375rem 0.75rem;
    margin: 0.375rem 0.75rem 0.375rem 0;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    color: #fff;
    background-color: #0d6efd;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-fileselect::file-selector-button:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* asset image popup */
.imageList {
    flex-wrap: wrap;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.imageHolder .deleteImage {
    color: yellow;
    position: relative;
    top: -12px;
    left: 6px;
    float: right;
    padding: 0px 6px;
    font-weight: bold;
    cursor: pointer;
    background-color: darkblue;
    border-radius: 50%;
    text-align: center;
    z-index: 1;
}

    .imageHolder .deleteImage:hover {
        background-color: cornflowerblue;
    }

.img-thumbnail-bg {
    background-color: #000;
    width: 110px;
    height: 120px;
    display: inline-block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 6px 2px;
}

a.imgpop {
    height: 100% !important;
    width: 100% !important;
    display: inline-block; /*border: 2px solid var(--main-color);*/
    margin-top: -24px;
    border-bottom: 0;
}

    a.imgpop > i {
        position: relative;
        font-size: 3em;
        width: 100%;
        height: 100%;
        text-align: center;
        color: #ffffff33;
        padding-top: 36px;
    }

        a.imgpop > i:hover {
            color: #ffffffcc;
        }

.img-thumbnail {
    border: 2px solid grey;
    padding: 0;
    margin: 2px;
    border-radius: 1px;
    height: 96px;
    background-color: #ffffff;
}

    .img-thumbnail:hover {
        border: 2px solid darkblue;
    }

#imgPopupBG {
    position: fixed;
    background-color: #00000099;
    display: flex;
    text-align: center;
    margin: auto;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100%;
    z-index: 9000;
}

.imgPopupInner {
    background-color: #ffffff;
    width: contain;
    max-height: 80% !important;
    max-width: 80% !important;
    margin: auto auto !important;
    padding: 16px !important;
    box-shadow: rgba(0,0,0,0.5) 16px 16px 8px;
    font-size: 1.4em;
    font-family: 'Segoe Script', cursive;
    line-height: 3em;
    /*transform: rotate(-3deg) !important;*/
    display: inline-flex;
    text-decoration: none;
}

    .imgPopupInner a {
        border: none;
    }

.imgClose {
    color: #000000;
    position: relative;
}

.imgPop {
    max-height: 90% !important;
}

/* auditor page */

#offline-items-message {
    padding: 8px;
    border: 2px dashed var(--main-color);
    font-size: 1.3em;
}

#syncData {
    width: 100%;
    vertical-align: middle;
}

    #syncData th {
        font-size: 1.1rem;
    }

    #syncData td {
        padding: 6px;
        font-size: 1rem;
    }

    #syncData :is(.offline, .syncIcon) {
        text-align: center;
    }

    #syncData :is(.fa-download, .synced-y) {
        color: green;
    }

    #syncData :is(.fa-ban, .fa-xmark, synced-n) {
        color: red;
    }

    #syncData td.offline:hover {
        cursor: pointer;
        background-color: #eeeeee;
    }

    #syncData td.offline span i {
        padding: 3px 20%;
        border: 1px dotted #999;
    }

@media (max-width: 991px) {
    #syncData th {
        font-size: 0.8rem;
    }

    #syncData td {
        padding: 1px;
        font-size: 0.9rem;
    }

        #syncData td.syncStatus {
            font-size: 0.6rem;
            font-weight: normal;
            line-height: 0.8rem;
        }
}

.clickable {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

.extra-info p {
    font-size: 1.1rem;
    line-height: 1.2rem;
}

@media (max-width: 991px) {
    .extra-info {
        font-size: 0.9rem;
    }
}

.save-extra-information {
    display: none !important;
}

.map-thumbs {
    width: 100%;
    padding: 24px 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.map-thumb-container {
    width: 160px;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 0;
}

.map-thumb-div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: 0 0 4px 0;
    padding: 0;
    height: 160px;
    width: 160px;
    float: left;
}

.map-thumb {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

    .map-thumb .leasePlanPdf {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 3rem;
    }

#addImage, .savedata {
    background-color: var(--main-color);
    color: white;
}

#addImage {
    padding: 0.5rem;
    border-radius: 0.3rem;
    cursor: pointer;
}

.notallowed {
    cursor: no-drop !important;
    pointer-events: all !important;
}

.txtCarriage {
    color: #000 !important;
    width: 100px;
    padding: 5px;
    background-color: indianred;
    display: inline-block;
    margin: 10px;
    text-align: center;
    color: #fff !important;
    border: 1px outset #000;
    border-radius: 10px;
}

.user-list-container {
    display: flex;
}

.unassigned-users-container,
.assigned-users-container {
    /*    flex: 1;
    max-width: 200px; */
}

    .unassigned-users-container ul,
    .assigned-users-container ul {
        border: 1px solid #ccc;
        border-radius: 10px;
        padding: 10px;
        list-style-type: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-height: 500px;
        overflow-y: auto;
    }

    .unassigned-users-container h4,
    .assigned-users-container h4 {
        margin-top: 0;
        padding-left: 10px;
    }

    .unassigned-users-container li,
    .assigned-users-container li {
        border-bottom: 1px dashed #ccc;
        padding: 5px 10px;
        white-space: nowrap;
        border-radius: 5px;
        margin-bottom: 5px;
    }

        .unassigned-users-container li:last-child,
        .assigned-users-container li:last-child {
            border-bottom: none;
        }

.button-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 0 10px;
    margin-top: 30px;
}

    .button-container button {
        margin-bottom: 10px;
    }

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#userListContainer,
#assignedUserListContainer {
    flex: 1;
}

li.selected {
    background-color: #f0f0f0;
    font-weight: bold;
}

#addBtn,
#removeBtn {
    padding: 5px 10px;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
    margin: 5px;
}

#buttonMessage {
    margin-top: 10px;
    font-style: italic;
    color: red;
}

#assignedUsersTitle {
    margin-bottom: 45px;
}

.txtCarriage a {
    color: white;
    text-decoration: none;
}

#dateFilterContainer label,
#dateFilterContainer input {
    margin-right: 10px;
}

#changeLogPageContainer {
    margin-top: 20px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 30px;
}

    .pagination-controls button {
        margin: 0 5px;
        padding: 8px 12px;
        border: none;
        background-color: #ddd;
        cursor: pointer;
    }

        .pagination-controls button.active {
            background-color: #007bff;
            color: white;
        }



        .pagination-controls button:hover {
            background-color: #ccc;
        }

#exportButton {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

    #exportButton i {
        margin-right: 8px;
        font-size: 18px;
    }

    #exportButton:hover {
        background-color: #218838;
    }

    #exportButton:active {
        background-color: #1e7e34;
    }

    #exportButton:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5);
    }

.modal {
    z-index: 3333 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

    .modal-backdrop.show {
        opacity: 0.5;
        pointer-events: all;
    }

.leaflet-fullscreen {
    z-index: 1030 !important;
}


:fullscreen .modal,
:-webkit-full-screen .modal,
:-moz-full-screen .modal {
    z-index: 9999 !important;
}

:fullscreen .modal-backdrop,
:-webkit-full-screen .modal-backdrop,
:-moz-full-screen .modal-backdrop {
    z-index: 9998 !important;
}

.toast-top-center {
    z-index: 9999;
}

.accordion {
    position: sticky;
    z-index: 500 !important;
}

.popup-upside .leaflet-popup-tip-container {
    top: auto !important;
    bottom: 0 !important;
}

.popup-upside .leaflet-popup-tip-container {
    transform: rotate(180deg);
    display: none;
    /* Adjust additional properties as needed */
}
/* BETA Label */

.beta-label-container {
    background-color: #151a66;
    width: 100%;
    position: fixed;
    z-index: 3333;
    top: 0;
}

.beta-banner {
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem;
    color: red;
}


.beta-label {
    /*background-color: #000;*/
    color: yellow;
    text-align: left;
    padding: 10px 10px 10px 10px;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1000;
    display: inline-block;
    width: 100%;
    letter-spacing: 10px;
    width: auto;
}

/*.beta-label {
    position: fixed;
    top: 0;
    left: 0;
    width: 5%;
    background-color: black;
    color: red;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-45deg);
    transform-origin: left bottom;
    z-index: 1000;
}*/

/*    .beta-label:before {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 10px solid black;
        transform: translateX(-50%);
    }*/
#pdf-canvas-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #f5f5f5;
}

    #pdf-canvas-container canvas {
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

/* Useful Information Styling */

.document-container {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    justify-content: flex-start;
    flex-direction: row;
    border: 2px outset darkgrey;
    margin: 30px 10px;
    min-height: 60vh;
}

.document-item {
    width: 20%;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    /* position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 3rem; */
}

.document-icon-container {
    margin-bottom: 20px;
}

.useful-information-title {
    text-align: center;
}

position: absolute;
bottom: 5px;
right: 5px;
opacity: 0.5;
}

.clickable-zone:hover::after {
    opacity: 1;
}

.station-zones-row {
    visibility: hidden;
}

.station-info-section h3 {
    margin-bottom: 10px;
    height: 24px;
}

.invisible {
    opacity: 0;
}

.station-times-container, .station-zones-container {
    margin-top: 0;
}

.station-zones-row {
    margin-top: 15px;
}

.station-zones-row {
    display: flex !important;
}

.station-address-row {
    margin-bottom: 15px;
}

.station-zones-row.hideable {
    display: flex;
}

#stationTimesTextArea.clickable-zone {
    border: none;
    box-shadow: none;
}

    #stationTimesTextArea.clickable-zone:hover {
        box-shadow: none;
    }

.station-zones .clickable-zone {
    max-width: 80%;
}

.station-zones-row {
    display: flex;
    margin-top: 15px;
}

.station-info-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.station-times-container, .station-zones-container {
    height: calc(100% - 34px);
    display: flex;
    flex-direction: column;
}

.station-times-container {
    gap: 10px;
}

.clickable-zone {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    min-height: 50px;
    max-height: 125px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    line-height: 2;
    overflow-y: auto;
}

    .clickable-zone:hover {
        border-color: #999;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    /*.clickable-zone::after {
        content: '\f044';
        font-family: 'Font Awesome 5 Free';
        position: absolute;
        bottom: 5px;
        right: 5px;
        opacity: 0.5;
    }*/

    .clickable-zone:hover::after {
        opacity: 1;
    }

.station-zones-row {
    visibility: hidden;
}

.station-info-section h3 {
    margin-bottom: 10px;
    height: 24px;
}

.invisible {
    opacity: 0;
}

.station-times-container, .station-zones-container {
    margin-top: 0;
}

.station-zones-row {
    margin-top: 15px;
}

.station-zones-row {
    display: none;
}

.station-address-row {
    margin-bottom: 15px;
}

.station-zones-row.hideable {
    display: flex;
}

#stationTimesTextArea.clickable-zone {
    border: none;
    box-shadow: none;
}

    #stationTimesTextArea.clickable-zone:hover {
        box-shadow: none;
    }

.extra-info-row {
    /*display: none;*/
    visibility: hidden;
}

.extra-info-container {
    max-width: 85%;
}

#extraInfoTextArea.clickable-zone {
    border: none;
    box-shadow: none;
    margin-top: 10px;
}

    #extraInfoTextArea.clickable-zone:hover {
        box-shadow: none;
    }

.imageHolder .replaceImage {
    color: white;
    position: relative;
    top: -12px;
    right: 6px;
    float: left;
    padding: 0px 6px;
    font-weight: bold;
    cursor: pointer;
    background-color: darkgreen;
    border-radius: 50%;
    text-align: center;
    z-index: 1;
}

.imageHolder .imageActions {
    position: absolute;
    top: -12px;
    Adjust based on your design right: 6px;
    Align to the right side display: flex;
    gap: 5px;
    Space between buttons z-index: 1;
}

.imageHolder .replaceImage:hover {
    background-color: limegreen;
}

.leaflet-forbidden-polygon {
    fill: url(#forbidden-cross-pattern) !important;
    stroke: #ffff00 !important;
    stroke-width: 2px !important;
    stroke-dasharray: none !important;
    fill-opacity: 1 !important;
}

.marker-cluster {
    width: 30px !important;
    height: 30px !important;
}

.changerequest-error {
    color: red;
    margin: 0px 0 10px 10px;
    display: inline-block;
}

.carriage-tracker-container {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-controls-container {
    padding: 10px 0;
}

.tracker-section-header {
    color: #151a66;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 15px;
}

    .tracker-section-header h2 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 600;
        color: #151a66;
    }

.search-controls-container .form-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.carriage-tracker-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 15px;
}

    .carriage-tracker-header h1 {
        font-weight: 600;
    }

.search-controls-container label {
    font-weight: 600;
    margin-right: 10px;
    min-width: 200px;
}

.audit-period-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 10px;
}

.refresh-btn {
    margin-left: auto;
    background-color: #151a66;
    color: white;
    border-color: #151a66;
}

.carriage-search-container {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
}

#searchDisplay .chosen-results {
    max-height: 80vh !important;
}

#changeLogContainer {
    min-height: 60px;
    align-content: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

    #changeLogContainer .accordion-button {
        padding: 0 !important;
    }

.carriage-search-container label {
    font-weight: 600;
    margin-right: 10px;
}

.searchCarriageNumericOnly {
    width: 200px;
    display: inline-block;
}

.searchingFor {
    margin-top: 10px;
    font-weight: 500;
}

    .searchingFor.text-success {
        color: #28a745;
    }

    .searchingFor.text-danger {
        color: #dc3545;
    }

.carriages-container {
    margin-top: 20px;
}

.header-row {
    color: white;
    padding: 10px;
    border-radius: 6px 6px 0 0;
    margin-bottom: 15px;
}

    .header-row h2 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 600;
    }

.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 30px;
    width: 100%;
}

.audit-periods-container h3 {
    color: #0056b3;
    margin-bottom: 20px;
}

.refresh-btn:hover {
    background-color: #0d1143;
    color: white;
}

.carriages-grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.carriage-card {
    background-color: #e9f5ff;
    border: 1px solid #151a66;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #151a66;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 60px;
}

    .carriage-card:hover {
        background-color: #d1e7ff;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

@media (max-width: 768px) {
    .search-controls-container .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .searchCarriageNumericOnly {
        width: 100%;
        max-width: none;
        margin: 10px 0;
    }

    .refresh-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

.changeLogAccordionBody {
    height: 300px !important;
}

/*#changeLogContainer {
    padding: 20px;
    border: 1px solid lightgrey;
    border-radius: 10px;
}*/

.spinner-container {
    margin-left: 10px;
    margin-top: -3px;
    font-weight: 500;
    color: var(--main-color);
}

.swal2-popup, .swal2-container {
    z-index: 3400;
}

.ql-editor p {
    line-height: 1.5;
}

#stationZonesTextArea p {
    line-height: 2;
}
