#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu {
  width: 200px;
  font-family: Helvetica, Arial, sans-serif;
  color: #ffffff;
}
#cssmenu ul ul {
  display: none;
}
.align-right {
  float: right;
}
#cssmenu > ul > li > a {
  padding: 15px 20px;
  border-left: 1px solid #1682ba;
  border-right: 1px solid #1682ba;
  border-top: 1px solid #1682ba;
  cursor: pointer;
  z-index: 2;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  background: #36aae7;
  background: -webkit-linear-gradient(#36aae7, #1fa0e4);
  background: -moz-linear-gradient(#36aae7, #1fa0e4);
  background: -o-linear-gradient(#36aae7, #1fa0e4);
  /*background: -ms-linear-gradient(#36aae7, #1fa0e4);*/
  background: linear-gradient(#36aae7, #1fa0e4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a,
#cssmenu > ul > li.open > a {
  color: #eeeeee;
  background: #1fa0e4;
  background: -webkit-linear-gradient(#1fa0e4, #1992d1);
  background: -moz-linear-gradient(#1fa0e4, #1992d1);
  background: -o-linear-gradient(#1fa0e4, #1992d1);
  /*background: -ms-linear-gradient(#1fa0e4, #1992d1);*/
  background: linear-gradient(#1fa0e4, #1992d1);
}
#cssmenu > ul > li.open > a {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid #1682ba;
}
#cssmenu > ul > li:last-child > a,
#cssmenu > ul > li.last > a {
  border-bottom: 1px solid #1682ba;
}
.holder {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
}
.holder::after,
.holder::before {
  display: block;
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  right: 20px;
  z-index: 10;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.holder::after {
  top: 17px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}
#cssmenu > ul > li > a:hover > span::after,
#cssmenu > ul > li.active > a > span::after,
#cssmenu > ul > li.open > a > span::after {
  border-color: #eeeeee;
}
.holder::before {
  top: 18px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-top-color: inherit;
  border-left-color: inherit;
}
#cssmenu ul ul li a {
  cursor: pointer;
  border-bottom: 1px solid #32373e;
  border-left: 1px solid #32373e;
  border-right: 1px solid #32373e;
  padding: 10px 20px;
  z-index: 1;
  text-decoration: none;
  font-size: 13px;
  color: #eeeeee;
  background: #49505a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.open > a,
#cssmenu ul ul li.active > a {
  background: #424852;
  color: #ffffff;
}
#cssmenu ul ul li:first-child > a {
  box-shadow: none;
}
#cssmenu ul ul ul li:first-child > a {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#cssmenu ul ul ul li a {
  padding-left: 30px;
}
#cssmenu > ul > li > ul > li:last-child > a,
#cssmenu > ul > li > ul > li.last > a {
  border-bottom: 0;
}
#cssmenu > ul > li > ul > li.open:last-child > a,
#cssmenu > ul > li > ul > li.last.open > a {
  border-bottom: 1px solid #32373e;
}
#cssmenu > ul > li > ul > li.open:last-child > ul > li:last-child > a {
  border-bottom: 0;
}
#cssmenu ul ul li.has-sub > a::after {
  display: block;
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  right: 20px;
  z-index: 10;
  top: 11.5px;
  border-top: 2px solid #eeeeee;
  border-left: 2px solid #eeeeee;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#cssmenu ul ul li.active > a::after,
#cssmenu ul ul li.open > a::after,
#cssmenu ul ul li > a:hover::after {
  border-color: #ffffff;
}

/*----------------------------------------------------------------------------------------*/
/* Bootstrap dropdowns*/
/*----------------------------------------------------------------------------------------*/
.dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
}

    .dropdown > a, .dropdown > button {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 14px;
        background-color: white;
        border: 1px solid #ccc;
        padding: 6px 20px 6px 10px;
        border-radius: 4px;
        display: inline-block;
        color: black;
        text-decoration: none;
    }

        .dropdown > a:before, .dropdown > button:before {
            position: absolute;
            right: 7px;
            top: 12px;
            content: ' ';
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 5px solid black;
        }

    .dropdown input[type=checkbox] {
        position: absolute;
        display: block;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        margin: 0px;
        opacity: 0;
    }

        .dropdown input[type=checkbox]:checked {
            position: fixed;
            z-index: +0;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
        }

    .dropdown ul {
        position: absolute;
        top: 18px;
        border: 1px solid #ccc;
        border-radius: 3px;
        left: 0px;
        list-style: none;
        padding: 4px 0px;
        display: none;
        background-color: white;
        box-shadow: 0 3px 6px rgba(0,0,0,.175);
    }

    .dropdown input[type=checkbox]:checked + ul {
        display: block;
    }

    .dropdown ul li {
        display: block;
        padding: 6px 20px;
        white-space: nowrap;
        min-width: 100px;
    }

        .dropdown ul li:hover {
            background-color: #F5F5F5;
            cursor: pointer;
        }

        .dropdown ul li a {
            text-decoration: none;
            display: block;
            color: black
        }

    .dropdown .divider {
        height: 1px;
        margin: 9px 0;
        overflow: hidden;
        background-color: #e5e5e5;
        font-size: 1px;
        padding: 0;
    }

/*----------------------------------------------------------------------------------------*/
/*Code for scroll bars in table with stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll {
     width: 697px;
     /*width:75%;*/   
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll tbody,
table.scroll thead { display: block; }

thead tr th { 
    height: 30px;
    line-height: 50px;
    /* text-align: left; */
}

table.scroll tbody {
    height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

/*----------------------------------------------------------------------------------------*/
/*Code for scroll bars in tall table with stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll-tall {
     width: 70%;
     /*width:75%;*/   
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll-tall tbody,
table.scroll-tall thead { display: block; }

table.scroll-tall thead tr th { 
    height: 30px;
    line-height: 25px;
    /* text-align: left; */
}

table.scroll-tall tbody {
    height: 500px;
    overflow-y: auto;
    overflow-x: auto;
}

table.scroll-single {
     width: 95%;
     /*width:75%;*/   
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll-single tbody {
    height: 100px;
    overflow-y: scroll;
    overflow-x: scroll;
}
/*----------------------------------------------------------------------------------------*/
/*Code for scroll-small bars in table with stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll-small {
     width: 400px;
     /*width:75%;*/   
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll-small tbody,
table.scroll-small thead { display: block; }

thead tr th { 
    height: 20px;
    line-height: 50px;
    /* text-align: left; */
}

table.scroll-small tbody {

    height: 120px;
    overflow-y: auto;
    overflow-x: auto;
}


/*----------------------------------------------------------------------------------------*/
/*Code for scroll-wide bars in table with stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll-wide {
     width: 90%;  
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll-wide tbody,
table.scroll-wide thead { display: block; }

thead tr th { 
    height: 20px;
    line-height: 50px;
    /* text-align: left; */
}

table.scroll-wide tbody {
    height: 250px;
    overflow-y: auto;
    overflow-x: auto;
}

/*----------------------------------------------------------------------------------------*/
/*Code for scroll-wide bars in table with stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll-nobars {
    width: 90%;
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll-nobars-fullwidth {
    width: 100%;
    /* border-collapse: collaps e; */
    border-spacing: 0;
    border: 2px solid black;
    padding-left: 0px !important;
}

    /*table.scroll-nobars tbody,
    table.scroll-nobars thead {
        display: block;
    }*/

.scroll-nobars thead tr th {
    /*border-right: 1px solid black;
    border-left: 1px solid black;
    border-top: 1px solid black;*/
    border-bottom: 1px solid black;
    /* text-align: left; */
}




tbody { border-top: 2px solid black; }

tbody td, thead th {
    width: auto;  /* Optional */
    border-right: 1px solid black;
     white-space: nowrap; 
}

tbody td:last-child, thead th:last-child {
    border-right: none;
}

/*tbody tr.CurrentOff {
        display: none;
    }*/

tbody tr.Completed {
    display:none;
}


tbody tr.Hideplan {
    display: none;
}


tbody tr:not(CompletedOff) {
    color: black;
    font-weight: 500;
}

.hidden-column {
    display: none;
}

.CompletedOff {
    color: darkgrey;
    font-weight: 400;
}

tbody tr.Referral {
    display:none;
}

.ReferralOff {
    color: black;
    font-weight: 900;
}

tbody tr.Accepted {
       color:blue;
}

tbody tr.ShowSelected {
    display: none;
}
/*----------------------------------------------------------------------------------------*/
/*Code for scroll bars in tall & wide table with stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll-tallwide {
     width: 100%;
     /*width:75%;*/   
    /* border-collapse: collapse; */
    border-spacing: 5px;
    border: 2px solid black;
}

table.scroll-tallwide tbody,
table.scroll-tallwide thead { display: block; }


table.scroll-tallwide thead tr th { 
    height: 30px;
    line-height: 25px;
    /* text-align: left; */
}

table.scroll-tallwide tbody {
    width: 100%;
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 15px;
}



/*----------------------------------------------------------------------------------------*/
/*Code for scroll-DB bars in table with with small table for DashBoard stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll-DB {
     width: 1000px;
     /*width:550px;*/   
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll-DB tbody,
table.scroll-DB thead { display: block; }

thead tr th { 
    height: 20px;
    line-height: 50px;
    /* text-align: left; */
}

table.scroll-DB tbody {
    height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
}

/*----------------------------------------------------------------------------------------*/
/*Code for scroll-DB bars in table with with small table for DashBoard stationary headers*/
/*----------------------------------------------------------------------------------------*/
table.scroll-single {
     /*width: 1000px;*/
     width:95%;   
    /* border-collapse: collapse; */
    border-spacing: 0;
    border: 2px solid black;
}

table.scroll-single tbody,
table.scroll-single thead { display: block; }

thead tr th { 
    height: 20px;
    line-height: 50px;
    /* text-align: left; */
}

table.scroll-single tbody {
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}
tbody { border-top: 2px solid black; }

tbody td, thead th {
    width: auto;  /* Optional */
    border-right: 1px solid black;
     white-space: nowrap; 
}

tbody td:last-child, thead th:last-child {
    border-right: none;
}

tbody tr.Completed {
    display:none;
}


/* Tot differentiate rows in the Service PLan budget table*/
tbody tr.A {
    font-weight: bold;
    color: black;
}

tbody tr.B {
    font-weight: normal;
    color: blue;
}

tbody tr.C {
    font-weight: normal;
    color: grey;
}

/*----------------------------------------------------------------------------------------*/
/* for display special row on a table such as totals                                      */
/*----------------------------------------------------------------------------------------*/
tbody tr.Row-Totals td {
    font-weight:bold; 
    color: blue;
}

table .special  {
    border-left: 2px solid black;
}

table tr.Overlap {
    color: red;
}

table tr.Current {
    color: blue;
}


/*________________________________________________________________________________________*/
/* Display formatting for Active and non-Active reports in report lists                   */
/*________________________________________________________________________________________*/
table tr.RepActive {
    color: black;
    font-weight: 700;
}
table tr.RepNon-Active {
    color: grey;
    font-weight: 100;
}


/*----------------------------------------------------------------------------------------*/
/* Display Report Groups in Permissions  as a different colour                                            */
/*----------------------------------------------------------------------------------------*/


table tr.Group-True {
    color: blue;
}


table tr.Group {
    color: blue;
}

table tr.ViewOnly 
{
    pointer-events: none;
    color: grey;
}


/*----------------------------------------------------------------------------------------*/
/*Cpde for overriding BootStrap leftpadding on certain col-md settings */
/*----------------------------------------------------------------------------------------*/
.col-md-8 , .col-md-6  {
    padding-left: 0px;
}

/*.col-md-8 , .col-md-6, .DashBoardwell  {
    padding-left: 15px;
}*/

/*---------------------------------------------------------------------------------------*/
/*Code for overridding the cursor style on readonly fields */
/*---------------------------------------------------------------------------------------*/
.form-control[readonly] {
    cursor:auto;
}

.form-control[readonly].help {
    cursor:help;
}
/*---------------------------------------------------------------------------------------*/
/*Code for setting width and colur on buttons used for filtering */
/*---------------------------------------------------------------------------------------*/
.buttonfixed1 {
    width: 175px;
    height: 40px;
    background: #a7a7a7;
    border-color: #001a1a;
    color: white;
}

.buttonfixed1:hover {
    color: white;
    background-color: grey;
}


.buttonfixed2 {
    width: 175px;
    height: 40px;
    background: #a7a7a7;
    border-color: #001a1a;
}

.chkSelect {
    align-content:center;
}
/*---------------------------------------------------------------------------------------*/
/*Code formatting emails in HTML to drivers */
/*---------------------------------------------------------------------------------------*/
.Raw-Tab {
    padding-left: 5em;
    color: red;
}


/*---------------------------------------------------------------------------------*/
/* code for formatting messages in the alerts */
/*---------------------------------------------------------------------------------*/
.alert-title {
    color: red;
    animation: blinker 1s linear 4;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}