/*
    CSS for the body of every page
 */

@font-face {
    font-family: 'MPLSC';
    src: url('/static/fonts/Myriad-Pro-Light-SemiCondensed_31639.ttf') format("truetype")
}

@font-face {
    font-family: 'MPLSBSC';
    src: url('/static/fonts/Myriad-Pro-Semibold-SemiCondensed_31647.ttf') format("truetype")
}

@font-face {
    font-family: 'MPSC';
    src: url('/static/fonts/Myriad-Pro-SemiCondensed_31652.ttf') format("truetype")
}

html, body {
    margin: 0;
    min-height: 100%;
    overflow: hidden;
    height: 100%;
    max-height: 100%;
}

div::-webkit-scrollbar {
    display: none; /* Chrome Safari */
}

div {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

/* CSS to set background image of the login page */
.loginBody {
    background-image: url('/static/images/login_background.jpeg');
    background-size: cover;
}

.loginErrorMessage {
    position: static;
    margin-top: 35px;
    text-align: center;
}

.loginErrorMessageAlert {
    color: #fff;
    background-color: #337ab7;
    border-color: #fff;
}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
    /*CSS for the confirm button at the bottom of the commands panel*/
    .modes-menu-button {

        width: 200px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
    h1 {
        font-size: 16px;
    }

    h2 {
        font-size: 14px;
    }

    h3 {
        font-size: 12px;
    }

    .col-xs-6 {
        width: 10%;
    }

    .deviceMenu {

        width: 150px;
    }

    /*CSS for the confirm button at the bottom of the commands panel*/
    .modes-menu-button {

        width: 200px;
    }

    /*CSS for a command option in the commands panel*/
    .menu-option, .alertInfo, .geoFenceInfo, .batteryPercentageInfo, .externalBatteryPercentageInfo {

        width: 130px;
    }

    /* CSS for the operations table */
    #id_operationsTable {
        padding-left: 8px;
    }

    /* CSS for the info table in the right hand sidebar */
    #id_deviceInfoTable {
        padding-left: 10px;
        padding-right: 10px;
    }

}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
    h1 {
        font-size: 16px;
    }

    h2 {
        font-size: 14px;
    }

    h3 {
        font-size: 12px;
    }

    .col-sm-6 {
        width: 20%;
    }

    .deviceMenu {

        width: 230px;
    }

    /*CSS for the confirm button at the bottom of the commands panel*/
    .modes-menu-button {

        width: 200px;
    }

    /* CSS for the operations table */
    #id_operationsTable {
        padding-left: 10px;
    }

    /* CSS for the info table in the right hand sidebar */
    #id_deviceInfoTable {
        padding-left: 10px;
        padding-right: 10px;
    }

    /*CSS for a command option in the commands panel*/
    .menu-option, .alertInfo, .geoFenceInfo, .batteryPercentageInfo, .externalBatteryPercentageInfo {

        width: 130px;
    }


}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
    h1 {
        font-size: 16px;
    }

    h2 {
        font-size: 14px;
    }

    h3 {
        font-size: 12px;
    }

    .deviceMenu {

        width: 270px;
    }

    /*CSS for the confirm button at the bottom of the commands panel*/
    .modes-menu-button {

        width: 250px;
    }

    /*CSS for a command option in the commands panel*/
    .menu-option, .alertInfo, .geoFenceInfo, .batteryPercentageInfo, .externalBatteryPercentageInfo {

        width: 248px;
    }

    /* CSS for the operations table */
    #id_operationsTable {
        padding-left: 10px;
    }

    /* CSS for the device command table */
    #id_deviceCommandTable, #id_deviceModesTable, #id_deviceAlertsTable, #id_viewDeviceAlertsTable,
    #id_createGeoFencesTable, #id_editGeoFencesTable, #id_deleteGeoFencesTable, #id_viewGeoFenceAlertsTable, 
    #poi__table__delete {
        padding-left: 10px;
    }

    /* CSS for the info table in the right hand sidebar */
    #id_deviceInfoTable {
        padding-left: 10px;
        padding-right: 10px;
    }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
    h1 {
        font-size: 16px;
    }

    h2 {
        font-size: 14px;
    }

    h3 {
        font-size: 12px;
    }

    .col-lg-1-5 {
        width: 16.6%;
    }

    .deviceMenu {

        width: 270px;
    }

    /*CSS for the confirm button at the bottom of the commands panel*/
    .modes-menu-button {

        width: 250px;
    }

    /* CSS for the operations table */
    #id_operationsTable {
        padding-left: 10px;
    }

    /* CSS for the info table in the right hand sidebar */
    #id_deviceInfoTable {
        padding-left: 10px;
        padding-right: 10px;
    }

    /*CSS for a command option in the commands panel*/
    .menu-option, .alertInfo, .geoFenceInfo, .batteryPercentageInfo, .externalBatteryPercentageInfo {

        width: 248px;
    }

    #id_accountSettingsDiv, #id_deviceSettingsDiv {
        display: none;
        position: fixed;
        top: 31%;
        left: 34%;
        margin-left: 10px;
        z-index: 2;
        border: 1px solid #BFBFBF;
        background-color: #333;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        color: white;
        padding-bottom: 10px;
        width: 30%;
    }
}


/* Large Devices, Wide Screens */
@media only screen and (min-width: 1900px) {
    h1 {
        font-size: 16px;
    }

    h2 {
        font-size: 14px;
    }

    h3 {
        font-size: 12px;
    }

    .col-lg-1-5 {
        width: 16.6%;
    }

    .deviceMenu {

        width: 270px;
    }

    /*CSS for the confirm button at the bottom of the commands panel*/
    .modes-menu-button {

        width: 250px;
    }

    /* CSS for the operations table */
    #id_operationsTable {
        padding-left: 10px;
    }

    /* CSS for the info table in the right hand sidebar */
    #id_deviceInfoTable {
        padding-left: 10px;
        padding-right: 10px;
    }

    /*CSS for a command option in the commands panel*/
    .menu-option, .alertInfo, .geoFenceInfo, .batteryPercentageInfo, .externalBatteryPercentageInfo {

        width: 248px;
    }

    #id_rcdsSimpleBellOne {
        width: 80px;
    }

    #id_rcdsSimpleBellTwo {
        width: 80px;
    }

    #id_accountSettingsDiv, #id_deviceSettingsDiv {
        display: none;
        position: fixed;
        top: 31%;
        left: 37%;
        margin-left: 10px;
        z-index: 2;
        border: 1px solid #BFBFBF;
        background-color: #333;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        color: white;
        padding-bottom: 10px;
        width: 23%;
    }

}

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
    .col-sm-6 {
        width: 16%;
        padding-bottom: 15px;
    }

}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
    .col-sm-6 {
        width: 20%;
        padding-bottom: 15px;
    }

    h1 {
        font-size: 12px;
    }

    h2 {
        font-size: 10px;
    }

    h3 {
        font-size: 8px;
    }

    .glyphicon {
        font-size: 8px;
    }


}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    .col-sm-6 {
        width: 100%;
        padding-bottom: 12px;
    }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    .col-sm-6 {
        width: 100%;
        padding-bottom: 15px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
    .col-sm-6 {
        width: 100%;
        padding-bottom: 15px;
    }

    h1 {
        font-size: 12px;
    }

    h2 {
        font-size: 10px;
    }

    h3 {
        font-size: 8px;
    }

}

/*CSS for the cookie message div that is displayed or not based on whether*/
/*a user has acknowledged it or not*/
.js_enabled #cookie-message {
    display: none;
}

/*The navbar context is the navbar below the top navbar*/
/*that allows users to command devices and set modes*/
.navbar-context {
    margin-top: 40px;
    height: 60px;
    border-bottom-width: 0px;
    margin-bottom: 0px;
    z-index: 1;
    background-color: #cacaca;
}

/*The below sets the CSS for the context navbar*/
.navbar-context .navbar-nav > li {
    height: 60px;
    color: black;
    padding-top: 7px;
    width: 70px;

}

/*Sets the CSS for hyper links in a list item in the context navbar*/
.navbar-context .navbar-nav > li > a {
    padding-top: 10px;
    height: 60px;
}

/*Sets the CSS when hovering over or focusing on a list item in the context navbar*/
.navbar-context .navbar-nav > li:hover, .navbar-nav > li:focus {
    text-decoration: none;
    background-color: #a2a2a2;
}

/*Sets the CSS for the top navbar that appears on each page*/
.navbar-custom {
    background-color: #484848;
    color: #ffffff;
    border-radius: 0;
    min-height: auto;
    height: 40px;
    margin-bottom: 0px;
    border-bottom-width: 0px;
    font-family: MPLSC;
    z-index: 10003;

}

/*Sets the CSS for a list item in the top navbar that appears on each page*/
.navbar-custom .navbar-nav > li {
    height: 40px;

    /*Set the Z index so it appears on top of all other layers*/
    z-index: 1001;
}

/*Sets the CSS for brand on the top navbar, the brand displays the name such as Auspex 2*/
.navbar-custom .navbar-brand {
    padding-bottom: 0px;
    padding-top: 10px;
    color: #eeeeee;
    height: 40px;
}

/*Sets the CSS for a hyperlink in a list on the top navbar that appears on each page*/
.navbar-custom .navbar-nav > li > a {
    height: 40px;
    padding-top: 10px;
    color: #fff;

}

.navbar-custom .navbar-nav > li > a:hover {
    background-color: transparent;
    color: #286AAA;
}

.navbar-custom .navbar-nav > .active > a, .navbar-nav > .active > a:hover, .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: transparent;
}

/*Sets the CSS when hovering over or focusing on a list item in the context navbar*/
.navbar-custom .navbar-nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: #0e90d2;
    color: white;

}

.navbar-custom .navbar-toggle,
.navbar-custom .nav .open > a, .navbar-custom .nav .open > a:hover, .navbar-custom .nav .open > a:focus {
    background-color: transparent;
}

/*-- change navbar dropdown color --*/
.navbar-custom .navbar-nav .open .dropdown-menu > li > a, .navbar-custom .navbar-nav .open .dropdown-menu {
    color: #286AAA;
    text-align: center;
}

.navbar-custom .dropdown-menu {
    position: absolute;
    z-index: 1001;
    border: 1px #0e90d2 solid;
    border-radius: 5px;

}

.navbar-custom .navbar-nav .open .dropdown-menu > li {
    z-index: 1001;
}

.draggable {
    touch-action: pinch-zoom;
}

.navbar-custom .navbar-nav .open .dropdown-menu li > a:hover {
    background-color: #0e90d2;
    color: white;
}

/*Prevents the login or logout button from leaving the page*/
.navbar-nav.navbar-right:last-child {
    margin-right: 0;
}

#id_accountDropDownMenu {
    padding-bottom: 0px;
    padding-top: 0px;
}

.loginForm {


    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);

    height: auto;
    width: auto;

}

.loginForm form {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 15px 35px 35px;
}

.loginForm .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

.loginForm .form-control:focus {
    z-index: 2;
}

.loginForm input[type="text"] {
    margin-bottom: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.loginForm input[type="password"] {
    margin-bottom: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.loginForm .alert-danger {
    margin-top: 20px;
}

/* CSS to set background signin image */
.loginForm img {
    height: 150px;
    margin-left: 5px;

}

/* admin panel list group */
.admin-list-group {
    border: 1px solid #bfbfbf;
    margin: 0px;
    border-radius: 5px;
}

.admin-list-group input {
    background-color: #555555;
    font-family: MPLSC;
    color: white;
}

.admin-list-group .form-group {
    margin-bottom: 5px;
}

/* list header */
.list-group-item-header {
    background-color: #2e75b6 !important;
    font-family: MPLSBSC;
    border: 0px !important;
}

.list-group-item-header h1 {
    margin-top: 5px;
    text-align: center;
}

.list-group-item {
    background-color: #555555;
}

::-ms-clear {
    display: none;
}

.form-control-clear {
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

/* we use this on glyphicons to get them to click */
.clickable {
    cursor: pointer;
}

/* A scrollable list on admin panel */
.scrollable-admin-list-group {
    height: 30vh;
    max-height: 30vh;
    overflow-x: hidden;
    font-family: MPLSC;
}

/* organisations list on the admin panel */
.organisations-list {
}

/* admin panel forms panel */
.admin-panel-form-panel {
    margin: 15px;
}

/* admin panel columns */
.admin-panel-columns {
    height: auto;
}

/* Search input om the admin panel */
.searchInput {
    padding-top: 5px;
    display: block;
}

/*.list-group-item:hover {*/
/*background-color: #2e75b6;*/
/*}*/

.list-group-item.active {
    background-color: #2e75b6;
}

/*CSS for the bottom address label*/
.bottom-address-label {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 30px;
    background-color: #555;
    padding-top: 5px;
    padding-left: 10px;
    color: white;
    border-top: 1px solid #BFBFBF;
    z-index: 999;

}

/* Set the font of the device latitude and longitude at the bottom of the tracking panel*/
.langDeviceAddress {
    font-family: MPLSBSC;
}

/* Set the font of the address label in the bottom panel of the tracking panel*/
.langSummaryAddress {
    font-family: MPLSBSC;
}

/* Position the slide menu heights on the left and the right */
.slide-menu-left, .slide-menu-right {
    top: 40px;
}

.selectedDevice, .selected-menu-option, .selectedCommand, .selectedAlert, .selectedGeoFence {
    border: 1px solid #2E75B6;
    background-color: #2e75b6 !important;
    box-shadow: 0 1px 1px #2E75B6 inset, 0 0 8px #2E75B6;
    outline: 0 none;

}

.displayedDevice {
    border: 1px solid #bfbfbf;
    background-color: #00994C;
}

.rightDeviceName {
    width: 100%;
    padding: 5px;
    background: #777;
    border: 1px solid #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.sidebarTopHeader {
    margin: 0;
    font-family: MPLSBSC;
    font-size: 10pt;
    text-align: center;
}

.deviceInfoContainer {
    border: 1px solid #BFBFBF;
}

.deviceInfo {
    margin: 10px 0px !important;
    background: #555;
    border-radius: 5px;
    border: 1px solid #BFBFBF;
    padding-bottom: 6px !important;
    padding-top: 6px !important;
    font-size: 12px;
    /*font-weight: bold;*/
    font-weight: normal;
    text-align: center;
    width: 100%;
}


/*CSS used on a header in a switch info panel,*/
/*this would be used in something like the last*/
/*communication time*/
.deviceInfoHeader {
    margin-top: 5px;
}

.deviceInfoBody {
    margin-bottom: 5px;
}

.switchOutputInfo {
    margin: 10px 0px !important;
    background: #555;
    border-radius: 5px;
    border: 1px solid #BFBFBF;
    padding-top: 6px !important;
    font-size: 12px;
    /*font-weight: bold;*/
    font-weight: normal;
    position: relative;
}

#id_deviceInfoTable, #id_multipleDeviceInfoTable {

    font-size: 10pt;
    height: calc(100% - 40px);
    overflow-y: auto;
    color: #FFF;

}

.deviceTopHeader {
    background-color: #286AAD;
    margin-bottom: 5px !important;
    display: flex;
    flex-direction: column;
}

.selectedContextIcon, .selectedOperationIcon {
    background-color: #286AAD;
}

.menu-option, .alertInfo, .geoFenceInfo, .batteryPercentageInfo, .externalBatteryPercentageInfo {
    border-radius: 5px;
    border: 1px solid #BFBFBF;
    padding-bottom: 6px !important;
    padding-top: 6px !important;
    font-size: 12px;
    /* font-weight: bold; */
    font-weight: normal;
    background: #555;
    margin-bottom: 10px;

}

.externalBatteryPercentageInfo {
    text-align: center;
}

.externalBatteryPercentageInfo span {
    padding-left: 0.5em;
}

input[class="menu-option"]:hover, input[class="menu-option"]:hover, input[class="alertInfo"]:hover,
input[class="geoFenceInfo"]:hover, input[class='batteryPercentageInfo']:hover, input[class="externalBatteryPercentageInfo"]:hover {
    border-color: #2E75B6;
    box-shadow: 0 1px 1px #2E75B6 inset, 0 0 8px #2E75B6;
    outline: 0 none;
}

.deviceOutputStatus {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

}

/*CSS for the confirm button at the bottom of the commands panel*/
.modes-menu-button {
    height: 30px;
    background: #286AAD;
    color: white;
    border: 1px solid #BFBFBF;
    margin-bottom: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    outline: none;
    left: 13px;
    font-size: 12px;
}

.modes-menu-button-danger {

    background: #d9534f;

}

.singleSwitchInfo {
    height: 30px;

}

.deviceMenu {
    background: #333;

    border: none;
}

#id_operationsTable {
    padding-right: 5px;
    font-size: 10pt;
    overflow-y: auto;
}

#id_multipleDeviceInfoTable {
    padding-left: 10px;
    padding-right: 3px;

    font-size: 10pt;
    height: calc(100% - 40px);
    overflow-y: auto;
}



.op-device-list {
    width: 200px;
}

.op-level1 {
    margin: 10px 0px !important;
    padding: 0px 10px !important;
    height: 30px;
    background: #555;
    border-radius: 5px;
    border: 1px solid #BFBFBF;
    padding-top: 6px !important;
    font-size: 13px;
    /*font-weight: bold;*/
    font-weight: normal
}

.op-level2 {
    padding: 0px 10px !important;
    height: 25px;
    padding-top: 3px !important;
    border: 1px solid #BFBFBF;
    border-radius: 5px;
    margin: 10px 0px !important;
    cursor: pointer;
    font-size: 12px;

}

/*#op-ul-0level2, #op-ul-1level2, #op-ul-2level2, #op-ul-3level2 {*/
.op-device-group {
    margin: -14px 0px 10px 0px !important;
    padding: 1px 10px !important;
    background: #555;
    border: 1px solid #BFBFBF;
    border-top: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 12px;
}

.op-ul-chevron {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    float: right;
    cursor: pointer;
}

/*CSS to put an overlay over the screen if the screen */
/*resolution drops*/
.overlay {
    background: #333333;
    position: absolute;
    top: 40px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
}


/*CSS for overlay text*/
.overlay > .overlay-message {
    top: 30%;
    left: 25%;
    right: 25%;
    bottom: 50%;
    color: white;
    position: fixed;
    font-size: 1.5em; /* 40px/16=2.5em */
    text-align: center;

}

/*CSS used for the device canvas in a tracking sensor
  this is where things like graphs and tables are shown
*/
#id_deviceCanvas {
    bottom: 30px;
    position: relative;
    width: 100%;
    height: calc(100% - 70px);
    top: 40px;
    background-color: #555555;
}

/*CSS used for the device details band which is where things */
/*like the history date time picker are stored*/
#id_deviceDetailsBand {

    height: 50px;
    background-color: #333333;
    top: 50%;
    position: relative;
    overflow: hidden;

}

/*CSS for the device details band*/
.deviceDetailsBand {
    padding-top: 10px;
    margin-left: 25px;
    color: white;
}

/*CSS for the confirm button inside the device details band*/
.deviceDetailsConfirmButton {
    height: 30px;
    background: #00994C;
    color: white;
    border: 1px solid #BFBFBF;
    margin-bottom: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-weight: normal;
    outline: none;
    left: 13px;
}

.centreMessage {

    padding: 15px 35px 35px;

    margin: 0;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 0, 0, 0.1);

}

.text-large {
    font-size: 20px;
}

/*Sets the background of a progress bar such as those displayed in the display ID*/
.backgroudProgressBar {
    background-color: #f2dede;
    width: 100%;
    height: 10px;
    position: absolute;
    bottom: 0;
}

/*Sets the background of a progress bar in a multi view display*/
.multiViewProgressBar {
    width: calc(100% + 20px);
    height: 10px;
    margin-left: -10px;
}

/*CSS to pulse the progress bar when a device is charging*/
.pulse {
    -webkit-animation-name: pulse;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count: infinite;
    animation-name: pulse;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

@-webkit-keyframes pulse {
    0% {
        background: #5bc0de;
    }
    25% {
        background: #5bc0de;
    }
    50% {
        background: #5bc0de;
    }
    75% {
        background: #5bc0de;
    }
    100% {
        background: #5bc0de;
    }
}

@keyframes pulse {
    0% {
        background: #5bc0de;
    }
    25% {
        background: #5bc0de;
    }
    50% {
        background: #5bc0de;
    }
    75% {
        background: #2e6da4;
    }
    100% {
        background: #2e6da4;
    }
}

/* Set the height of the view device alerts table to include the buttons at the bottom*/
#id_viewDeviceAlertsTable {
    height: calc(100% - 80px);
}

#id_deviceListMenuToggle, #id_deviceInfoMenuToggle {
    color: white;
}

#id_deviceListMenuBarPopUp {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    width: 270px;
}


#id_deviceInfoMenuBarPopUp {
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    position: fixed;
    width: 270px;
    bottom: 35px;
}

/* CSS that sets an element places an item at the bottom of the device list
*/
.deviceListBottom {
    position: absolute;
    bottom: 30px;
    width: calc(100% - 20px);
}

/* CSS For the buttons at the bottom of the device info menus*/
.device-view-button {
    height: 30px;
    background: #00994C;
    color: white;
    border: 1px solid #BFBFBF;
    margin-bottom: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    outline: none;
    width: 120px;
}

.device-view-button-right {
    margin-left: 10px !important;
}

.batteryBlink {
    animation: blink 1s steps(2, start) infinite;
    -webkit-animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    to {
        visibility: hidden;
        color: #0e90d2;
    }
}

@-webkit-keyframes blink {
    to {
        visibility: hidden;
        color: #0e90d2;
    }
}

/* CSS to make the phone icon blink on a device that is incall */
.phoneBlink {
    animation: blink 1s steps(2, start) infinite;
    -webkit-animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    to {
        visibility: hidden;
        color: #00994C;
    }
}

@-webkit-keyframes blink {
    to {
        visibility: hidden;
        color: #00994C;
    }
}

/* CSS to make the phone icon blink on a device that is incall */
.phoneConnectingBlink {
    animation: connectingBlink 1s steps(2, start) infinite;
    -webkit-animation: connectingBlink 1s steps(2, start) infinite;
}

@keyframes connectingBlink {
    to {
        visibility: hidden;
        color: #FFBF00;
    }
}

@-webkit-keyframes connectingBlink {
    to {
        visibility: hidden;
        color: #FFBF00;
    }
}

/*
    CSS to set the appearance of the device and control buttons on the tracking index page
*/


#id_deviceButtons {

    z-index: 11111;
    top: 95px;
    width: 40px;
    height: auto;
    background-color: white;
    display: block;
    padding-bottom: 0px;
    padding-top: 0px;
    float: right;
    left: calc(100% - 320px);
    position: fixed;

}



#id_controlButtons {

    z-index: 11111;
    top: 80px;
    left: 8px;
    width: 40px;
    height: auto;
    background-color: white;
    border: 1px solid #999999;
    display: block;
    padding-bottom: 0px;
    padding-top: 0px;
    touch-action: none;
    user-select: none;
    transform: translate(0px, 0px);
}


#id_deviceButtons ul, #id_controlButtons ul {
    padding: 0px;
}

#id_deviceButtons li, #id_controlButtons li {
    border-bottom: 1px solid #999999;
    list-style-type: none;
}

#id_deviceButtons img, #id_controlButtons img {
    height: 30px;
    width: 28px;
    position: relative;
    left: 1.5px;
}


#id_controlButtons img {
    margin-left: -18px;
}

#id_deviceButtons span, #id_controlButtons span {
    margin-left: 3px;
}

.deviceCommandsIconToolTip + .tooltip > .tooltip-inner, .controlCommandsIconToolTip + .tooltip > .tooltip-inner {
    background-color: #2e75b6;
    color: #FFFFFF;
    border: 1px solid green;
    padding: 5px;
    font-size: 16px;
    font-family: MPLSC;
}

.deviceCommandsIconToolTip + .tooltip.left > .tooltip-arrow {
    border-left: 5px solid #2e75b6;
    display: none;
}

.controlCommandsIconToolTip + .tooltip.right > .tooltip-arrow {
    border-left: 5px solid #2e75b6;
    display: none;
}

.controlCommandsIconToolTip + .tooltip.right {
    margin-left: 10px;
}

.controlCommandsIconToolTip + .tooltip.left {
    margin-left: 10px;
}

.tooltip-inner {
    max-width: 500px !important;
    min-width: 150px;
}


#id_controlButtons .dropdown-submenu, #id_deviceButtons .dropdown-submenu {
    position: relative;
}

#id_controlButtons .dropdown-submenu .dropdown-menu {
    font-family: MPLSC;
    top: 0;
    left: 100%;
    margin-top: -1px;
    outline: none;
    /*margin-left: 5px;*/
}

#id_controlButtons .dropdown-menu > li > a, #id_deviceButtons .dropdown-menu > li > a {
    margin-left: 0px;
    text-align: center;
}


#id_controlButtons .dropdown-menu > li > a:hover, #id_deviceButtons .dropdown-menu > li > a:hover {
    color: white;
    background-color: #0e90d2;
}

#id_controlButtons .dropdown-menu > li > a.active, #id_deviceButtons .dropdown-menu > li > a.active {
    /*border: 3px solid #0e90d2 !important;*/
    color: white;
    background-color: #0e90d2;
}

/* Sets the colour of the li dropdown menu when set as active i.e. clicked */
#id_controlButtons .dropdown-menu > li.active, #id_deviceButtons .dropdown-menu > .active > a {
    border-color: #2E75B6;
    box-shadow: 0 1px 1px #2E75B6 inset, 0 0 8px #2E75B6;
    outline: 0 none;
}

#id_deviceButtons .dropdown-submenu .dropdown-menu {
    font-family: MPLSC;
    top: 0;
    margin-left: -444%;
    margin-top: -1px;
    outline: none;
}

#id_deviceButtons > li > a {
    padding-left: 0px;
}

.remoteCallIconInCall {
    background-color: #00994C;

}

#id_deviceButtonsDiv .dropdown-menu li.remoteCallIconInCall > a {
    background-color: #00994C;
}

.remoteCallIconBlockedCall {
    background-color: #d9534f;
}

#id_deviceButtonsDiv .dropdown-menu li.remoteCallIconBlockedCall > a {
    background-color: #d9534f;
}


.remoteCallIconPendingCall {
    background-color: #FFBF00;
}

#id_deviceButtonsDiv .dropdown-menu li.remoteCallIconPendingCall > a {

    background-color: #FFBF00;

}

/* CSS to set the hover settings when hovering moving and static interval options
*/
.moving-interval-option:hover, .static-interval-option:hover {
    border-color: #2E75B6;
    box-shadow: 0 1px 1px #2E75B6 inset, 0 0 8px #2E75B6;
    outline: 0 none;
}

.recipientsList .list-group {
    overflow: hidden;
    font-size: 12px;
}

.recipientsList .list-group-item:first-child, .list-group-item:last-child {

    overflow: hidden;
}

.recipientsList .list-group-item {

    height: 30px;
    background: #333;
    color: white;
    border: 1px solid #BFBFBF !important;
    margin-bottom: 5px !important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-weight: bold;
    outline: none;
    width: 100%;
    margin-top: 0px !important;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    padding-top: 5px;
    padding: 10px 15px;

}

.recipientsList .list-group-item > .show-menu {
    position: absolute;
    height: 100%;
    width: 24px;
    top: 0px;
    right: 0px;
    cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.recipientsList .list-group-item > .show-menu > span {
    position: absolute;
    top: 50%;
    margin-top: -7px;
    padding: 0px 5px;
}

.recipientsList .list-group-submenu {
    position: absolute;
    top: 0px;
    right: -88px;
    white-space: nowrap;
    list-style: none;
    padding-left: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.recipientsList .list-group-submenu .list-group-submenu-item {
    float: right;
    display: block;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: -1px;
}

.recipientsList .list-group-left-submenu {
    position: absolute;
    top: 0px;
    left: 0px;
    white-space: nowrap;
    list-style: none;
    padding-left: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.recipientsList .list-group-left-submenu .list-group-left-submenu-item {
    float: left;
    display: block;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 6px;
    padding-right: 5px;
}


.recipientsList .list-group-item.open > .show-menu {
    right: 22px;
}


.recipientsList .list-group-item.open .list-group-submenu {
    right: 0px;
}

.recipientsList .list-group-submenu .list-group-submenu-item.primary {
    color: rgb(255, 255, 255);
    background-color: rgb(50, 118, 177);
}


.recipientsList .list-group-submenu .list-group-submenu-item.danger {
    color: rgb(255, 255, 255);
    background-color: rgb(217, 83, 79);
}

.recipientsList .recipientInput {
    border: 0px;
    height: 2em;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: -10px;
    margin-left: 10px;
    background-color: #333;
    width: calc(100% - 20px);
    font-family: MPLSC;
}

/*
 Hides focus around an alert recipient input
*/
.recipientInput:focus {
    outline: 0px !important;
    -webkit-appearance: none;
}

/* Sets the position of the login screen version number */
#id_loginScreenVersion {
    font-family: MPLSC;
    position: fixed;
    bottom: 15px;
    right: 30px;
    color: white;
}

/*
 CSS To set the alert popups layout
*/
.alert-minimalist {
    font-family: MPLSC;

    background-color: #555555;
    border: 1px solid #BFBFBF;
    color: white;
    padding: 10px;
    height: 75px;
    right: 19% !important;
}


.alert-minimalist > [data-notify="title"] {
    color: white;
    display: block;
    font-family: MPLSBSC;
    margin-bottom: 5px;
}

.popupAlertType {
    position: absolute;
    bottom: 23px;
}

.popupAlertDateTime {
    position: absolute;
    bottom: 3px;
}

.popupAlertIcon {
    position: absolute;
    bottom: 22px;
    right: 20px;
}

.popupAlertAck, .popupGeoFenceAlertAck {
    color: white;
    position: absolute;
    bottom: 3px;
    right: 28px;
}

.popupAlertAck > a, .popupGeoFenceAlertAck > a {
    color: white;
    font-family: MPLSBSC;
    right: 0px !important;
    top: -20px !important;
}

.popupAlertGPSFix {
    margin-top: 21px;
    margin-left: 189px;
}

/*
End of block containing CSS for alert popups
*/

/*
 CSS To set how each alert is displayed in view alers table
*/
.alertView {
    font-family: MPLSC;
    background-color: #555555;
    border: 1px solid #BFBFBF;
    color: white;
    padding: 10px;
    height: 75px;
}

.alertViewTitle {
    color: white;
    display: block;
    font-family: MPLSBSC;
    position: relative;
    font-size: 14px;
}

.alertViewAlertType {
    position: relative;
    font-size: 14px;
}

.alertViewAlertDateTime {
    position: relative;
    bottom: -10px;
    font-size: 14px;
}

.alertViewAlertIcon {
    position: relative;
    bottom: 10px;
    right: -9px;
}

.alertViewGPSFix {
    position: relative;
    left: 168px;
    bottom: 10px;
    font-size: 14px;

}

.alertViewAlertACK, .geoFenceAlertViewAlertACK {
    color: white;
    position: relative;
    bottom: 30px;
    margin-left: 196px;
    font-family: MPLSBSC;
    font-size: 14px;
}

.alertViewAlertACK > a, .geoFenceAlertViewAlertACK > a {
    color: white;
}

/*CSS to put an overlay over the screen if the screen */
/*resolution drops*/
#id_positionPreviewWrapper {
    display: none;
    position: absolute;
    top: 25%;
    right: 25%;
    bottom: 25%;
    left: 25%;
    margin-left: 10px;
    z-index: 99999;
    border: 5px solid #286AAD;
}

#id_positionPreviewMap {
    width: 100%;
    height: 100%;
}

/* CSS to set the street view map
*/
#id_trackingStreetViewMap {
    position: relative;
    background-color: rgb(229, 227, 223);
    overflow: hidden;
    left: 50%;
    height: 100%;
    top: -100%;
    display: block;
    width: 50%;
}

/* Hide the google maps streetview 'display on google maps' div
*/
#id_trackingStreetViewMap .gm-iv-address {
    display: none;
}

#id_trackingStreetViewNotAvailable {
    left: 50%;
    height: 100%;
    background-color: #286AAD;
    top: -100%;
    position: relative;
    z-index: 2;
    display: none;
    width: 50%;
}

#id_trackingStreetViewNotAvailableMessage {
    top: 50%;
    position: relative;
    color: white;
    font-family: MPLSC;
    font-size: 1.5em;
    text-align: center;
    vertical-align: middle;
}

/* CSS for create geofence menu
*/


.filterButton,
.filterInput {
    font-family: MPLSC;
    background: #555;
    border-radius: 5px;
    border: 1px solid #BFBFBF !important;
    padding-bottom: 6px !important;
    padding-top: 6px !important;
    font-size: 12px;
    font-weight: normal;
    min-width: 236px;
    height: 2.5em;
    color: white;
    padding-left: 10px;
    width: 100%;
}

.filterButton,
.filterInput[readonly] {

    background: #555;

}

.filter-input-invalid {
    border: 1px solid red !important;
}

.filterInput:focus {
    border-color: #2E75B6 !important;
    box-shadow: 0 1px 1px #2E75B6 inset, 0 0 8px #2E75B6;
    outline: 0 none;
}

#id_selectGeoFenceTypeButton > .filterButton:hover {
    color: white;
    background-color: #555555;
}

.geoFenceInformation,
.filterListResults .list-group-item {
    width: 100%;
    font-family: MPLSC;
    background-color: #555555;
    border-radius: 5px !important;
    margin-bottom: 5px !important;
    padding: 5px !important;
    border: 1px solid #BFBFBF !important;
    font-weight: normal;
    text-align: center;
}


.recipientsList .list-group-item {
    height: 30px;
    background: #333;
    color: white;
    border: 1px solid #BFBFBF !important;
    margin-bottom: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-weight: bold;
    outline: none;
    width: 100%;
    margin-top: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    padding-top: 5px;
    font-family: MPLSC;
}


.recipientsList .list-group-submenu {
    position: absolute;
    top: 0px;
    right: -88px;
    white-space: nowrap;
    list-style: none;
    padding-left: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}


.recipientsList .list-group-submenu .list-group-submenu-item {
    float: right;
    display: block;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: -1px;
}


.recipientsList .list-group-item > .show-menu {
    position: absolute;
    height: 100%;
    width: 24px;
    top: 0px;
    right: 0px;
    cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}


.recipientsList .list-group-item > .show-menu > span {
    position: absolute;
    top: 50%;
    margin-top: -7px;
    padding: 0px 5px;
}

/* Set the z index of the geofence colour picker */
.geoFenceColourPicker {
    z-index: 10003 !important;
    background-color: #555555;
}

.inputError {
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
    padding: 3px 0px 3px 3px;
    margin: 5px 1px 3px 0px;
    border: 1px solid #DDDDDD;
}

#id_accountSettingsDiv .glyphicon {
    float: right;
}

/* CSS for operation Organisations in the create operation form */
.operationOrganisationList {
    padding-left: 0px;
    height: auto;
}

.btn-select {
    position: relative;
    padding: 0;
    min-width: 236px;
    width: 100%;
    border-radius: 5px;
    background-color: #555555;
    font-family: MPLSC;
    border: #BFBFBF 1px solid;
    height: 2.5em;

    font-size: 14px;
}

.btn-select .btn-select-value, .accountSettingsButtonSelect .btn-select-value {
    padding: 6px 12px;
    display: block;
    position: absolute;
    left: 0;
    right: 34px;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.btn-select .btn-select-default, .accountSettingsButtonSelect .btn-select-default {
    padding: 6px 12px;
    display: block;
    position: absolute;
    left: 0;
    right: 34px;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    border-color: white;
    font-family: MPLSC;
    color: #999999;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;

}

.btn-select-dark {
    color: black !important;
}

.btn-select-arrow {
    float: right;
    line-height: 2.5em;
    padding: 0px 11px;
    top: 0;
    color: white;

    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 13px;
    padding-left: 11px;
}

.btn-select ul {
    background-color: #555;
    color: white;
    clear: both;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: none !important;
    position: absolute;
    left: -1px;
    right: -1px;
    top: 33px;
    z-index: 999;
}

.btn-select ul li {
    padding-top: 6px;
    padding-right: 35px;
    text-align: center;
    color: white;
    background-color: #555;
}

.btn-select ul li:hover {
    background-color: #2e75b6;
    color: white;
}

/* Default Start */
.btn-select.btn-default:hover, .btn-select.btn-default:active, .btn-select.btn-default.active {
    border-color: #5eb0e4;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(94, 176, 228, 0.6);
    background-color: #2e75b6;

}

.btn-select.btn-default ul li.selected {
    background-color: #2e75b6;
    color: white;
}

.btn-select.btn-default ul, .btn-select.btn-default .btn-select-value {
    color: white;
}

.btn-select.btn-default:hover, .btn-select.btn-default.active {
    /*background-color: #e6e6e6;*/

}

.button-dropdown {
    position: relative;
    padding: 0;
    min-width: 236px;
    width: 100%;
    border-radius: 5px;
    background-color: #555555;
    font-family: MPLSC;
    font-size: 14px;
    border-left: #BFBFBF 1px solid;
    border-right: #BFBFBF 1px solid;
    border-top: #BFBFBF 1px solid;


}

.button-dropdown li {
    list-style: none;
    padding-top: 6px;
    padding-right: 35px;
    color: white;
    background-color: #555;
    padding-left: 12px;
    border-bottom: #BFBFBF 1px solid;

}

.button-dropdown li:hover {
    background-color: #2e75b6;
    color: white;
}

.button-dropdown li.selected {
    background-color: #2e75b6;
    color: white;
}

.button-dropdown li:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.button-dropdown li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}


.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch > label::before {
    background: #555555;
    /*box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);*/
    border-radius: 8px;
    border-color: #BFBFBF;
    border-width: 1px;
    border-style: solid;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch > label::after {
    background: #555555;
    border-radius: 16px;
    border-color: #BFBFBF;
    border-width: 1px;
    border-style: solid;
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.range-slider {
    margin: 13px 0 0 0%;
}

.range-slider__range {
    -webkit-appearance: none;
    width: calc(100% - (73px));
    height: 10px !important;
    border-radius: 5px;
    background: #d7dcdf;
    outline: none;
    padding: 0;
    margin: 0;
}

.range-slider__range::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px !important;
    border-radius: 50%;
    background: #2c3e50;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

.range-slider__range::-webkit-slider-thumb:hover {
    background: #1abc9c;
}

.range-slider__range:active::-webkit-slider-thumb {
    background: #1abc9c;
}

.range-slider__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #2c3e50;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

.range-slider__range::-moz-range-thumb:hover {
    background: #1abc9c;
}

.range-slider__range:active::-moz-range-thumb {
    background: #1abc9c;
}

.range-slider__value {
    display: inline-block;
    position: relative;
    width: 60px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    border-radius: 3px;
    background: #2c3e50;
    padding: 5px 10px;
    margin-left: 8px;
}

.range-slider__value:after {
    position: absolute;
    top: 8px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 7px solid #2c3e50;
    border-bottom: 7px solid transparent;
    content: '';
}

::-moz-range-track {
    background: #d7dcdf;
    border: 0;
}

input::-moz-focus-inner, input::-moz-focus-outer {
    border: 0;
}


/*CSS for the bottom of the admin panel*/
.admin-outer-bottom {
    padding-top: 15px;
    flex: 1 1 auto;
    border: 1px solid #ddd;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 15px;
    margin-right: 20px;
    border-radius: 5px;
    color: white;
    height: 100%;
}

/*CSS for the bottom of the admin panel*/
.admin-inner-bottom {
    padding-top: 15px;
    height: calc(100% - 50px);
    flex: 1 1 auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

.admin-inner-bottom .form-group {
    margin-bottom: 5px;
}

/*CSS to wrap up the top and bottom parts of the admin */
/*panel*/
.admin-wrap {
    height: 100vh;
    max-height: -webkit-fill-available;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #333333;
    color: white;
    overflow-y: auto;
}

/*#id_createUserForm .filterInput {*/
/*padding-left: 0px;*/
/*}*/

/* Force the cookie consent window to be on the very top layer*/
.cc-window {
    z-index: 10003 !important;
}

.panel > .list-group .list-group-item {
    height: 2.5em;
    font-family: MPLSC;
}

/* Sets the inputs in the admin panel */
.admin-inner-bottom input {
    background-color: #555555;
    height: 2.5em;
    font-family: MPLSC;
    color: white;
}

/* Sets the inputs in the admin panel */
.admin-inner-bottom input:read-only {
    color: #ccc;
    background-color: #494949;
    border: #919191 1px solid;

}

.admin-inner-bottom input:focus {
    border-color: #2E75B6;
    box-shadow: 0 1px 1px #2E75B6 inset, 0 0 8px #2E75B6;
    outline: 0 none;
}

.admin-inner-bottom textarea {
    background-color: #555555;
    font-family: MPLSC;
    color: white;
}

/* Sets the inputs in the admin panel */
.admin-inner-bottom textarea:read-only {
    color: #ccc;
    background-color: #494949;
    border: #919191 1px solid;
    resize: none;

}

.admin-inner-bottom label {
    font-family: MPLSBSC;
}


.admin-inner-bottom table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-inner-bottom table tr th,
.admin-inner-bottom table tr td {
    border-bottom: 1px solid #ccc;
    padding: 5px;
    background-color: #555555;
    border-top: 0px;
    text-align: center;
    font-family: MPLSC;

}

.admin-inner-bottom table tr th:first-child,
.admin-inner-bottom table tr td:first-child {

    border-left: 1px solid #ccc;
}

.admin-inner-bottom td:last-child {
    border-right: 1px solid #ccc;
}

.admin-inner-bottom .table > thead:first-child > tr:first-child > th {
    border-top: 1px solid #ccc;
    font-family: MPLSBSC;
    text-align: center;
}

.admin-inner-bottom table tr th {
    background: #555555;
    text-align: left;
}

/* top-left border-radius */
.admin-inner-bottom table tr:first-child th:first-child {
    border-top-left-radius: 6px;
}

/* top-right border-radius */
.admin-inner-bottom table tr:first-child th:last-child {
    border-top-right-radius: 6px;
    border-right: 1px solid #ccc;

}

/* bottom-left border-radius */
.admin-inner-bottom table tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

/* bottom-right border-radius */
.admin-inner-bottom table tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
    border-right: 1px solid #ccc;

}

/* A scrollable list on admin panel */
.scrollable-admin-list-group .list-group-item {
    height: 2.5em;
    padding-top: 0.5em;
    border-left: 0px;
    border-right: 0px;
    border-radius: 0px;
}

/* A scrollable list on admin panel when hovering over the li */
.scrollable-admin-list-group .list-group-item:hover {
    background-color: #0e90d2;
}

.admin-outer-bottom legend {
    color: white;
    font-family: MPLSBSC;
    border-bottom: 0px;
}

/* Set the placeholder colour for all the inputs */
input::-webkit-input-placeholder {
    color: #BFBFBF;
}

input:-moz-placeholder { /* Firefox 18- */
    color: #BFBFBF;
}

input::-moz-placeholder { /* Firefox 19+ */
    color: #BFBFBF;
}

input:-ms-input-placeholder {
    color: #BFBFBF;
}

/* Set the placeholder colour for all the text areas */
textarea::-webkit-input-placeholder {
    color: #BFBFBF;
}

textarea:-moz-placeholder { /* Firefox 18- */
    color: #BFBFBF;
}

textarea::-moz-placeholder { /* Firefox 19+ */
    color: #BFBFBF;
}

textarea:-ms-input-placeholder {
    color: #BFBFBF;
}

#id_messageBox {
    font-family: MPLSC;
    color: white;
    height: auto;
    border-radius: 5px;
    padding-top: 10px;
    font-size: 14px;
    width: 100%;
    background-color: #2e75b6;
    border: 1px solid #BFBFBF;
    margin-bottom: 0px;
}

#id_messageBox button {

    color: white;
    opacity: 1;
    font-family: MPLSC;
    font-size: 14px;
    padding-top: 5px;

}

#id_messageBox .messageBoxCloseButton {
    color: white;
    font-family: MPLSC;
}

.timeZoneOffset {
    position: absolute;
    right: 71px;
    pointer-events: none;
    pointer-events: none;
    font-family: MPLSC;
    top: 0px;
}

.cancel-button-top {
    right: 15px;
    position: absolute;
    top: 0.5em;
    font-family: MPLSC;
}

.auspex2-label-primary {
    background-color: #286AAD;
}

.timeZoneDropDownFilterResults:nth-child(2n) {
    top: 5px;
}

.inputTester {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

#id_mapLocationFilterInput {
    width: 200px;
    left: calc(50% - 100px);
    height: 2.5em;
    background-color: #555555;
    z-index: 1;
    position: fixed;
    border-radius: 5px;
    color: white;
    padding: 0px;
    border: 1px solid #BFBFBF;
    text-align: center;
    font-family: MPLSC;
    bottom: 45px;
}

div.pwStrengthProgressCustom-class {
    margin-top: 5px;
    margin-bottom: 5px;
}

#id_accountSettingsDiv .btn, #id_deviceSettingsDiv .btn {
    width: 85%;
    font-size: 12px;
}


#id_deviceSettingsDiv form header, #id_accountSettingsDiv form header {
    margin-top: 10px;
    margin-left: 10px;
}

#id_deviceSettingsDiv form header div, #id_accountSettingsDiv form header div {
    font-size: 90%;
    color: #999;
}

#id_deviceSettingsDiv form header h2, #id_accountSettingsDiv form header h2 {
    font-family: MPLSC;
    text-align: center;


}

#id_deviceSettingsDiv form > div, #id_accountSettingsDiv form > div {
    clear: both;
    padding: 1px;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 5px;
    height: 2.5em;


}


#id_deviceSettingsDiv form > div > fieldset > div > div, #id_accountSettingsDiv form > div > fieldset > div > div {
    margin: 0 0 5px 0;
}

#id_deviceSettingsDiv form > div > label,
#id_accountSettingsDiv form > div > label {
    width: 35%;
    float: left;
    padding-right: 10px;
    font-family: MPLSBSC;
    padding-top: 10px;
    text-align: center;
    font-size: 12px;

}

#id_deviceSettingsDiv .formButtons,
#id_accountSettingsDiv .formButtons {
    text-align: center;
    left: 31%;
    margin-top: 2%;
}

#id_deviceSettingsDiv form > div > .formButtons > input,
#id_accountSettingsDiv form > div > .formButtons > input {
    width: 25%;
}


#id_deviceSettingsDiv form > div > div,
#id_deviceSettingsDiv form > div > fieldset > div,
#id_accountSettingsDiv form > div > div,
#id_accountSettingsDiv form > div > fieldset > div {
    width: 65%;
    float: left;
}

#id_deviceSettingsDiv form > div > fieldset label,
#id_accountSettingsDiv form > div > fieldset label {
    font-size: 90%;
}

#id_deviceSettingsDiv fieldset,
#id_accountSettingsDiv fieldset {
    border: 0;
    padding: 0;
}

#id_deviceSettingsDiv .filterInput,
#id_accountSettingsDiv .filterInput {
    width: 85%;
    height: auto;
}


.filterButton, .filterInput, .poi-input {
    width: 100%;
    margin-bottom: 5px;
}

#id_trackerAlerts, #id_trackerGeoFenceAlerts {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 50px);
}

/* Configure the device alerts table */
#id_deviceAlertsTable, #id_viewGeoFenceAlertsTable {
    height: calc(100% - 60px);
}

.collapsible-hidden-menu {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 65px);
}

.device-menu-list {

    flex: 1 1 auto;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    font-size: 10pt;
    color: #FFF;
    font-family: MPLSC;
    padding-left: 10px;
}

.device-menu-list ul, .device-menu-list li {
    padding: 0;
    margin: 0;
    width: 99%;
    color: #FFF;
    list-style: none;
    font-size: 13px;
}

.device-menu-list .list-group-left-submenu, .device-menu-list .list-group-submenu {
    width: auto;
}


#id_scrollToTopButton {
    right: 60px;
    bottom: 25px;
    position: absolute;
    font-size: 2.5em;
    cursor: pointer;
    display: none;
}

.auspex2modal {
    color: black;
    z-index: 10003;
}

#id_changePasswordErrorDiv {
    padding-left: 15px;
    padding-bottom: 15px;
    position: relative;
}


#id_trackingHistoryPanel {

    position: relative;
    padding: 10px;
    color: white;
    height: 100%;
    font-size: 12px;
}

#id_trackingHistoryPanelReportRange {
    background: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
    width: 300px;
    color: black;
    float: left;
}

.command-row {
    background-color: #286AAD;
}

.static-row {
    background-color: #FFBF00;
    color: black;
}

.stopped-row {
    background-color: #CC0000;
}

.moving-row {
    background-color: #00994C;
}

/* Overrides for the date range picker that make it scroll if screen is below  */
.daterangepicker {
    max-height: calc(100% - 50px) !important;
    overflow-y: scroll !important;
    left: 10px !important;
    top: 40px !important;
    font-size: 12px !important;

}

.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    line-height: 12px !important;
    height: 12px !important;
}

#id_trackingHistoryPanelSubmitButton {
    width: auto !important;
    margin-left: 5px;
}


#id_trackingHistoryPanelContainer {
    display: block;
    height: calc(50% - 90px);
    position: fixed;
}


#id_trackingHistoryPanel .bootstrap-table {
    height: calc(100% - 40px);
    display: block;
}

.lll {
    width: 100%;
}

#id_trackingHistoryPanel .table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #286AAD;
}

#id_trackingHistoryPanel .fixed-table-container {
    height: 88%;
    display: block;
    padding-bottom: 0px;
}

#id_trackingHistoryPanel tr td {
    border: 0px;
}


.c3-chart-arc .c3-gauge-value {
    fill: white;
}

.c3-chart-texts .c3-text {
    display: none;
}

#id_administerOrganisationsTable td:nth-child(2) {
    border-left: 1px solid #ccc;
}

/* bottom-left border-radius */
#id_administerOrganisationsTable tr:last-child td:nth-child(2) {
    border-bottom-left-radius: 6px;
}

.hidden {
    display: none;
    visibility: hidden;
}

#id_historyExportProgressBar {
    width: 200px;
    display: none;
    margin-bottom: 0px;
    margin-top: 7px;
}

#id_exportDataTypeMenu {
    width: auto;
    left: -9px;
    min-width: 52px;
    padding: 0px;
}

#id_exportDataTypeSelectButton {
    color: white;
    background-color: #286AAD;
    margin-right: 5px;
}

#id_exportDataTypeMenu li {
    text-align: center;
    color: #333333;
}

#id_exportDataTypeMenu li:hover {
    background-color: #286AAD;
    color: white;
}

#id_historyPanelCollapseButton {
    background-color: #286AAD;
}

.recipientReceiveIcon {
    padding-top: 3px;
}

.recipientReceiveIconSelected {
    color: #286AAD;
}

.recipientReceiveEnabledSelected {
    background-color: #286AAD;
}

.recipientEnabledAlertModes {
    display: inline;
}

.recipientReceivePushIcon {
    padding-right: 5px;
}

.recipientReceiveEmailIcon {
    padding-right: 15px;
}

.deviceListMenuWrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.streetViewMapCollapsed {
    height: calc(100% - 50px);
    display: block;
    position: absolute;
    overflow: hidden;
    width: 50%;
    top: 0px;
}

.streetViewMapNotCollapsed {
    height: calc(50% + 50px);
    display: block;
    position: absolute;
    overflow: hidden;
    width: 50%;
    top: 0px;
}

.powerOffConfirmButton, .powerOffConfirmButton:hover {
    background: #286AAD;
    color: white;
    border: 1px solid #fff;
}

/* Set the error message DIV for the 404 and 500 errors */
.errorMessageDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* (x, y)  => position */
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    font-family: MPLSC;
    font-size: 18px;
    color: white;
    text-align: center;
}

/* Set the error message hyperlink text colour for the 404 and 500 errors */
.errorMessageDiv a:visited {
    color: white;
}

#id_setAlertsMenu {
    display: block;
    position: absolute;
    margin-bottom: 10px;
    height: auto;
    bottom: 40px;
}

.flex.hidden {
    display: none;
}


[data-placeholder]:empty:before {
    color: #AAA;
    content: attr(data-placeholder);
}

.filterButtonPlaceholder {
    text-align: left;
    color: #bfbfbf;
}

#id_addressBarW3WLogo {
    height: 25px;
    width: 25px;
    padding-bottom: 3px;
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none; /* This makes sure that we can still click outside of the modal to close it */
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

.accountSettingsButtonSelect {
    position: relative;
    padding: 0;
    min-width: 236px;
    width: 100%;
    border-radius: 5px;
    background-color: white;
    font-family: MPLSC;
    border: #BFBFBF 1px solid;
    height: 2.5em;
    font-size: 14px;
    color: black;
}

.accountSettingsButtonSelect .btn-select-arrow {
    float: right;
    line-height: 2.5em;
    padding: 0px 11px;
    top: 0;
    color: black;

    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 13px;
    padding-left: 11px;
}

.accountSettingsButtonDropdown {
    position: relative;
    padding: 0;
    min-width: 236px;
    width: 100%;
    border-radius: 5px;
    background-color: white;
    font-family: MPLSC;
    font-size: 14px;
    border-left: #BFBFBF 1px solid;
    border-right: #BFBFBF 1px solid;
    border-top: #BFBFBF 1px solid;
    color: black;
}

.accountSettingsButtonDropdown li {
    list-style: none;
    padding-top: 6px;
    padding-right: 35px;
    color: black;
    padding-left: 12px;
    border-bottom: #BFBFBF 1px solid;

}

.accountSettingsButtonDropdown li:hover {
    background-color: #2e75b6;
    color: white;
}

.accountSettingsButtonDropdown li.selected {
    background-color: #2e75b6;
    color: white;
}

.accountSettingsButtonDropdown li:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.accountSettingsButtonDropdown li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.azimuthDisplay {
    position: absolute;
    bottom: 14px;
    left: 7px;
}

.list-group {
    list-style: none;
}

#id_geoFenceLocationMap {
    height: 300px;
    position: relative;
    padding: -15px;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(33% - 26px);
}


#id_trackingMap {
    height: 100%;
    z-index: 1;
    overflow: hidden !important;
}

#id_modifyAdminGeoFenceForm .glyphicon-trash {
    padding-top: 2px;
    color: #CC0000;
    cursor: pointer;
}

#id_adminGeoFenceRecipientPhone .phoneNumber, .username, .email {
    cursor: pointer;
}

#id_modifyAdminGeoFenceForm .recipientReceiveEnabledSelected {
    background-color: #286AAD;
}

.movementState .progress-bar {
    position: absolute;
    bottom: 0px;
}

.movementState .speedValue {
    position: absolute;
    bottom: 2px;
    right: 10px;
}

.colorpicker {
    z-index: 10003 !important;
}

.mfaQRCode {
    width: 10em;
    height: 10em;
    position: relative;
    border: solid 0.1em black;
    display: block;
    left: 0;
    right: 0;
    margin: auto;
}

#id_2FAVerifyError {
    position: relative;
    padding-top: 0.5em;
}


#id_2FABackupCodes {
    list-style-type: none;
}

#id_2FABackupCodes > span {
    text-align: center;
    font-weight: bold;
}

#id_2FABackupCodesContainer > ul {
    padding-top: 1em;
    text-align: center;
    padding-inline-start: 0em;
}

.adminDeviceExpired {
    background-color: red !important;
}

.auspex2-infowindow > p {
    font-size: 1.5em;
}

.route-list {
    height: 100%;
}

.route__order-list {
    min-height: 1em;
}

.strix-recording-status-display  p.strix-recording-off {
    color: #ff0000;
}

.strix-recording-status-display  p.strix-recording-on {
    color: #00994C;
}

.gps-fix-time-display {
    padding-left: 7px;
    bottom: 4px;
    position: absolute;
}

