﻿
/*#region GRID CONTROL */
/*----- Headers -----*/
/* Grid header */
.ui-jqgrid-labels * { 
    background-color: #D9D9D9;
    color: #000000;
    font-weight: bold;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif !important;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size:1rem;
    height:auto !important;
}
/* Column headers */
th.ui-state-default { 
    background: #D9D9D9 !important;
    border-right: solid 1px #000000 !important;
    border-top: none !important;
    border-bottom: solid 1px #000000 !important;
}
/* Hovering over column headers (except left-most header) */
/*th[role="columnheader"]:not(#grid_subgrid):hover *, th.ui-state-hover:not(#grid_subgrid) {
    background-color: #ddd !important;
    text-shadow: none;
    border-color: #000000;
}*/
/* Hides the weird default sort icons */
.ui-grid-ico-sort {
    visibility: hidden; 
}

/*----- Body -----*/
div.ui-jqgrid {
    border-color: #000000;`
    border-radius: 0px;
}
/* Blank space when grid is narrower than page */
.ui-jqgrid-hdiv, .ui-jqgrid-bdiv {
    background-color: #d9d9d9 !important;
    border-bottom: none !important;
}
/* Overriding thead default jQuery style, so the first column of the grid looks the same as the others */
.ui-state-default {
    background: white !important;
    color: #000 !important;
}

/*----- Rows -----*/
tr[role="row"] {
    background-color: white;
    color: #000000;
    border-top: solid 1px #000000 !important;
    border-bottom: solid 1px #000000 !important;
    font-size: 1rem;
}
td[role="gridcell"] {
    color: black !important;
    border-right: solid 1px #000000 !important;
    /* This line ensures that the text wraps in mobile view */
    white-space: normal !important;
}
tr[role="row"].ui-state-hover:hover, td[role="gridcell"]:hover{
    background-color: var(--defaultSubHeaderColour) !important;
    color: white !important;
}
/* Selected rows */
tr[role="row"].ui-state-highlight * {
    background-color: var(--defaultSubHeaderColour) !important;
    color: white !important;
    font-size: 1rem;
}
/* Override the plus icon (replace with RailView icon) for expanding subgrid */
span.ui-icon.ui-icon-plus { 
    background-image: url(themes/images/icons-png/plus-black.png);
    background-size: 10px 10px;
    background-position: 5px 3px;
}
/* Override the minus icon (replace with RailView icon) for minimising subgrid */
span.ui-icon.ui-icon-minus {
    background-image: url(themes/images/icons-png/minus-black.png);
    background-size: 10px 10px;
    background-position: 5px 3px;
}

/*----- Footer -----*/
.ui-jqgrid-pager {
    background-color: #d9d9d9 !important;
    border-top: solid 1px #000000 !important;
    height: auto !important;
    padding: 6px 0 !important;
}
.ui-jqgrid .ui-pager-control {
    height: auto !important;
}
/* Ensure pager cells and tables are vertically centered */
.ui-jqgrid .ui-pg-table td {
    vertical-align: middle !important;
}
/* All elements within footer */
#pager *:not(input):not(select):not(option):not(.ui-pg-button):not(span) { 
    background-color: #D9D9D9;
    color: #000000;
    font-weight: bold !important;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif !important;
}
/* Standardize pager input and select dropdown sizes for consistent horizontal & vertical alignment */
.ui-jqgrid .ui-pg-input {
    height: 24px !important;
    padding: 1px 5px !important;
    font-size: 0.85rem !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
.ui-jqgrid .ui-pg-selbox {
    height: 24px !important;
    padding: 1px 5px !important;
    font-size: 0.85rem !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}
/* This is the same element as #pager below - but this class is added dynamically by jQuery with auto-padding - this will override the auto-padding */
table.ui-pg-table {
    padding-bottom: 0;
}
#pager {
    padding-top: 3px !important;
}
/* Pager buttons */
td.ui-pg-button.ui-corner-all { 
    background-color: #3e3e3e;
}
    td.ui-pg-button.ui-corner-all:hover {
        background-color: #000000;
        border-color: #000000;
    }
/* Replace pager button icons with RailView icons */
span.ui-icon-seek-first {
    background-image: url(dependencies/bootstrap-icons-1.5.0/chevron-double-left.svg) !important;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
span.ui-icon-seek-prev {
    background-image: url(dependencies/bootstrap-icons-1.5.0/chevron-left.svg) !important;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
span.ui-icon-seek-next {
    background-image: url(dependencies/bootstrap-icons-1.5.0/chevron-right.svg) !important;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
span.ui-icon-seek-end {
    background-image: url(dependencies/bootstrap-icons-1.5.0/chevron-double-right.svg) !important;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
td.ui-pg-button > span.ui-icon {
    background-size: 10px 10px;
    background-position: center;
}

/*--------- Sub-grid elements ---------------------*/
.tablediv, .subgrid-cell {
    background-color: #d9d9d9;
}
.ui-subgrid > td {
    border-bottom: solid 1px #000000;
}
/* Hides the weird default icon on left-most column */
span.ui-icon-carat-1-sw {
    visibility: hidden;
}
.ui-jqgrid .ui-subgrid td.subgrid-data {
    border-top: solid 0.5px #000000 !important;
}
td.subgrid-data > div > div.ui-jqgrid {
    border-top: none !important;
    border-bottom: none !important;
}
/*#endregion GRID CONTROL */

/*#region DATE PICKER OVERRIDE */

/* This block is to override the default datebox formatting, where the icons/labels on the prev/next/close buttons overlap 
   Also, the close button hangs over the top corner of the datebox by default - this brings it to back within the datebox */
@media screen and (min-width: 850px) {
    .ui-datebox-container .ui-btn-icon-notext:after { /* Icons */
        left: 0%;
        margin-left: 5px;
    }
    .ui-datebox-container .ui-btn-icon-notext { /* Labels */
        line-height: 24.5px;
        padding-left: 34px;
    }
    .ui-datebox-container.ui-popup .ui-btn-left { /* Close button */
        left: 2px;
        top: 2px;
    }    
}

@-moz-document url-prefix() { /*Display calendar properly in Mozilla Firefox when Zooming in/out */
    .ui-datebox-container {
        width: 313px !important;
    }
}

/*#endregion DATE PICKER OVERRIDE */

/*#region General Button */
.select {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

#menu_navpanel a {
    padding-top: 8px;
    padding-bottom: 8px;
}

div.ui-select div span {
    line-height: 26px;
    text-align:left;
}

.ui-btn-icon-right {
    padding-right: 38px;
}

.ui-btn-icon-left {
    padding-left: 38px;
}

#railview_greeting  {
    text-align:center;
    padding-top:10px;
}

/*#endregion General Button */

/*#region standard text sizes */
/*throughout MI - do not change! */
.title_textsize {
    font-size: 13pt !important;
    line-height: var(--defaultLineHeight) !important;
}

.header_textsize {
    font-size: 15px !important;
    line-height: var(--defaultLineHeight) !important;
}

.subheader_textsize, .ui-btn { /* button text is all sub-header size */
    font-size:14px !important;
    line-height: var(--defaultLineHeight) !important;
}

.content_textsize {
    font-size: 13px !important;
    line-height: var(--defaultLineHeight) !important;
}
/*#endregion standard text sizes */

/*#region TABS */
ul.tabs {margin-bottom: 0.5em;
         padding-left:0;
}

ul.tabs {display: flex;}
ul.tabs > li {
	position: relative;
  flex: 1;
	list-style-type: none;
  text-align: center;
    text-shadow:none;
	padding: 0;
}

ul.tabs > li + li {border-left: 1px solid #FFF;}

ul.tabs a, ul.tabs a:link, ul.tabs a:visited {
	display: block;
	text-decoration: none;
	color: #332F32;
	background: #EEE;
	padding: 0.8em 1em;
}

ul.tabs a:hover, ul.tabs a:focus {
	color: #FFF;
	background: var(--defaultSubHeaderColour);
}

ul.tabs a:focus {outline: 1px dotted #000;}

/* Active tab*/

    ul.tabs a.active, ul.tabs a.active:link, ul.tabs a.active:visited {
        color: #FFF;
        border: 1px solid rgba(227, 227, 227,0.6);
        padding-top: 25px;
        background: var(--defaultSubHeaderColour);
        transition: padding-top 0.2s ease-in-out;
    }
ul.tabs a.active:hover, ul.tabs a.active:focus {
	color: #FFF;
	background: var(--defaultSubHeaderColour);
}

/* Disabled tab */

ul.tabs strong.off {
	display: block;
	font-family: droid_sansregular, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	text-decoration: none;
	color: #FFF;
	background: #0C5460;
	padding: 0.5em 1em;
	opacity: .25;
}

/* Content block */

.k-tabbed-data > .content {
	position: relative;
	padding: 1rem 0;
	border-top: 1px solid #332F32;
}

.k-tabbed-data h3 {
	font-family: sinkin_sans600_semibold, Arial, "Helvetica Neue", Helvetica, "Droid Sans", sans-serif;
	text-transform: none;
}

/*#endregion TABS */

/*#region Roster + RequestLeave Shared*/
.description {
    padding-top: 10px;
    padding-right: 10px;
    float: left;
    margin-top: 10px;
    margin-left: 0;
    text-align: left;
}
.work_details_button {
    margin: 0 !important;
    background-color: #ededed !important;
    border-color: #dddddd !important;
    color: #333333 !important;
    text-shadow: 0 1px 0 #f3f3f3 !important;
    display: block;
    height: 35px;
    padding-top: 0px;
}

.work_col {
    position: absolute;
    right: 0;
    top:0;
    vertical-align: middle;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    height:100%;
}

/*#endregion Roster + RequestLeave Shared*/

/*#region Cordova Camera Buttons*/

.cordovaQR {
   background-color: rgba(255, 0, 0, 0) !important;
  
}

.cordovaQRFrame {
    background-image: url("images/qrFrame.png");
    background-repeat: no-repeat;
}
#cordovaQRButtons {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 10px;
    border: none;
    display: flex;
    justify-content: space-around;
}
.QRFlashOn {
    height: 50px;
    width: 50px;
    background-image: url(images/flashOn.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.QRFlashOff {
    height: 50px;
    width: 50px;
    background-image: url(images/flashOff.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
#QRSwitch {
    height: 50px;
    width: 50px;
    background-image: url(images/switchCamera.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

@media screen and (orientation: portrait) {
    .cordovaQRFrame {
        background-position: center center;
        background-size: 75% auto;
    }    
}

@media screen and (orientation: landscape) {
    .cordovaQRFrame {
        background-position: bottom center;
        background-size: auto 75%;
    }
}

/*#endregion Cordova Camera Buttons*/

/*#region Documents List Edit / Upload depotCrewGrid*/

#depotCrewGridBeta td, #depotCrewGridBeta th {
        border: 1px solid #d5d2d2 !important;
        padding: 8px;
 }

#depotCrewGridBeta tr:nth-child(odd) {
        background-color: #EEE;
}

#depotCrewGridBeta tr:hover {
        background-color: #ddd;
}

#depotCrewGridBeta th {
        padding-top: 12px;
        padding-bottom: 12px;
        background-color: #ddd;
        text-align:center!important;
}

.temp, .tableheader {
    display: flex;
    flex-direction: row
}

.LocationName {
    width: 12.5%;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1600px) {
    .LocationCheckBoxRow {
        width: 115px !important;
        display: flex;
        flex-direction: column;
    }
}
 .LocationCheckBoxRow {
     width: 128px;
     display: flex;
     flex-direction: column;
}

.sticky {
      position: fixed !important;
      z-index: 90;
}

    /*#endregion Documents List Edit / Upload depotCrewGrid*/

    /*#region Station Simplifier Shared Classes*/
    .remarksTextStyle {
        margin-left: 0px !important;
        width: 60px;
        word-wrap: break-word;
        white-space: normal;
    }

    .one_line-height {
        line-height: 1;
    }

    .two_line-height {
        line-height: 2;
    }

    .label_remarks {
        text-shadow: 0 0 0;
        width: 115px;
        margin: auto !important;
    }

    .font_color_black {
        color: #333333 !important;
        text-shadow: none !important;
        font-weight: 700;
    }

        .font_color_black div {
            color: #333333 !important;
            text-shadow: none !important;
            font-weight: 700;
        }

    .font_color_white {
        color: white !important;
        text-shadow: none !important;
        font-weight: 600;
    }

        .font_color_white div {
            color: white !important;
            text-shadow: none !important;
            font-weight: 600;
        }

    .indeterminate.ui-btn:after {
        border-radius: 3px;
        background-image: url('themes/images/icons-png/minus-white.png') !important;
    }

    /*#endregion Station Simplifier Shared Classes*/

    /*********** Date filter buttons **************/

    .ui-icon-loading {
        background: none !important;
    }

    .ui-loader {
        display: none !important;
    }

    .mobile_padding {
        padding: 5px !important;
    }

    .center_text {
        text-align: center !important;
    }

    .right_text {
        text-align: right !important;
    }

    .full_width_table {
        width: 100%;
    }

    .quota_leave_counts {
        white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
        white-space: -pre-wrap; /* Opera 4-6 */
        white-space: -o-pre-wrap; /* Opera 7 */
        white-space: pre-wrap; /* css-3 */
        word-wrap: break-word; /* Internet Explorer 5.5+ */
        white-space: -webkit-pre-wrap; /* Newer versions of Chrome/Safari*/
        word-break: break-all;
        white-space: normal;
    }

    /* This allows an icon to be ui-icon-bars-v for vertical sandwich icon */
    .ui-icon-bars-v:after {
        background-image: url(themes/images/icons-png/bars-v-white.png);
    }

    /* This allows an icon to be ui-icon-filter for filter icon */
    .ui-icon-filter:after {
        background-image: url(themes/images/icons-png/filter-white.png);
    }

    /* This allows an icon to be ui-icon-filter for filter icon */
    .ui-icon-signon:after {
        background-image: url(themes/images/icons-png/filter-signon.png);
    }

    #menu_placement {
        float: left;
    }

    .center-wrapper {
        text-align: center;
    }

        .center-wrapper * {
            margin: 0 auto;
        }

    .hide_element {
        display: none;
    }

    #version_bar {
        padding: 0 !important;
        margin: 0 !important;
    }

        #version_bar .ui-btn {
            margin-left: 1vw !important;
            margin-top: 0.5vh !important;
            margin-bottom: 0.5vh !important;
            font-size: small;
        }

    .highlight_blue { /*TODO move out of shared css or delete*/
       /* background: #00558E !important;*/
        text-shadow: none !important;
    }

    .darkGreyHighlight { /*TODO move out of shared css or delete*/
        background-color: #D9D9D9;
        color: black;
    }

    .lightGreyHighlight { /*TODO move out of shared css or delete*/
        background-color: #EDEDED !important;
        color: black;
    }

    .blueHighlight { /*TODO move out of shared css or delete*/
        background-color: #4a6491;
        color: white;
    }

    .darkBlueHighlight { /*TODO move out of shared css or delete*/
        background-color: #30395c;
        color: white;
    }

    .alt_row_even { /*2nd, 4th, 6th etc. items in list*/
        background-color: #FFFFFF;
        color: black;
    }

.alt_row_odd { /*1st, 3rd, 5th etc. items in list*/
    background-color: #f2f2f2;
    margin-right: 10px;
    margin-left: 10px;
}

    /*full calendar selected day -- override the fullcalendar.min.css*/
    .fc-highlight, .fc-highlight.fc-today {
        background: #F4B840 !important;
        opacity: 1 !important;
    }

    .online {
        display: none;
    }

    .offline {
    }

    /*Add some spacing onto the collapsible heading text */
    .ui-collapsible-heading span {
        margin-left: 0.5rem;
    }

    /*Add some spacing onto the collapsible heading text */
    .ui-collapsible-heading a.ui-btn.ui-btn {
        padding-left: 2.5rem;
        border-left-color: #ddd;
        border-right-color: #ddd;
        border-left-width: 1px;
        border-right-width: 1px;
    }

    .ui-collapsible-content {
        border-left-color: #ddd !important;
        border-right-color: #ddd !important;
        border-left-width: 1px !important;
        border-right-width: 1px !important;
    }

    #calendar_header .ui-controlgroup-controls {
        background-color: #30395c;
    }

    .darkGreyButtons, #hourlyDropdown-button, #dailyDropdown-button, #weeklyDropdown-button, #monthlyDropdown-button, #yearlyDropdown-button {
        background-color: #3E3E3E !important;
        text-shadow: none !important;
        color: white !important;
        font-weight: normal !important;
        border-color: #3E3E3E !important;
    }

    #dailyDropdown-button, #hourlyDropdown-button, #weeklyDropdown-button, #monthlyDropdown-button, #yearlyDropdown-button, .leftBorderCalendar {
        border-width: 1px;
        border-left-color: #dddddd !important;
    }

    .tableBorders {
        border: 1px solid black;
        border-collapse: collapse;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        text-align: center;
        text-shadow: none !important;
        color: #000000;
    }

    .tableNoBorders {
        border: none;
        padding-top: 0.5em !important;
        padding-bottom: 0.5em !important;
        text-shadow: none !important;
        color: #000000;
    }

    .tableNoBordersSides {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .ui-controlgroup-controls .ui-btn-icon-notext {
        max-height: 100%;
        height: 1.1em;
    }

    .submenu_buttons.ui-mini .ui-btn-icon-notext {
        font-size: inherit !important;
    }

    .no_text_shadow {
        text-shadow: none !important;
    }

    #depot_crew_header, #unitid_orientation_header, #nodataofflinemessage {
        padding: 0.4em;
        margin-bottom: 0.4em;
    }

    .ui-input-text input {
        line-height: 1em !important;
        min-height: 1em !important;
    }

    .data_dialog_buttons {
        text-align: center;
        margin-top: 0.5em;
    }

    /*Make dialog padding consistent*/
    .dialog_padding {
        padding: 1rem !important;
        text-align: center;
    }

    #logoutMessage {
        margin-bottom: 0.7em;
    }
    /**/

    .capitalizeText {
        text-transform: capitalize;
    }

    .page_sides_padding {
        padding: 0 1em;
    }

    .topMargin_Dailogbox {
        margin-top: 60px;
    }

    .ui-datepicker, .ui-datepicker-next {
        right: 16px !important;
    }

    #back_button span {
        vertical-align: middle;
    }

    .centered {
        margin: 0 auto;
    }

    #depotCrewGridBeta {
        border-collapse: collapse;
        margin-top: 10px
    }

    #fileUploadButton {
        margin: 0px 0px 0px 0px !important;
        margin-top: 5px !important
    }

    #filename {
        padding: 13px;
        display: inline;
        float: left
    }

    .workDateLabel, .workTimesLabel, .workTypeLabel {
        text-shadow: none !important;
        color: #000000;
    }

    .workDateLabel, .viewWorkDetailsLabel {
        font-weight: 500;
        padding-left: 15px;
    }

    #other_crew_select_button, #other_depot_select_button, #CrewDropdown_button {
        text-align: left;
        font-weight: bold;
    }

    .disabled-element {
        pointer-events: none !important;
        opacity: 0.65 !important;
    }

.pageSubHeaderStyling {
    background-color: #EFEFEF;
    padding: 10px;
}

.outageButtonContainer {
    width: 10%;
}

.create_button, .quick_dispatch_button, .service_dispatch_btn, .bd_btnSave, #settings_button, #refresh_button, #submit_button, #sv_btnSave, #find_button, #btnSave, #arCreate, #second_requestButton, #dispatch_button, #cancel_button, #submitBtn, #svHomeButton, #back_button {
	padding: 0 0 0 5px;
	height: 28px;
	font-weight: 400 !important;
	margin-top: -3px !important;
}

@media screen and (min-width: 850px) {
	#sv_btnSave {
		margin-top: 0px !important;
	}
}

@media screen and (max-width: 850px) {
    #sv_btnSave {
        margin-top: 1px !important;
    }
    #back_button{
        margin-top:-6px !important;
    }
	.label_remarks {
		width: 135px !important;
        margin-left: 20px !important;
	}
}


#sv_btnSave, #dispatch_button, #submit_button, #upload_btn, #request_button, #ln_btnSave, #save_button, #btnSave {
    padding: 0 0 0 5px;
    height: 27px;
    font-weight: 400 !important;
    flex-shrink: 0;
}


#minus_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/dash-lg.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}

#delay_minus_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/dash-lg.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    background-position: center center;
    padding-left: 5px;
}

.back_button::before {
    z-index: auto;
    background: url(dependencies/bootstrap-icons-1.5.0/arrow-return-left.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    padding-left: 5px;
}

.create_button::before, .quick_dispatch_button::before, .service_dispatch_btn::before, #bd_btnSave::before, #submit_button::before, #sv_btnSave::before, #btnSave::before, #confirm_bikes::before, #save_button::before, #ln_btnSave::before, #request_button::before, #arCreate::before, #second_requestButton::before, #confirmAck::before, #selectall_button::before, #dispatch_button::before, #submitBtn::before, #acknowledge::before, #btnSaveSecondary::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/check2.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    padding-left: 5px;
}

#bus_search_button::before, #location_search_button::before, #searchButton::before, #find_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/search.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    padding-left: 15px
}

#new_button::before, .new_button::before, .add_button::before, #add_depot_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/plus-lg.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    padding-left: 20px;
    position: absolute;
}

#settings_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/gear.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    padding-left: 25px;
    position:absolute;
    left:1px;
}
#refresh_button::before, #refresh_docs_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/arrow-clockwise.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
}
#upload_btn::before {
    z-index: 1000;
    background-image: url(dependencies/bootstrap-icons-1.5.0/upload.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    padding-left: 20px;
    left: 1px;
    flex-shrink: 0;
    background-repeat: no-repeat;
}


#find_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/search.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    padding-left: 20px;
    position: absolute;
    left: 1px;
}

#plus_button::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/plus-lg.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    margin-left: 13px;
}
#leaveHistoryFilterClearButton::before, .remove_button::before, .remove_btn::before, .crossbutton, .rmv_button::before, #cancel_button::before {
    z-index: 99;
    background-image: url(dependencies/bootstrap-icons-1.5.0/x-lg.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}
.starButton {
    content: "";
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
    background-color: #e9e9e9;
}
.starButtonBlack {
    content: "";
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
    background-color: #e9e9e9;
}


.filterButton {
    z-index: 1000;
    background-image: url(dependencies/bootstrap-icons-1.5.0/funnel-fill.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}

.checkButton {
    z-index: 99;
    background: url(dependencies/bootstrap-icons-1.5.0/check.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}

.remarkButton {
    z-index: 99;
    background-image: url(dependencies/bootstrap-icons-1.5.0/pencil.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}

.downArrow {
    z-index: 1000;
    background-image: url(dependencies/bootstrap-icons-1.5.0/chevron-down.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}

.arrow-icon::before {
    content: "";
    background-image: url(dependencies/bootstrap-icons-1.5.0/play-circle.svg);
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background-repeat: no-repeat;
    background-size: 1.25rem;
}

.icon-ln-u-bl_button {
    z-index: 1000;
    background-image: url(dependencies/bootstrap-icons-1.5.0/arrow-up.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}

.icon-ln-d-bl_button {
    z-index: 1000;
    background-image: url(dependencies/bootstrap-icons-1.5.0/arrow-down.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
    background-color: white;
}
.upArrow {
    z-index: 1000;
    background-image: url(dependencies/bootstrap-icons-1.5.0/chevron-up.svg);
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center center;
}

a#settings_button span{
    margin-left: 5px;
}

@media screen and (max-width: 850px) {
    .create_button, #new_button, #bd_btnSave, a#find_button, #service_dispatch_btn, .quick_dispatch_button, a#settings_button, a#refresh_button, #settings_button, #refresh_button, #submit_button, #sv_btnSave, #ln_btnSave, #save_button, #refresh_docs_button, #btnSave, #request_button, #arCreate, #dispatch_button, #acknowledge, #svHomeButton, #back_button {
        height: 28px !important;
        margin-top: -1.5px;
    }

    #settings_button::before{
        left:0;
    }
}

.button-disabled {
    filter: brightness(80%);
    cursor: default !important;
    pointer-events: none;
}
.btn_width {
    width: 200px !important;
}

.workTypeLabel {
    font-weight: bold;
    padding-left: 0.5em;
    border-bottom-right-radius: 0.6em;
    border-top-right-radius: 0.6em;
}

@media screen and (max-width: 850px) {
    .workTypeLabel {
        font-weight: bold;
        padding-left: 0.2rem;
        font-size: 14px !important;
    }
}

.weeklyRosterWorkType {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    height: auto !important;
    align-self: stretch;
    margin-left: auto !important;
    margin-right: 1.3rem;
    padding: 6px 4px !important;
    display: inline-flex !important;
    flex-flow: row wrap !important;
}

    .weeklyRosterWorkType span {
        display: inline-block;
        white-space: nowrap;
        width: auto !important;
    }

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 400px; /* Adjust as needed */
    position: relative;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.minimiseButtonContainer {
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}

.close {
    color: #212529;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close:hover {
    color: #000;
}
button#acknowledgeBtn {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    align-self:center;
}

.arrowRight {
	width: 1rem;
	height: 25px;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}

.arrowRight::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(dependencies/bootstrap-icons-1.5.0/chevron-right.svg);
	background-repeat: no-repeat;
	background-size: 1rem;
	background-position: center;
    filter: invert(1) brightness(100%);
}

#svHomeButton::before {
    z-index: 1000;
    background: url(dependencies/bootstrap-icons-1.5.0/house-door-fill.svg) no-repeat center;
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(332deg) brightness(102%) contrast(105%);
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
    margin-right: -20px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
}

.inputCustomStyling{
    height:17.5px !important;
    width: 17.5px !important;
    padding: 9px !important;
    margin:auto 10px;
}

button[type="button"]:hover,
button[type="button"]:active,
button[type="button"]:checked,
a[data-role="button"]:hover,
a[data-role="button"]:active {
    background-color: #fff !important;
    box-shadow: 1px 2px 4px #000;
    outline: 1px solid #000;
    color: #000;
}

/* Forces the Icon for before, after psuedo to be inverted to black*/
button[type="button"]:hover::before,
button[type="button"]:active::before,
button[type="button"]:checked::before,
a[data-role="button"]:hover::before,
a[data-role="button"]:active::before {
	filter: invert(0) brightness(100%) !important;
}

.ss_labelcol{
    width:4% !important;
}
.ss_btn_width {
    width: 120px !important;
}

.passwordButton {
    position: absolute !important;
    right: 1px;
    padding: 12px;
    border: 1px solid #ced4da;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .passwordButton:focus, .passwordButton:active, .passwordButton:hover {
        border: 1px solid #06A;
    }


    .passwordButton:hover {
        background: none !important;
    }

/* Removed the default ICON added for type=password in bootstrap */
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear {
    display: none;
}

.minimiseButton{
    right: 0;
}