﻿div, h1, h2, h3, h4, h5, h6, html, body {
    border: 0;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: roboto;
    src: url(fonts/Roboto-Regular.ttf)
}

@font-face {
    font-family: roboto;
    src: url(fonts/Roboto-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: nunito-sans;
    src: url(fonts/NunitoSans-VariableFont.ttf)
}

@font-face {
    font-family: maven-pro;
    src: url(fonts/MavenPro-VariableFont_wght.ttf)
}

body {
    /*background-color: #F0F0F0;*/
    font-family: roboto, helvetica, sans-serif;
    font-size: 10pt;
}

img {
    border: none; /* Because IE */
}

div#header {
    background-color: #32A66C;
    clear: both;
    position: relative;
    width: 100%;
    height: 40px;
    z-index: 99;
}

div#main h1 {
    margin: 0 1%;
}

.clearfix {
    clear: both;
}

a {
    color: #32A66C;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

span.red {
    color: Red;
}

div.content_wrapper {
    margin: 10px 0;
    width: 100%;
}

.logo_link {
    display: flex !important;
    align-items: center;
}

.lub-logo {
    width: 24px !important;
    height: 24px !important;
    filter: drop-shadow(0 6px .35rem #00000025);
    background: #fff;
    padding: 4px;
    border-radius: 8px;
}

ul.nav_box {
    border: none;
    border-bottom: none;
    display: inline-block;
    float: left;
    list-style: none;
    margin: 10px -1px 0 10px;
    padding: 0;
    width: 10%;
}

    ul.nav_box li {
        border-bottom: 1px solid #BBBBBB;
        border-left: 1px solid #BBBBBB;
        margin: 0;
        padding: 5px;
    }

        ul.nav_box li.active {
            background-color: #FFFFFF;
            border: 1px solid #BBBBBB;
            border-right: none;
            margin: -1px -1px 0 -10px;
        }

        ul.nav_box li:hover {
            background-color: #FFFFFF;
        }

ul.operations {
    border: none;
    list-style: none;
    padding: 0;
}

    ul.operations li {
        display: inline-block;
        padding-right: 10px;
    }

.content_box {
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
}

div.content_box, .general_box {
    background-color: #FFFFFF;
    padding: 10px 10px;
    padding-bottom: 0px;
    position: absolute;
    top: 40px;
    left: 0px;
    right: 0px;
}

#no_other_lineups_placeholder {
    text-align: center;
    color: Gray;
}

#lineup_main {
    overflow-y: hidden;
    bottom: 0px;
}

.content_box_head {
    border-bottom: 1px solid #ebebeb;
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
}

div.content_box_head h2 {
    padding-bottom: 8px;
    margin: 0 0 0.5em 0;
}

div.content_box_head ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding-left: 1em;
}

    div.content_box_head ul li {
        display: inline-block;
        margin-right: 2em;
    }

.control_container h2 {
    border-bottom: 1px solid #DDDDDD
}

div.content_box h3 {
    border-bottom: 1px solid #DDDDDD;
    padding-bottom: 8px;
    margin: 0;
    padding: 5px;
}

div.content_box h2 {
    margin: 0;
    padding: 5px;
    /*    border-bottom: 1px solid #DDDDDD;
*/
}

div.content_box h4 {
    margin: 0 0 5px 0;
    padding: 15px 15px 15px 0px;
}

div.content_box h5 {
    color: #999999;
    font-size: 13pt;
    font-weight: normal;
    position: relative;
}

div.content_box h6 {
    color: #999999;
    font-size: 13pt;
    font-weight: normal;
    text-align: right;
    padding-right: 7px;
}

div.content_box div.content_box_section {
    /*margin: 20px 0;*/
}

div.filter_wrapper {
    border-bottom: 1px solid #BBBBBB;
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding: 10px;
    display: flex;
    align-items: flex-end;
}

div.filter {
    display: inline-block;
    margin: 0 50px 0 0;
    vertical-align: top;
}

    div.filter input,
    div.filter label {
        display: block;
    }

    tr.disabled td {
        text-decoration: line-through;
        background-color: #eeeeee;
    }
    tr.disabled td:last-of-type {
        text-decoration: none !important;
    }

div.crew_overview_list {
    font-size: 12pt;
    width: 500px;
    border-collapse: collapse;
}

div.form_field {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form_field input, .form_field select {
    padding: 10px;
    border-radius: 3px;
    border: solid 1px #999999;
    transition: .2s;
}

    .form_field input:hover, .form_field select:hover {
        border-color: #cccccc
    }

div.form_field div.field_label {
    display: inline-block;
    text-align: right;
    width: 150px;
    vertical-align: top;
}

/*STD STANDARD TABLE TEMPLATE*/
.std {
    font-size: 12pt;
}

.std-small {
    font-size: 9pt;
}

.std-small,
.std {
    margin: 1em;
    background: #fff;
    border-collapse: collapse;
    text-align: left;
}

    .std-small th,
    .std th {
        font-weight: normal; /*Style me for table headders!!*/
        padding: 0.5em .7em;
    }

/*overtime management table styling*/
.ovt td {
    text-align: center;
}

    .ovt td:first-child {
        text-align: left;
    }

.shift-cell:nth-of-type(odd) {
    background: #eeeeee;
}

.nom td {
    text-align: center;
}

    .nom td:nth-of-type(odd) {
        background-color: #eeeeee;
    }

.nom th {
    border: 1px solid #ebebeb;
    color: #2e2e2e;
}

.nom td input {
    padding: 10px;
    height: 20px;
    width: 20px;
}

.nom td input {
    accent-color: #34495e;
}

.shift-rqd {
    font-weight: bold;
}



.std-small thead,
.std thead {
    font-size: 108%;
    padding: 1em 0.8em;
    font-weight: normal;
    border-bottom: 1px solid #e7e7e7;
    color: #7D7D7D;
}

.std td {
    border-bottom: 1px solid #e7e7e7;
    padding: 0.7em;
}

.std-small td {
    border-bottom: 1px solid #e7e7e7;
    padding: 0.5em;
}


    .std-small td a,
    .std td a {
        padding-right: 1em;
    }

        .std td a.ui-spinner-button {
            padding-right: 0 !important; /*Fix Spinners*/
        }

#fleet_index.std td {
    border-bottom: 1px solid #ccc;
    padding: 5px 15px 5px 11px;
}

#edit_equipment.std td {
    border-bottom: 1px solid #ccc;
    padding: 5px 15px 5px 11px;
}

#edit_equipment.std td {
    border-bottom: 1px solid #ccc;
    padding: 5px 15px 5px 11px;
}

#equipment_index.std td {
    border-bottom: 1px solid #ccc;
    padding: 5px 15px 5px 11px;
}

/*TABLE FOR SHIFT PLAN ON FRONT OF LINE UP*/
.spt {
    font-size: 11pt;
    border-collapse: collapse;
    text-align: left;
    margin: 0 auto;
    font-weight: normal;
}

    .spt th {
        font-weight: normal; /*Style me for table headders!!*/
        padding: 0.7em 0.7em;
    }

    .spt thead {
        font-size: 13pt;
        font-weight: normal;
        border-bottom: 1px solid #919191;
        padding: 1em 0.8em;
        color: #7D7D7D;
    }

    .spt td {
        border-bottom: 1px solid #ccc;
        padding: 0.7em;
        vertical-align: top;
    }

/*The CSS for the success/error/warning boxes was taken from
http://youhack.me/2010/03/27/creating-message-boxes-using-css-with-fadein-effects-using-jquery/ */

div.success_message, div.error_message, div.warning_message {
    border: 1px solid;
    padding: .7em 1em;
    background-repeat: no-repeat;
    background-position: 10px center;
    text-align: center;
    margin: 0 auto;
    position: absolute;
    top: 35px;
    right: 0;
    left: 0;
    width: 600px;
    z-index: 10;
    font-size: 14pt;
}

div.success_message {
    color: #444;
    background-color: #B9EAD2;
    border-color: #6BD29F;
}

div.error_message {
    color: #D8000C;
    background-color: #FDD5CE;
}

div.warning_message {
    color: #FFE222;
    background-color: #FAF9C9;
}

div.form_submit {
    margin-left: 150px;
    padding: 5px 0;
}

div.form_submit input {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    background: linear-gradient(61deg, rgba(2,190,96,1) 0%, rgba(50,166,108,1) 72%);
    border: none;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #008900;
}

.file-upload {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    background: linear-gradient(61deg, rgba(2,190,96,1) 0%, rgba(50,166,108,1) 72%);
    border: none;
    cursor: pointer;
    border: 1px solid #008900;
    font-weight: bold;
    font-family: Arial;
    display: inline-block;
}
.file-upload:hover {
    background: #32A66C
}

button, input[type="submit"], input[type="button"] {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    background: linear-gradient(61deg, rgba(2,190,96,1) 0%, rgba(50,166,108,1) 72%);
    border: none;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #008900;
}

select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #999999;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background: #32A66C
}

.input-button {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #999999;
    width: 100%;
}

div.form_submit input:hover {
    background: #237049;
}

div.pagination {
    text-align: left;
}

    div.pagination ul {
        list-style: none;
        padding: 0;
    }

        div.pagination ul li {
            display: inline-block;
            padding-right: 5px;
        }

/*** Dialogue Styling ***/
div.modal_dialog_form {
    padding: 0 5%;
}

    div.modal_dialog_form p {
        margin: 0;
        padding: 1px;
    }

    div.modal_dialog_form h3 {
        margin-top: 0.4em;
        margin-bottom: 0.4em;
    }

    div.modal_dialog_form label {
        text-align: left;
        display: inline-table;
    }

/*** Navigation menus ***/
div.menu {
    font-size: 13pt;
    float: right;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    div.menu > * {
        vertical-align: middle;
    }

.workgroup_btn {
    background: linear-gradient(22deg, rgb(23 209 99) 0%, rgb(39 171 104) 72%);
    color: white;
    padding: 3px 7px !important;
}

    .workgroup_btn a {
        color: white !important;
        display: flex;
        align-items: center;
    }

        .workgroup_btn a img {
            filter: invert(1);
        }

    .workgroup_btn:hover {
        filter: none;
        color: black;
        background: #2d8559 !important;
    }

.menu_item {
    display: flex;
    align-items: center;
}

div.menu_item {
    display: inline-block;
    margin: 0 5px 0 5px;
    padding: 0 5px 0 5px;
    position: relative; /*--Declare X and Y axis base for sub navigation--*/
    height: 100%;
    cursor: pointer;
}

    div.menu_item a {
        padding: 5px 5px;
        color: #FFFFFF;
        font-size: 11pt;
        display: block;
        clear: both;
        list-style: none;
        text-decoration: none;
        float: left;
    }

    div.menu_item span.submenu_dropdown { /*--Drop down trigger styles--*/
        width: 16px;
        height: 27px;
        padding: 0px 3px;
        float: left;
        background: url(../Images/arrow_down.png) no-repeat center transparent !important;
    }

    div.menu_item span.submenu_hover {
        background-position: center center;
        cursor: pointer;
    }

    div.menu_item div.submenu {
        list-style: none;
        position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
        top: 40px;
        background: #FFFFFF;
        margin: 0;
        padding: 5px 0 5px 0;
        display: none;
        float: left;
        min-width: 200px;
        border: 1px solid #999999;
        border-top: 0;
        z-index: 999;
        filter: drop-shadow(0 6px 0.35rem #00000025);
        border-radius: 0 0 5px 5px;
    }

.left-align {
    left: 0;
}

#main div.menu div.menu_item div.submenu {
    right: 0;
    top: 27px;
}

div.menu div.menu_item div.submenu div {
    margin: 0;
    padding: 0;
    clear: both;
    width: 200px;
    overflow-x: hidden;
}

    div.menu div.menu_item div.submenu div a {
        float: left;
        width: 195px;
        color: #333333;
        background-color: #FFFFFF;
        padding: 5px 5px 5px 5px;
        text-decoration: none;
    }

        div.menu div.menu_item div.submenu div a:hover {
            background: #ebebeb;
        }

/*** Force the size of images in the menus ***/
.menu img, .main_menu img, #takefive_svg {
    height: 20px;
    width: 20px;
}

.navbar_link {
    display: flex !important;
    align-items: center !important;
}

.main_menu {
    height: 40px;
    display: flex;
}

#shift_nav {
    display: flex;
    flex-wrap: nowrap;
}

    #shift_nav > * {
        vertical-align: middle;
    }

/*** Appearance styling ***/
div.menu_item:hover {
    background-color: #FFFFFF;
}

    div.menu_item:hover a {
        color: #333333;
    }

div.menu_item div.submenu div.submenu_list {
    border-bottom: 1px solid #999999;
    display: inline-block;
    padding-bottom: 3px;
    width: 205px;
}

.submenu_list div a {
    width: 95%;
}

    .submenu_list div a:hover {
        background: #ebebeb;
    }

.submenu_list div div a:hover {
    background: #ebebeb;
}

.submenu div a {
    width: 95%;
}

    .submenu div a:hover {
        background: #ebebeb;
    }

div.menu_item div.submenu h1 {
    color: #292929;
    display: inline-block;
    font-size: 11pt;
    font-weight: bold;
    padding: 5px 0 2px 5px;
    width: 95%;
    cursor: default;
}

div.menu div.menu_item div.submenu div.last_submenu_list {
    border: none;
}

div.content_box_head div.menu div.menu_item {
    border-radius: 5px;
    display: flex;
    min-height: 30px;
    align-items: center;
}

    div.content_box_head div.menu div.menu_item a {
        color: #333333;
        float: left;
    }

    div.content_box_head div.menu div.menu_item:hover {
        background-color: #efefef;
    }

        div.content_box_head div.menu div.menu_item:hover a {
            /*   color: #FFFFFF; */
            text-decoration: none;
        }

    div.content_box_head div.menu div.menu_item div.submenu {
        border-top: 1px solid #999999;
    }
/*** End navigation menu ***/

/*** about page ***/
div.maven_text {
    font-family: maven-pro, sans-serif;
    font-size: 40px;
    font-weight: 400;
}

div.maven_text_bold {
    font-family: maven-pro, sans-serif;
    font-size: 40px;
    font-weight: 500;
    display: inline;
}

div.about_box {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #BBBBBB;
    padding: 30px 30px;
    margin: 130px auto;
    width: 650px;
    text-align: center;
    font-size: 15px;
}

div.team_support {
    text-align: center;
    display: inline;
    padding: 5px;
    clear: both;
    font-weight: bold;
}

div.team_list ul {
    text-align: center;
    display: inline-block;
    list-style-type: none;
    position: relative;
    left: -20px;
}

div.about_support {
    display: block;
    clear: both;
    text-align: center;
    margin: auto;
    list-style: none;
}

div.devfu_info ul {
    padding: 0px 0px 0px 10px;
    font-size: small;
    text-align: left;
    list-style: none;
    line-height: 140%;
    width: auto;
}

div.defu_logo {
    float: left;
}

div.container_cent {
    margin-left: 195px;
    margin-bottom: 30px;
}

.total {
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    padding: 5px 0px 5px 0px;
}

textarea {
    resize: none;
}

/*** equipment page ***/
div.edit_details_table {
    max-height: 200px;
    overflow-y: scroll;
}

/*** Cost Centre ***/
.virtual_cost {
    font-style: italic;
    color: #A7A4A4;
}

#cost_centre label {
    width: 5em;
    margin-right: 0.5em;
    display: inline-block;
}

.ui-datepicker-trigger {
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 10px;
    padding-bottom: 3px;
}

.weekly-date-select {
    margin: 1em;
}
.weekly-date-select a {
    margin-right: 1em;
}

.cost_centre_button {
    padding: 8px 0px 0px 76px;
}

div.invalid_test_column {
    color: red;
}

.ot_number_ok {
    background-color: #E0F5EB;
    vertical-align: initial
}

.ot_number_high {
    background-color: #FFCBCB;
    vertical-align: initial
}

.ot_number_low {
    background-color: #FFE5CC;
    vertical-align: initial
}

.ot_rejected {
    text-decoration: line-through;
}

.nom .ot_rejected {
    background: #ff1927 !important;
    color: white;
}

.ot_allocated {
    /*background-color: dodgerblue !important;*/
}

.nom .ot_allocated {
    background-color: dodgerblue !important;
}

.approval_btn {
    cursor: pointer;
}

/* TODO: This is used for reassigning fleet/ tyres on equipment. Would be good if it was more generic*/
.green_button {
    padding: 5px 10px;
    background: linear-gradient(61deg, rgba(2,190,96,1) 0%, rgba(50,166,108,1) 72%);
    color: #ffffff;
    margin-bottom: 4px;
    margin-left: 5em;
    border-radius: 5px;
    text-decoration: none;
}
.green_button a {
    text-decoration: none;
}
.green_button:hover {
    background: #32A66C;
    text-decoration: none;
}

.tyres {
    width: 100%;
    margin: 20px auto;
    border: 14px solid #ddd;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.equipment_disabled {
    font-style: italic;
    color: #aaaaaa;
}

.link_button {
    padding: 4px;
    background: #32A66C;
    color: #ffffff;
    margin: 4px;
}

.performance_above_target {
    color: #008000;
    font-weight: bold;
}

.performance_below_target {
    color: #aa0000;
    font-weight: bold;
}

.licence_message {
    font-size: 18pt;
}

.equipment_hiredin {
    background-image: url('/Images/exclamation-blue.png');
    background-position: top left;
    background-repeat: no-repeat;
}

.inactive_crew_selection {
    background-color: #bfbfbf;
    color: #8c8c8c;
}

.operator_fatigue_warning img {
    vertical-align: top;
    padding: 0px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    vertical-align: top;
    border: none;
}

.available-workers-container {
    display: flex;
    align-items: flex-start;
}

.task_list {
    padding: 5px 10px;
}

.delay_time_table {
    margin: 20px 0;
}

#edit_planned_delay_form {
    max-height: 453px !important;
}

.std input, input[type="textbox"], input[type="text"], input[type="number"] {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #999999;
}

input[type="file"]::file-selector-button {
    display: none;
}

.std thead input {
    width: 90% !important;
}

.worker_table {
    margin: auto !important;
}

.td_action_col {
    display: flex;
    flex-wrap: nowrap;
}

.table_edit_icon {
    filter: invert(48%) sepia(100%) saturate(306%) hue-rotate(98deg) brightness(94%) contrast(85%);
}

    .table_edit_icon:hover {
        filter: invert(48%) sepia(100%) saturate(306%) hue-rotate(98deg) brightness(54%) contrast(85%);
    }

.table_delete_icon:hover {
    opacity: .7
}


/*toggle button layout*/

.tgl-btn-wrapper {
    width: 250px;
    height: 36px;
    background-color: #f6f6f6;
    border: 1px solid #cccccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: auto;
}

    .tgl-btn-wrapper a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: Center;
        text-decoration: none;
        font-family: sans-serif;
        font-weight: bold;
        transition: .2s;
        text-align: center;
    }

        .tgl-btn-wrapper a:hover:not(.tgl-selected) {
            background-color: lightgrey;
        }

.tgl-selected {
    background-color: #32A66C;
    color: white !important;
}

.tgl-btn-wrapper a:not(.tgl-selected) {
    color: #32A66C !important;
}


.ui-widget-content.ui-datepicker-inline {
    border: none !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    /* border-bottom: 3px solid green !important;*/
    background-color: #d9d9d9 !important;
    /*transition: ease-in-out .2s;*/
    cursor: default;
}

    .ui-state-active a {
        color: green !important;
        cursor: default !important;
    }

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background-color: #d9d9d9 !important;
}

.ui-tabs-nav {
    background: #32A66C !important;
}



/*custom scrollbar*/

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
/* Track */
::-webkit-scrollbar-track {
    /*background: #f1f1f1;*/
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #afafaf;
    border-radius: 10px;
}
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #818181;
    }

.allocated_mssg {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: auto;
    opacity: .5;
    font-weight: bold;
    pointer-events: none;
    font-size: smaller;
}

.personnel_list .allocated_mssg {
    margin: 10px auto;
    justify-content: center;
}


/*loading overlay*/

.loader-logo {
    position: absolute;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #32a66c;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#takefive_circle {
    fill: gray
}

img.competency-icon {
    width: 16px;
    height: 16px;
}


#sms_character_count_container {
    font-weight: bold;
    width: fit-content;
    margin: 13px 0;
    display: flex;
    align-items: center;
}

#sms_character_count_icon {
    margin-left: 5px;
}

div.equipment-gallery-image {
    display: inline-block;
    text-align: center;
    width: 125px;
    overflow: hidden;
    border-radius: 5px;
}

div.equipment-gallery-image:hover {
    cursor: pointer;
    background-color: #dedede;
}

.ui-datepicker:not(.ui-datepicker-inline) {
    z-index: 1000 !important;
}