﻿/* #region site-wide page styles - all pages. (e.g. body styles etc.)*/


.alert-extreme-danger {
    color: #ffffff !important;
    background-color: #ce0000 !important;
    border-color: #56000e !important;
}

body {
    /*Design calls for a 1px 'margin.' on top, with the viewport extending right down to the bottom. */
    padding-top: 1px;
    padding-bottom: 0px;
    background-color: #FFFFFF !important;
    background-image: none !important;
    -webkit-overflow-scrolling: auto;
}

    body.grey {
        background-color: #EEE !important;
    }

.pulsing {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

a:hover:not(.no-link) {
    /* be nice and show that users can click on things. */
    cursor: pointer;
}


.highcharts-plot-line.yearChange, .highcharts-plot-line-label.yearChange {
    stroke: #555555FF !important;
    fill: #555555FF !important;
}



.box-head h4 {
    margin-top: 1px;
    margin-bottom: 1px;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: none;
    padding: 0px !important;
}

h4 {
    text-transform: none !important;
}

/*  Make all the headings spacing better. */
.inner-content h1,
.inner-content h2,
.inner-content h3,
.inner-content h4,
.inner-content h5,
.inner-content h6 {
    margin-top: 0px;
}

h5 {
    text-align: left;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    letter-spacing: normal;
    margin-top: 0px !important;
    font-size: 15px !important;
}




/* #endregion */

/*#region Overriding old styles from Site.css.*/

div.legend, .legend-items, .legend-item {
    text-align: left !important;
}

li.legend-item {
    display: block;
}

.legend ul {
    padding: 0px;
}

/*#endregion*/

p.message { /* fix for the water trading offers form. */
    margin: 0px !important;
}

/* #region Loading Animations*/

.loading-wrapper {
    width: 100%;
}

img.loading-image.center, object.loading-image.center {
    margin: 10px auto;
    width: 50px;
    display: block;
}

div.loading {
    height: 60px;
    /*margin-bottom:10px;*/
}
/* #endregion */

.list-group-item {
    overflow: auto;
}

.legend-item input {
    padding: 5px;
}

/* #region Layouts */

/* #region main (outermost) layout*/
/* #region Structure */
.max-height {
    position: absolute;
    top: 1px;
    bottom: 0;
}

.left-split {
    width: 48px;
}

.right-split {
    width: calc(100% - 48px);
    margin-left: 48px;
    overflow: auto;
}



/* The last element in the shared layout before the content. */
.body {
    width: 100%;
    overflow: auto;
    position: absolute;
    bottom: 0;
    top: 0;
    margin-top: 49px;
    -webkit-overflow-scrolling: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
}

/*#endregion*/



/*TOP MENU SPECIFICS*/
.top-menu .logo {
    float: left;
    height: 110px;
    width: auto;
    margin-top: -61px;
}

.top-menu .logo-image {
    float: left;
    overflow: hidden;
    height: 48px;
}


/*LEFT MENU SPECIFICS.*/
.left-menu {
    height: 100%;
    width: 48px; /*rough guess for now.*/
    overflow: auto;
    box-shadow: inset -20px 0px 10px -15px #121f35;
}

    .left-menu .nav-item {
        float: left;
    }

/* #endregion*/
/* #endregion*/

/*#region children layouts (inner) */
/*#region Generic */
/* #region Sub-menu - Splitting - 100% tall menu column next to body content.*/
.sub-menu {
    /* The light gray menu inside the body of hte page. */
    width: 262px;
    background-color: #eaedf0;
    float: left;
    height: 100%;
    position: relative;
    display: block;
    z-index: 10;
}


.sub-menu-bg {
    /*Our cheeky way of making a 100% tall column regardless of the height of the other columns.*/
    position: absolute;
    top: 50px;
    bottom: 0;
    left: 0;
    width: 262px;
    background-color: #eaedf0;
    float: left;
    z-index: 1;
}


.sub-menu, .sub-menu-bg {
    border-right: 1px solid #bbb;
    font-size: 13px;
}

/*First element inside the specific view.*/
.splitter {
    overflow: auto;
    position: relative;
    min-height: 100%;
}

    /* the body of hte page without the sub menu. */
    .splitter .inner-content {
        overflow: auto;
        float: left;
    }

.inner-content {
    overflow: auto;
    -webkit-overflow-scrolling: auto;
}

.page-content, .content-pad {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 0px;
    margin-top: 20px;
    /* position:relative;*/
}
/* only add the margin onto the inner content if it is inside the splitter element. will help for later on when there are layouts without the submenu. */
.splitter .inner-content {
    width: calc(100% - 262px);
}

/*#endregion*/

/* #region Page Heading */


.page-heading {
    /*background-color: #eaedf0 !important;*/
    border-bottom: solid 1px #CCC;
    background-color: white;
}

.page-heading {
    padding: 20px;
}

    .page-heading h3 {
        margin-top: 0px;
        margin-bottom: 0px;
    }
/*#endregion*/

/*#endregion*/


/*#endregion*/

/* #endregion*/

/* #region Generic handy helper elements. */
.spacer, .clear {
    clear: both;
}

.ic-divider {
    /* can be used interchanably as an <hr/> element. */
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

    .ic-divider.desktop-vertical {
        /* can be used interchanably as an <hr/> element. - but this one is virtical! */
        border-bottom: none;
        margin-bottom: 13px;
        border-left: 1px solid #ddd;
        height: 30px;
        margin-top: 26px;
        margin-left: 10px;
        padding-left: 20px;
        width: auto !important;
    }

@media (max-width:991px) {

    .ic-divider.desktop-vertical {
        display: none;
    }
}

.ic-divider.float-left {
    float: left;
    width: 100%;
}


.ic-divider:last-of-type {
    border-bottom: none;
    margin-bottom: 0px;
}


.huge-margin-bottom {
    margin-bottom: 20px;
}

.large-margin-bottom {
    margin-bottom: 15px;
}

.medium-margin-bottom {
    margin-bottom: 10px;
}

.tiny-margin-bottom {
    margin-bottom: 5px;
}

/* Super Generic Styles - Useful in a pinch */
.pad-15 {
    padding: 15px;
}

.pad-10 {
    padding: 10px;
}

.margin-10 {
    margin: 10px;
}

.margin-15 {
    margin: 15px;
}

.auto-flow {
    overflow: auto;
}

.no-margin-bottom {
    margin-bottom: 0px !important;
}

.cel-seperator {
    width: 100%;
    margin-top: 1px;
    margin-bottom: 3px;
    border-top: 1px solid #e0e0e0;
}

.no-wrap {
    white-space: nowrap;
}

td.no-wrap {
    width: 100px;
}

.bold {
    font-weight: bold;
}



/* #endregion */

/*#region shorthand single class helpers - e.g. add a class of red for red text */
.colour-positive {
    color: #00859b;
}


.dataTables_wrapper tr.even.active-row,
.dataTables_wrapper tr.odd.active-row, tr.active-row {
    background-color: #ccffcc !important;
}


.colour-neutral {
    color: #00a4db;
}

.colour-grey {
    color: #ccc;
}

.colour-negative {
    color: #ba5050;
}

.colour-warning {
    color: #DAA200;
}


.no-padding-bottom {
    padding-bottom: 0px !important;
}

.depest-blue-text {
    color: #182a49;
}


.deep-blue-text {
    /*Used on top menu.*/
    color: #1d407b;
}


.active-green {
    /*Used in both the top navigation bar and the side navigation bar.*/
    background-color: #9bba50;
}

.active-green-text {
    /*Used in both the top navigation bar and the side navigation bar.*/
    color: #9bba50;
}

.active-red-text {
    /*Used in both the top navigation bar and the side navigation bar.*/
    color: red;
}



/*#endregion */

/* #region Sub-menu contents */
/* #region Sub-menu - User Section.*/
.user-section {
    position: relative;
}




.user-background {
    overflow: hidden;
}

    .user-background img {
        width: 262px;
        min-height: 110px;
    }

.user-section .user-image {
    /*There are some odd positioning stuff going on in here.*/
    width: 85px;
    height: 85px;
    border-radius: 45px; /*Larger than both 1/2 * width or height. */
    border: solid white 1px;
    position: absolute;
    margin-bottom: 10px;
    margin-left: 10px;
    bottom: 0px;
    box-shadow: 2px 2px 3px #333;
    overflow: hidden;
    background-color: #00a4db;
    text-align: center;
}

.user-image .glyphicon {
    font-size: 50px;
    margin-top: 15px;
    color: white;
}

.user-section .user-friendly-name h4 {
    color: white;
    text-shadow: 2px 2px 3px #333;
    position: absolute;
    bottom: 0px;
    right: 0px;
    margin-right: 10px;
    margin-bottom: 10px;
}
/* #endregion*/
/*  #region Sub-menu - Page info */
.page-info {
    padding-left: 20px;
    padding-right: 20px;
    color: #5c697f;
    border-bottom: solid 1px #c2cdd7;
}

    .page-info h4 {
        margin-top: 20px;
    }

    .page-info p {
        /*color: #a2afc4;*/
        font-size: 0.9em;
        line-height: 18px;
    }
/*#endregion*/

/*#endregion*/

/* #region Icons inside of inputs.*/
.icon-input .glyphicon {
    position: absolute;
    padding: 4px;
    pointer-events: none;
}

.left-icon .glyphicon {
    left: 0px;
}

.right-icon .glyphicon {
    right: 0px;
}

.left-icon input {
    padding-left: 30px;
}

.right-icon input {
    padding-right: 20px;
}
/*#endregion*/

/* #region Trashcan - styles flagged for remove.*/
.content-block { /* GENERIC INNER CONTENT BLOCK. */
    /* its commented out in a view somehwere. consider removing. */
    margin-bottom: 20px;
    overflow: auto;
    border-bottom: solid 1px #eee;
}


.zoom-controls {
    clear: both;
}

}

/*#endregion*/

/* #region Tables */
/* #region Devices Table. */
table.devices {
    width: 100%;
    border: 1px solid #cbd4dd;
    background-color: #fafafa;
    margin-bottom: 10px !important;
}

    table.devices thead tr {
        /* Gradient for table head row */
        background: #00b3f3 !important; /* Old browsers */
        background: -moz-linear-gradient(top, #00b3f3 0%, #009fdd 100%) !important; /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #00b3f3 0%,#009fdd 100%) !important; /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #00b3f3 0%,#009fdd 100%) !important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b3f3', endColorstr='#009fdd',GradientType=0 ) !important; /* IE6-9 */
    }



table#alertLogs tfoot tr { /* Fix for the fotter on the alerts/notifications table. */
    background: #00b3f3 !important; /* Old browsers */
    background: -moz-linear-gradient(top, #00b3f3 0%, #009fdd 100%) !important; /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #00b3f3 0%,#009fdd 100%) !important; /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #00b3f3 0%,#009fdd 100%) !important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b3f3', endColorstr='#009fdd',GradientType=0 ) !important; /* IE6-9 */
    font-size: 12px;
}


table.devices thead th {
    background: none;
    color: white;
    border: 1px solid #cbd4dd;
    color: white !important;
    text-shadow: 2px 2px 3px #333;
    border: solid 1px #0097cc;
}


table.devices tbody tr {
    color: #444;
}


    table.devices tbody tr td {
        border: 1px solid #cbd4dd;
    }
/*
    Devices table TODO:
    alternating colors
    first col dark background.
    blue header.
    inner borders- maybe.
*/
/* #endregion */

/* #region panel data tables*/

.panel.greytable-parent .dataTables_wrapper table {
    border: none;
}

.panel.greytable-parent .table-top {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #eee;
}

.panel.greytable-parent .table-bottom {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 1px solid #eee;
}

.panel.greytable-parent .dataTables_wrapper thead tr {
    background: none !important;
}

.DataTables_sort_wrapper {
    position: relative;
    margin-right: 12px;
    text-align: center;
}

.DataTables_sort_icon {
    position: absolute;
    right: -12px;
    top: 0px;
}


th.sorting_asc:not(.inverted-sort)::after {
    content: '▲';
}

th.sorting_desc:not(.inverted-sort)::after {
    content: '▼';
}

th.sorting_asc.inverted-sort::after {
    content: '▼';
}

th.sorting_desc.inverted-sort::after {
    content: '▲';
}

.panel.greytable-parent .dataTables_wrapper .dataTables_length {
    width: auto !important;
    margin-top: 12px !important;
    margin-left: 10px;
    margin-bottom: 2px;
}


.panel.greytable-parent .dataTables_wrapper th.sorting:hover {
    background-color: #00a4db !important;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
}


.panel.greytable-parent .dataTables_wrapper th {
    color: #777 !important;
    text-shadow: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eee;
    background: inherit;
    font-weight: normal;
}


.panel.greytable-parent .dataTables_wrapper .dataTables_paginate {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 6px;
    font-size: 14px;
}

.greytable-parent .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
#byUser .dataTables_wrapper .dataTables_paginate .paginate_button.current,
#bySite .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #00a4db;
    color: #FFF !important;
    border-color: #00a4db;
}


.dataTables_wrapper .dataTables_paginate .paginate_button,
#byUser .dataTables_wrapper .dataTables_paginate .paginate_button,
#bySite .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 5px;
    margin: 3px;
    border: solid 1px rgba(0,0,0,0.05);
    border-radius: 1px;
    background-color: rgba(255,255,255,0.5);
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
    #byUser .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
    #bySite.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        background-color: rgba(255,255,255,0.9);
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
    #byUser .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
    #bySite.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
        background-color: #43d0ff !important;
    }




.panel.greytable-parent .dataTables_wrapper .paging_simple_numbers a,
.dataTables_wrapper .paging_simple_numbers a,
#byUser .dataTables_wrapper .paging_simple_numbers a,
#bySite .dataTables_wrapper .paging_simple_numbers a,
{
    padding: 3px;
    padding-left: 7px;
    padding-right: 7px;
    background-color: #FAFAFA;
    color: #777;
    border-radius: 0px !important;
    border: 1px solid #DDD;
    font-weight: normal;
}

    .panel.greytable-parent .dataTables_wrapper .paging_simple_numbers a:hover {
        text-decoration: none;
        background-color: #eee;
        color: #23527c;
    }



/* #endregion */


/* #region Buttons */

#zoom-buttonset input[type="button"].tiny {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 7px;
    padding-right: 7px;
    margin-right: 10px;
}


.button-label {
    /*Add a label to the left of a button. requires the use of the float-left class too.*/
    padding-top: 9px;
    padding-bottom: 9px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #fafafa;
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

button.no-link,
input[type="button"].no-link, .button.no-link, button[type="button"].no-link, #btnSearchUsers.no-link,
.button-parent a.no-link {
    cursor: default !important;
}

button.button, input[type="button"], .button, button[type="button"], #btnSearchUsers, .button-parent a {
    cursor: pointer;
    border: none;
    display: block;
    text-align: left;
    border-radius: 2px;
}

    .button.full-wide {
        width: 100% !important;
    }

    .button.left, input[type="button"].left {
        float: left;
    }

    .button.right, #btnSearchUsers {
        float: right;
        margin-right: 0px !important;
        margin-left: 10px;
    }




input[name="txtSearchUser"] {
    float: right;
    margin-top: 3px;
}


button.button.medium, input[type="button"].medium, .button.medium {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 10px;
}

button.button.small, input[type="button"].small, .button.small, .button-parent a {
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 10px;
    font-size: 100%;
}



button.button.tiny, input[type="button"].tiny, .button.tiny, #btnSearchUsers {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 7px;
    padding-right: 7px;
    margin-right: 10px;
    font-size: 100%;
}


button.button.micro, input[type="button"].micro, .button.micro {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    margin-right: 2px;
    font-size: 100%;
}


button.button.no-margin, input[type="button"].no-margin, .button.no-margin {
    margin-right: 0px !important;
}


button.centerText {
    text-align: center;
}


button.half-spaced, input[type="button"].half-spaced, .button.half-spaced, .half-spaced { /* Class to add some margin at hte bottom of a button used in login page.*/
    margin-bottom: 5px;
}


button.spaced, input[type="button"].spaced, .button.spaced, .spaced { /* Class to add some margin at hte bottom of a button used in login page.*/
    margin-bottom: 10px;
}

button.double-spaced, input[type="button"].double-spaced, .button.double-spaced, .double-spaced { /* Class used to add even more margin at the bottom of a button. - used on login page. */
    margin-bottom: 20px;
}

button.last, input[type="button"].last, .button.last {
    margin-bottom: 0px;
}

button:hover, input[type="button"]:hover, .button:hover {
    text-decoration: none;
}

button.decorate-underline:hover, input.decorate-underline[type="button"]:hover, .button.decorate-underline:hover {
    text-decoration: underline;
}


input[readonly]:not(.hasDatepicker) {
    background-color: rgb(228, 228, 235);
}


/* #endregion*/

.icon-button-text {
    margin-left: 5px;
}

.register-form {
    margin-bottom: 20px;
}

.zoom-controls {
    float: left;
}

.display-controls {
    float: left;
}

@media (max-width:991px) {
    .display-controls {
        clear: both;
    }
}



.data-import {
    margin-bottom: 20px;
}

/* #region SearchBar and Cards Grid */
/* Searchbar */
.searchbar-wapper {
    overflow: hidden;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-left: 20px;
    position: relative;
}

.sites-title {
    position: relative;
}

.inputgroup-glyphicon.glyphicon {
    padding-top: 2px;
    padding-right: 5px;
}


.card-grid-hider {
    position: absolute !important;
    right: 0px;
    /*top: 0px;*/
    bottom: 0px;
    padding: 12px 12px;
    font-size: 14px;
    line-height: 15px;
    border: 1px solid #ccc !important;
    max-height: 40px !important;
}


.searchbar {
    float: left;
    clear: both;
}

.icon-input {
    position: relative;
}

.searchbar label {
    font-weight: normal; /*override the bootstrap boldening.*/
}



#cards-search {
    width: 100%;
    height: 40px;
}
/* #endregion */

fieldset#export {
    padding: 0px;
    margin: 0px;
    margin-left: 0px;
    margin-bottom: 20px;
}

    fieldset#export input {
        min-width: 80px;
        margin-right: 10px;
    }

#cultureInfo p {
    margin-bottom: 0px;
}

#cultureInfo {
    float: left;
}


.page-controls {
    margin-bottom: 20px;
    overflow: auto;
}

#wrapUsersSearchbox {
    margin-bottom: 10px;
    overflow: auto;
    background-color: white !important;
}







div.consent-accordian-head, #irrigation-restrictions-head, div.accordian-head {
    font-size: 1.0em !important;
}


/* #region CSS Ripple testing */
/*Pure CSS Ripple*/
/* Ripple magic */
.ripple {
    position: relative;
    overflow: hidden;
}

    .ripple:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, .5);
        opacity: 0;
        border-radius: 100%;
        transform: scale(1, 1) translate(-50%);
        transform-origin: 50% 50%;
    }

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }

    20% {
        transform: scale(25, 25);
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.ripple:focus:not(:active)::after {
    animation: ripple 0.7s ease-out;
}

/*#endregion*/

/* #region Measure */
.measure-bar {
    width: 100%;
}

.measure {
    margin-top: 0px !important;
    font-size: 1.0em !important;
    margin-bottom: 20px;
    border-bottom: solid 1px #eee;
    width: 100% !important;
}

    .measure h4 {
        margin-top: 0px;
        text-transform: none;
    }
/*#endregion*/

.consent-accordian-head, .accordian-head {
    /*  color:white;*/
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.consent-accord-item .status.compliant, .accordian-item .status.compliant {
    background-color: #9bba50 !important;
}

.consent-accord-item .status.non-compliant, .accordian-item .status.non-compliant {
    background-color: #ba5050 !important;
}

.consent-accord-item .status, .accordian-item .status {
    float: right;
    padding: 10px;
    color: white;
}

.consent-accordian-head h4, .accordian-head h4 {
    float: left;
    margin-top: 10px !important;
    margin-bottom: 0px !important;
    color: #1d407b !important;
    /*  font-weight:bold;
    font-size:16.8px;*/
}

#consentStatus {
    float: right;
}

.stats {
    /*margin-bottom: 10px;*/
}

#irrigation-restrictions-panel {
    padding: 20px;
}

/* #region Watermonitoring status - buttons*/
.status-buttons {
    overflow: auto;
    padding-top: 20px;
    background-color: #fff;
}

.status.status-days {
    background-color: #c5c5c5;
}

.status.status-notifications.grey {
    background-color: #c5c5c5;
}

.status.status-notifications.coloured {
    background-color: #00a4db;
}

.status.status-alerts.grey {
    background-color: #c5c5c5;
}

.status.status-alerts.coloured {
    background-color: #fcdd00;
}
/* #endregion*/



.restriction-view-placeholder {
    margin-bottom: 20px;
    border-bottom: solid 1px #EEE;
}

.faint {
    opacity: 0.7;
}


.status.status-error {
    background-color: #ba5050;
}


#account-settings .display-label,
#account-settings .editor-label {
    font-weight: bold;
    width: 160px;
    clear: left;
    float: left;
    margin: 1em 0 0 0;
}






/* #region jquery-ui overrides.*/
/* remove the border roundings off everything. */
.ui-corner-all, .ui-corner-tl, .ui-corner-tr, .ui-corner-bl, .ui-corner-br, .ui-corner-top, .ui-corner-bottom, .ui-corner-left, .ui-corner-right {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-radius: 0px !important;
}

.ui-state-active { /* Lighter borders */
    border: 1px solid #CCC;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { /* Same fonts everywhere. */
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.ui-widget {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.ui-widget-content, body {
    color: #444 !important;
}

.ui-widget {
    font-size: 1.0em !important;
}

.ui-widget-content {
    background-color: #FFF !important;
    /* override the weird faint pepermint colour jquery-ui use...: background: #fcfdfd url(images/ui-bg_highlight-hard_100_fcfdfd_1x100.png) 50% top repeat-x; */
}


.consent-accordian-head, #irrigation-restrictions-head, div.accordian-head {
    padding: 10px !important;
}

#consent-accordian .ui-accordion-header, #irrigation-restrictions-head, .ui-accordion-header {
    background-color: #eaedf0;
    background-image: none;
}

.ui-accordion .ui-accordion-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
}

.consent-accordian-head, .accordian-head {
    padding: 0px !important;
    overflow: auto;
}

/*#endregion*/






/* Generic box styles */
.box-head {
    background-color: #eaedf0;
    background-image: none;
    margin-left: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 20px;
    padding-left: 20px;
    border-bottom-width: 0px;
    border-bottom-style: none;
}

    .box-head.accordian-head h4 {
        margin-top: 0px !important;
    }

.box-body {
    padding: 20px;
    border-top-width: 0px;
    border-top-style: none;
    padding: 20px !important;
    overflow: auto;
}

    .box-body .left {
        float: left;
    }

    .box-body .right {
        float: right;
    }

    .box-body.box-last {
        margin-bottom: 20px;
    }

    .box-body.no-padding-bottom {
        padding-bottom: 10px !important;
    }



/* Fix to remove random br tags from account settings form- consider moving these to be generic for all display-label, display field, etc not just account-settings. */
#account-settings .display-label,
#account-settings .display-field,
#account-settings .editor-label,
#account-settings .editor-field {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
}



#grdCollectUsers {
    width: 100%;
}





.tooltip-inner {
    max-width: 350px !important;
    /* If max-width does not work, try using width instead */
    width: 350px;
}

#addNew .tooltip-inner {
    /* Watermonitoring/AccountSettings - threshold form overwride to prevent element underlapping the modal form. */
    width: auto !important;
}

.tooltip-legend-label-text .tooltip-inner {
    width: auto !important;
}

p span.bold {
    font-weight: bold;
}

/* #region Logged out single card centered layout.. */
.phone-width-container {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 120px;
    margin-bottom: 20px;
}

    .phone-width-container .card {
        border-top: none;
        border: solid 1px #244b82;
    }

@media(min-width:481px) {
    .phone-width-container .card {
        border-bottom-left-radius: 7px;
        border-bottom-right-radius: 7px;
    }
}


.phone-width-container .logo {
    width: 100%;
    margin-top: -86px;
}

.logon-logo {
    /* margin-bottom:20px;*/
    border-radius: 0px 7px 0px 0px;
    box-shadow: 1px 1px 2px #CCC;
    background-color: #1f4a82;
    min-height: 70px;
}

    .logon-logo img {
        -webkit-filter: drop-shadow(1px -3px 4px #CCCCCC);
        filter: drop-shadow(1px -3px 4px #CCCCCC);
    }

.phone-width-container h3 {
    margin-top: 0px;
}
/*#endregion*/

/* #region Login form */
.mainLogon {
    overflow: auto;
}

    .mainLogon label {
        width: 100%;
        margin-bottom: 0px;
        font-weight: normal;
    }



.user-input input[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 10px;
    float: left;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-right: 10px;
}

.mainLogon label.checkbox-label {
    float: left;
    width: auto !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.user-input input {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
}

.user-input {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .user-input.last { /* Not used. maybe delete? */
        border-bottom: none;
        margin-bottom: 0px;
    }


.quickLogonSubmit {
    display: block;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.logon-extras .forgotten {
    float: left;
}

.logon-extras .unlock {
    float: right;
}

input:-webkit-autofill {
    background-color: #FFF !important;
}


input[type="submit"] {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: normal;
}


/*#endregion */


.line {
    width: 100%;
    border-bottom: solid 1px #EEE;
    clear: both;
    margin-bottom: 20px;
}


/* Used for displaying objects in a grid. */
.stat-display label {
    font-weight: normal;
    margin-bottom: 0px;
}

.stat-display {
    margin-bottom: 20px;
    min-height: 50px;
}

.small-print p {
    font-size: 13px;
}

/* #region Form Items*/

/* Massive form for /partners/order */
.form-item input, .form-item select {
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
}

    .form-item input[type="radio"] {
        width: auto !important;
        height: auto !important;
    }

    .form-item input[type="checkbox"] {
        width: 14px !important;
        height: 14px !important;
        padding: 5px;
        float: left;
        margin-right: 5px;
    }

.form-item textarea {
    width: 100%;
    min-height: 60px;
    border: 1px solid #ccc;
}

.form-item label {
    font-weight: normal;
    margin-bottom: 0px;
}

.form-item {
    margin-bottom: 20px;
    min-height: 50px;
}


    .form-item label {
        white-space: nowrap;
        text-overflow: ellipsis;
    }



.form-display {
    font-weight: bold !important;
    margin-top: 4px;
}

.form-display {
    font-weight: bold !important;
}

.form-item.inverted .form-display {
    font-weight: normal !important;
    word-wrap: break-word;
}

.form-item.inverted label {
    font-weight: bold !important;
}

.form-tick-cross .glyphicon {
    font-size: 14px !important;
    line-height: 1.42857143 !important;
}

.form-section {
    border-bottom: 1px solid #EEE;
    margin-bottom: 20px;
}

    .form-section.no-border {
        border-bottom: none;
    }

    .form-section.no-margin {
        margin-bottom: 0px;
    }

.form-controls {
    overflow: auto;
}

.form-item .input-group-btn.select-bias {
    width: 50%;
}

.form-item .input-group-btn.select-bias {
    width: 70%;
}

.form-item .input-group-btn.input-bias {
    width: 30%;
}


/*#endregion*/

.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


/*#region Tooltip Message */
.message-header {
    background-color: white;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: solid 1px #ccc;
    color: #555;
}

.message-body {
    background-color: #eeeeee;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    color: #555;
}


.message-tooltip {
    opacity: 1 !important;
}

    .message-tooltip .tooltip-inner {
        background-color: white !important;
        padding: 0px !important;
        box-shadow: 1px 1px 1px #aaa;
        /*  max-width:100% !important;*/
        border-radius: 0px !important;
        border: 1px solid #aaa;
        /*  margin-left:48px;
    margin-right:48px;*/
        width: auto !important;
        max-width: 500px !important;
    }

.tooltip.top.message-tooltip .tooltip-arrow {
    border-top: 5px solid #ccc !important;
}

/*#endregion*/


.match .card {
    /* background-color: lightgreen;*/
}

.miss {
    display: none;
}

.box {
    box-shadow: 1px 1px 2px #CCC;
    border: 1px solid #ccc;
    padding: 20px;
    background-color: white;
}


.tooltip.top .tooltip-arrow {
    border-top: 5px solid #234c82 !important;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom: 5px solid #234c82 !important;
}

.tooltip.left .tooltip-arrow {
    border-left: 5px solid #234c82 !important;
}

.tooltip.right .tooltip-arrow {
    border-right: 5px solid #234c82 !important;
}



.tooltip-inner {
    padding: 10px !important;
    text-align: left !important;
    background-color: #234c82 !important;
}


    .tooltip-inner p {
        line-height: 14px !important;
        text-align: left !important;
    }


.table-top input[type="search"], .table-top select {
    /* Touching up inputs. */
    border: 1px solid #ccc;
}

.form-heading h3 {
    margin-bottom: 20px;
}

.form-heading {
    border-bottom: solid 1px #eee;
    margin-bottom: 20px;
}

.table-title {
    float: left;
    margin-bottom: 0px;
}

.padded-left {
    padding-left: 7px;
}

.fake-input {
    border: solid 1px #ccc;
    overflow: auto;
    padding-top: 3px;
    padding-left: 5px;
    padding-bottom: 5px;
}

table#buyers, table#sellers {
    margin-bottom: 20px;
}

    table#buyers th, table#sellers th {
        background-color: #EEE;
    }

.smallbox {
    width: 100px;
    height: 20px !important;
    border: 1px solid #E1E8E2;
    margin-bottom: 3px;
    padding: 5px;
}

.stripeMe .success, div.smallbox.success {
    background-color: #ccffcc !important;
    border: 1px solid #E1E8E2;
}


/* #region Mobile Only styles in here. */
@media (max-width:991px) {

    .page-heading {
        /* the tabs work as page headings...*/
        display: none;
    }

        .page-heading.always-display {
            /*Unless there is something you always want to show.*/
            display: block !important;
        }


    /* Fix for having the contracted sidebar and hten going down to mobile view. */
    .full-page.contracted-split .sub-menu, .full-page.contracted-split .sub-menu-bg {
        margin-left: 0px !important;
    }


    .export-right {
        display: block !important;
        min-width: 110px;
        /*margin-top:-10px;*/
    }

    /*Portal*/
    .portal-grid .card .img-wrapper {
        float: right;
        width: 40%;
        margin-bottom: -15px;
        height: 70px;
    }


    .portal-grid .portal-text {
        width: 60%;
        float: left;
        margin-bottom: 7px;
    }




    .portal-grid .card {
        margin-bottom: 20px;
        padding-bottom: 5px !important;
    }

    .portal-grid .card {
        min-height: inherit;
        overflow: hidden;
    }

    /* File section at base of portal select*/
    input[type="file"] {
        width: 100%;
    }


    .hide-for-mobile {
        display: none !important;
    }

    .hide-for-desktop {
        display: block !important;
    }


    .mobile-left {
        float: left;
    }

    .mobile-right {
        float: right;
    }

    .card { /* Squash the grids up a bit for more results per window. */
        margin-bottom: 10px;
    }




    /*Hide the side menu.*/
    .sub-menu, .sub-menu-bg {
        min-width: 100%;
        overflow: visible
    }

    .sub-menu-bg {
        display: none;
    }

    .sub-menu {
        border-bottom: none;
    }

        .sub-menu .user-section, .sub-menu .page-info {
            display: none; /* Hide as much stuff as possible on mobile. */
        }

    .sub-menu {
        border-right: none !important;
    }

    .inner-content {
        width: 100% !important;
    }


    /*Show the tab menu, and scroll it horizontally if there are too many tabs. */
    .sub-menu .nav-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-inline-flexbox;
        border-bottom: none;
        height: 41px;
    }

    .nav-tabs > li {
        float: none;
    }

    /*Hack to get the overlapping border.*/
    .border-bar {
        /*
        position:absolute;
        top:6px;
        display: block !important;
       
        float: left;
        height: 41px;
        width: 100%;
        border-bottom: solid 1px #DDDDDD;*/
    }

    .nav-tabs > li.active a {
        z-index: 555;
        position: relative;
        background-color: white;
    }

    .nav-tabs > li a {
        white-space: nowrap;
    }



    /*Hide the larger menu.*/
    nav.sub-nav {
        display: none !important;
    }


    /*  Clear some styles comming in from navs.less! */
    .nav-tabs > li {
        float: none !important;
        margin-bottom: 0px !important;
        margin-top: 10px;
        background-color: #CCC;
    }

    nav > li {
        position: unset;
    }

    .right-split {
        margin-left: 0px !important;
        bottom: 0px;
        width: 100%;
        z-index: 100;
        -webkit-overflow-scrolling: auto;
    }

    .HasChin .right-split {
        margin-bottom: 49px;
    }



    .body .tabs-gutter {
        display: none;
    }
    /*
    .body.HasChin .inner-content {
        position: absolute;
        bottom: 48px;
    }
        */


    .HasChin .left-split {
        bottom: 0px;
        top: auto !important;
        height: 48px;
        width: 100%;
        z-index: 999;
    }

    .left-menu {
        width: 100%;
        height: 48px;
    }

        .left-menu .toggler {
            display: none;
        }


    /* Chin Navigation Bar. */
    .chin-nav {
        display: block !important;
    }


        .chin-nav a {
            color: white;
            text-align: center !important;
            display: block;
        }

        .chin-nav span.glyphicon {
            width: 100%;
            color: white;
            text-align: center !important;
            margin-top: 6px;
            font-size: 19px;
            display: block;
        }

        .chin-nav span.chin-text {
            width: 100%;
            color: white;
            text-align: center !important;
            margin-top: 5px;
            line-height: 1 !important;
        }

    .nav-item-chin {
        height: 48px;
        float: left;
    }

        .nav-item-chin:last-of-type {
            height: 48px;
            float: right;
        }

        .nav-item-chin.num-nav-4 {
            width: 25%;
        }

            .nav-item-chin.num-nav-4:last-of-type {
                width: 25%;
            }

        .nav-item-chin.num-nav-5 {
            width: 20%;
        }

            .nav-item-chin.num-nav-5:last-of-type {
                width: 20%;
            }


        /* WHen there are 3 items in the chin split them ~33%. */
        .nav-item-chin.num-nav-3 {
            width: 33%;
        }

            .nav-item-chin.num-nav-3:last-of-type {
                width: 32%;
            }

        /* When there are only two items in the chin, split them 50/50. */
        .nav-item-chin.num-nav-2 {
            width: 50%;
        }

            .nav-item-chin.num-nav-2:last-of-type {
                width: 49%;
            }

        .nav-item-chin.num-nav-1 {
            width: 100%;
        }

        .nav-item-chin.active {
            background-color: #9bba50;
        }


    /*Top menu fixes*/
    .top-menu .nav-item:not(.required) {
        display: none;
    }


    /*
    .top-menu .logo-image {
        width: calc(100% - 144px) !important;
        margin:0px !important;
        float:left !important;
    }*/

    .top-menu .nav-items {
        position: absolute;
        top: 0;
        right: 0;
    }


    .site-button {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }

    .searchbar-wapper {
        padding-top: 0px;
        padding-left: 0px !important;
        float: left;
    }

    .top-tabs {
        display: table;
        min-width: 100%;
        background-color: #ddd;
    }

        .top-tabs .tab-row {
            /* display: table-row;*/
            margin-top: 5px;
            background-color: #ddd;
            min-width: 100%;
        }

    .tab-item {
        display: table-cell;
        vertical-align: top;
        text-align: left;
        padding: 10px;
        margin-right: 5px;
        background-color: #eaedf0;
        border-right: 1px solid #ccc;
        border-top: 1px solid #ccc;
        cursor: pointer;
        color: #555 !important;
    }


        .tab-item, .tab-item a, .tab-item .sub-title .group-name {
            color: #555 !important;
            text-decoration: none !important;
        }

            .tab-item:not(.active) {
                /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eaedf0+80,c2cad3+100 */
                /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eaedf0+80,dadfe5+100 */
                background: #eaedf0; /* Old browsers */
                background: -moz-linear-gradient(top, #eaedf0 80%, #dadfe5 100%); /* FF3.6-15 */
                background: -webkit-linear-gradient(top, #eaedf0 80%,#dadfe5 100%); /* Chrome10-25,Safari5.1-6 */
                background: linear-gradient(to bottom, #eaedf0 80%,#dadfe5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaedf0', endColorstr='#dadfe5',GradientType=0 ); /* IE6-9 */
            }

                .tab-item:not(.active):hover {
                    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,eaedf0+100 */
                    background: #ffffff; /* Old browsers */
                    background: -moz-linear-gradient(top, #ffffff 0%, #eaedf0 100%); /* FF3.6-15 */
                    background: -webkit-linear-gradient(top, #ffffff 0%,#eaedf0 100%); /* Chrome10-25,Safari5.1-6 */
                    background: linear-gradient(to bottom, #ffffff 0%,#eaedf0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaedf0',GradientType=0 ); /* IE6-9 */
                }


    .sub-menu {
        position: relative;
    }

    .top-tabs .tab-item a,
    .top-tabs .tab-item span {
        white-space: nowrap;
    }


    .tab-sub-menu-child {
        width: 100%;
        display: block;
    }


        .tab-sub-menu-child.active {
            background-color: #00b3f3;
            color: white;
        }

        .tab-sub-menu-child.active {
            color: white !important;
        }


        .tab-sub-menu-child:hover {
            background-color: #9bba50 !important;
            color: white;
            /*text-transform:none;*/
            text-decoration: none;
        }

        .tab-sub-menu-child:hover {
            text-decoration: none;
            color: white !important;
        }

    .mobile-tab-wrapper {
        overflow-x: auto;
        display: block !important;
    }

    .tab-sub-menu {
        background-color: #fff;
        border: solid 1px #ccc;
        margin-top: 10px;
        box-shadow: 1px 1px 2px #CCC;
        position: absolute !important;
        left: 40px;
        right: 40px;
        /*
        position:absolute;
        top:50px;
        left:0px;*/
    }

    .tab-item.active {
        background-color: white;
    }

    .tab-sub-menu.collapsing {
        position: absolute;
        /* -webkit-transition: none;
        transition: none;*/
    }

    .tab-sub-menu-child {
        padding: 10px;
        border-bottom: solid 1px #ccc;
    }

    .tab-sub-menu-title {
    }


    .tab-container {
        /*        position:absolute;
        left:0;
        right:0;
        height:auto;*/
    }

    .top-tabs {
        /*
        height:48px;
        overflow-y:visible;
        */
    }


    .dataTables_wrapper table:not(.ignore-mobile-small-font) td:not(.ignore-mobile-small-font),
    .dataTables_wrapper table:not(.ignore-mobile-small-font) th:not(.ignore-mobile-small-font) {
        font-size: 11px !important;
    }



    .form-item {
        /* fix for form items using too much vertical space in mobile.*/
        margin-bottom: 10px !important;
    }

    .mobile-clear-min-height.form-item, .mobile-clear-min-height .form-item {
        /* fix for form items using too much vertical space in mobile.*/
        min-height: 1px !important;
    }
}

/*#endregion*/

.mobile-tab-wrapper {
    display: none;
}

.searchbar-wapper input {
    border: solid 1px #CCC;
    height: 30px;
}

.chin-nav {
    display: none;
}

/* Support for super high res monitors */ /*
@media (min-width:2560px){
    .page-content{
        max-width:2560px;
    }

}
*/
/* #region small devices and below (<520px) */
@media (max-width:520px) {
    /* Prevent the logo from colliding with the menu buttons. */

    .phone-width-container {
        margin-top: 80px;
    }

        .phone-width-container .logo {
            background-color: #234c82
        }


    .sensor-buttons {
        overflow: auto;
        margin-bottom: 10px;
    }

    .sensor-dashboard .sensor-buttons a {
        width: 100%;
        margin-bottom: 5px;
    }

        .sensor-dashboard .sensor-buttons a .badge {
            float: right;
        }



    /* save just a bit more space! 20px savings represents 5% */
    .page-content, .content-pad {
        /* Any lower than 15px and grids start playing up. */
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 15px;
    }

    .page-heading { /*  Match the page content padding for uniformity. */
        padding: 15px;
    }

    .site-cards {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px !important;
    }

    .sensor-cards, .spotpricing-cards {
        /* background-color: #eaedf0 !important; */
        border-bottom: solid 1px #CCC;
        margin-bottom: 20px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px !important;
    }


    .sites-title {
        margin-bottom: 10px;
    }


    /* fix for status page icons.*/
    .consent-status {
        float: left;
        overflow: auto;
    }

        .consent-status .status {
            padding: 5px;
            margin-bottom: 5px;
        }

    .consent-accordian-head h4 {
        width: 100%;
    }


    .consent-accordian-head {
        min-height: 61px;
    }


    .consent-status .status:not(.compliant):not(.non-compliant) {
        float: left;
        font-size: 13px;
        margin-right: 10px
    }

    .consent-accordian-head .status.compliant, .consent-accordian-head .status.non-compliant {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        height: 61px;
    }

        .consent-accordian-head .status.compliant span, .consent-accordian-head .status.non-compliant span {
            margin-top: 10px;
            margin-left: 10px;
            margin-right: 10px;
        }



    .consent-status .status.grey, .consent-status .status-days {
        background-color: #eaedf0;
        color: #777;
        opacity: 0.6;
    }


    .max-height {
        /* Remove the 1px margin at the top of the page. */
        top: 0px;
    }
}
/*#endregion*/

.border-bar {
    /* mobile tabs border bar. */
    display: none;
}




/* Desktop only styles in here. */
@media (min-width:992px) {
    .right-split {
    }


    .desktop-no-wrap {
        white-space: nowrap;
    }

    td.desktop-no-wrap {
        width: 100px;
    }
}


/*#region Portal Grid images Gradual size increases. */
@media (min-width:1440px) { /* Just give them a little more height. */
    .portal-grid .card .img-wrapper {
        max-height: 135px !important;
    }
}

@media (min-width:1600px) { /* Just give them a little more height. */
    .portal-grid .card .img-wrapper {
        max-height: 155px !important;
    }
}

@media (min-width:1900px) { /* Just give them a little more height. */
    .portal-grid .card .img-wrapper {
        max-height: 165px !important;
    }
}

@media (min-width:2500px) { /* Just give them a little more height. */
    .portal-grid .card .img-wrapper {
        max-height: 305px !important;
    }
}

@media (min-width:3800px) { /* Just give them a little more height. */
    .portal-grid .card .img-wrapper {
        max-height: 505px !important;
    }
}
/*#endregion*/



ul {
    /* fix ts and cs page. */
    display: block;
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 10px;
}



.stripeMe tr:nth-of-type(2n + 1) {
    background-color: #f7f7f7;
}

.stripeMe tr:nth-of-type(2n) {
    background-color: #FFFFFF;
}

/* #region stripes for tables */

/* Fix for striping on the list items.*/
.list-group-item.striped:nth-of-type(2n) .full-line-centered span {
    background: #f5f5f5;
}

.list-group-item.striped:nth-of-type(2n + 1) .full-line-centered span {
    background: #fff;
}

.stripe-no-border, .no-stripe-no-border {
    font-size: 12px;
}


    .stripe-no-border > tbody > tr:nth-of-type(2n + 1),
    .stripe-no-border > tr:nth-of-type(2n + 1) {
        background-color: #f7f7f7;
    }

    .stripe-no-border > tbody > tr:nth-of-type(2n),
    .stripe-no-border > tr:nth-of-type(2n) {
        background-color: #FFFFFF;
    }

    .no-stripe-no-border.border-bottom,
    .stripe-no-border.border-bottom {
        border-bottom: 1px solid #ddd !important;
    }


.panel > table thead {
    border-bottom: solid 1px #ddd;
}

    .panel > table thead th {
        border-bottom: none;
        background-color: #f2f2f2;
        border-color: #f2f2f2;
        font-weight: normal;
        font-size: 14px;
        text-align: center !important;
    }


/* #endregion */


h4.table-title {
    float: left;
}

a.card {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

    a.card:hover {
        display: block;
        text-decoration: none !important;
        color: inherit;
    }

p.sub-heading {
    margin-bottom: 10px !important;
}


.neutral .badge {
    background-color: white;
    color: #00b3f3;
    text-align: right;
}


.alert .card {
    background-color: white !important;
}

.zoom-buttons {
    overflow: auto;
    width: 100%;
}


.panel-heading {
    overflow: auto;
}

#comments .list-group-item.comment {
    padding: 0px;
}

/*#region Desktop only styles.*/
@media (min-width:991px) {
    /* Sensor comments */
    .comment-date {
        font-size: 13px;
    }




    .comment-text {
        float: left;
    }

    #comments .list-group-item {
        min-height: 4.5em;
    }

    .comment-dates {
        position: absolute;
        padding: 10px;
        width: 12em;
        bottom: 0px;
        top: 0px;
        /*     background-color: #fafafa;*/
    }

        .comment-dates .start-date {
            top: 0px;
            left: 0px;
            position: absolute;
            padding: 10px;
            opacity: 0.7;
        }

        .comment-dates .end-date {
            bottom: 0px;
            left: 0px;
            position: absolute;
            padding: 10px;
            opacity: 0.7;
        }

    .dates-divider {
        top: 3em;
        bottom: 3em;
        width: 50%;
        margin-left: -10px; /*  Ignore the padding of the dates box. */
        position: absolute;
        border-right: solid 1px #CCC;
        /*background-color:#FF0;*/
        text-align: center;
        font-size: 13px;
    }


    .comment-body {
        width: auto;
        padding: 10px;
        margin-left: 12em;
        float: left;
    }

    .comment-expander {
        padding: 10px;
        text-align: center;
    }

    .list-group-item.comment {
        position: relative;
    }

    .innershade {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        box-shadow: inset white 0px -12px 10px;
    }
}
/*#endregion*/


.comment-controls {
    float: right;
    margin-right: 10px;
    overflow: auto;
    margin-top: 10px;
}


/*#region Mobile Styles*/
@media (max-width:991px) {
    /* Mobile styles for comments */
    .start-date {
        float: left;
    }

    .end-date {
        float: right;
    }

    .comment-dates {
        padding: 10px;
        overflow: auto;
        /*background-color: #F7F7F7;*/
        position: relative;
        border-bottom: 1px solid #eee;
        min-height: 60px;
    }

    .dates-divider {
        position: absolute;
        left: 0px;
        right: 0px;
        height: 20px;
        border-bottom: solid 1px #ccc;
        margin-left: 6em;
        margin-right: 6em;
    }

    .comment-text {
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .comment-body {
        padding: 10px;
    }

    .comment-controls a, .comment-controls button {
        float: left;
    }

    .comment-foot {
        margin-left: 0px !important;
    }
}
/*#endregion*/

.packet-data-controls {
    overflow: auto;
    margin-bottom: 10px;
}

label.sd-label {
    width: 100%;
}


/* #region Datetimepicker overrides.  */
/* update the datetimepicker to our "theme" colors */
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current {
    background-color: #9bba50 !important;
    box-shadow: #7aa73e 0 1px 3px 0 inset !important;
}

body .xdsoft_datetimepicker .xdsoft_calendar td:hover,
body .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover {
    color: #fff !important;
    background-color: #00a4db !important;
    box-shadow: none !important;
}
/*#endregion*/

.comment-button-size {
    /* Smaller than small but bigger than tiny. */
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 10px !important;
    padding-right: 15px !important;
}


/* #region Combi Consent cards breakdown... */
.sensor-multiplier {
    text-align: center;
    vertical-align: middle;
}

.card.no-padding {
    padding: 0px !important;
}

.split-card {
    position: relative;
}

.card-left {
    float: left;
    width: 40px;
    background-color: #eee;
    border-right: solid 1px #ddd;
    color: #777;
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    cursor: pointer;
}

.card-content {
    margin-left: 40px;
    padding: 10px;
    overflow: auto;
    cursor: pointer;
}

.card.smaller-text {
    min-height: 60px !important;
}

.smaller-text {
    font-size: 12px;
}

    .smaller-text h4 {
        font-size: 15px;
        margin-bottom: 5px;
    }

.sensor-multiplier {
    margin-top: 22px;
}


.sensor-grid .card {
    margin-bottom: 10px;
}

    .sensor-grid .card:not(.display-mode) {
        cursor: pointer;
    }

    .sensor-grid .card:hover:not(.display-mode) {
        border: 1px solid green;
    }

.sensor-grid .chart.medium {
    height: 320px;
}

.chart.medium {
    height: 400px;
}

.display-mode > .card-content > .sub-info.mobile-right {
    float: right;
}

.display-mode > .card-content > .sub-info.mobile-left {
    float: left;
}

.display-mode .sensor-multiplier {
    margin-top: 20px;
}

.card-details {
    display: none;
    position: relative;
    background-color: #fafafa;
    border-top: 1px solid #ddd;
    margin-left: 40px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 20px;
}

.close-sensor {
    float: right;
    width: 40px;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 59px;
    padding-top: 23px;
    text-align: center;
    padding-bottom: 15px;
    cursor: pointer;
    display: none;
    color: #aaa;
}

.open-sensor {
    float: right;
    width: 40px;
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    padding-top: 23px;
    text-align: center;
    cursor: pointer;
    color: #AAA;
}

.display-mode .open-sensor {
    display: none;
}

.display-mode .close-sensor {
    display: block;
    padding-top: 23px;
}



@media (max-width:991px) {
    .sensor-multiplier {
        margin-top: 20px;
    }

    .open-sensor, .close-sensor {
        padding-top: 21px;
    }
}

.card-details .sensor .partial-hidden {
    display: none;
}

.card-details .sensor .display-controls, .card-details .sensor .zoom-controls {
    float: left;
}

.tab-controls {
    margin-bottom: 0px;
}


.card-details .sensor .display-controls {
}
/*#endregion*/


.tight-well {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0px !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    margin-top: -20px;
    padding-right: 20px !important;
    padding-left: 20px !important;
}


.card-details .sensor .tight-well {
    padding-right: 20px !important;
    padding-bottom: 0px !important;
    padding-top: 10px !important;
    padding-left: 10px !important;
    margin-left: -10px;
    margin-right: -10px;
}

.well {
    background-color: #e6e6ea !important;
    border: 1px solid #cacaca !important;
}

.card-details .sensor .zoom-controls input[type="submit"] {
    font-size: 12px !important;
}

#wellDepthChartToday {
    height: 400px;
}

#wellDepthChartData {
    height: 400px;
}

.card-details .sensor #wellDepthChartToday {
    height: 300px;
}

.card-details .sensor #wellDepthChartData {
    height: 300px;
}

.highcharts-credits {
    display: none;
}

.highcharts-axis .highcharts-tick, .highcharts-axis .highcharts-axis-line {
    stroke: #999999 !important;
    stroke-width: 1 !important;
}
/*
.highcharts-legend-item .highcharts-graph{
    stroke-width:10px !important;
}
*/

.combi-equals {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-top: 25px;
    width: 100%;
}

.well.mini-well {
    padding-top: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 0px !important;
}

@media (max-width:991px) {
    .combi-equals {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .combi-card {
        margin-top: 0px;
        box-shadow: none !important;
    }


    .combi-equals-col {
        display: none;
    }

    .combi-title-card {
        margin-bottom: -10px;
    }

    .well.combi-well {
        border-top-left-radius: 0px !important;
        border-top-right-radius: 0px !important;
    }

    .mobile-combi-equals {
        display: block !important;
        position: absolute;
        top: 1px;
        right: 6px;
        bottom: 1px;
        background-color: #eee;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        padding-top: 12px;
        padding-left: 20px;
        padding-right: 20px;
        border-left: 1px solid #ccc;
    }
}

.mobile-combi-equals {
    display: none;
}

.combi-card h4 {
    margin-top: 10px;
    color: #777;
    padding-left: 5px !important;
    font-size: 15px;
}

.combi-card {
    margin-top: 10px;
}

.strikethrough {
    text-decoration: line-through;
}

.consent-restriction-tooltip {
    color: red;
}



/* fixes for existing styles. */

.ui-widget-overlay {
    z-index: 999 !important;
    background: #000; /*url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;*/
    opacity: .68;
    filter: Alpha(Opacity=68);
}

.ui-dialog {
    z-index: 1000 !important;
    max-height: 100%;
    max-width: 1000px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ui-dialog-content {
    background-color: #FFFFFF !important;
    overflow: hidden !important;
}

    .ui-dialog-content .label {
        color: #555 !important;
    }

/*#region Spotpricing */
.big-card {
    margin-bottom: 20px;
    box-shadow: 1px 1px 2px #ddd;
}



    .big-card .bc-header {
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 20px;
        padding-right: 20px;
        background-color: #fafafa;
        border: 1px solid #ccc;
        overflow: auto;
    }

        .big-card .bc-header .current {
            margin-top: 7px;
            float: right;
        }

            .big-card .bc-header .current label {
                margin-bottom: 0px !important;
            }

        .big-card .bc-header h3 {
            float: left;
            margin-bottom: 0px;
        }



    .big-card .bc-inner {
        padding: 20px;
        background-color: #fff;
        overflow: auto;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

    .big-card .bc-footer {
        background-color: #fafafa;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        overflow: auto;
        padding: 10px;
    }


.pumpdirection, .recommendationLength, .recommendationStart, .recommendationFinish {
    /* Bold + Dark */
    font-weight: bold;
    color: #333;
}

.rec-wrapper {
    display: table;
    width: 100%;
}

.rec-row {
    display: table-row;
}

.rec-wrapper .recommendation {
    display: table-cell;
}

.rec-wrapper .controls {
    display: table-cell;
}

.rec-card .bc-inner {
    padding: 10px !important;
}

.rec-card .recommendation {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}


.history-table {
    width: 100%;
}

.rec-accepted {
    color: #0B0;
}

.rec-declined {
    color: #C00;
}


.rec-cell {
    font-size: 13px !important;
}

/* #endregion */





.display-month {
    width: 100%;
    text-align: center;
}

.display-day {
    width: 100%;
    text-align: center;
    font-size: 18px;
}

.sensors-layout-content .watermonitoring-only {
    display: none !important;
}

.watermonitoring-layout-content .watermonitoring-only {
    display: block !important;
}


.hide-for-mobile {
    display: block;
}

table.hide-for-mobile {
    display: table;
}

.hide-for-desktop {
    display: none;
}

.right-text-align {
    text-align: right;
}

.portal-text .sub-text {
    font-size: 13px !important;
}

.portal-text h4 {
    margin-bottom: 4px !important;
}


.true-neutral .badge {
    background-color: #bbb !important;
}

/*#region dashboard tables */
.dashboard-table-title {
    margin-bottom: 10px;
    color: #00a4db;
}

.dashboard-table-controls {
    margin-top: -5px;
    /*margin-left: -10px;
    margin-right: -10px;*/
    margin-bottom: -5px;
    overflow: auto;
    /*width: calc(100% - 290px) !important;
    margin: 0 auto;
    float: left*/
}

.panel-body.table-controls {
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
}


.dashboard-table {
    margin-bottom: 20px;
}

.no-stripe-no-border td.num-format,
.stripe-no-border td.num-format {
    text-align: right;
}




.panel-heading {
    background-color: #fff !important;
    color: #777 !important;
}

    .panel-heading h4 {
        margin-bottom: 0px !important;
    }

/*#endregion*/

.sensor-buttons {
    overflow: auto;
}



.panel-heading.with-buttons .button.left {
}

.panel-heading.with-buttons .button.right {
}

.center-text th {
    text-align: center !important;
}

td.center-text {
    text-align: center !important;
}


/*#region Mobile list styles */
/*  AUG SEPT OCT etc... */
.mobile-list-col-title h5 {
    text-align: center;
    font-size: 12px !important;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0px !important;
}


.mobile-list-col-value {
    text-align: center;
}

.mobile-list-title {
    /* border-bottom: 1px solid #ddd;*/
    margin-bottom: 0px;
    margin-top: 5px;
    overflow: auto;
}

.mobile-list-columns {
    padding-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}


.mobile-list-finalLabel {
    font-weight: bold;
    float: left;
}

.mobile-list-finalValue {
    float: right;
}

.mobile-cell {
    margin-bottom: 10px;
}

.mobile-list-title h4.hasSubtitle, .mobile-list-section h4.hasSubtitle {
    margin-bottom: 0px !important;
}

.mobile-list-subtitle {
    font-size: 12px;
    margin-bottom: 0px;
}



.list-group-item.striped:nth-of-type(2n + 1) {
    background-color: #FFFFFF;
}

.list-group-item.striped:nth-of-type(2n) {
    background-color: #f5f5f5;
}


.panel-default table th {
    /*font-weight: bold !important;*/
    text-transform: uppercase !important;
    font-size: 13px !important;
}

.mobile-list-total {
    overflow: auto;
    padding-bottom: 5px;
}

/* #endregion*/

table.full-wide {
    width: 100% !important;
}

.between {
    border-bottom: 1px solid #eee;
    margin-bottom: 26px;
    padding-bottom: 20px;
}



.from-to {
    overflow: auto;
    position: relative;
    min-height: 43px;
}


.comment-dates .pretty-date {
    padding: 10px !important;
}


/* #region pretty dates.*/
.pretty-date {
    position: absolute;
    padding: 0px !important;
}

    .pretty-date.to {
        right: 0;
        top: 0;
    }

    .pretty-date.from {
        left: 0;
        top: 0;
    }



.days-diff {
    text-align: center;
    overflow: visible;
    border-bottom: 1px solid #ddd;
    margin-left: 75px;
    margin-right: 75px;
    margin-top: 13px;
}

.days-diff-text {
    font-size: 12px;
    text-align: center;
}

.pretty-date .time {
    font-size: 18px;
    font-weight: 100;
    text-align: center;
}

.pretty-date .tiny-font {
    font-size: 10px;
}

.pretty-date .date {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    margin-top: -8px;
    text-transform: uppercase;
    margin-bottom: -5px;
}
/* #endregion */

.blank-table {
    width: 100%;
    margin-bottom: 10px;
}

    .blank-table td {
        padding-left: 0px !important;
        padding-right: 0px !important;
        padding-top: 0px;
        padding-bottom: 0px;
    }


    .blank-table tfoot td {
        margin-top: 10px;
        border-top: 1px solid #ddd;
        padding-top: 10px;
    }


.mobile-list-section.consents {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}


.full-line-centered {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ddd;
    line-height: 0em;
    margin: 10px 0 10px;
    font-size: 14px;
}

.spanning-days .full-line-centered {
    margin: 14px 70px 10px;
    width: auto !important;
    padding-left: 40px;
    padding-right: 40px;
}


.full-line-centered span {
    padding: 0 10px;
    text-transform: uppercase;
}

.from-to.single-day {
    min-height: 18px !important;
}

.from-to.spanning-days {
    min-height: 40px !important;
}

.panel ul.list-group li.list-group-item:first-of-type {
    border-top: none !important;
}




/* #region highcharts comments */

.highcharts-comment {
    padding: 5px;
    opacity: 0.85;
}

    .highcharts-comment .comment-time {
        font-size: 0.8em
    }

    .highcharts-comment .comment-message {
        max-width: 500px;
        white-space: normal;
        min-width: 300px;
    }

.highcharts-container:not(.no-chart-css)
.highcharts-label-box {
    /* this style actually changes the flags on the graph. */
    /*    fill: #fafafa !important;*/
    /* opacity: 0.3 !important;*/
    fill: #FFF !important;
    fill-opacity: 0.5 !important;
}


/* #endregion*/



/* #region hide things in iframe view*/
.isIframe .sensor-cards {
    display: none !important;
}

.isIframe .well-sm.tight-well {
    display: none !important;
}

.isIframe .tab-controls {
    display: none !important;
}

.isIframe .panel {
    border: none !important;
}

iframe {
    border-top: none !important;
    border-bottom: none !important;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

/* #endregion*/


fieldset#daterange .form-item {
    min-height: auto;
}

button[name="DaysRange"] {
    margin-bottom: 10px;
}





.contains-icon {
    position: relative;
}

    .contains-icon .text-has-icon {
        margin-right: 10px;
    }

    .contains-icon .icon-fixed-right {
        position: absolute;
        right: 0px;
        top: 5px;
    }


.consent-rule-heading {
    overflow: auto;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
}



label.is-required::after {
    content: "*";
    font-size: 18px;
    line-height: 13px;
    color: red;
    font-weight: bold;
    position: absolute;
    right: 22px;
    top: 7px;
}


.form-item.tiny-min-height {
    min-height: 0px !important;
    margin-bottom: 5px;
}

.form-item.no-min-height {
    min-height: 0px !important;
    margin-bottom: 0px;
}

.measure h4 {
    text-align: center;
    margin-bottom: 15px;
}

.measure {
    margin-left: -20px !important;
    margin-right: -20px !important;
    margin-bottom: 0px !important;
    padding: 20px;
    width: auto !important;
}

    .measure:first-of-type {
        /*Dont want to touch the padding on ui-widget as it will mess with most over things, so for the first measure, give it a negative margin top.*/
        margin-top: -20px !important;
    }

.progress {
    background-color: #e5e5e5 !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.3) !important;
    height: 30px !important;
    border-radius: 0px !important;
}

.progress-bar {
    line-height: 30px !important;
}
/* Stripe measure in the status page (for consents with more than one rule...) */
.measure:nth-of-type(2n) {
    background-color: #fafafa;
}

.measure:nth-of-type(2n + 1) {
    background-color: #fff;
}


.controls-section {
    margin-bottom: 10px;
}

/*
.highcharts-container:not(.no-chart-css) .highcharts-plot-band {
    fill: #00a4db !important;
    fill-opacity: 0.6 !important;
}*/

    .highcharts-plot-band.comparison-plot-band {
        fill: url(#comparison-plot-band) !important;
        fill-opacity: 0.7 !important;
    }


.warning-zone {
    fill-opacity: 1 !important;
}

    .warning-zone.orange-zone {
        /*fill: rgba(255, 80, 0,0.2) !important;*/
        fill: url(#pattern_8nU8) !important; /*HighchartBase has this definition.*/
    }


    .warning-zone.hashed {
        fill: url(#pattern_8nU8) !important;
    }

    .warning-zone.direction-up { /* Fade to nothing after x pixels. */
        /*mask: url(#maskDown) !important;*/
        /*/ fill: url(#grad-up-image) !important;*/
        fill: url(#pattern_8nU8) !important;
        mask: url(#maskUp) !important;
    }

    .warning-zone.direction-down { /* Fade to nothing after x pixels. */
        /*mask: url(#maskUp) !important;*/
        /* fill: url(#grad-down-image) !important;*/
        fill: url(#pattern_8nU8) !important;
        mask: url(#maskDown) !important;
    }





.soil-zone {
    fill-opacity: 1 !important;
}

    .soil-zone.blue-zone {
        fill: url(#tooWet) !important;
        /*fill: #99cce8 !important;*/
        /*fill: #eff9ff !important;*/
        /*fill: #ebf1ff !important;*/
        /*fill: #AACCFF !important;*/
    }

    .soil-zone.green-zone {
        fill: #b2dbb3 !important;
        /*fill: #f4ffef !important;*/
        /*fill: #eeffeb !important;*/
        /*fill: #CCFFCC !important;*/
    }

    .soil-zone.red-zone {
        /*fill: #ffebee !important;*/
        /*fill: #ffeff4 !important;*/
        /*fill: #fae598 !important;*/
        fill: url(#tooDry) !important;
    }

.soil-line {
    stroke: #777 !important;
    z-index: 2 !important;
    stroke-width: 2px !important;
}


.soil-zone-name {
    z-index: 500;
    fill: #FFF;
}

    .soil-zone-name.wet {
        fill: #006db0;
    }

    .soil-zone-name.dry {
        fill: #ab0036;
    }

    .soil-zone-name.warning {
        fill: #e0a35c;
    }



.highcharts-tooltip .user-limit {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-left: 2px;
    padding-right: 2px;
}


.highcharts-tooltip .consent-limit {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-left: 2px;
    padding-right: 2px;
    padding-left: 2px;
}

.consent-restriction-tooltip {
    background-color: #ffb9b5;
    border-radius: 2px;
    margin-left: 2px;
    padding-right: 2px;
}



hr.thin-hr {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}


.highcharts-tooltip-box {
    /* Untested:  */
    opacity: 0.6 !important;
    backdrop-filter: blur(4px);
}

.chart-wrapper h5 {
    padding-top: 15px !important;
    padding-bottom: 5px !important;
    text-align: center;
}

.panel-title {
    color: #333 !important;
}

li.list-group-item .highcharts-background {
    fill: none !important;
}


.list-group-item.chart-wrapper:nth-of-type(2n + 1) {
    background-color: #fff !important;
}

.list-group-item.chart-wrapper:nth-of-type(2n) {
    background-color: #fafafa;
}

.selected-subtext {
    font-size: 11px;
    color: #e7ecd8;
}

    .selected-subtext.float-right {
        margin-left: 40px;
    }

.button-split-left {
    width: 20px;
    float: left;
    padding-top: 1px;
}

.button-split-right {
    margin-left: 20px;
}

.user-image {
    /* Hide the placeholder user-image until there is some controls implemented around it. */
    display: none;
}

.searchbar-wapper.hasSelection {
    padding-top: 7px;
}

fieldset#export input[type='text'] {
    width: 100% !important;
}


.export-left {
    /*display: table-cell;*/
    max-width: 330px;
    float: left;
    width: auto;
}

.export-right {
    float: right;
    min-width: 110px;
}

.exports {
    padding-top: 1px;
}

    .exports input {
        height: 42px !important;
    }


.no-bg {
    background-color: rgba(0,0,0,0) !important;
    border: none !important;
}

.full-iframe {
    position: relative;
    height: auto;
    overflow: auto;
}

    .full-iframe iframe {
        width: 100%;
        height: auto;
    }

ul.nav-pills.sensor-tabs li {
    margin-bottom: 15px;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.collapse[aria-expanded="false"] {
    display: none !important;
}



button.dt-button:hover:not(.disabled), div.dt-button:hover:not(.disabled), a.dt-button:hover:not(.disabled) {
    /*border: 1px solid #666;*/
    text-decoration: none;
}


.ui-dialog .ui-dialog-title {
    /*color: #123877;*/
    color: #FFF;
    float: left;
    /* margin: .1em 16px .1em 0; */
    font-size: 22px;
    font-weight: 300;
}

.btn-primary {
    color: white !important;
    background-color: #00a4db;
}

.btn.input-height {
    height: 30px;
}

    .btn.input-height a {
        padding: 4px 12px;
    }




/* #region Exceptions to make jquery ui dialogs handle mobiles properly. */
.smart-rule-line {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.heading-card-text {
    margin-right: 20px;
}

.heading-close-card {
    width: 15px;
    position: absolute;
    right: 0px;
    top: 0px;
}

.heading-for-card {
    overflow: hidden;
    position: relative;
}

.SmartMeaureList .card {
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

    .SmartMeaureList .card .form-item {
        margin-bottom: 0px !important;
    }

.smart-rule-items {
    margin-bottom: 15px;
}

.tight-form .form-item {
    margin-bottom: 15px !important;
}

.tight-form .form-section {
    margin-bottom: 15px !important;
}

.tight-form h4 {
    margin-top: 0px !important;
}

.tight-form {
    margin-top: 15px;
}


/* #endregion */


.table-top .export-buttons-left {
    float: left;
    margin-left: 10px;
    margin-top: 3px;
}


.dataTables_filter label {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    padding-left: 3px;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
}

    .dataTables_filter label input {
        border-left: 1px solid #ccc;
        border-top: none !important;
        border-right: none !important;
        border-bottom: none !important;
    }

input[type="text"], input[type="password"], input[type="search"], input[type="number"], select {
    padding-left: 7px;
}



h4.dashboard-table-title {
    color: white !important;
    text-align: center;
}


select[disabled], input[disabled] {
    /*Slightly blue grey to suit the theme more than the slightly yellow. default that chrome uses.*/
    background-color: rgb(228, 228, 235);
    border: 1px solid #ccc;
}


.button.true-neutral.disabled {
    background-color: rgb(198, 198, 202) !important;
}

.button.neutral.disabled {
    background-color: rgb(198, 198, 202) !important;
    border-color: #aaa !important;
    color: #333 !important;
}



.small-font {
    font-size: 12px !important;
}

    .small-font .input-group-addon {
        font-size: 12px !important;
    }

.light-addons .input-group-addon {
    background-color: #fafafa;
}

.input-group-addon.no-border-left {
    border-left: none;
}

.input-group-addon.no-border-right {
    border-right: none;
}

/* #region smartRules */
.input-group.double-height {
    height: 20px;
}

    .input-group.double-height .input-group-addon {
        white-space: normal;
        height: 20px;
        min-width: 80px;
    }

    .input-group.double-height .measure-name {
        white-space: nowrap;
    }

    .input-group.double-height select, .input-group.double-height input {
        height: 20px;
    }



.form-item.inline {
    display: inline-block !important;
    margin-bottom: 0px !important;
    vertical-align: middle !important;
}

    .form-item.inline.medium-width {
        max-width: 120px;
    }

    .form-item.inline.small-width {
        max-width: 80px;
    }

.smart-rule {
    padding-bottom: 9px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    font-size: 12px !important;
    position: relative;
    padding-left: 5px;
}


.heading-close-card {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 15px;
    top: 5px;
}

.smart-rule-remove {
    padding: 4px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -1px;
    right: 5px;
}

.form-table {
    margin-bottom: 10px;
}


.hidden-toggler .glyphicon {
    display: none;
}


.hidden-toggler.show-tick .glyphicon.glyphicon-ok {
    display: block !important;
}

.hidden-toggler.show-cross .glyphicon.glyphicon-remove {
    display: block !important;
}


.fake-text-input {
    width: 100%;
    height: 30px;
    padding-top: 4px;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 4px;
    border: 1px solid #ccc;
}

    .fake-text-input.disabled {
        background-color: rgb(228, 228, 235);
    }


/* #endregion*/
.padded-bottom-form-sections .form-section {
    padding-bottom: 7px;
}

.display-only-lg {
    display: none;
}


.display-only-xl {
    display: none;
}


@media (min-width: 1200px) {
    .display-only-lg {
        display: block !important;
    }
}


@media (min-width: 1600px) {
    .display-only-xl {
        display: block !important;
    }
}

/* like an orange. */
.not-bold {
    font-weight: normal !important;
}


.form-equation {
    font-size: 31px;
}


table.inner-borders {
    border-collapse: collapse;
    border-style: hidden;
}

    table.inner-borders td {
        border: 1px solid #ddd !important;
    }


    table.inner-borders tr.main-heading th {
        border: 1px solid #80bae9 !important;
    }

    table.inner-borders tr.sub-heading th {
        border: 1px solid #abceeb !important;
    }

tr.main-heading th {
    /*background-color: #90caf9 !important;*/
    background-color: #90caf9 !important;
    font-weight: bold !important;
    font-size: 15px !important;
    color: #555;
    padding: 15px;
}

.panel-default table tr.sub-heading th {
    text-transform: none !important;
    color: #666;
    background-color: #bbdefb !important;
}


.form-display.negative {
    color: #C00;
}

.text-large {
    font-size: 16px;
}

.text-centre {
    text-align: center !important;
}

/* #region printer styles */

@media print {
    /* Printer only touch ups and fixes. */
    table.hide-for-mobile {
        display: table !important;
    }

    table.hide-for-desktop {
        display: table !important;
    }

    table tr {
        border-bottom: 1px solid #e8eef4 !important;
        border-left: 1px solid #e8eef4 !important;
        border-right: 1px solid #e8eef4 !important;
    }

    td .dateSortHide {
        display: none;
    }
}
/* #endregion */

@media screen {
    body {
        background-color: #f3f3f5 !important;
        background-image: url("/images/nice-snow.png") !important;
        /*background-image: url("/Content/images/dust.png") !important;*/
    }
}

.hide-me {
    display: none !important;
}

.display-me {
    display: table-cell !important;
}


/* #region Grey background fixes.. */
.page-content.sensors-layout-content {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

.sensor-cards, .spotpricing-cards, .site-cards {
    padding-top: 20px;
    background-color: #FFF;
}

.card.white {
    background-color: #fff;
}

/* #endregion */


.phone-width-container .validation.pad-fix {
    margin-left: 5px;
}


.pdf-body .panel .panel-heading h4 {
    color: #000 !important;
}

body.pdf-body {
    background-color: #FFF;
}

    body.pdf-body .panel-default {
        border-color: #777 !important;
        border: 2px solid #777;
    }


    body.pdf-body .panel-heading {
        border-color: #aaa !important;
    }

        body.pdf-body .panel-heading h4 {
            margin-bottom: 5px !important;
        }


.body.pdf-body table {
    overflow: visible !important;
}




/*
.highcharts-container {
    position: inherit !important;
}

.highcharts-tooltip {
    z-index: 9998;
  
}

    .highcharts-tooltip > span {
        background-color: rgba(255,255,255,0.5) !important;
        margin-left: 10px !important;
        margin-top: 10px !important;
        padding: 0px 10px !important;
    }*/


.lb-sm {
    font-size: 10px !important;
}

.lb-md {
    font-size: 12px !important;
}


.lb-lg {
    font-size: 16px !important;
}

.centered-text {
    text-align: center;
}

.portal-message-disabled {
    /*opacity:0.6;*/
}


.button.tiny.mini {
    font-size: 11px;
    border-radius: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 6px;
}

.hide-grid-lines .highcharts-grid-line {
    stroke: #e6e6e600;
}


.default-bullets {
    padding-left: 19px;
    list-style-image: unset !important;
    list-style-type: unset !important;
}

@media (max-width:991px) {
    .card-footer.collapse-mobile {
        float: right;
        width: 65%;
        margin-top: 0px !important;
        margin-left: 0px !important;
        margin-bottom: 0px !important;
        margin-right: -7px !important;
        padding: 0px !important;
        background-color: #ffffff !important;
        border-top: none !important;
    }

    .choice-card {
        position: relative;
        min-height: 260px;
        overflow: hidden;
    }

    .active .card-footer.collapse-mobile {
        background-color: #abca60 !important;
    }

    .mobile-choice-image-wrapper {
        background-color: #eeeeee;
        border-right: 1px solid #dddddd;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        width: 35%
    }


    .active .mobile-choice-image-wrapper {
        background-color: #96b253 !important;
        border-right: 1px solid #839850;
        color: white !important;
        opacity: 1;
    }



    .mobile-choice-image {
        object-fit: contain;
        width: 100%;
        height: 100%;
        padding: 10px !important;
    }
}

.globalBanner {
    padding: 10px;
    border-bottom: 1px solid #777777;
    color: #FFFFFF;
    background-color: #00a4db;
    text-align: center
}


#smartbanner.android {
    border-color: #88B131 !important;
    background: #333333 !important;
    border-bottom: 5px solid #88B131 !important;
    border-top: none !important;
}

.button.neutral:hover, .button.positive:hover, .button.negative:hover {
    /* Add a sublte flicker when a user mouses over a button that has positive/neutral/negative conotations. */
    opacity: 0.925;
}

/* Smart button - shows a link to the android app to android users. todo apple version. */
#smartbanner.android .sb-button {
    background: #00a4db !important;
    color: #FFFFFF !important;
    border: 1px solid #00a4db !important;
    top: 16px !important;
    min-height: 40px !important;
    padding-top: 8px !important;
}

    #smartbanner.android .sb-button span {
        background: #00a4db !important;
        color: #FFFFFF !important;
    }

.dataTables_wrapper.breakable th {
    word-break: break-all;
}

table.breakable th {
    word-break: break-all;
}



.split-input.right-bias input:first-of-type {
    width: 35% !important;
}

.split-input.right-bias input:last-of-type {
    border-left: none !important;
    width: 65% !important;
}

/* #region MaintainAspectRatioIframes */

/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/7) and (max-aspect-ratio: 16/6) {
    .show-16-7 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 38.25% !important;
    }
}

/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/8) and (max-aspect-ratio: 16/7) {
    .show-16-8 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 46.25% !important;
    }
}
/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/9) and (max-aspect-ratio: 16/8) {
    .show-16-9 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 45.5% !important;
    }
}

/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/10) and (max-aspect-ratio: 16/9) {
    .show-16-10 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 47.5% !important;
    }
}

/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/11) and (max-aspect-ratio: 16/10) {

    .show-16-11 {
        display: block !important;
    }


    .maintain-aspect-ratio {
        padding-bottom: 53% !important;
    }
}

/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/12) and (max-aspect-ratio: 16/11) {

    .show-16-12 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 59% !important;
    }
}


/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/13) and (max-aspect-ratio: 16/12) {

    .show-16-13 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 65% !important;
    }
}


/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/14) and (max-aspect-ratio: 16/13) {
    .show-16-14 {
        display: block !important;
    }


    .maintain-aspect-ratio {
        padding-bottom: 73% !important;
    }
}


/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/15) and (max-aspect-ratio: 16/14) {
    .show-16-15 {
        display: block !important;
    }


    .maintain-aspect-ratio {
        padding-bottom: 76.5% !important;
    }
}
/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/16) and (max-aspect-ratio: 16/15) {
    .show-16-16 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 78% !important;
    }
}
/* Minimum aspect ratio */
@media (min-aspect-ratio: 16/18) and (max-aspect-ratio: 16/16) {
    .show-16-18 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 82% !important;
    }
}

@media (min-aspect-ratio: 16/24) and (max-aspect-ratio: 16/18) {
    .show-16-24 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 90% !important;
    }
}

@media (min-aspect-ratio: 16/32) and (max-aspect-ratio: 16/24) {
    .show-16-32 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 120% !important;
    }
}

@media (max-aspect-ratio: 16/32) {
    .show-16-48 {
        display: block !important;
    }

    .maintain-aspect-ratio {
        padding-bottom: 145% !important;
    }
}


.page-content.no-pad {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0px !important;
}

.ratio-check {
    display: none;
}

/* #endregion */




.chart-graph-data {
    stroke-dasharray: none !important;
}

.chart-graph-data-gap {
    /*stroke-dasharray: 5,4 !important;*/
    /*stroke-dasharray: 2,3 !important;*/
    stroke-dasharray: 3,9 !important;
    /* stroke-opacity: 0.4; */
    /* stroke-width: 1.1px !important; */
    /* stroke: #F33 !important; */
}


.legend-wrapper {
    overflow: auto;
    margin-bottom: 10px;
}


.panel-default {
    border-color: #c0c0c0 !important;
}

    .panel-default > .panel-heading {
        border-color: #c0c0c0 !important;
    }

    .panel-default > .panel-footer {
        border-color: #c0c0c0 !important;
    }

.well {
    border-color: #c0c0c0 !important;
}

@media (max-width:540px) {
    .input-group-addon.wrappable {
        width: 100%;
        display: inline-table;
        border-top-right-radius: 0;
        border-left: 1px solid #ccc !important;
        border-top: none;
        border-bottom-left-radius: 4px;
        white-space: normal !important;
    }

        .input-group-addon.wrappable label {
            padding-right: 5px;
            white-space: normal !important;
            display: inline;
        }

            .input-group-addon.wrappable label small {
                white-space: normal !important;
            }
}



.dataTable {
    -webkit-overflow-scrolling: auto;
}


.datatables-export-only {
    display: none;
    /*background-color:#FFaaaa !important;*/
}

.datatables-display-only {
    /*background-color: #aaFFaa !important;*/
}


/*@* Fixes a bug with scrolling on the SchemeData page. *@*/
.inner-content {
    overflow-x: hidden !important;
}



#cards-search {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}


/*fixes ios 'bouncing' */

body:not(.excludefullscreen)
/*html*/ {
    position: absolute !important; /*was previously fixed caused scrolling issues on non-logged in pages.*/
    width: 100% !important;
    height: 100% !important;
}


@media only screen and (max-width: 800px) {
    .site-cards, .sensor-cards {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 0px !important;
        padding-top: 20px !important;
    }

    .sensor-cards {
        margin-left: 0px;
        margin-right: 0px;
    }


    .stripeMe tr.odd + tr.child {
        background-color: #f7f7f7 !important;
    }

    .stripeMe tr.even + tr.child {
        background-color: #FFF !important;
    }
    /*save us a bit of screen width!*/
    .page-content, .content-pad {
        padding: 0px !important;
        overflow-x: hidden;
    }

    .panel-body {
        padding: 10px;
    }

    .panel-heading {
        padding: 10px;
    }

    .page-heading > h3, .page-heading > .small-font.faint {
        padding-left: 5px !important;
    }

    .page-heading > .small-font.faint {
        line-height: 15px;
    }

    .well {
        padding: 10px;
    }

    .panel {
        border-radius: 0px;
    }

    table td, table th {
        padding: 2px !important;
    }

    .panel-default table th {
        font-size: 10px !important;
    }

    table {
        font-size: 0.8em;
    }

    .dataTables_wrapper {
        overflow-x: hidden;
    }

    .inner-content {
        overflow-y: hidden !important;
    }

    .DataTables_sort_wrapper {
        margin-right: 0px !important;
    }

    .DataTables_sort_icon {
        display: none !important;
    }

    .page-heading {
        padding: 10px;
    }

    td h5 {
        font-size: 12px !important;
    }

    .site-cards, .sensor-cards {
        overflow-x: hidden;
    }

        .sensor-cards > .container-fluid > .row,
        .site-cards > .container-fluid > .row,
        .page-heading > form > .container-fluid > .row {
            margin-left: -10px !important;
            margin-right: -10px !important;
        }

    .splitter {
        overflow-x: hidden;
    }

    #orderhistorytable > .form-controls {
        margin-top: 0px !important;
        padding: 10px;
    }



    #SchemeSelector {
        border-bottom-left-radius: 0px !important;
        border-top-left-radius: 0px !important;
    }


    .timeNumbers {
        width: 160px;
    }

    .lag-times .timeNumbers .input-group-addon {
        display: block;
        width: 100%;
    }

    .lag-times .timeNumbers .timeNumber {
        display: block;
        width: 100%;
        min-width: 4em !important;
    }

    .lag-times .timeNumbers .input-group {
        width: 100%;
    }


    .timeSlider, .timeNumbers {
        width: 100% !important;
        margin: 0px !important;
        padding: 2px !important;
    }

        .timeNumbers .input-group-addon {
            padding: 2px !important;
            font-size: 10px;
        }

        .timeNumbers input {
            padding-left: 2px;
            padding-right: 2px;
        }

    .lag-times .saveRow {
        margin-right: 0px !important;
    }


    .mobile-left-padding {
        padding-left: 10px;
        padding-right: 10px;
    }

    #sofdfz-submit .positive {
        margin-top: 0px !important;
    }
}




ul.dtr-details {
    list-style-image: none;
}

.dtr-details > li {
    margin-bottom: 10px;
}

.dtr-title {
    display: block;
    width: 100%;
    font-weight: bold;
    overflow: auto;
    line-height: 14px;
}

.dtr-data {
    line-height: 14px;
    display: block;
    width: 100%;
    clear: both;
}

.acktimes .hasDatepicker {
    min-width: 8em !important;
    width: 100%;
}

.acktimes textarea {
    min-width: 10em !important;
    width: 100%;
}


table {
    will-change: transform;
}


.fake-row {
    display: table-row !important;
}

.fake-cell {
    display: table-cell !important;
}

.fake-table {
    display: table !important;
}

    .fake-table.fixed-widths {
        table-layout: fixed;
    }


        .fake-table.fixed-widths .fake-cell {
            width: 8.3%;
        }

    .fake-table.full-wide {
        width: 100% !important;
    }

    .fake-table.fixed-widths .fake-cell.month-cell:first-child {
        border-left: none;
    }

    .fake-table.fixed-widths .fake-cell.month-cell {
        border-left: 1px solid #e2e2e2;
        text-align: center;
    }

.month-pretty {
    line-height: 14px;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: bold;
}

.pretty-cell {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.year-pretty {
    opacity: 0.7;
}

.title-pretty {
    font-size: 14px;
    padding-top: 10px !important;
    font-style: italic;
}
/*
.stripe-no-border tr:nth-of-type(2n + 1) ~ tr.child{
    background-color: #f7f7f7;
}*/
#consentSummariesResult .dataTables_wrapper tr.even + tr.child table tr,
#consentSummariesResult .dataTables_wrapper tr.even + tr.child,
#DashboardSummaryTablesResult .dataTables_wrapper tr.even + tr.child {
    background-color: #fFF !important;
}

.total-pretty {
    font-size: 14px;
    text-align: right;
    font-weight: bold;
}

.total-row {
    font-size: 14px;
    width: 100% !important;
    text-align: right;
}

#consentSummariesResult .dataTables_wrapper tr.odd + tr.child,
#DashboardSummaryTablesResult .dataTables_wrapper tr.odd + tr.child {
    background-color: #f7f7f7 !important;
}

#DashboardSummaryTablesResult tr.child {
    border-bottom: 1px solid #eee;
}

table.no-background tr {
    background-color: #00000000 !important;
}


.label-group {
    border: 1px solid #aaa;
}

    .label-group .label:first-of-type {
        border-bottom-right-radius: 0px !important;
        border-top-right-radius: 0px !important;
    }

    .label-group .label:last-of-type {
        border-bottom-left-radius: 0px !important;
        border-top-left-radius: 0px !important;
    }



circle.highcharts-legend-nav-inactive {
    fill: rgba(1,1,1,0) !important;
}

circle.highcharts-legend-nav-active {
    fill: rgba(1,1,1,0) !important;
}




.glyphicon-svg svg {
    fill: #444;
}

.legendColor {
    padding-top: 3px;
    padding-bottom: 3px;
}

.legendItem {
    margin-right: 10px;
    margin-bottom: 6px;
    float: left;
    font-size: 11px;
    border: 1px solid #AFA;
    border-radius: 2px;
}

.legendLabel {
    border-right: 1px solid #FFF;
    color: #FFF;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none !important;
    display: inline-block;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    cursor: pointer;
    border-left: none !important;
}

    .legendLabel:hover {
        opacity: 0.8;
    }

.legendLink:hover {
    text-decoration: none;
    opacity: 0.8;
}

.legendLink.audit-success {
    background-color: springgreen !important;
}

.legendLink.audit-failed {
    background-color: tomato !important;
}

.legendLink.audit-other {
    background-color: inherit;
}

.site-button.audit-success {
    /*background-color: inherit;*/
}

.site-button.audit-failed {
    background-color: tomato !important;
}

.site-button.audit-other {
    background-color: #da9900 !important;
}

.dh-heading-th.audit-success {
    /*background-color: inherit;*/
}

.dh-heading-th.audit-failed {
    background-color: tomato !important;
    padding: 2px;
}

.dh-heading-th.audit-other {
    background-color: #ffb300 !important;
    padding: 2px;
}

.audit-other .selected-subtext {
    color: #ffeec8;
}

.tt-suggestion h3, .tt-empty-message h3 {
    font-size: 11px;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}



.true-neutral .legendLink {
}

.neutral .legendLink {
    color: #FFF !important;
}

a.legendLink {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    border-left: none !important;
    border-top: 1px solid #DDD;
    border-right: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    background-color: #FAFAFA !important;
    color: #444 !important;
    box-sizing: border-box;
    /*border-radius: 0px !important;
    border:;*/
}

@media (max-width: 991px) {
    .portal-grid .card {
        min-height: inherit !important;
        overflow: hidden;
    }
}



.paddedAndRuled {
    display: block;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    overflow: auto;
}

    .paddedAndRuled:last-of-type {
        margin-bottom: 0px;
        border-bottom: none !important;
    }
