/* Resets */

html
{
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
}

body
{
    padding-top: 0;
    background-color: #178C08;
    min-height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    /*overflow: auto;*/
}

/* Buttons and widgets */

.btn-primary
{
    color: #fff;
    background-color: #51915E;
    border-color: #51915E;
}

    .btn-primary:hover
    {
        color: #fff;
        background-color: #3E7048;
        border-color: #3E7048;
    }

    .btn-primary.focus, .btn-primary:focus
    {
        color: #fff;
        background-color: #51915E;
        border-color: #51915E;
        box-shadow: 0 0 0 .2rem rgba(62,112,72,53) /* #3E704888; */
    }

    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle
    {
        color: #fff;
        background-color: #3E7048;
        border-color: #3E7048;
    }

        .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus
        {
            box-shadow: 0 0 0 .2rem rgba(62,112,72,53);
        }

table.dataTable tbody > tr.selected
{
    background-color: #51915E;
}

.page-item.active .page-link
{
    z-index: 3;
    color: white;
    background-color: #3E7048;
    border-color: #3E7048;
}

.page-link
{
    color: #3E7048;
    background-color: white;
    border: 1px solid #3E7048;
}

    .page-link:hover
    {
        color: #3E7048;
    }

.form-group.row
{
    -ms-flex-align: center !important;
    align-items: center !important;
}

.form-control:focus
{
    border-color: #3E7048;
    box-shadow: 0 0 0 .2rem rgba(62,112,72,53);
}

.page-link:focus
{
    z-index: 3;
    outline: 0;
    /*box-shadow: 0 0 0 .2rem rgba(62,112,72,53);*/
    box-shadow: none;
}

.hidden
{
    display: none !important;
}

/* Top navbar */

#topnavbar
{
    background: url("/Content/images/nav-blur.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 20px 0 20px;
}

.navbar #accountMenu .dropdown-menu[data-bs-popper]
{
    left: -40px;
}

.navbar
{
    background-color: rgba(0,0,0,0) !important;
    height: 100px;
}

.navbar-expand
{
    justify-content: space-between;
}

.navbar-light .navbar-brand
{
    color: white;
}

    .navbar-light .navbar-brand:hover
    {
        color: #ddd;
    }

#navbarDropdown, #navbarDropdownMenu
{
    color: white;
}

    #navbarDropdown i, #navbarDropdownMenu i
    {
        font-size: 30px;
    }


/* Full-width container and main pane */

#maincontainer
{
    background-color: white;
    flex-grow: 1;
}



main
{
    background-color: white;
    padding: 0px 0px 20px 0px !important;
    width: calc(100% - 80px) !important;
    min-height: calc(100vh - 130px);
}

    main.p-0
    {
        padding: 0px 0px 20px 0px !important;
    }

    main.accountController
    {
        width: 100% !important;
    }

/* Not-logged-in screens */

.notLoggenIn
{
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
}

    /*        .notLoggenIn
        {
            margin-left: 80px;
            padding-top: 40px;
        }
*/
    .notLoggenIn .card
    {
        max-width: 40rem;
        width: 40rem;
        margin-left: 10px;
        margin-right: 10px;
    }

.privayPolicy
{
    padding-top: 20px;
    font-size: 14px;
}

#PrivacyPolicy.form-control
{
    display: inline-block;
    width: auto;
    margin-right: 15px;
}

#PrivacyPolicySpan
{
    display: inline-block;
}

/* Left-side main menu */

#menuMobile .mainMenu
{
    border: 2px solid #3E7048;
}

.mainMenu
{
    background-color: #3E7048;
    flex: 0 0 80px;
}

    .mainMenu .nav
    {
        min-width: 80px;
    }

    .mainMenu a
    {
        font-size: 12px;
        color: white;
        text-decoration: none;
    }

    .mainMenu .nav-item
    {
        height: 80px;
        width: 80px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .mainMenu .nav-item .fa
        {
            font-size: 38px;
            padding-bottom: 4px;
        }

        .mainMenu .nav-item:hover
        {
            background-color: #51915E;
        }

        .mainMenu .nav-item.active
        {
            background-color: white;
            color: #3E7048;
        }


/* Account settings */

#accountContainer
{
    min-width: 0;
    max-width: 1200px;
    width: 100%;
    padding: 0;
}

    #accountContainer .card
    {
        max-width: 40rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #accountContainer h4
    {
        padding-bottom: 20px;
        padding-top: 15px;
        padding-left: 15px;
    }

#accountStatus div
{
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Dashboard */

#mainFrame
{
    min-width: 0;
    max-width: 1200px;
    width: 100%;
    padding: 0;
}

    #mainFrame .col, #mainFrame .col-lg-4, #mainFrame .col-lg-8, #mainFrame .col-lg-12, .headerLeft, .headerRight
    {
        padding-left: 5px;
        padding-right: 5px;
    }

    #mainFrame .row
    {
        /*padding-bottom: 10px;*/
    }

    #mainFrame .card
    {
        margin-bottom: 10px;
    }

.dashEdge button
{
    font-size: 40px;
    padding-top: 15px;
}

#mainFrame #headerRow
{
    margin-top: 20px;
}

    #mainFrame #headerRow .card
    {
        margin-bottom: 0;
    }


#mainFrame #firstRow
{
    margin-top: 10px;
}

    #mainFrame #firstRow .card .card-header, #mainFrame #deviceSummary .card .card-header
    {
        font-size: 1rem;
    }

#headerRow .headerRight
{
}

#dashboardSummary div
{
    /*padding-bottom: 15px;*/
}

#dashboardSummaryHeader
{
    overflow: auto;
    padding-bottom: 15px;
}

.dashboardSelect
{
    padding-top: 2px;
    padding-bottom: 4px;
}

.ts
{
    font-size: 14px;
}

.card-header .cardHeaderRight
{
    float: right;
}

.card-header .fa
{
    transition: .3s transform ease-in-out;
}

.card-header .collapsed .fa
{
    transform: rotate(90deg);
}

.card-header a
{
    color: black;
    position: relative;
    float: right;
    top: 5px;
}

.dashboardSummaryText
{
}

.dashboardSummaryDynamic
{
    display: flex;
    justify-content: center;
    width: 100%;
}


#dashboardSummaryResults, #dashboardSummaryErrors
{
    display: none;
    padding: 8px;
    margin: 8px;
    border: solid 1px lightgrey;
    border-radius: 4px;
    vertical-align: top;
}

    #dashboardSummaryResults a, #dashboardSummaryErrors a
    {
        text-decoration: none;
    }

#dashboardSummaryResults
{
    background-color: rgba(0,0,0,.03);
}

#dashboardSummaryErrors
{
    background-color: rgba(255,0,0,.1);
}

.dashboardSummaryResult
{
    /*    padding-top: 2px;
    padding-bottom: 2px;
*/
}

    .dashboardSummaryResult span, #result span svg
    {
        vertical-align: central;
    }

.mcerror
{
    color: red;
}

.dataAdminFilter select
{
    max-width: 200px;
}

.dashEdge .btn-primary
{
    color: #51915E;
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
}

    .dashEdge .btn-primary:hover
    {
        color: #3E7048;
    }

    .dashEdge .btn-primary.focus, .dashEdge .btn-primary:focus
    {
        color: #51915E;
        border-color: rgba(0, 0, 0, 0);
        box-shadow: none;
        outline-style: none;
    }

    .dashEdge .btn-primary:not(:disabled):not(.disabled).active, .dashEdge .btn-primary:not(:disabled):not(.disabled):active, .show > .dashEdge .btn-primary.dropdown-toggle
    {
        color: #3E7048;
        background-color: rgba(0, 0, 0, 0);
        border-color: rgba(0, 0, 0, 0);
        box-shadow: none;
    }

        .dashEdge .btn-primary:not(:disabled):not(.disabled).active:focus, .dashEdge .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .dashEdge .btn-primary.dropdown-toggle:focus
        {
            color: #3E7048;
            background-color: rgba(0, 0, 0, 0);
            border-color: rgba(0, 0, 0, 0);
            box-shadow: none;
        }


#calendar > div
{
    margin: 0 auto;
}

#calendar .dataHighlight
{
    background-color: #0bc4c4;
}

    #calendar .dataHighlight.active
    {
        background-color: #286090;
    }


#calendar
{
    /*min-width: 230px;*/
}

    #calendar .testHighlight
    {
        background-color: #FFA500;
        color: black;
    }

        #calendar .testHighlight.active
        {
            background-color: #286090;
        }

.calCell
{
    position: relative;
    width: 32px;
    height: 32px;
    z-index: 800;
}

.calCellInner.dayNumber
{
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: #00000022 !important;
    z-index: 900;
    line-height: 32px;
}

/*.calCellInner.highlightOnline {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: #0bc4c4;
    z-index: 800;
    border-radius: 8px;
}*/

.active .calCellInner.highlightOnline
{
    /*background-color: #00000000;*/
}

.calCellInner.highlightErrors
{
    position: absolute;
    left: 21px;
    top: 2px;
    width: 8px;
    height: 32px;
    z-index: 1200;
    font-size: 20px;
    font-family: Courier New, Courier, monospace;
    font-weight: bold;
    color: darkred;
}

    .calCellInner.highlightErrors::after
    {
        content: '!';
    }

.active .calCellInner.highlightErrors
{
    /*background-color: #00000000;*/
}

.calCellInner.highlightTestNegative
{
    position: absolute;
    left: 0;
    top: 0px;
    width: 32px;
    height: 8px;
    background-color: green;
    z-index: 1200;
    border-radius: 3px;
}

.active .calCellInner.highlightTestNegative
{
    /*background-color: #00000000;*/
}

.calCellInner.highlightTestPositive
{
    position: absolute;
    left: 0px;
    top: 24px;
    width: 32px;
    height: 8px;
    background-color: #FF0026;
    z-index: 1200;
    border-radius: 3px;
}

.active .calCellInner.highlightTestPositive
{
    /*background-color: #00000000;*/
}

#calendar .highlight
{
    color: white;
    background-color: green;
}

#calendar table
{
    border-collapse: separate;
    border-spacing: 3px;
}

#calendar .datepicker table tr td.day, #calendar .datepicker table tr th
{
    text-align: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 0;
    margin: 4px;
    padding: 0;
}

#calendar .datepicker table tr td.today
{
    border: 2px solid black;
}

#calendar .datepicker table tr td
{
    border: 2px solid #ddd;
}






#currentDate
{
    display: none;
}

#badges
{
    text-align: center;
    font-size: 80%;
}

    #badges .badge
    {
        font-size: 15px;
        width: 20px;
    }

    #badges .badge-negative
    {
        background-color: green;
    }

    #badges .badge-positive
    {
        background-color: #FF0026;
    }

    #badges .badge-error
    {
        background-color: darkred;
        font-weight: bold;
        padding-left: 0;
        padding-right: 0;
    }


#map
{
    height: 300px;
    width: 100%;
    border: solid 2px lightgrey;
    border-radius: 6px;
}



#legend
{
    background-color: #fff9;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 4px;
    margin: 8px;
    display: none;
    border: solid 2px lightgrey;
    border-radius: 4px;
}

    #legend div
    {
        vertical-align: top;
        padding-top: 4px;
    }


/* Device data */

#charts h3
{
    font-size: 1rem;
    padding-top: 5px;
    padding-bottom: 5px;
}

.lfdDiv
{
    padding-top: 8px;
    padding-bottom: 6px;
    background-color: rgba(0,0,0,.03);
    border-bottom: 2px solid white;
}

.binaryResultDetails
{
    display: inline-block;
    font-weight: 700;
}

.nowrap
{
    white-space: nowrap;
}

/* Admin main menu option - top nav partial*/
main .nav
{
    background-color: #ddd;
}

main a.nav-link
{
    color: #3E7048;
}

    main a.nav-link:hover
    {
        color: #3E7048;
        background-color: #8db595;
    }

.nav-pills .nav-link.active
{
    background-color: #3E7048;
}


/* Admin main menu option - shared*/

.adminTableWrap
{
    min-width: 0;
    /*max-width: 1200px;*/
    /*width: 100%;*/
    padding: 0;
}

    .adminTableWrap .col-sm-12
    {
        min-width: 0;
    }

    .adminTableWrap button
    {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .adminTableWrap table
    {
        border: 1px solid #dee2e6;
    }

    .adminTableWrap .form-select
    {
        display: inline-block;
    }

#adminTable_wrapper
{
    padding-top: 16px;
}

#adminTable
{
    min-width: 0;
    margin-right: 10px;
    border-top: 1px solid rgb(222, 226, 230);
    border-bottom: 1px solid rgb(222, 226, 230);
}

tr.selected span.text-danger
{
    color: pink !important;
}

div.dataTables_wrapper div.dataTables_filter input
{
    margin-right: 4px;
}

div.dataTables_wrapper div.dataTables_paginate
{
    padding-right: 4px;
    padding-bottom: 2px;
}

/* Admin main menu option - Devices */

/* Admin main menu option - Organisations */


/* Admin main menu option - Users */

#usertablestatusselect
{
    margin-right: 16px;
}

#organisationDualSelect button, #userDualSelect button
{
    font-size: 30px;
    color: #51915E;
    padding: 4px;
}

    #organisationDualSelect button:hover
    {
        color: #3E7048;
    }

.contentBox
{
    box-sizing: content-box;
}

#organisationField, #userField
{
    display: none;
}


#dataTable td div, #dataTable td, #dataTable tbody tr
{
    height: 100px;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#dataTable .dataTables_filter
{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/* Footer */
footer
{
    height: 26px;
    background-color: #3E7048;
    color: white;
}

#dataTable .dataAdminFilter
{
    white-space: nowrap;
    padding: 4px;
}

#dataTable .form-select
{
    width: auto;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 21px;
}

#dataTable .dataTables_filter .dataAdminFilter input
{
    width: 110px;
}
/*

main .nav {
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-justified .nav-item {
    flex-basis: auto;
}

#organisationtable thead {
    display: none;
}





}*/

.smsOptout
{
    font-size: 11px;
}

.container
{
    padding: 0;
}

.tablecommands
{
}

td.dt-nowrap
{
    /*white-space: nowrap*/
}

.navbar-brand
{
    font-size: 24px;
    margin-right: 0;
}

.vh-100
{
    min-height: 100vh;
}

.row
{
    margin: 0;
}


.dropdown-toggle::after
{
    display: none;
}




/*
#login {
    background-color: #fff6;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 50px;
    margin-top: 100px;
}

    #login img {
        width: 40%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
*/
/*#login h2, #login label, #login a, #login input,
    #login input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ 
color: white;
opacity: 1;
background-color: #0000 !important;
}

#login input:-ms-input-placeholder {  Internet Explorer 10-11 
    color: white;
    background-color: #0000 !important;
}

#login input::-ms-input-placeholder {  Microsoft Edge 
    color: white;
    background-color: #0000 !important;
}

{
    color: white !important;
}

*/
#newdashboard
{
    background-color: #fff6;
    padding: 50px;
}
/* Set padding to keep content from hitting the edges */
.body-content
{
    /*    padding-left: 15px;
    padding-right: 15px;
    background-color: #74BA6B; */
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt
{
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea
{
    max-width: 280px;
}

.col-xs-12 img
{
    width: 100%;
}

.jumbotron
{
    height: 550px;
    color: black;
    text-shadow: #999 3px 3px 2px;
    background: transparent;
}

.bg
{
    /*  background: url('/Content/images/jumbobackground.jpg') no-repeat center center;*/
    position: fixed;
    width: 100%;
    height: 550px; /*same height as jumbotron */
    top: 0;
    left: 0;
    z-index: -1;
}

tr.dirty td
{
    background: #ffffb0;
}

.table-live-data .ReceivedAtTime,
.table-live-data .DeviceId
{
    white-space: nowrap;
}

.table-live-data .RawData
{
    max-width: 600px;
    overflow: hidden;
}

.pager-buttons
{
    display: inline;
}

.pager-text
{
    display: inline-block;
    margin: 7px 14px;
}

.pager-download
{
    float: right;
}

.report-wrapper
{
    position: relative;
}

.loading-overlay
{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(210, 210, 210,0.5);
    min-height: 200px;
    text-align: center;
}

    .loading-overlay.loading
    {
        display: block;
    }

    .loading-overlay > div
    {
        background-color: black;
        color: white;
        display: inline-block;
        padding: 1em 2em;
        border-radius: 4px;
        margin-top: 100px;
    }

.chart-div.loading
{
    background-color: rgba(210, 210, 210,0.5);
}

.chart-container canvas
{
    width: 100%;
    height: auto;
}

tr.clickable
{
    cursor: pointer;
}

.table-hover .glyphicon
{
    color: transparent;
}

.table-hover tr:hover .glyphicon
{
    color: #337ab7;
}

.chart-div
{
    position: relative;
    padding-bottom: 30px;
    /*width: 80vw;*/
    /*    height: 200px;
    max-height: 200px;*/
    /*    height: 200px;
    width: 100%;*/
}

.chart-parent
{
    position: relative;
    /*width: 80vw;*/
    /*    height: 200px;*/
}

.chart-div .singleResultData
{
    padding-left: 20px;
    display: flex;
}

    .chart-div .singleResultData .singleResultDataValue
    {
        flex-grow: 1;
    }

        .chart-div .singleResultData .singleResultDataValue span
        {
            font-weight: bold;
        }

.user-dragger
{
    position: relative;
}

    .user-dragger .glyphicon
    {
        position: absolute;
        top: 47%;
        left: 49%;
        font-size: 20px;
    }

    .user-dragger .connected-sortable
    {
        min-height: 200px;
        border: 1px solid lightgrey;
        padding: 5px;
        border-radius: 5px;
    }

        .user-dragger .connected-sortable li
        {
            cursor: move;
            border: 1px solid transparent;
            background: white;
            padding: 0 5px;
        }

            .user-dragger .connected-sortable li:hover
            {
                border: 1px solid lightgrey;
                background: lightgrey;
            }

.cell-row
{
    display: block;
}

iframe
{
    display: none !important;
}

chart-parent
{
    position: relative;
}

.device-selector select
{
    color: black;
    display: inline-block;
    height: auto;
    width: auto;
    max-width: 1000px;
}

    .device-selector select option
    {
        font-size: 14px;
    }

.device-selector .visible-print-inline
{
    font-size: 20px;
}

.wind-directions
{
    padding-left: 10px;
}

.windBarBottom
{
    border-bottom: 1px solid lightgrey;
    padding-bottom: 4px;
}

.windBarTop
{
    padding-top: 4px;
}

.windNarrow
{
    display: none;
}

.wind-directions-overall
{
    font-size: 2em;
}

    .wind-directions-overall i
    {
        font-size: 1.1em;
    }

.table-wind-directions
{
    width: 100%;
}

    .table-wind-directions th,
    .table-wind-directions td
    {
        width: 4.166%;
        text-align: center;
        font-weight: normal;
    }

    .table-wind-directions i
    {
        font-size: 2em;
    }

.device-controls
{
    position: relative;
}

.download-button
{
    position: absolute;
    top: 0;
    right: 0;
}

#countdown
{
    float: right;
    display: inline-block;
    margin-right: 10px;
}

.base-timer
{
    position: relative;
    width: 30px;
    height: 30px;
}

.base-timer__svg
{
    transform: scaleX(-1);
}

.base-timer__circle
{
    fill: none;
    stroke: none;
}

.base-timer__path-elapsed
{
    stroke-width: 12px;
    stroke: lightgrey;
}

.base-timer__path-remaining
{
    stroke-width: 12px;
    stroke-linecap: round;
    transform: rotate(90deg);
    transform-origin: center;
    transition: 1s linear all;
    fill-rule: nonzero;
    stroke: currentColor;
}

    .base-timer__path-remaining.green
    {
        color: green;
    }

    .base-timer__path-remaining.orange
    {
        color: orange;
    }

    .base-timer__path-remaining.red
    {
        color: red;
    }


.base-timer__label
{
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

/*
.col-site-form
{
}
*/
.container.dev input, .container.dev select
{
    max-width: 100% !important;
}

.container.dev .col-sm-8
{
    border: 1px solid silver;
    border-radius: .5rem !important;
}

.py-2
{
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.inlineBlock
{
    vertical-align: middle;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before
{
    margin-top: 0;
}

@media print
{
    .device-controls
    {
        font-size: 1.5em;
    }

    .device-controls
    {
        display: none;
    }
}


.modalWide .modal-dialog
{
    max-width: 700px;
}

#menuMobile
{
    display: none;
}

#dashboardCalendar
{
    min-width: 322px;
}

/*#dashboardSummary
{
    max-width: 620px;
}*/

#calendar .datepicker table tr td.day, #calendar .datepicker table tr th
{
    width: 36px;
    height: 36px;
}

#map
{
    width: 550px;
    height: 330px;
}

#homeContainer .order-lg-2
{
    order: 1 !important;
}

#homeContainer .order-lg-1
{
    order: 2 !important;
}

#calendar table
{
    margin-left: auto;
    margin-right: auto;
}

#calendar .datepicker.datepicker-inline
{
    width: 276px;
}

.optOutLabel
{
    display: none;
}


@media (max-width: 1310px)
{
    #calendar .datepicker table tr td.day, #calendar .datepicker table tr th
    {
        max-width: 26px !important;
        max-height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        width: 26px !important;
        height: 26px !important;
        font-size: 12px;
    }

    #homeContainer #dashboardCalendar
    {
        min-width: 246px;
    }

    #calendar .datepicker.datepicker-inline
    {
        width: 206px;
        min-width: 206px;
    }

    .calCell
    {
        position: relative;
        width: 22px;
        height: 22px;
        z-index: 800;
    }

    .calCellInner.dayNumber
    {
        position: absolute;
        left: 0;
        top: 0;
        background-color: #00000022 !important;
        width: 22px;
        height: 22px;
        z-index: 900;
        line-height: 22px;
    }

    .calCellInner.highlightErrors
    {
        position: absolute;
        left: 13px;
        top: 2px;
        width: 6px;
        height: 32px;
        z-index: 1200;
        font-size: 15px;
        font-family: Courier New, Courier, monospace;
        font-weight: bold;
        color: darkred;
    }

        .calCellInner.highlightErrors::after
        {
            content: '!';
        }

    .calCellInner.highlightTestNegative
    {
        position: absolute;
        left: 0;
        top: 0px;
        width: 22px;
        height: 6px;
        background-color: green;
        z-index: 1200;
        border-radius: 3px;
    }

    .calCellInner.highlightTestPositive
    {
        position: absolute;
        left: 0px;
        top: 17px;
        width: 22px;
        height: 5px;
        background-color: #FF0026;
        z-index: 1200;
        border-radius: 3px;
    }

    #map
    {
        width: 435px !important;
        height: 300px !important;
    }
}



@media (max-width: 1040px)
{
    .card-header h5, .card-header.h5
    {
        font-size: 18px;
    }

    #charts h3
    {
        font-size: 18px;
    }

    .wind-directions td
    {
        font-size: 14px;
    }

    .wind-directions i
    {
        font-size: 24px;
    }

    #map
    {
        width: 550px !important;
        height: 400px !important;
    }

    #homeContainer #dashboardCalendar
    {
        width: 300px !important;
        min-width: 300px !important;
    }

    #homeContainer #dashboardCalendar
    {
        flex: inherit;
        flex-grow: 1;
    }

    #homeContainer #dashboardSummary
    {
        flex-grow: 1;
    }

    #homeContainer .order-lg-1
    {
        order: 1 !important;
    }

    #homeContainer .order-lg-2
    {
        order: 2 !important;
    }

    #calendar .datepicker table tr td.day, #calendar .datepicker table tr th
    {
        max-width: 36px !important;
        max-height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 16px;
    }

    #homeContainer #dashboardCalendar
    {
        width: 315px;
        min-width: 315px;
    }

    #calendar .datepicker.datepicker-inline
    {
        width: 276px;
        min-width: 276px;
    }

    .calCell
    {
        position: relative;
        width: 32px;
        height: 32px;
        z-index: 800;
    }

    .calCellInner.dayNumber
    {
        position: absolute;
        left: 0;
        top: 0;
        width: 32px;
        height: 32px;
        background-color: #00000022 !important;
        z-index: 900;
        line-height: 32px;
    }

    .calCellInner.highlightErrors
    {
        position: absolute;
        left: 21px;
        top: 2px;
        width: 8px;
        height: 32px;
        z-index: 1200;
        font-size: 20px;
        font-family: Courier New, Courier, monospace;
        font-weight: bold;
        color: darkred;
    }

        .calCellInner.highlightErrors::after
        {
            content: '!';
        }

    .calCellInner.highlightTestNegative
    {
        position: absolute;
        left: 0;
        top: 0px;
        width: 32px;
        height: 8px;
        background-color: green;
        z-index: 1200;
        border-radius: 3px;
    }

    .calCellInner.highlightTestPositive
    {
        position: absolute;
        left: 0px;
        top: 24px;
        width: 32px;
        height: 8px;
        background-color: #FF0026;
        z-index: 1200;
        border-radius: 3px;
    }
}

@media (max-width: 860px)
{
    #charts h3
    {
        font-size: 16px;
    }

    .wind-directions td
    {
        font-size: 12px;
    }

    .wind-directions i
    {
        font-size: 16px;
    }

    #map
    {
        width: 435px !important;
        height: 300px !important;
    }
}

@media (max-width: 768px)
{

    .optOutChannel, .optOutAll
    {
        display: flex;
        flex-direction: row-reverse;
    }

        .optOutChannel .checkSwitch, .optOutAll .checkSwitch
        {
            width: 30px;
            margin-top: 1px;
        }

        .optOutChannel .optOutLabel
        {
            margin-right: 10px;
            display: inline-block;
        }

    .checkSwitch input
    {
        margin-left: 0px !important;
    }

    .optOutChannel > div
    {
        display: inline-block;
    }

    .wideOnly
    {
        display: none;
    }

    .smsOptout
    {
        font-size: 14px;
    }
}

@media (max-width: 720px)
{
    .deviceMessage
    {
        font-size: 14px;
    }

        .deviceMessage .col-sm-3
        {
            flex: 0 0 auto;
            width: 25%;
        }

        .deviceMessage .col-sm-9
        {
            flex: 0 0 auto;
            width: 75%;
        }

    #map
    {
        width: 350px !important;
        height: 250px !important;
    }

    .dashEdge
    {
        display: none;
    }

    #mainFrame .col-10
    {
        width: 100%;
    }

    .card-body
    {
        padding: 0.5rem;
    }

    div.col-md-12
    {
        padding-left: 4px;
        padding-right: 4px;
    }

    .windNarrow
    {
        display: block;
    }

    .windWide
    {
        display: none;
    }
}

@media (max-width: 540px)
{
    body
    {
        font-size: 14px;
    }

    .deviceMessage
    {
        font-size: 12px;
    }


    #calendar .datepicker table tr td.day, #calendar .datepicker table tr th
    {
        max-width: 26px !important;
        max-height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        width: 26px !important;
        height: 26px !important;
        font-size: 12px;
    }

    #homeContainer #dashboardCalendar
    {
        width: 246px;
        min-width: auto !important;
    }

    #calendar .datepicker.datepicker-inline
    {
        width: 206px;
        min-width: auto !important;
    }

    .calCell
    {
        position: relative;
        width: 22px;
        height: 22px;
        z-index: 800;
    }

    .calCellInner.dayNumber
    {
        position: absolute;
        left: 0;
        top: 0;
        background-color: #00000022 !important;
        width: 22px;
        height: 22px;
        z-index: 900;
        line-height: 22px;
    }

    .calCellInner.highlightErrors
    {
        position: absolute;
        left: 13px;
        top: 2px;
        width: 6px;
        height: 32px;
        z-index: 1200;
        font-size: 15px;
        font-family: Courier New, Courier, monospace;
        font-weight: bold;
        color: darkred;
    }

        .calCellInner.highlightErrors::after
        {
            content: '!';
        }

    .calCellInner.highlightTestNegative
    {
        position: absolute;
        left: 0;
        top: 0px;
        width: 22px;
        height: 6px;
        background-color: green;
        z-index: 1200;
        border-radius: 3px;
    }

    .calCellInner.highlightTestPositive
    {
        position: absolute;
        left: 0px;
        top: 17px;
        width: 22px;
        height: 5px;
        background-color: #FF0026;
        z-index: 1200;
        border-radius: 3px;
    }

    #homeContainer #dashboardCalendar
    {
        flex: inherit;
        flex-grow: 1;
    }

    #homeContainer #dashboardSummary
    {
        flex-grow: 1;
    }

    main
    {
        width: 100% !important;
    }

    #homeContainer
    {
        padding-left: 0;
        padding-right: 0;
    }

    #map
    {
        width: 300px !important;
        height: 220px !important;
    }

    .navbar
    {
        height: 70px;
    }

    #menuMobile
    {
        display: block;
    }

    h5.card-header, .h5.card-header
    {
        font-size: 1.0rem;
    }

    #labelNavbarAccount
    {
        display: none;
        width: 0px;
    }

    #mainmenu
    {
        display: none;
    }

    #menuMobile .dropdown-menu
    {
        min-width: auto;
    }

    .dashEdge
    {
        display: none;
    }

    #mainFrame .col-10
    {
        width: 100%;
    }

    .navbar #accountMenu .dropdown-menu[data-bs-popper]
    {
        left: -104px;
    }

    #map [role='menubar'] button
    {
        font-size: 14px !important;
        height: 25px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #map .gm-bundled-control
    {
        bottom: 65px !important;
        right: 30px !important;
    }

        #map .gm-bundled-control > div, #map .gm-bundled-control > div > div
        {
            width: 30px !important;
            height: 60px !important;
        }

        #map .gm-bundled-control button
        {
            height: 30px !important;
            width: 30px !important;
        }

            #map .gm-bundled-control button img
            {
                height: 12px !important;
                width: 12px !important;
            }
}

.chartTitle
{
    display: flex;
    justify-content: space-between;
}

    .chartTitle h3
    {
        display: inline-block;
    }

.testDetails
{
    display: inline-block;
    align-self: center;
    font-size: 10px;
}


.sampleResult
{
    display: inline-block;
}

.DTE_Form_Info
{
    padding-bottom: 15px;
}

.paramsField
{
    .col-form-label
    {
        display: none;
    }

    .col-lg-8
    {
        width: 100% !important;

        textarea
        {
            height: 13em;
            max-width: 100%;
        }
    }
}


.organisationSelect .form-control:disabled, .organisationSelect  .form-control:read-only
{
    background-color: inherit !important;
    opacity: inherit !important;
}