/* 2017-08 BLB:     New design based on the 2017-01 designs          */


/*    1    Resets and overrides     */
/* html5doctor.com Reset v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/) - http://cssreset.com */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    border-style:none;
}
body.login{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
body.login div.container{
    padding: 0px;
    height:100%;
}
body{
    /*    overflow-x: hidden;*/
    /*background: #e6f0f2;*/
    line-height:1
}
article,aside,details,div,figcaptirevert
on,figure,footer,form,header,hgroup,menu,nav,section{
    display:block;
    position:relative;
}
nav ul{
    list-style:none
}
blockquote,q{
    quotes:none
}
blockquote:before,blockquote:after,q:before,q:after{
    content:none
}
a{
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent
}
ins{
    background-color:#ff9;
    color:#000;
    text-decoration:none
}
mark{
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold
}
del{
    text-decoration:line-through
}
abbr[title],dfn[title]{
    border-bottom:1px dotted;
    cursor:help
}
table{
    border-collapse:collapse;
    border-spacing:0
}
hr{
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #ccc;
    margin:1em 0;
    padding:0
}
input,select{
    vertical-align:middle
}
/* http://css-tricks.com/international-box-sizing-awareness-day/ */
*, *:before, *:after {
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

html, body {
    margin:0;
    padding:0;
    /*height:100%;*/
}

/*    1.1    Imports     */
@font-face{
    font-family:'Arial Nova Light';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Light'),url(ArialNova-Light.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova'),url(ArialNova.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Cond Light';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Cond Light'),url(ArialNovaCond-Light.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Cond';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Cond'),url(ArialNovaCond.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Bold';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Bold'),url(ArialNova-Bold.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Bold Italic';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Bold Italic'),url(ArialNova-BoldItalic.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Italic';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Italic'),url(ArialNova-Italic.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Light Italic';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Light Italic'),url(ArialNova-LightItalic.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Cond Bold';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Cond Bold'),url(ArialNovaCond-Bold.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Cond Bold Italic';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Cond Bold Italic'),url(ArialNovaCond-BoldItalic.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Cond Italic';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Cond Italic'),url(ArialNovaCond-Italic.woff) format("woff")
}
@font-face{
    font-family:'Arial Nova Cond Light Italic';
    font-style:normal;
    font-weight:400;
    src:local('Arial Nova Cond Light Italic'),url(ArialNovaCond-LightItalic.woff) format("woff")
}

/* 1.2 Browser specifics */
@-ms-viewport{
    width: device-width;
}





/*  2   Tags */
body {
    zoom: 100% !important;
    background: radial-gradient(circle, #e6f0f2 0%, #cbd8da 100%);
    /*    background: radial-gradient(circle, rgba(64,133,180,1) 0%, rgba(47,93,123,1) 100%);*/
    background-attachment: fixed;
}

body, label, input, select {
    font-size: 0.9em;
    font-family: 'Arial Nova', Arial, sans-serif;
    letter-spacing: 0.05em;
    color: #000;
}
h1, h2, h3 {
    padding: 6px;
    margin: 6px 0;
    background-color: rgba(255,255,255,0.1);
}
h1, h2 {
    padding: 6px 6px 18px 6px;
}
h1 {
    font-size: 1.2em;
}
h3 {
}
h4 {
    font-size: 1.1em;
    margin-bottom: 0.5em;
    padding: 0 6px;
}
p {
    margin-bottom: 0.5em;
}
a {
    text-decoration: none;
    color: #fff;
}

header {
    position: sticky;
    top :0;
    left: 0;
    right:0;
    z-index: 2000;
    /*    height: 90px;*/
    width: 100%;
    /* padding: 6px 0;*/
}
.newproject .form_row input{
    border: 1px solid #AAAAAA;
    font-family: 'Arial Nova', Arial, sans-serif;
    letter-spacing: 0.05em;
    padding: 0 0 0 6px;
    line-height: 24px;
}
label, input,  option {
    color: #000;
    border: 0;
    border-radius: 5px;
    vertical-align: middle;
    line-height: 24px;
    /*font-size: 11px;*/
    padding: 0 6px;
}
label.login {

    padding: 0px;
}

select {
    color: #000;
    border: 0;
    border-radius: 4px;
    vertical-align: middle;
    line-height: 24px;
    /*font-size: 11px;*/
    padding: 0 6px 0 2px;
    border-radius: 4px;
    border: 1px solid #AAAAAA;
}
label {
    margin-right: 6px;
}
.no_floats input ,.no_floats select,.no_floats label,.no_floats .blank_input, input[type=checkbox] {
    width: auto;
    float: none;
    text-align: initial;
    height: 16px;
    padding: 0;
    font-size: 0.8em;
}
/*  Hide arrows on input boxes  */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

option.null{
    color: #777;
}

.monitor {
    position: fixed;
    display: none;
    width: 300px;
    height: 200px;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    z-index: 999999;
}

.countdown{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    text-align: right;
    z-index: 10000;
}
.countdown div{
    background: #FFF;
    right: 1%;
    height: 2px;
    float:right;
    opacity: 0.5;
}
.countdown span {
    display:block;
    position: absolute;
    right: 0;
    top: -2px;
    opacity: 0.5;
    font-size: 0.01em;
}

/*  Structural elements */
.container {
    /*max-width: 1048px;*/
    padding: 0px;
    /*    overflow-x: auto;*/
    /*padding-top: 98px;*/
    margin-bottom: 24px;
    width: 100%;
    min-width: 100%;
    z-index: 0;
}
.col {
    display: inline-block;
    vertical-align: top;
}
.col-75 {
    width: 74%;
}
.col-66 {
    width: 65%;
}
.col-60 {
    width: 59%;
}
.col-50 {
    width: 49%;
}
.col-40 {
    width: 39%;
}
.col-25 {
    width: 24%;
}
.col-33 {
    width: 32%;
}

/*     Table    */
.screen_report {
    padding: 6px 24px;
    font-weight: bold;
    background-color: #F00;
    margin-bottom: 4px;
    color: #fff;
    border-radius: 24px;
}
.table{
    display: table;
}

.row {
    display: table-row;
    margin: 0px;
    color: #000;
}


.row.hilite {
    background-color: #ffc !important;
}
.row.hilite_r {
    background-color: #fcc !important;
}
.hilite_cell {
    background-color: #ff0 !important;
}
.conflict_cell{
    background-color: #f00 !important;
    color: #fff;
}
.hilite_cell.conflict_cell{
    background-color: #f00 !important;
    color: #ff0 !important;
}

.key, .keys {
    font-weight: bold;
    color: #fff;
    display: table-row;
}

.cell{
    display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    /*padding: 4px 6px;*/
}


.keys .week {
    text-align: center;
}

.table .row.live {
    background-color: #0FF;
}

.keys .cell,
body .fluid_container .key.cell,
.pptracker .keys.sticky_keys .cell,
.users .keys.sticky_keys .cell,
.ntracker .keys.sticky_keys .cell{
    height: 42px;
    padding: 0 4px;
    border-bottom: 1px solid #fff;

    text-align: left;
}

.ui-datepicker th{
    color: #ccc;
}

input[type='number'] {
    -moz-appearance:textfield;
}

/* Firefox: remove spinbox arrows from number input fields */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Fluid rows */


.fluid {
    opacity:0;  /*hidden prior to initialising */
}

.fluid .tick_w {
    min-width:50px;
    width:50px;
}

.fluid_side {
    top: 120px;
    position:absolute;
    min-width: 100px;
    width: 263px;
    z-index: 6000;
    /*background-color: #4f81bd;*/
    display:block;
}
.fluid_side .cell {
    display: block;
    border-right: 0;
    width:99.9%;
}





.fluid_side .cell select, .fluid_side .cell input {
    width: initial;
    float:none;
}
body .fluid_side .cell, body .fluid_table .cell, .table_row {
    border-bottom: 1px dotted rgba(255,255,255,0.5);
}
body .fluid_side .cell, .table_row, .table_row_bar {
    height:30px;
}


body .fluid_container .cell,
.tracker_table .cell, .ftracker_table .cell{
    height:20px;
}
body .fluid_container.with_timeline .cell{
    height:30px;
}

.fluid_top {
    /*top:90px;*/
    height: 42px;
    left: 263px;
    position:absolute;
    z-index: 7000;
    color: #fff;
    overflow: no-wrap;
    display: table-row;
}
.fluid_corner {
    top:90px;
    position: absolute;
    z-index: 8000;
    width: 263px;
    height: 42px;
    text-align: left;
    padding: 0 8px;
    /*line-height: 42px;*/
    font-weight: bold;
}
.fluid_table {
    position:absolute;
    z-index: 0;
    background-color: #4f81bd;
}

.grid {
    background-image:url(../images/grid.png);
}



.fluid_container {
    /*margin-top: -8px;*/
    z-index: 0;
}
.fluid_container .fluid_corner{
    width: inherit;
    padding: 0;
}
.fluid_container .fluid_side{
    width: inherit;
}

.fluid_corner, .fluid_top, .tracker_row.keys, .sticky_keys, .user_matrix .keys {
    /*border-top: 12px solid #1965B3;*/
}

/*  4. Re-usable elements    */
.right{
    float:right;
    text-align: right;
}
.f-right {
    float:right !important;
}
.f-left {
    float: left !important;
}
.t-right{
    text-align: right;
}
.t-center{
    text-align: center;
}
.only_mobile{
    display:none !important;
}
.shadow {
    -webkit-box-shadow: 0px 6px 8px 0px rgba(50, 50, 50, 1);
    -moz-box-shadow:    0px 6px 8px 0px rgba(50, 50, 50, 1);
    box-shadow:         0px 6px 8px 0px rgba(50, 50, 50, 1);
}
.center {
    margin: 0 auto;
}
.max1024 {
    max-width: 1024px;
}
.min75pc {
    width: 75%;
}

.third, .no_floats label.third{
    width: 31%;
    /* margin: 0 0.1%; */
    display: inline-block;
}
.fixed {
    position: fixed;
}
.bottom {
    bottom: 0px;
}
.text_center {
    text-align: center;
}
.bold {
    font-weight: bold;
}
.nowrap {
    white-space: nowrap;
}
.margin_left{
    margin-left: 1%;
}
.clear {
    display:block;
    clear: both;
    float: none;
}


.popup {
    display:block;
    position: absolute;
    background-color: #fff;
    padding: 0;
    z-index:1000;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.75);
}
.popup a {
    display:block;
    padding: 0 12px;
    line-height:30px;
    color: #00c;
    background-color: #fff;
    white-space: nowrap;
    cursor: pointer;
}
.popup a:hover{
    background-color: #ccf;
}
.dropdown {
    cursor: pointer;
}
.focus_bg{
    background-color: #ff0 !important;
}

.filters {
    display: inline-block;
    margin: 0 6px 0 0;
    height: 100%;
    /*    padding: 0.7em 0.6em 0 0;*/
}

input.live_filter, select.live_filter{
    width: 200px;
    font-size: 0.8em !important;
    border-radius: 6px;
    border: 0;
    height: 30px !important;
    padding: 0 2px;
}
.home input.live_filter, .deploy input.live_filter{
    width: 200px;
}
.filter_hide{
    display: none !important;
}


/*  4.1 Buttons */
.small_button, label.small_button, h1 span.project a {
    color: #fff;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1.5em;
    padding: 0;
    font-size: 0.8rem;
    margin: 0 3px;
    border-radius: 6px;
    width: 75px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    /*height: 20px;*/
    border-bottom: 1px solid #000;
}

.small_button:hover {
    background-color: #48617f;
}


.bubble_info{
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 12px;
    line-height: 10px;
    background-color: #6C757D;
    border-radius: 12px;
    padding: 3px;
    color: #fff;
    width: auto;
}

/* 4.2 Icons */
.icon_bar {
    height: 48px;
}

.icon_bar .icon {
    /* background-color:#CCCCDC; */
    margin-right: 24px;
}

.icon_bar .icon:last-child{
    margin-right: 0;
}

.icon {
    background-image: url(../images/iconsold.png);
    height: 35px; /* Slightly increased for better padding effect */
    width: 35px;
    /*padding: 5px;*/
    /* box-sizing: border-box; */
    /* border-radius: 10%; */ /* Fully rounded icon */
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    position: relative;

    /* Light, soft shadow around all sides */
    /* box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2),
        0px -6px 12px rgba(0, 0, 0, 0.15),
        6px 0px 12px rgba(0, 0, 0, 0.15),
        -6px 0px 12px rgba(0, 0, 0, 0.15); */
}

.icon:not(.icon-user) {
    cursor: pointer;
}
.small-icon {
    width: 18px;
    height: 18px;
    vertical-align: inherit;
}
.wide-icon {
    width: 70px;
    height: 35px;
    vertical-align: inherit;
}

a.icon:hover, span.icon:not(.icon-comment, .icon-user):hover {
    opacity:0.7;
}

.icon-upload {
    background-repeat: round;
    background: url(../images/up1.png);
    /* background-color:  #CCCCDC; */
    background-position: 0px 0px;
}
.icon-sp {/* background-color:  #CCCCDC; */
    background-position: -35px 0px;
    background: url(../images/l1.png);
}
.icon-alert {
    /*    background-color:  #CCCCDC;*/
    background-position: -70px 0px;
}
.icon-track {
    background: url(../images/l2.png);
    /* background-color:  #CCCCDC; */
    /*background-position: -105px 0px;*/
}
.icon-comment {
    background: url(../images/chat.png);
    /* background-color:  #CCCCDC; */
    background-position: 0px -35px;
    margin-right: 3px;
    cursor: auto;
}
.icon-save {/* background-color:  #CCCCDC; */
    background-position: -35px -35px;
}
.icon-user {
    /*background-color:  #CCCCDC;*/
    background-position: -70px -35px;
}
.icon-project {/* background-color:  #CCCCDC; */
    background-position: -105px -35px;
    background: url(../images/project.png);
}
.icon-adduser {
    /*background-color:  #CCCCDC;*/
    background-position: 0px -70px;
}
.icon-back {
    /*background-color:  #CCCCDC;*/
    background-position: -35px -70px;
}
.icon-refresh {
    /* background-color: #fff; */
    background-position: -70px -70px;
}
.icon-addstreet {
    /*background-color:  #CCCCDC;*/
    background-position: 0px -105px;
}
.icon-streetprotect {
    /*background-color:  #CCCCDC;*/
    background-position: -35px -105px;
}
.icon-streetprotect.all_protect {
    /*background-color:  #CCCCDC;*/
    background-position: -70px -105px;
}
.icon-showcomplete{
    /*background-color:  #CCCCDC;*/
    background-position: -140px -35px;
}
.icon-showcomplete.show_complete  {
    /*background-color:  #CCCCDC;*/
    background-position: -140px 0px;
}
.icon-undo{
    /*background-color:  #CCCCDC;*/
    background-position: -105px -105px;
    float: none !important;
    margin: 0 6px;
}
.icon-redo{
    /*background-color:  #CCCCDC;*/
    background-position: -140px -105px;
    float: none !important;
    margin: 0 6px;
}
.icon-login {
    /*background-color:  #CCCCDC;*/
    background-position: 0px -140px;
}
.icon-deployshift {
    /*background-color:  #CCCCDC;*/
    background-position: -35px -140px;
}
.icon-deployshift {
    /*background-color:  #CCCCDC;*/
    background-position: -35px -140px;
}
.icon-resource {
    /*background-color:  #CCCCDC;*/
    background-position: -105px -140px;
}

.icon-edit-small {
    background-position: -105px -70px;
}
.icon-sp-small {
    background-position: -122px -70px;
}
.icon-track-small {
    background-position: -105px -87px;
}
.icon-revert-small {
    background-position: -122px -87px;
}
.icon-resource-small {
    background-position: -139px -70px;
}

.icon-addcontract {
    background-position: 103px -178px;
}
.icon-addarea {
    background-position: 230px -142px;
    width: 42px;
}
.icon-filter2 {
    background-position: 138px -178px;
}

/*    5 Page specific form elements */

/*     5.1 login */
body.login .container,
body.plan .container,
body.upload .container {
    max-width: 1048px;
}
body.plan form, body.upload form {
    width: 100%;
    font-size: 1em;
    max-width: 100%;
    padding: 18px 12px;
    background-color: rgba(255,255,255,0.1);
    margin-right: 12px;
}
.login input#id_ {
    width: 65%;
    float: right;
}
.login .float_r {
    width: 65%;
}
.login .form_row{
    height: 3em;
}
.login label {
    text-align: left;
    color: white;
}
.login .admin_text, .login .forgot, .login .send_reset, .login .save_new_pw{
    cursor: pointer;
    color: white;
    /*    margin-left: calc(30% + 12px);*/
}

.welcome {
    margin-top: 12px;
    background-color: #F0F0F0;
    padding: 1em;
    /*color: #F0F0F0;*/
    font-size: 1.2em;
    border-radius: 12px;
}
.welcome h2 {
    padding: 0;
    margin-bottom: 0.8em;
    font-size: 1.2em;
}

/*    6    Miscellaneous     */
/*    6.1 Jquery UI - Datepicker */
.ui-datepicker-title select {
    float:none;
    height: 1.5em;
    border-color: #ccc;
    vertical-align: baseline;
}

/*    6.2 Loading */
.modal {
    display: none;
    position: fixed;
    z-index: 4000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 0, 0, 0, .3 )
        url('../images/loader.gif')
        50% 50%
        no-repeat;
}
body.loading {
    overflow: hidden;
}

body.loading .modal {
    display: block;
}

/*  6.3 Upload & lightbox */
#wrapper {
    width:600px;
    margin:0 auto; /*centers the div horizontally in all browsers (except IE)*/
    background:#fff;
    text-align:left; /*resets text alignment from body tag */
    border:1px solid #ccc;
    border-top:none;
    padding:25px;
    /*Let's add some CSS3 styles, these will degrade gracefully in older browser and IE*/
    border-radius:0 0 5px 5px;
    -moz-border-radius:0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    box-shadow:0 0 5px #ccc;
    -moz-box-shadow:0 0 5px #ccc;
    -webkit-box-shadow:0 0 5px #ccc;
}
#lightbox {
    position:fixed; /* keeps the lightbox window in the current viewport */
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, 0.6);
    text-align:center;
    z-index: 10000;
}
#lightbox p {
    text-align:right;
    color:#ccc;
    margin-right:20px;
    font-size:12px;
    cursor: pointer;
}
#lightbox p span:hover {
    color:#fff;
}
#lightbox img {
    box-shadow:0 0 25px #111;
    -webkit-box-shadow:0 0 25px #111;
    -moz-box-shadow:0 0 25px #111;
    max-width:90%;
}


/*  10. Layout elements */
/*  10.1 HEADER  */


/*    3.2 Header */
header h1 {
    text-transform: uppercase;
}
header .top {
    height: 30px;
}
/*header .branding {           -> v4
    font-size: 1.5em;
    font-weight: bold;
    clear: right;
 margin-left: 6px;
}                             */
header .user {
    display:block;
    font-weight: normal;
    font-size: 0.8em;
    position: absolute;
    right:12px;
    top: 0;
}

header .top_bar,
header .page_bar {
    height:44px;
    font-size: 1.25em;
    font-weight:bold;
    line-height: 44px;
    padding-left: 1em;
}

header .branding, header.info {
}
header .branding .logo {
    display: inline-block;
    height: 24px;
    /*background-color: #1965B3;*/
    vertical-align: sub;
    margin: 0 1em 0 0;
}
header .top_info {
    margin-right:3em;
    line-height: 44px;
}
header .top_info span {
    /*margin-left: 0.5em;*/
}

header .top_date {
    /*color: #cbcbcb;*/
}



header div.mobile_button:hover {

    opacity: 1;
}
header .top_bar div.mobile_button{
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 0 0.25em;
}

header .page_bar{
    font-size: 1.15em;
}
.no_floats .page_bar select, .no_floats .page_bar input{
    height:20px;
    vertical-align: text-bottom;
}
header .page_menu{
    display: inline-block;
    height: 24px;
    width: 24px;
    vertical-align: sub;
    margin: 0 1em 0 0.5em;

}

header .page_menu.hidden{
    display: none;
    height: 24px;
    width: 24px;
    vertical-align: sub;
    margin: 0 1em 0 0.5em;

}
header .page_title {
    color:#fff;
    text-transform: uppercase;
}
header .page_bar div.mobile_button {
    font-size: 1.5em;
    color:white;
}
header :not(.page_title) .icon {
    margin: 4px 8px;
    float: right;
}
/* 10.1.2 Menu */
div.mobile_button{
    cursor: pointer;
    display: block;
    font-size: 2em;
    font-weight: bold;
    line-height:44px;
    opacity: 0.7;
    z-index: 5000;
}
ul.menu {
    z-index: 5000;
    top: 44px;
    background-color: #4f81bd;
    width: 200px;
    max-width: 50%;
    position: absolute;
    display:none;
}

.fixedMenu {
    position: fixed;
    height: 450px !important;
    overflow-x:auto;
}
.scroll-container::-webkit-scrollbar {
    width: 4px; /* Extra thin scrollbar */
}
ul.menu li {
    display:block;
    width:100%;
    line-height: 2em;
    list-style: none;
}
ul.menu li a{
    display:block;
    padding-left: 11px;
    width: 100px;
    text-align: left;
    margin: 2px 0 2px 6px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 12px 12px 0 0;
    white-space: nowrap;
    letter-spacing: -0.5px;
    font-weight: bold;
    font-size: 15px;
    border-radius: 0;
    margin: 0;
    border-bottom: 1px solid #4f81bd;
    line-height: 2.5em;
    width: auto;
}
ul.menu li a.on {
    background-color: rgba(0,0,0,0.5);
}

ul.menu li a:hover {
    background-color: rgba(0,0,0,0.7);
}
.top_bar ul.menu {
    right: 11px;
}
.page_bar ul.menu {
    left: 0px;
}
.header-3 {
    background-color: rgb(17, 90, 223);
    width: 102px;
    min-width: 102px;
}

/*     LOGIN    */
body.login .form_row:last-of-type{
    /*    display:none; */
}

/*     PROJECT EDIT     */
body.plan form,
body.login form,
form.planupload_form,
body.users form    {
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
}

#id_prs_status_chosen ul.chosen-results li:nth-of-type(1){
    background: red;
}
#id_prs_status_chosen ul.chosen-results li:nth-of-type(2){
    background: #00ff00;
}
#id_prs_status_chosen ul.chosen-results li:nth-of-type(3){
    background: yellow;
}
#id_prs_status_chosen ul.chosen-results li:nth-of-type(4){
    background: orange;
}




/* 1 MASS UPLOAD */

form.planupload_form {
    display: table;
    margin: 0 auto;
    clear: both;
    padding: 3px;
    text-align: center;
}

form.planupload_form a{
}

form.planupload_form label, form.planupload_form input, form.planupload_form button{
    width: initial;
    float: none;
    vertical-align: baseline;
    /*height: 20px;*/
    font-size: 12px;
}
form.planupload_form input.save_upload{
    font-weight: bold;
    padding: 0 6px;
    vertical-align: bottom;
}

.error_display_container {
    display: block;
    width: 90%;
    margin: 0 auto;
    overflow: scroll;
    padding-bottom: 8px;
    height: 400px;
}

.error_display_table {
    display: table;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.error_display_table.key{
    position:sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    top: 0;
    background-color: #2d3d4b;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 100;
}

.error_display_row {
    display: table-row;
}

.error_display_cell {
    display: table-cell;
    position: relative;
    text-align: center;
    vertical-align: middle;
    border: 1px dotted #ccc;
    padding: 2px 4px;
    color: #ccc;
    max-width:150px;
    min-width:150px;
    height: 35px;
}

.error_display_cell.required{
    color: #fff;
}

.error_display_cell.required:after{
    content: "*";
}

.error_display_cell.is_errors{
    color: #fff;
    background-color: #600;
    font-weight: bold;
}
/*
.error_display_cell.nf{
    background-color: #600;
}
.error_display_cell.nL{
    background-color: #600;
}
.error_display_cell.nf.nl{
    background-color: #c00;
}*/

.err_upl {
    cursor: pointer;
    display: block;
    position: absolute;
    right: 1px;
    top: 1px;
    font-size: 0.7em;
    font-weight: normal;
    background: #c00;
}

.err_nf, .err_ncd{
    top: auto;
    bottom: 1px;
}

.err_nl, .err_nd, .err_no, .err_nc, .err_na{
    top: 1px;
}

.output {
    padding: 12px;
}

.output .new_project_links{
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 1px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
}

.output .new_project_links .new_project_name{
    padding: 0 1em;
    width: 50%;
    display: inline-block;
    text-align: right;
}


.table_row.deploy_filter {
    height:30px;
    max-height:30px;
}

/*     4.3    Form elements    */
.contract_dropdown, .multi_dropdown,.query_dropdown {
    position: relative;
    overflow: hidden;
    padding: 0 0 0 8px;
    border: 1px solid #aaa;
    border-radius: 5px;
    background: #fff;
    background-clip: padding-box;
    box-shadow: none;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    line-height: 25px;
    display: inline;
    height: 25px ;
    font-weight: bold;
    font-size: 13px ;
    text-transform: uppercase;
    width: auto;
}

.chosen-container { /* added by WH to increase dropdown width */
    width: 300px ;
}

.chosen-container-single .chosen-single div {
    display:none !important;
}
.chosen-container-single, .chosen-container-single .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single,
.chosen-container-active .chosen-single{
    /*background: transparent !important;*/
    /*border: 0 !important;*/
    box-shadow: none !important;
    /*    padding: 0 8px !important;*/
}

/* @group Multi Chosen */
.page_bar .chosen-container.chosen-container-multi{
    height: 20px !important;
}
.chosen-container-multi .chosen-choices {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0 !important;
    width: 100%;
    height: auto !important;
    height: 1%;
    border: 0  !important;
    background-color:  transparent !important;
    background-image: none !important;
    font-weight: normal !important;
    cursor: text;
}
.chosen-container-multi .chosen-choices li {
    float: left;
    list-style: none;
}
.chosen-container-multi .chosen-choices li.search-field {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    border: 0 !important;
    background: transparent !important;
}
.chosen-container-multi .chosen-choices li.search-choice {
    border: 0  !important;
    background-image: none !important;
    margin: 0  !important;
    box-shadow: none !important;
}
.chosen-container-multi .chosen-choices li.search-choice span {
    word-wrap: break-word;
    font-weight: normal;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    position: absolute;
    top: 4px;
    right: 3px;
    display: block;
    width: 12px;
    height: 12px;
    font-size: 1px;
}
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
    background-position: -42px -10px;
}
.chosen-container-multi .chosen-choices li.search-choice-disabled {
    padding-right: 5px;
    border: none  !important;
    background-color: #fff !important;
    background-image: none !important;
    color: #666;
}
.chosen-container-multi .chosen-choices li.search-choice-focus {
    background: #d4d4d4;
}
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
    background-position: -42px -10px;
}
.chosen-container-multi .chosen-results {
    margin: 0;
    padding: 0;
}
.chosen-container-multi .chosen-drop .result-selected {
    display: list-item;
    color: #ccc;
    cursor: default;
}


/* multi-select */
select.multiselect, .ms-drop.bottom {
    height:max-content;
    height:-moz-max-content;
    width:max-content;
    width:-moz-max-content;
    ;
}
.ms-drop.bottom label {
    text-align: left;
}
.ms-drop ul > li.multiple {
    margin-left: 12px;
    float: none;
}
.ms-drop ul > li.multiple label {
    text-overflow: unset;
}
.ms-submit{
    float: right;
    font-size: 12px;
    padding: 3px 12px;
    margin: 0 6px 6px;
    color: #fff;
    line-height: normal;
    border-radius: 6px;
    cursor: pointer;
    opacity: 1;
}
.ms-submit:hover{
    opacity: 0.6;
}

/* @end */

/* MULTIPLESELECT */
.ms-drop ul > li.multiple label {
    overflow: inherit !important;
    text-overflow: inherit !important;
}





.fluid_table .cell .chosen-container {
    /*    width: 100% !important;*/
    border-radius: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.5) !important;
    background-color: #fff !important;
    font-size: 0.9em;

}
.cell.street_id .chosen-container {
    width: calc(100% - 30px) !important;
    margin-top: 3px;
    height: 20px ;
}
.cell.street_id a span {
    background: transparent !important;
}
.fluid_table .cell .chosen-container-single .chosen-single span {
    margin-right: 0;
}
.fluid_table .cell .chosen-container-single, .chosen-container-single .chosen-single,
.fluid_table .cell .chosen-container-active.chosen-with-drop .chosen-single,
.fluid_table .cell .chosen-container-active .chosen-single{
    padding: 0 !important;
}

.page_bar .chosen-container,
.page_bar .chosen-container-single{
    line-height:20px;
    height: 20px;
}

.page_bar .chosen-container-single .chosen-single span    {
    margin: 0;
    line-height: 24px;
    padding: 0 4px;
    height: auto;
    border-radius: 6px;
    border: 0;
}
.page_bar .chosen-container-single .chosen-single span{
    line-height:19px;
}
.chosen-container-single .chosen-single span {
    display: block;
    overflow: hidden;
    margin-right: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}


.contract_dropdown {
    padding-left: 4px !important;
    height: 20px !important;
    border: 0;
    font-weight: normal;
    text-transform: none;
    vertical-align: text-bottom;
}
.chosen-container-single, .chosen-container-multi, .chosen-container-single .chosen-single{
    background: #fff;
    vertical-align: sub;
    border-radius: 6px;
}
.chosen-container-single .chosen-single,
.chosen-container-single .chosen-single span,
.chosen-container-multi .chosen-single,
.chosen-container-multi .chosen-single span,
.chosen-container-active.chosen-with-drop .chosen-single,
.contract_dropdown, .query_dropdown {
    color: #333;
    font-weight: normal;
    background: #fff;
}
.chosen-container .chosen-results {
    font-weight: normal;
}
.chosen-container .chosen-results li.highlighted{
    color: #fff !important;
}
.cell input,.cell select, .page_bar select, .page_bar input{
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.5);
    padding: 0 3px 0 6px;
}
.cell.active input[type="number"]{
    text-align: right;
    padding: 0 3px;
}

.page_bar .chosen-container { /* added by WH to increase dropdown width */
    width: 300px ;
    height: 20px ;
}
.page_bar .chosen-container-single .chosen-drop {
    margin-top: -6px;
}
.cell .chosen-container-single .chosen-single,
.ftracker_table .chosen-container{
    height:16px;
    line-height: 16px;
    max-width:90%;
}
.cell .chosen-container-single .chosen-single span{
    height: 15px;
    line-height: 15px;
}
.chosen-container-active{
    cackground: #fff !important;
}
.chosen-choices .search-choice:not(.search-choice-disabled){
    opacity: 0;
}
.chosen-choices:hover .search-choice{
    opacity: 1;
}
.chosen-container-multi{
    width: 140px !important;
}
.chosen-container-multi .chosen-choices {
    border: none !important;
    box-shadow: none !important;
    border-radius: 6px;
}
.chosen-container-multi .chosen-choices:hover {
    background:#efefef !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/*   10.5 MOBILE     */
.row.mobile {
    display: inline-block;
    margin: 6px 0;
    background-color: transparent;
    color: #000;
    white-space: nowrap;
}
.row.mobile.block {
    display: block;
}
.row.mobile div{
    display: inline-block;
}

.row.mobile div span{
    display: block;
    padding: 2px;
    color: #fff;
}

@media screen and (max-width: 720px) {
    .row.mobile {
        /*    display: block;
            margin: 0 auto; */
    }
    .row.mobile .cell{
    }
    .row.mobile div {
        /*        display: block;
            width: 100%; */
    }
}




/*  20. Page_specific elements */
/*  20.1 RAG screen */


.rag_row {
    margin: 0 0 14px 0;
    padding: 24px;
    font-weight: bold;
    font-size: 16px;
}
/*    .rag_row.descoped:nth-child(odd) {
     background-color: #777;
    }
    .rag_row.descoped:nth-child(even) {
     background-color: #999;
    }*/
.rag_row.descoped {
    background-color: #777 !important;
}
.rag_row.descoped.project_descoped {
    background-color: #333 !important;
}

.descoped span.project .title {
    background-color: #333;
    border-right: 12px solid #333;
}

.descoped.project_descoped span.project .title {
    background-color: #000;
    border-right: 12px solid #000;
}


.rag_input_label,
.row.mobile div.rag_input_label {
    vertical-align: text-bottom;
    background-color: transparent;
    text-align: right;
    color: #012970;
    width: 60px;
}

.rag_input  .row,
.row.mobile div span{
    margin-bottom: 1em;
}

.row.mobile div span{
    color: #012970;
    font-style: italic;
}
.row.mobile.hide_spans div span{
    display:none;
}

.row.mobile div a.chosen-single span{
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}
.row.mobile.sv_rag div span{
    text-align: center;
}
.rag_input.no_floats .row.mobile input,
.rag_input .row.mobile select {
    width: 60px;
    text-align: center;
    background: #0d6efda3;/*#0D6EFD;*/
    color: #fff;
    font-weight: bold;
    border: 0;
}

.rag_input.no_floats .row.mobile input:disabled,
.rag_input .row.mobile select:disabled {
    background: #D0E2FF;
    color: #000;
}

.rag_input.no_floats.supervisor  .row.mobile input,
.rag_input.supervisor  .row.mobile select {
    width: 80px;
}
.rag_input.no_floats .row.mobile input:focus{
    background-color: #ff0;
}
.rag_row span.project {
    display: inline-block;
    margin: 5px 0;
    vertical-align: baseline;
}
.rag_row.has_rag span.project {
}
.rag_row span.rags {
    display: inline-block;
    margin: 5px 0;
}
.rag_buttons{
    margin: 0 0 8px 0;
    clear: both;
    white-space: nowrap;
}
.rag_info_bar {
    margin: 5px 0;
}
.rag_row div.rag_input {
    display: inline-block;
    width: 100%;
    /*text-align: center;*/
}
.rag_row div.rag_input label{
    width: 32%;
    margin-right: 4px;
    min-width: 38px;
    border-radius:45px;
    height: 50px;
    margin-bottom: 2px;
}
.rag_row div.rag_input label:last-child{
    margin-right: 0;
}

.rag_row label input.radio {
    height: 32px;
    width: 32px;
    float:right;
    display:none;
}

.rag_row input.text {
    margin: 2px 0;
    width: calc(100% - 40px);
    line-height:30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    border: 0;
    border-radius: 6px;
    padding-left: 12px;
}
.rag_input.no_floats .row.mobile input:focus,
.rag_input .row.mobile select:focus {
    color: #000;
}
.rag_row label.off {
    background: rgba(0,0,0,0.5);
    color: #ABB0B7;
}
.rag_row label span{
    display:block;
    line-height: 50px;
    width: 100%;
    font-size: 1.2em;
    text-align: center;
    color: #fff;
    text-shadow: -1px -1px 0 #483c3c, .5px -1px 0 #483c3c, -.5px .5px 0 #483c3c, .5px .5px 0 #483c3c;
}
.last_update {
    width: 100%;
    text-align: center;
    padding: 4px;
    margin: 0 0 4px 0;
    color: #fff;
    background-color: #F0F0F0;
    /*border-radius: 0 0 0 12px;*/
}

.rag_submit.bottom.fixed {
    /* min-height: 50px; */
    /* padding: 25px; */
    display:none;
    left: 0px; /* */
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid #333; /* */
    background-color: rgba(125,125,125,0.9);
    text-align: center;
}
#rag_submit_button {
    width: 100%;
    text-align: center;
    font-size: 1.75em;
    line-height:2.25em;
    height:2.25em;
    font-weight: bold;
    background-color: rgba(0,0,0,0.1);
    color: #fff;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
}

span.project .title {
    position: relative;
    overflow: hidden;
    background-color: #F0F0F0;
    border-radius: 6px;
    padding: 2px 0 2px 10px;
    line-height: 32px;
    width: 100%;
    vertical-align: bottom;
    text-align: left;
}
span.project .title span {
    /*    position: absolute;
            left: 12px;
            top: 0px;
            padding: 2px 4px;
            white-space: nowrap;  */
}

span.project .title span.rag_title{
    left: 0;
}
span.project .title .bubble_info{
    margin: 2px 2px 0 0;
    padding: 1px 6px;
    border-radius: 2px;
    line-height: 12px;

}

span.project .title span.rag_title span {
    margin-left: 12px;
    color: #fff;
    padding: 0 6px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    border-radius: 2px;
}
span.project .title span.rag_title span.r {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;
    background-color: #F00;
}
span.project .title span.rag_title span.a {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;
    background-color: #FF0;
}
span.project .title span.rag_title span.g {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
    background-color: #5dde0c;
}


header span.project .title {
    width: auto;
}
header span.project .title span {
    position: relative;
    left: 0px;
}

span.rags a {
    width: 48px;
    border-radius: 24px;
    margin: 2px 6px;
    font-weight: bold;
}
.rag_cell {
    display: block;
    /* line-height: 18px; */
    margin: 0 auto;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
}
.rag_input.no_floats .row.mobile .chosen-container input{
    color: #333;
    text-align: left;
    width: 100%;
}


/*    20.2 RAG show */
.rag_show_container {
    height: 35px;
    border-radius: 6px;
    background-color: #D0E2FF;
    display: inline-block;
    padding: 0;
    vertical-align: bottom;
    float: left;
}
.rag_show_container.fullOBSOLETE {
    width: auto;
    vertical-align: baseline;
}
.rag_show {
    display: inline-block;
    /* padding: 2px;
        background-color: rgba(0,0,0,0.3);
        margin: 0 0 1px 0;
        float: right;*/
}

.rag_symbol {
    display: inline-block;
    line-height: inherit;
    vertical-align: middle;
    text-align: center;
    font-size: 1em;
    width: auto;
    margin: 0 5px;
    line-height:35px;
    background-color: transparent !important;
}



.rag_ontime{
    line-height:inherit;
    padding-bottom: 5px;
    border-bottom: 2px solid #0F0;
}

.rag_late{
    line-height:inherit;
    padding-bottom: 5px;
    border-bottom: 2px solid #F00;
}
span.project a {
}
span.project a.image_upload.uploads {

}
span.project a:hover {
}
span.project a.image_upload.uploads:hover {
}






/*  20.2 Tracker */

/* 4.6 Tracker */
.sv_week {
    display:block;
    text-align: center;
    overflow:hidden;
}
/* Defined        'ph'=>'PUSH','pd'=>'PSHD','md'=>'MOVD','cd'=>'CANC','hd'=>'HLDY','mw'=>'MWKS' */
/* Undefined    'op'=>'OPEN','hl'=>'HOLD','pp'=>'PREP' */
.sv_week.ph {
    color:#000;
}
.sv_week.pd {
    color:#0C0;
}
.sv_week.md, .sv_week.cd {
    background-color: #FF0;
    color: #F00;
}

.sv_week.vacex {
    background-color: #F0F0F0;
    color: white;
}

.sv_week.hd, .sv_week.mw, .sv_week.ci {
    background-color: #999;
    color: #fff;
}
.tracker_table, body.tracker .sticker_r {
    width:99.5%;
}


.ftracker_table .cell.left {
    z-index: 600;
}

.keys .cell, .key_height .cell, .hdr .cell, .ftr .cell {
    height: 35px;
    padding: 4px 6px;
    text-transform: uppercase;
}
.ftracker .keys .cell, .ftracker .key_height .cell, .ftracker .hdr .cell{
    height: 20px ;
    text-align: center;
    vertical-align: middle;
}
.cell.contract_id {
    width:95px;
    min-width:95px;
}
.cell.project_id {
    width:100px;
    min-width:100px;
}
.cell.street_id {
    /*    width:140px;
        min-width:140px;*/
}
.cell.crew_rag, .cell.supervisor_rag, .cell.reinstate_rag, .cell.fitter_rag {
    width:70px;
    min-width:70px;
}
.cell.crew_id, .cell.supervisor_id, .cell.fitter_a_id, .cell.fitter_b_id, .cell.fitter_c_id {
    width:100px;
    min-width:100px;
}
.cell.fitter_a_id select, .cell.fitter_b_id select, .cell.fitter_c_id select {
    float: center;
    text-align: left;
    height: 15px;
    padding: 0;
    font-size: 0.8em;
    width: 100%;

}
.cell.crew_upd, .cell.supervisor_upd, .cell.reinstate_upd, .cell.fitter_updated {
    width:78px;
    min-width:78px;
    max-width:78px;
}
.cell.mon, .cell.tue, .cell.wed, .cell.thu, .cell.fri, .cell.sat, .cell.sun, .cell.tfr_mon, .cell.tfr_tue, .cell.tfr_wed, .cell.tfr_thu, .cell.tfr_fri, .cell.tfr_sat, .cell.tfr_sun ,.cell.rly_mon, .cell.rly_tue, .cell.rly_wed, .cell.rly_thu, .cell.rly_fri, .cell.rly_sat, .cell.rly_sun {
    width:50px;
    min-width:50px;
}
.cell.tfr_mon input, .cell.tfr_tue input, .cell.tfr_wed input, .cell.tfr_thu input, .cell.tfr_fri input, .cell.tfr_sat input, .cell.tfr_sun input, .cell.rly_mon input, .cell.rly_tue input, .cell.rly_wed input, .cell.rly_thu input, .cell.rly_fri input, .cell.rly_sat input, .cell.rly_sun input{
    width:40px;
    min-width:40px;
    float: center;
    text-align: center;
    height: 15px;
    padding: 0;
    font-size: 0.8em;
    background-color: #FF0;
    color: #F00;
}
.cell.tfr_mon input[value="0"], .cell.tfr_tue input[value="0"], .cell.tfr_wed input[value="0"], .cell.tfr_thu input[value="0"], .cell.tfr_fri input[value="0"], .cell.tfr_sat input[value="0"], .cell.tfr_sun input[value="0"], .cell.rly_mon input[value="0"], .cell.rly_tue input[value="0"], .cell.rly_wed input[value="0"], .cell.rly_thu input[value="0"], .cell.rly_fri input[value="0"], .cell.rly_sat input[value="0"], .cell.rly_sun input[value="0"]{
    background-color: #999;
    color: #fff;
}
.cell.short_comment, .cell.reinstate_comment, .cell.fitter_comment {
    text-align: left;
    width:250px;
    min-width:250px;
    max-width:250px;
    overflow:hidden;
}
.cell.fitter_comment input {
    text-align: left;
    width:240px;
    min-width:240px;
    max-width:240px;
    overflow:hidden;
}
.ftracker .cell.hdr, .ftracker .cell.bnk, .ftracker .cell.stk{
    text-align: center;
    background-color: #F0F0F0;
    font-weight: bold;
    color: #fff;
    z-index: 400;
    border-right:5px solid #F0F0F0;
}
.ftracker .cell.ftr, .ftracker .cell.std, .ftracker .cell.non, .ftracker .cell.cmn{
    text-align: center;
    background-color: #F0F0F0;
    font-weight: bold;
    color: #fff;
    z-index: 300;
    border-right:5px solid #F0F0F0;
}
.cell.total,
.mdr .totals .cell,
.resource_totals .resource_cell{
    /*border-right: 1px solid #ABB0B7 !important;*/
    background-color: #3192f3 !important;
    color: #fff !important;
    padding: 5px !important;
    font-weight: bold !important;
    text-align: right !important;
}

.resource_row.category_expand .category_total{
    color: #C00;
}
.resource_row.category_expand[data-category="rvnu"] .category_total{
    color: #000;
}


.resource_totals.unprofitable .resource_cell{
    color: #fff !important;
    border-right: 1px solid #f00 !important;
    background-color: #f00 !important;
}
.resource_totals.profitable .resource_cell{
    color: #fff !important;
    border-right: 1px solid #0f0 !important;
    background-color: #0f0 !important;
}
.resource_totals.avgprofitable .resource_cell{
    color: #000 !important;
    border-right: 1px solid #FFBF00 !important;
    background-color: #FFBF00 !important;
}

.unprofitable{
    color: #fff !important;
    border-right: 1px solid #f00 !important;
    background-color: #f00 !important;
}
.profitable{
    color: #fff !important;
    border-right: 1px solid #0f0 !important;
    background-color: #0f0 !important;
}
.avgprofitable{
    color: #000 !important;
    border-right: 1px solid #FFBF00 !important;
    background-color: #FFBF00 !important;
}

.resource_project_name, #extensionBtn{
    cursor: pointer;
}
.resource_project_name:hover{
    color: rgb(0,0,0,0.5);
}

.cell.total.contract_id, .cell.total.project_id,.cell.total.ref {
    border-right: 0px;
    text-align: left !important;
}


.grand_total .cell.total{
    /*border-right: 1px solid #ddd;*/
    background-color: #ddd;
}

.sticky_keys{
    position: -webkit-sticky;
    position: sticky;
    /*top: 90px;*/
    display:block;
    white-space:nowrap;
    z-index:1000;
    /*margin-left: 8px;*/
    text-align: center;
}
.sticky_keys,
.table .row.keys, .row.key_height {
}
.sticky_keys_OBSOLETE .cell {
    line-height: 35px;
    padding: 2px 4px;
    min-width:50px;
}
.tracker_table .cell:not(.short_comment), .ftracker_table .cell {
    white-space: nowrap;
    /*    text-align: center; */
}

/* 20.3 MDR / Plan View */

.mdr .cell, .mdr_row .cell, .ntracker .cell, .row .cell,  .pptracker .cell, .row .cell{
    text-align: left;
    height: 20px;
    display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    border-right: 1px solid #4f81bd;
    width: inherit ;
    padding: 5px;
    /*2px 4px;*/
    /*    overflow: hidden; */
}

.ntracker .cell.short_comment, .ntracker .cell.nrswa_no, .pptracker .cell.nrswa_no{
    white-space: normal;

}

.ntracker .cell.notice_comment textarea, .pptracker .cell.notice_comment textarea{
    height: inherit;
    font-family: inherit;
    background: transparent;
    color: #000;
    border: 1px solid #0000;
    ;
    padding: 2px 4px;
    overflow-y: hidden;
    border-radius: 3px;
    resize: none;
}
.ntracker .cell.notice_comment:hover textarea, .pptracker .cell.notice_comment:hover textarea{
    border: 1px solid #ccc;
}
.ntracker .cell.notice_comment .menu_link, .pptracker .cell.notice_comment .menu_link{
    display: inline-block;
    width: 2em;
    vertical-align: top;
    padding: 2px 0 3px 0;
    margin-left: 2px;

}
.ntracker .cell.notice_comment:hover .menu_link, .pptracker .cell.notice_comment:hover .menu_link{
    color: #fff;
    border-radius:  3px;
    background: #0C06;
}
.ntracker .cell.notice_comment:hover .menu_link::after, .pptracker .cell.notice_comment:hover .menu_link::after{
    content:"☰";
}
.pptracker_row.row .cell{
    border-bottom: 1px dotted rgba(255,255,255,0.5);
}
.ntracker .rag_cell, .pptracker .rag_cell{
    height: 16px;
}


.row .cell.active{
    padding: 5px;
}

.mdr_row .chosen-container .chosen-drop{
    left:0;
    opacity:0;
    height:0;
    overflow: hidden;
}
.mdr_row .chosen-container.chosen-with-drop .chosen-drop{
    opacity:1;
    height:auto;
}
.mdr_row select:focus + .chosen-container-single span{
    background: #ff0;
}


div:not(.fluid_container) .fluid_corner .cell:not(.key):last-child {
    border-right: 0 !important;
}
.keys .cell, .mdr .keys .cell, .ntracker .keys .cell, .pptracker .keys .cell {
    height: 35px;
    padding: 0 4px;
}

.tracker_complete .cell {
    color: #999;
}
.tracker_complete .conflict {
    opacity: 0.5;
}
.tracker_live .cell {
    background-color: #FFF3CD !important;
}
.ntracker select.query_dropdown, .pptracker select.query_dropdown{
}

body.mdr .cell.active input[type="number"],
body.mdr .cell.number,
body.mdr .cell.number input{
    text-align: right;
}
body.mdr .totals .cell{
    padding-right: 6px;
}

/*   RAG STATUS COLOURS */

.g{

    background-color: #5dde0c;

    color: #000;
}

.n {
    background-color: #999;
    color: #fff;
}
.r{
    background:#ff1100;
    /*linear-gradient(145deg, #ff4d4d, #cc0000);  3D gradient */
    color: white;
}
.a {
    background-color:#fff300; /* Yellow background */
    color: #F00; /* Red text */
}

.btn {
    padding: 10px 15px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15),
        0px -4px 8px rgba(0, 0, 0, 0.1),
        4px 0px 8px rgba(0, 0, 0, 0.1),
        -4px 0px 8px rgba(0, 0, 0, 0.1);
}
.rbtn {
    background: linear-gradient(to right, #FF1100, #A50000);
}
.abtn {
    background: linear-gradient(to right, #FFF302, #FFD700, #FFA500);
}
.gbtn{
    background: linear-gradient(to right, #00DF00, #05AC00);
}
.nbtn {
    background: linear-gradient(to right, #999, #666);
}

.track{
    padding: 0px 2px 0px 2px !important;
    color: #fff !important; /* Red text */
    font-size: 11px !important;
    padding: 1px !important;
    text-align: center !important;
}
.blueName{

    padding: 5px 15px;
    background: #1a4474;
    color:#fff;
}


.rag_title .n {
    background-color: transparent;
    color: #999;
}

.rag_symbol {   /* default to n colour  */
    color: #999;
}

.rag_symbol.r{
    color: #f00;
}
.rag_symbol.a{
    color: #ff0;
}
.rag_symbol.g{
    color: #198754;
}

.text_r {
    color: #F00;
}
.text_a {
    color: #F90;
}
.text_g{
    color: #0C0;
}
.tfrrly_g {
    display: block;
    margin: 0 auto;
    text-align: center;
    background-color: #0F0;
    color: #000;
}
.tfrrly_a {
    display: block;
    margin: 0 auto;
    text-align: center;
    background-color: #FF0;
    color: #F00;
}
.tfrrly_r{
    display: block;
    margin: 0 auto;
    text-align: center;
    background-color: #FF0000;
    color: #fff;
}




/*     DRAG AND DROP */

.ui-resizable-helperDISABLED {
    border-right: 1px solid #fff;
}


/* 2 STREET PLANNER */
#timeline{
    white-space: nowrap;
}
#timeline .time_block {
    min-width:50px;
    width:50px;
    padding-top: 18px;
    font-size: 13px;
    height:35px;
    /*    border-left: 1px dotted #aaa;
        display:block;
        position: absolute;
        padding-left: 1px;*/
    /*    display: table-cell; */
    display: inline-block;
    background-image: url(../images/tick_50.png);
}
.time_block.past {
    color: #ccc;
}
.time_block.this_week {
    color: #ff0;
}

.year_block {
    display:block;
    position: absolute;
    top: 0;
    padding: 2px 6px;
    font-weight: bold;
}
.time_block{
    overflow: hidden;
}

.time_block span{
    position: absolute;
}

.table_row {
    position:relative;
    width:100%;
    background-image:url(../images/tick_50.png);
}
.table_row:nth-child(odd) {
    background-color:rgba(255,255,255,0.2);
}
.table_row_bar {
    background-color: #8fc1fd;
    border-radius: 3px;
    width: 150px;
    height: 29px !important;
}

.table_row_bar_text{
    display:block;
    margin: 0 6px;
    color: #000;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
    cursor: move;
    min-width: 30px;
    line-height: 16px;
    height: inherit;
}
.table_row_bar:hover {
    background-color:#afe1fd;
}
.table_row_bar_inputs,
.table_row_resource_inputs,
#history_result, #history_result1, #history_result2 { /* same as #history_result */
    width: 700px;
    max-width: 90%;
    color: #000;
    padding: 24px;
    z-index: 2000;
    display:none;
    position:fixed;
    opacity: 1;
    top: 200px;
    left: calc(50% - 350px);
    border-radius: 3px;
    -webkit-box-shadow: 0px 3px 3px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 3px 2px rgba(0,0,0,0.75);
    box-shadow: 0px 3px 3px 2px rgba(0,0,0,0.75);
}

#history_result {
    padding: 0 0 16px 0px;
}
/*
position: absolute;
    width: 600px;
    height: 400px;
    max-width: 90%;
    color: #000;
    padding: 12px 24px;
    z-index: 2000;
    display:none;
    position:fixed;
 left: 50%;
 top: 50%;
    border-radius: 3px;
 -ms-transform: translate(-50%,-50%);
 -moz-transform:translate(-50%,-50%);
 -webkit-transform: translate(-50%,-50%);
 transform: translate(-50%,-50%);
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.75);
*/
.table_row_bar_inputs .cell .chosen-container {
    width: 65% !important;
    padding: 0 !important;
}
.table_row_bar_inputs .chosen-container-single .chosen-single{
    padding: 0 !important;
    height: 24px;
    line-height: 24px;
}
.table_row_bar_inputs .chosen-container-single .chosen-single span{
    margin: 0;
    line-height: 24px;
    padding: 0 4px;
    height: auto;
    border-radius: 6px;
    border: 0;
}
.table_row_bar_inputs .chosen-container-single .chosen-single span ,
.table_row_bar_inputs .chosen-container-single.chosen-container-active .chosen-single span {

}

.table_row_bar_inputs .chosen-container-single.chosen-container-active .chosen-single span {
    background-color: #ff0;
}


.table_row_bar_inputs_PREV_VERSION{
    width: 500px;
    height: 300px;
    position: fixed;
    padding: 26px 12px;
    top:25%;
    left:30%;
    background-color: rgba(225,225,225,0.9);
    border-radius: 6px;
    opacity: 0;
    display: none;
    z-index:9000;
}
.table_row_bar_inputs .inline_top{
    width:56%;
}
.table_row_bar_inputs .inline_top:first-of-type{
    width: 42%
}
.table_row_bar_inputs .row {
    border: 0;
    width: 100%;
    display: block;
    padding: 12px;
    border-radius: 2px;
}

.table_row_bar_inputs .cell{
    display:block;
    border: 0;
    width: 100%;
}
.table_row_bar_inputs .cell input, .table_row_bar_inputs .cell select{
    display:inline-block;
    float:none;
}
.table_row_bar_inputs_close, .resources_save{
    display:block;
    margin: 1em 0;
    width: 100%;
    color: #fff;
    background: blue;
    /*    position: absolute;
        padding: 2px 8px;
        text-align: center;
        border-radius: 0 6px 0 6px;
        right: 0;
        top: 0;
        font-size: 1.5em;
        font-weight: bold;
        color: #777;
        background-color: transparent;
        cursor: pointer;    */
}
.table_row_bar_inputs_close:hover{
    background-color: #cbb;
}

.table_row_bar_inputs label {
    margin-right: 6px;
    width: 33%;
    float: none;
    vertical-align: top;
}

.table_row_bar_inputs .cell.tranche_id {
    display:none;
}
.table_row_inputs_title{
    width: 100%;
    text-align: center;
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
    margin: -0.5em 0 1em 0;
    background-color: #1965b3;
    padding: 5px;
    color: white;
}

.inner_button {
    text-align: center;
    margin-left:6px;
    border-radius: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    vertical-align: bottom;
}
.inner_button:hover{
    border: 2px solid #FF0;
}

.rename_street, span.rename_street.icon:hover{
    margin: 4px 6px 0px 2px;
    font-weight: normal;
    opacity: 1;
}


.notes textarea{
    width: 65%;
    font-family: 'Source Sans Pro','Tahoma',Arial,sans-serif;
    font-size: 0.9em;
    height: 36px;
}

.table_row_bar_menu{
    /*    display: inline-block;
        float: right;
        margin: 1px 1px 0 0;
        cursor: url(../images/cursor-sp_input.png),auto;
    */
    cursor: pointer;
    padding: 3px 6px;
    z-index: 100;
    color: #777;
    font-size: 1em;
    border-radius: 2px;
    position: absolute;
    top:1px;
    right: 1px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);

}
.table_row_bar_menu:hover{
    background-color: #ff0;
}
.table_row_bar_info{
    z-index:1;
}
.conflict_alert{
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 24px;
    margin-left: 6px;
    background-color: transparent;
    position: absolute;
    bottom: 2px;
    left: -4px;
}
.conflict {
    background-color: #F00;
}


label.del_street {
    width: initial;
}
.fluid_side .cell.street_id select{
    width: 100%;
    /*width: 90%;
    float:right;*/
}
.protected:not(.visible_row), .protected.table_row {
    background-color: #ccc !important;
}
.protected .table_row_bar {
    background-color: #999 !important;
}
.protected.street_id {
    background-color: #bbb !important;
}

div.extra_functions{
    position: absolute;
    left: 100%;
    top: -1px;
    background-color: #0c0;
    color: #fff;
    margin-left: 1px;
    opacity: 0.3;
    padding: 4px 0px;
    border-radius: 0 6px 6px 0;
    display:none;
}
div.extra_functions:hover{
    opacity: 1;
    width: 70px;
}

div.zoom_button {
    position: absolute;
    right: 8px;
    width: 24px;
    height: 22px;
    top: 4px;
    border-radius: 6px;
    background-color: #fff;
    color: #ccc;
    text-align: center;
    line-height: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
div.zoom_button:hover {
    background-color: #ff0;
    color: #555;
}

.side_links div.zoom_button{
    position: relative;
    display: inline-block;
    top: -4px;
    vertical-align: top;
    right: -24px;
    width: 24px;
    height: 22px;
    border-radius: 0 6px 6px 0;
}

body.streets div.extra_functions {
    min-width: 15px;
    height: 27px;
    margin-top: 2px;
}
body.streets div.extra_functions .ef_element{
    display: none;
}
body.streets div.extra_functions:hover .ef_element{
    display: inline-block;
}

.active_bar {
    /*    border: 2px solid #ff0;
        border-left: 0;
        border-right: 0; */
    background-color: #ee0 !important;
}

.active_bar .table_row_bar_text{
    color: #000 !important;
}

input.protect.ef_element{
    width:18px;
    height: 18px;
    margin: 0 4px;
}


span.delete, span.insert_street {
    display: inline-block;
    text-align: center;
    background-color: #c00;
    padding:3px;
    font-weight: bold;
    font-size: 0.5em;
    margin: 0 4px;
    line-height: 10px;
    width: 16px;
    border-radius:18px;
    cursor: pointer;
}
span.delete:hover{
}
span.insert_street {
    color: #fff;
    background-color: #00F;
    font-weight: normal;
}

body.streets .street_id:first-of-type div.extra_functions:hover .ef_element.insert_street{
    display: none;
}

.fluid_side .cell.street_id select{
    border: 0;
    color: #333;
    font-size:1em;
    height: 1.8em;
    background: transparent;
}
.fluid_side .cell.street_id select:hover {
    color: #777;
}

.close_project{
    background-color: #000 !important;
    color: #f00 !important;
}
option.close_project{
    font-weight: bold;
}
.close_project .table_row_bar_text,
.cell.close_project .chosen-single span{
    font-weight: bold;
    color: #f00 !important;
}


/*        2a    RESOURCE INTERFACE    */
.small-icon.open_resources{
    display:block;
    position: absolute;
    left: 12px;
    bottom: 0;
    opacity: 0.3;
    cursor: pointer;
    z-index: 1000;
}

.small-icon.open_resources:hover{
    opacity: 0.6;
}

.scroll_form{
    width: 100%;
    height: 370px !important;
    overflow-y: scroll;
    padding-right:0px;
}
.scroll_form:hover{
}
.resource_table{
    display:table;
    width:100%;
}
.resource_table.resource_keys,
.resource_table.resource_totals,
.resource_cell.resource_grand_total{
    padding-right: 17px;
}
.resource_project_name{
    float:left;
    width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.resource_row{
    display: table-row;
    float:none;
    clear: both;
}
.resource_cell {
    display: table-cell;
    /* margin: 1px; */
    border-bottom: 1px dotted #fff;
    padding: 2px;
    width: 14.28%;
}
.resource_cell.resource_total{
    /* width: auto; */
}
/* .resource_cell.resource_title,
.resource_cell.resource_category{
    width: 25%;
} */
.resource_cell input{
    text-align: center;
}
.resource_keys{
    font-style: italic;
    margin-top: 36px;
}
.resource_keys, .resource_category{
    font-weight: bold;
    white-space: nowrap;
}
.resource_title{
    /*white-space: nowrap;*/
}

/*.resource_title:not(.bold){
    padding-left:6px;
}*/
.resource_keys .resource_title{
    padding-left: 0;
}
.category_expand{
    line-height: 1.5em;
    background-color: rgba(255,255,255,0.1);
    cursor: pointer;
}
.category_expand:hover{
    background-color: rgba(0,0,0,0.03);
}

.resource_open, .resource_open:hover{
    background-color: #ee0;
}
.resource_row[data-category="rvnu"] .resource_recharge input{
    display:none;
}

input#budget{
    text-align: center;
    width: fit-content;
    line-height: unset;
    padding: 0;
    height: auto;
}

/*        2b    PRE-PROJECT    */
.prepro_street{
    display:block;
    color:#fff;
    margin-top:2px;
    font-size:13px;
    width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
    height: inherit;
}




/*      3 DEPLOY */

.crew_project {
    position: relative;
}

.crew_project span.side_details {
    height: 30px;
    display: table-cell;
    vertical-align: middle;
    color: #333;
    padding: 0 6px;
}
div.extra_functions.side_links{
    left: initial;
    display: none;
    right: 0;
    border-radius: 6px 0 0 6px;
    height: 80%;
    top: 11%;
    opacity: 0.3;
}
div.crew_project:hover .side_links{
    display:block;
    width: auto;
}
div.extra_functions.side_links:hover{
    opacity: 1;
}
a.side_link {
    display: inline-block;
    font-size: 0.9em;
    font-weight: bold;
    padding:  3px 6px;
    opacity: 0.5;
}
a.side_link:hover{
    opacity: 1;
}
a.side_link.with_icons {
    margin-top: -4px;
    padding: 2px 12px;
    border-radius: 3px;
}
a.side_link.with_icons:hover{
    background-color: rgba(255,255,255,0.2);
}
a.side_link.with_icons .icon:hover {
    opacity: 1;
}

.top_gap {
}
.top_gap_filler{
    /*    position: absolute;*/
    position: relative;
    width: 100%;
    height: 12px;
    background-color: #0F2743;
    z-index: -1;
}

.deploy .table_row_bar {
    display: inline-block;
    position: absolute;
    border-right: 1px solid #777;
    height: 29px;
    cursor: move;
    z-index: 0;
}



.deploy .table_row_bar_text{
    margin: 0 1px 0 4px;
    cursor: move;
    height: inherit;
}
.deploy .table_row{
    z-index: 1;
}
.shift_all_below{
    display:block;
    position: absolute;
    left: 1;
    bottom: 1;
    opacity: 0;
    width: 50%;
    max-width: 100px;
    min-width:35px;
    height: 100%;
    border-radius: 3px;
    background-color: rgba(0,0,0,0.5);
}

.deploy.edit_deploy .table_row_bar:hover .shift_all_below{
    opacity:0.2;
}
.deploy.edit_deploy .table_row_bar:hover .shift_all_below:hover,
.deploy.edit_deploy .table_row_bar:hover .shift_all_below:hover .icon{
    opacity: 1;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
}

body.deploy:not(.edit_deploy) .table_row_bar:hover {
    background-color: #8fc1fd;
    cursor: initial;
}
body.deploy:not(.edit_deploy) .fluid_table{
    /*position: relative;*/
}



.deploy .table_row_bar_filter{
    display:none;
}
.gap_row:not(:first-child){
    margin-top: 12px;/*    */
}

.gap_row{
    display:block;
    width: 100%;
    position: absolute;
    height: 30px;
    z-index: 0;
    /*background-color: #779;*/
}
.gap_row_bar{
    display:block;
    position: absolute;
    background-color: #FF0;
    color: #F00;
    font-weight:bold;
    text-align: center;
    margin-top: 0px; /** Changed Here **/
    line-height: 15px;
    top: 0;
    padding: 7px 0px; /** Changed Here **/
}
.fixed {
    position: fixed;
    margin-top: 0;
    /*background-color: #cc0;*/
}



/*            HISTORY*/

/*#history_result h3{
    padding: 0;
    background-color: transparent;
    font-size: 1.2em;
    margin-bottom: 12px;
}*/
#history_result h3 {
    padding: 12px;
    background-color: #1965b3;
    font-size: 1.2em;
    margin-bottom: 12px;
    border-radius: 2px;
    color: white;
    margin-top: 0px;
}
#history_result1 h3{
    padding: 0;
    background-color: transparent;
    font-size: 1.2em;
    margin-bottom: 12px;
}
#history_result2 h3{
    padding: 0;
    background-color: transparent;
    font-size: 1.2em;
    margin-bottom: 12px;
}
.history_block{
    border-top: 1px solid #68819f;
    width: 99%;
    padding: 12px;
}
.history p {
    font-size: 0.8em;
}
#history_result .close, #history_result1 .close, #history_result2 .close {
    cursor: pointer;
    display: block;
    float: right;
    line-height: 1.2em;
    padding: 0 6px;
    font-weight: bold;
    color: #000;
    background-color: #c2beac;
    border-radius: 3px;
}
#history_result .close:hover, #history_result1 .close:hover, #history_result2 .close:hover {
    background-color: #d2cebc;
    color: #333;
}
#history_result .close-button, #history_result1 .close-button, #history_result2 .close-button {
    line-height: 1.4em;
}

.close-div{
    text-align:center;
}

.close-button-style{
    padding: 4px 12px 4px 12px !important;
    float: none !important;
    display: inline !important;
}
.scroller {
    height: 280px;
    overflow: hidden;
    overflow-y: scroll;
    margin-bottom: 12px;
}
form.add_street_form p {
    padding-bottom: 1.5em;
}



/**    v2 - SUMMER 2017 UPGRADES */
#record_lock_info{
    display:none;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    max-width: 90%;
    font-weight: normal;
    border-radius: 0 0 6px 6px;
    background: #F00;
    z-index: 100;
    width: 250px;
    font-size: 12px;
    padding: 6px;
    text-align: center;
}
.show_lock_id {
    display:none;
    position: absolute;
    font-size: 4px;
    color: #F00;
    bottom: 2px;
    right: 2px;
}












/* WH CHANGE for ver 3*/

.numeric input, .number input{ /* shorter inputs for numbers*/
    width: 50px;
}
/* WH CHANGE for ver 3*/










/*    FITTERS TRACKER */
.ftracker .keys .cell, .ftracker .cell .cell{
    line-height: initial;
}
.ftracker .keys.row,
.ftracker .keys.row > .cell{
    height: 42px;
}
body.ftracker .fluid_top .key.cell{
    /*    width: 140px !important; /* NB: has 1px border to right */
    /*    min-width: 140px !important;*/
}
body.ftracker .fluid_top .key.cell.fitter_key{
    /*    width: 110px !important;
        min-width: 110px !important;*/
    padding: 0 4px;
}
.ftracker .cell .row{
    background: transparent;
}
.ftracker .cell .cell{
    width: 69px;
    min-width: 69px !important;
    background: transparent;
    color: #fff;
    border: 0;

}

.ftracker .cell input:focus,.ftracker .cell select:focus{
    background-color: #ff0;
    color: #000;
}
body.ftracker .fluid_top .keys .cell{
    padding: 0;
}
body.ftracker .fluid_side .table .cell,
body.ftracker .fluid_table .table .cell{
    /*    width: 70px;
    */
    height: 20px;
    padding: 2px 4px 0;
}

body.ftracker .fluid_table .table .cell.tfr_rly{
    min-width: 70px !important;
}
body.ftracker .cell.street_id,
body.ftracker .cell.crew_id,
body.ftracker .cell.town,
body.tracker .cell.street_id,
body.tracker .cell.crew_id,
body.tracker .cell.supervisor_id{
    text-align: left;
}
.ftracker_table .cell.total{
    /*padding-right: 16px !important;*/
}
label.updt{
    margin: 0;
    color: black;
    width: 100%;
    text-align: center;
}

/* 4.6.2. Issue log (itracker) & Project tracker (ptracker) & Work tracker (wtracker)*/
a.issue_link {
    padding: 0px 2px;
    font-weight: bold;
    line-height: 14px;
    margin: 0px 2px;
    background: #ccc;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.3);
    display: inline-block;
    min-width: 30%;
}
a.issue_link:hover {
    border-color: rgba(255,255,255,1);
}

.row.rag_r .cell.start_date, .cell a.rag_r{
    color: #fff;
    background: #f00;
}
.row.rag_a .cell.start_date, .cell a.rag_a{
    color: #f00;
    background: #ff0;
}
.row.rag_g .cell.start_date, .cell a.rag_g{
    color: #000;
    background: #0f0;
}

.itracker .cell.project_id, .itracker .cell.street_id , .itracker .cell.supervisor_id {
    width: inherit;
    max-width: inherit;
}
.itracker .cell.supervisor_rag {
    font-weight: bold;
}
.itracker .cell.supervisor_id, .itracker .cell.crew_id{
    text-align: left;
}
.itracker .mdr {
    z-index: 0;
}
.itracker .sticker_l{
    z-index: 1000;
}
.itracker .sticker .cell {
    padding-top: 7px;

}
.i_complete .cell.r {
    background: #000;
    color: #f00;
}
.i_complete .cell.a {
    background: #000;
    color: #ff0;
}
.i_complete .cell.g {
    background: #000;
    color: #0f0;
}
.itracker .cell.last {
    border-bottom: 3px solid #F0F0F0;
}
.ptracker .row:not(.keys) .cell {
}
.ptracker .right .row .cell {
}
.ptracker .cell.project{
    height: 16px;
    line-height:16px;
}
.ptracker .tracker_table {
}
/*.ptracker div.cell, .wtracker div.cell,*/
.countdown  {
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
/*
    .wtracker a.issue_link{
        width: 100%;
        line-height: inherit;
        margin: 0;
        border-radius: 0;
    }
    .wtracker .tracker_table .cell.user.street{
        padding: 0;
    }
    .wtracker h1 select, #filter_form select, #filter_form input{
        height: 24px;
        text-transform: uppercase;
        border-radius: 6px;
        padding: 0 6px;
        margin: 0 3px;
    }
    #filter_form select, #filter_form input{
        width:150px;
    }
    #filter_form input.submit{
        width: inherit;
        background-image: none;
        background-color:     #F0F0F0;
        color: #fff;
        border: 0;
    }
*/


/*    CONFIGURATION */
.columns .table {
    margin-left:8px;
}
.ui-sortable-handle{
    cursor: -webkit-grab;
}
.current_label .icon-revert-small{
    position: absolute;
    right: 3px;
    top: 6px;
    display:none;
}
.current_label:hover .icon-revert-small{
    display:block;
    opacity: 0.3;
}
.current_label:hover .icon-revert-small:hover{
    opacity: 1;
}

.table .row:nth-child(even).ui-sortable-handle:hover,
.table .row:nth-child(odd).ui-sortable-handle:hover{
    font-weight: bold;
    background-color: #ffc;
}
.ui-sortable-placeholder, .ui-sortable-helper{
    font-weight: bold;
    background-color: #ff0 !important;
}
.labels.table{
    width: calc(100% - 16px);
}
.labels .row .cell {
    width: 50%;
    white-space:normal;
    padding-right: 30px;
}

/* 4.9 User management */

body.users .container {
    /*padding-top: 86px !important;*/

}

.contract.checkbox_set {
    color: #000;
}

.user_matrix{
    margin: 0 ;
}
.user_matrix .table {
    margin: 0 ;
}
.user_matrix .row{
    display: table-row;
}

.user_matrix .keys {
    position: sticky;
    top:0;
}

form.users {
    width: 75%;
    max-width: 100%;
    margin: 18px auto;
    padding: 12px 0;
}
.user_matrix .keys .cell,
.user_matrix .user .cell{
    /*    width:150px;
        min-width:150px; */
}
.user_matrix .keys .cell{
    text-align: center
}
.user_matrix .user .cell {
    height:20px;
    line-height:20px;
    vertical-align: baseline;
}
.user_matrix .keys .cell.name_f, .user_matrix .user .cell.name_f,
.user_matrix .keys .cell.run_rate, .user_matrix .user .cell.run_rate{
    /*    width: 100px;
        min-width: 100px;*/
}
.user_matrix .keys .cell.role_id, .user_matrix .user .cell.role_id{
    /*    width: 120px;
        min-width:120px;*/
}
.user_matrix .keys .cell.email, .user_matrix .user .cell.email{
    /*    width:250px;
        min-width:250px;*/
}
.user_matrix .keys .cell.client_ref, .user_matrix .user .cell.client_ref{
    /*    width:50px;
        min-width:50px;
        text-align: center;*/
}
.user_matrix .keys .cell.backup, .user_matrix .user .cell.backup{
    /*    width:90px;
        min-width:90px;*/
}
.user_matrix .keys .cell.tel, .user_matrix .user .cell.tel{
    /*    width:100px;
        min-width:100px;*/
}

.user_matrix .divider_bottom, .user_matrix .divider_top .cell {    /* mdr */
    border-top: 6px solid #1965B3;
}

.user_matrix .user .cell span{
    /*    position:absolute;
        display:block;
        top: 0px;
        left:3px;*/
}
.user.divider_top .cell{
    height: 26px !important;
}
.row.user {
    cursor: pointer;
}
.row.user:hover,
.checkbox_set span.no_floats:hover {
    background-color:#ff0 !important;
}
.user_form .clear{
    width: 90%;
    margin: 0 auto;
    display:block;
    float:none;
}
.info {
    width: 75%;
    margin: 0 auto;
}
.checkbox_set span.no_floats {
    display: inline-block;
    width: 19.5%;
    background-color: rgba(255,255,255,0.3);
    margin: 4px 2px 1px 0;
    vertical-align: top;
}
.checkbox_set span.no_floats input{
    display:block;
    float: right;
}
.checkbox_set span.no_floats label{
    float:none;
    line-height: inherit;
    height: auto;
    padding: 6px;
    display:block;
    cursor: pointer;
}
.checkbox_set span.no_floats label, .checkbox_set span.no_floats input {

}
.project_filter{
    display:none;
}

param {
    display: none;
}
.info p {
    text-align: right;
}
/*.close_form {
    cursor: pointer;
 display: inline-block;
    margin-bottom: 6px;
 padding: 6px;
 font-weight: bold;
 background-color: #F0F0F0;
 width: 75px;
 text-align: center;
}*/
.non_current {
    color: #999;
}



span.full_name {
    display:none !important;
}
body.users .row.key_height {
    width: 50%;
    z-index: 0;
    display:block;
    height:47px;
}
.user_matrix .table {
    min-width: 800px;
}
.user_matrix .table .row.keys
{
    border-right: 0 !important;
}
.user_matrix .keys .cell.name_f, .user_matrix .user .cell.name_f, .user_matrix .keys .cell.run_rate, .user_matrix .user .cell.run_rate{
    /*    width: 120px;*/
    min-width:120px;
}
.user_matrix .table .row.keys{
    z-index: 100;
}


/*    Metrics formatting    */
.cell.plan_mtrs_wk, .cell.plan_srvs_wk, .cell.plan_cons_wk,
.cell.track_mtrs_wk, .cell.track_srvs_wk, .cell.track_cons_wk,
.cell.abandon_length,
.cell.run_rate
{
    text-align: right;
}

/*    Text formatting */

.ftracker .table .cell.street_id,
.ptracker .table .cell.project:not(.user),
.mdr .mdr_row .cell.street_id,
.mdr .mdr_row .cell.council_id
{
    text-align: left;
}










/*    V3.0 COLOURS */

/*                White        */


.bg_white,
.fluid_side:not(.multicell) .cell:nth-child(even),
.fluid_container .fluid_side.multicell .row:nth-child(even) .cell,
.fluid_container .fluid_table .row:nth-child(even) .cell,
.table .row:nth-child(even), .ftracker_row:nth-child(even) {
    background-color: #fff;
}

/*                             steel_blue, was #4f81bd, v2 #6b7c8c */
.bg_steel_blue,
header .top_bar,
body, header, ul.menu,
.row,
.mdr .table, .gantt .table, .ntracker .table,.pptracker .table,
.fluid_side, .fluid_top, .fluid_table,
.table_row_bar_inputs_close, .resources_save  {
    /*background-color: #FDFDFD;*/
}
.newproject{
    background-color: #EAEEF8;
}
.white{
    background-color: #fff !important;
}
.bdr1_steel_blue,
.ftracker div.left .cell.hdr,
.mdr .cell, .ntracker .cell, .pptracker .cell {
    border-right: 1px solid #1965B3;
}
.bdl8_steel_blue,
.fluid_corner, .fluid_side,
div:not(.ftracker) .cell.left .table, .tracker_table, .ntracker_table,.pptracker_table, .tracker_table.left, .mdr .sticker_l,
.table.streets_table, .deploy .sticker_l, .ftracker .sticker_l, .ftracker .sticker_l, .user_matrix{
    /*border-left: 8px solid #1965B3;*/
}
.bdb1_steel_blue,
ul.menu li a {
    border-bottom: 1px solid #1965B3;
}
.bdt12_steel_blue {
    border-top: 12px solid #1965B3;
}


/*                            dark_steel_blue, was #F0F0F0, v2 #1965B3 */
.bg_dark_steel_blue,
.inner_button:hover,
.small_button, label.small_button, h1 span.project a,
.ftracker .cell.hdr, .ftracker .cell.bnk, .ftracker .cell.stk,
.ftracker .cell.ftr, .ftracker .cell.std, .ftracker .cell.non, .ftracker .cell.cmn,
.fluid_corner, .fluid_top,
.sticky_keys,
.table .row.keys, .row.key_height,   .key,
.ftracker .keys,
#timeline{
    background-color: #1965B3;
}
.bdr5_dark_steel_blue,
.ftracker .cell.hdr, .ftracker .cell.bnk, .ftracker .cell.stk,
.ftracker .cell.ftr, .ftracker .cell.std, .ftracker .cell.non, .ftracker .cell.cmn{
    border-right: 5px solid #2a526c;
}
.bdr6_dark_steel_blue,
.table .row.keys, .row.key_height{
    border-right: 6px solid #2a526c;
}


/*                            mid_steel_blue, new to v2.0, was #4d5d6b */
.bg_mid_steel_blue,
.new_year,
header .page_bar{
    color: white;
    background-color: #1965B3;
}

/*                          deep_sky_blue   new to v4   */
.bg_deep_sky_blue,
.chosen-container .chosen-results li.highlighted,
.rag_row:nth-child(even),
.streets .fluid_corner:hover,
.deploy .fluid_corner:hover{
    background: #EAEEF8;
    background-color: #EAEEF8;
}

/*                          light_sky_blue, new to v4   */
.bg_light_sky_blue,
.rag_row:nth-child(odd)
/*.fluid_side .cell:nth-child(odd):not(.keys,.multicell),
.table .row:nth-child(odd):not(.keys,.multicell), .ftracker_row:nth-child(odd):not(.keys,.multicell) */
{
    background-color: #EAEEF8;
}
.bdr1_light_sky_blue,
.fluid_container .fluid_corner,
.fluid_container .fluid_side
.cell.key, .keys .cell, .key.cell{
    border-right: 0.5px solid #fff;
}


/*                          pale_sky_blue, new to v4   */
.bg_pale_sky_blue,

body.plan form, form.planupload_form, body.users form,

.table_row_bar_inputs,
#history_result,#history_result1,#history_result2,

.table_row_bar_inputs .row,
.fluid_container .fluid_table .table_row_bar_inputs .row:nth-child(even) .cell,
.fluid_container .fluid_table .table_row_bar_inputs .row:nth-child(odd) .cell,
.table .row:nth-child(odd), .ftracker_row:nth-child(odd),
.fluid_side:not(.multicell) .cell:nth-child(odd),
.fluid_container .fluid_side.multicell .row:nth-child(odd) .cell,
.fluid_container .fluid_table .row:nth-child(odd) .cell  {
    background-color: #EAEEF8;
}

body.login form{
    background:#14457a;
    color:white;
}



/*                            light_steel_blue, was #8fc1fd */
.bg_light_steel_blue,
.table_row_bar,
body.deploy:not(.edit_deploy) .table_row_bar:hover{
    background-color: #cbe5ff;
}

.bd1_bg_light_steel_blue,
.fluid_side .cell.street_id select:hover {
    /*    border: 1px dotted #9ec1e4;*/
}


/*                            lighthover_steel_blue, was #afe1fd */
.bg_lighthover_steel_blue,
.table_row_bar:hover,
.fluid_side .cell.street_id select:hover  {
    background-color:#beddfb;
}

/*    hilite_steel_blue, was #e6f0f2, v2 #d1d9e1 */
.bg_hilite_steel_blue{
    background-color: #74afd6;
}

/* red_alert */
bg_red_alert,
.table_row_bar_inputs_close:hover,
.resources_save:hover{
    background-color: #d52233;
}










.fixwidth{
    width:60px;
}
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* Your CSS for iPads in portrait */
    div.page_bar div.mobile_button{
        display: contents;
    }
    header :not(.page_title) .icon {
        margin: 2px;
    }
    div.page_bar span.page_title{
        font-size: 12px;
    }
    .icon_bar.f-right{
        margin-right: 0px !important;
    }
    div.rag_buttons label.btn{
        height:35px;
    }
    div.rag_buttons label.btn span{
        line-height: 35px;
    }
    .live_filter{
        /*margin-left: 30px;*/
    }
    div.container div.rag_row{
        padding: 15px 10px 10px 10px;
    }
    .fixwidth{
        width:40px;
    }
    .not_mobile, .top_info.right{
        display:none !important;
    }
    .margin_left{
        margin-left: 0;
        padding-left:6px;
    }
    .only_mobile{
        display:inherit !important;
    }
    .col{
        display: block;
        width: 100% !important;
        margin: 0;
    }
    .row.mobile{
        white-space: initial;
    }
    .row.mobile div span{
        margin-bottom: 2px;
    }
    .row.mobile.hide_spans div span{
        display: block;
    }
    .left, .right, .f-left, .f-right{
        float: none !important;
        text-align: inherit;
    }
    /*     HEADER */
    body.login header {
        height: 60px;
    }
    header .top_bar, header .page_bar, header .top_info{
        height: auto;
        line-height: 32px;
    }
    header .top_date {
        display:block;
    }
    header .page_title_new {
        /*display: block;*/
        /*line-height: initial;*/
        /*margin-left:12px;*/
    }
    header .page_title {
        /*display: block;*/
        line-height: initial;
        /*margin-left:12px;*/
    }
    header .page_menu {
        float: left;
        display: block;
    }
    header .page_filters {
        /*display:block;*/
        /*margin: 6px auto;*/
        /*margin-left: 20px;*/
        /*width: 60%;*/
    }
    header .page_filters .filters {
        /*width:100%;*/
        height: auto;
    }
    header input.live_filter, header select.live_filter{
        /*width:100%;*/
    }
    header :not(.page_title) .icon{
        float: none;
    }
    header .top_bar div.mobile_button {
        font-size: 1.5em;
        line-height: 1em;
    }
    header .page_bar div.mobile_button {
        font-size: 1.1em;
        line-height: 1em;
    }

    /*     RAG SCREEN */
    body, label, input, select {
        letter-spacing: 0;
    }
    .home .page_bar .icon-save{
        position: absolute;
        top: 0px;
        right: 0px;
    }
    .rag_submit.bottom.fixed {
        display:block;
    }
    .rag_show_container {
        width: initial;
    }
    .rag_row div.rag_input label {
        /*            width: 32.8%; */
    }
    .rag_inputs{
        font-size: 0.8em;
    }
    .rag_input span.project a {
        display:none !important;
    }
    .rag_input span.project a:not(.image_upload) {
        display:none !important;
    }
    .rag_symbol{
        font-size: 0.8em;
        width: auto;
        margin: 0 2px;
    }
    span.project .title span.rag_title span{
        display:block;
        margin: 0;
        width: calc(100% - 12px);
    }
    span.project .title .bubble_info{
        width: calc(100% - 12px);
        position: relative;
        font-size: inherit;
        line-height: initial;
        padding: inherit;
    }
    .rag_row .icon_bar{
        height: 48px;
        float: right !important;
    }
    .rag_row .icon_bar .icon{
        margin-right: 0;
        margin-left: 12px;
    }
    .rag_row div.rag_input label{
        margin-right: 0.5%;
    }
    .rag_show_container {
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .rag_input_label, .row.mobile div.rag_input_label,
    .rag_input.no_floats .row.mobile input, .rag_input .row.mobile select{
        width:20px;
        display: block;
        margin: 0 auto;
    }

    #history_result, #history_result1 {
        width: 95%;

        max-width: 95%;
        padding: 24px;
        position:fixed;
        padding: 18px;
        top: 130px;
        left:2%;
    }
    .scroller {
        height: 250px;
    }
    .upload_form label:first-of-type{
        width:100%;
        float:none;
        text-align: left;
        display: block;
    }
    .upload_form input{
        width: 100% !important;
    }
    .upload_form input.save_upload {
        margin: 5px auto;
        display: block;
        width: 90% !important;
    }
    .download.delete{
        display: block;
        width: 50px;
        margin: 6px 0 0 0 !important;
        padding: 3px 6px !important;
    }
}
/* RESPONSIVE FIXES */
@media screen and (max-width: 720px) {
    div.col-8 span.g{
        margin-left: 0px !important;
        margin-top: 5px !important;
    }
    div.page_bar div.mobile_button{
        display: contents;
    }
    header :not(.page_title) .icon {
        margin: 2px;
    }
    div.page_bar span.page_title{
        font-size: 12px;
    }
    .icon_bar.f-right{
        margin-right: 0px !important;
    }
    div.rag_buttons label.btn{
        height:35px;
    }
    div.rag_buttons label.btn span{
        line-height: 35px;
    }
    .live_filter{
        margin-left: 30px;
    }
    div.container div.rag_row{
        padding: 15px 10px 10px 10px;
    }
    .fixwidth{
        width:40px;
    }
    .not_mobile, .top_info.right{
        display:none !important;
    }
    .margin_left{
        margin-left: 0;
        padding-left:6px;
    }
    .only_mobile{
        display:inherit !important;
    }
    .col{
        display: block;
        width: 100% !important;
        margin: 0;
    }
    .row.mobile{
        white-space: initial;
    }
    .row.mobile div span{
        margin-bottom: 2px;
    }
    .row.mobile.hide_spans div span{
        display: block;
    }
    .left, .right, .f-left, .f-right{
        float: none !important;
        text-align: inherit;
    }
    /*     HEADER */
    body.login header {
        height: 60px;
    }
    header .top_bar, header .page_bar, header .top_info{
        height: auto;
        line-height: 32px;
    }
    header .top_date {
        display:block;
    }
    header .page_title_new {
        display: block;
        /*line-height: initial;*/
        /*margin-left:12px;*/
    }
    header .page_title {
        /*display: block;*/
        line-height: initial;
        margin-left:12px;
    }
    header .page_menu {
        float: left;
        display: block;
    }
    header .page_filters {
        /*display:block;*/
        /*margin: 6px auto;*/
        margin-left: 20px;
        /*width: 60%;*/
    }
    header .page_filters .filters {
        /*width:100%;*/
        height: auto;
    }
    header input.live_filter, header select.live_filter{
        /*width:100%;*/
    }
    header :not(.page_title) .icon{
        float: none;
    }
    header .top_bar div.mobile_button {
        font-size: 1.5em;
        line-height: 1em;
    }
    header .page_bar div.mobile_button {
        font-size: 1.1em;
        line-height: 1em;
    }

    /*     RAG SCREEN */
    body, label, input, select {
        letter-spacing: 0;
    }
    .home .page_bar .icon-save{
        position: absolute;
        top: 0px;
        right: 0px;
    }
    .rag_submit.bottom.fixed {
        display:block;
    }
    .rag_show_container {
        width: initial;
    }
    .rag_row div.rag_input label {
        /*            width: 32.8%; */
    }
    .rag_inputs{
        font-size: 0.8em;
    }
    .rag_input span.project a {
        display:none !important;
    }
    .rag_input span.project a:not(.image_upload) {
        display:none !important;
    }
    .rag_symbol{
        font-size: 0.8em;
        width: auto;
        margin: 0 2px;
    }
    span.project .title span.rag_title span{
        display:block;
        margin: 0;
        width: calc(100% - 12px);
    }
    span.project .title .bubble_info{
        width: calc(100% - 12px);
        position: relative;
        font-size: inherit;
        line-height: initial;
        padding: inherit;
    }
    .rag_row .icon_bar{
        height: 48px;
        float: right !important;
    }
    .rag_row .icon_bar .icon{
        margin-right: 0;
        margin-left: 12px;
    }
    .rag_row div.rag_input label{
        margin-right: 0.5%;
    }
    .rag_show_container {
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .rag_input_label, .row.mobile div.rag_input_label,
    .rag_input.no_floats .row.mobile input, .rag_input .row.mobile select{
        width:20px;
        display: block;
        margin: 0 auto;
    }

    #history_result, #history_result1 {
        width: 95%;

        max-width: 95%;
        padding: 24px;
        position:fixed;
        padding: 18px;
        top: 130px;
        left:2%;
    }
    .scroller {
        height: 250px;
    }
    .upload_form label:first-of-type{
        width:100%;
        float:none;
        text-align: left;
        display: block;
    }
    .upload_form input{
        width: 100% !important;
    }
    .upload_form input.save_upload {
        margin: 5px auto;
        display: block;
        width: 90% !important;
    }
    .download.delete{
        display: block;
        width: 50px;
        margin: 6px 0 0 0 !important;
        padding: 3px 6px !important;
    }
}
