.o2-reports {
}

.o2-reports .row,
.o2-home .row {
    margin-bottom: 3px;
}

.o2-reports .map-labels,
.o2-home .map-labels {
    padding: 10px 15px;
    height: 44px;
    font-size: 16px;
    width: auto;
    max-width: 100%;
    border-radius: 4px;
}

.o2-reports .map-labels {
    display: block;
    margin-bottom: 5px;
}

.o2-home .map-labels {
    padding: 12px 15px;
}

.o2-reports .map-labels.map-label-danger{
    background-color: #F2DEDE;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.o2-reports .map-labels.map-label-warning{
    background-color: #FCF8E3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.o2-reports .map-labels.map-label-success{
    background-color: #DFF0D9;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.o2-reports .map-labels.map-label-info{
    background-color: #D9EDF7;
    color: #31708f;
    border: 1px solid #bce8f1;
}

.o2-reports .map-labels.map-label-default{
    background-color: #F5F5F7;
    color: #333;
    border: 1px solid #ddd;
}

.o2-home .map-labels.map-label-danger {
    background-color: #f1cccb;
    color: #954240;
    border: 1px solid #ebccd1;
}

.o2-home .map-labels.map-label-warning {
    background-color: #fcf8c5;
    color: #7b5a3a;
    border: 1px solid #faebcc;
}

.o2-home .map-labels.map-label-success {
    background-color: #c1f0c1;
    color: #336733;
    border: 1px solid #d6e9c6;
}

.o2-home .map-labels.map-label-info {
    background-color: #cbe6f7;
    color: #325e7d;
    border: 1px solid #bce8f1;
}

.o2-home .map-labels.map-label-default {
    background-color: #dadadc;
    color: #333;
    border: 1px solid #ddd;
}

.o2-home .map-labels.map-label-informational {
    background-color: #fcdbb1;
    color: #7b562b;
    border: 1px solid #facea5;
}

.o2-reports .report-header {
    text-align: center;
}

.o2-reports .report-header h3 {
    color: white;
}

.o2-reports .less-than-group,
.o2-reports input {
    min-width: 350px;
    max-width: 350px;
    display: inline-block;
}


.o2-reports .report-builder input {
    min-width: auto !important;
    max-width: initial;
    display: inline-block;
}

.o2-reports label {
    width: 150px;
    color: white;
    margin: 0;
    line-height: 34px;
    font-size: 16px;
}

.o2-reports .report-builder label {
    width: 100%;
}

.o2-reports .less-than-group .btn-group {
    top: -1px;
}

.o2-reports .less-than-group input.total-hours {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    width: 111px;
    min-width: 111px;
}

.o2-reports .less-than-group input.ambulatory-hours {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    width: 150px;
    min-width: 150px;
}

.o2-reports .less-than-group label {
    width: initial;
    border-radius: 0;
    line-height: initial;
    padding: 7px;
}

.o2-reports button.btn.btn-primary {
    margin-left: 12px;
}

.o2-reports .ng-isolate-scope a {
    font-size: 16px;
}

.o2-reports .less-than-group .btn-primary {
    background-color: #000000;
    border-color: #000000;
}

.o2-reports .less-than-group .btn-primary:active,
.o2-reports .less-than-group .btn-primary.active {
    background-color: #286090;
    border-color: #204d74;
}

.o2-reports select.choice {
    width: 150px;
    margin-right: 5px;
    font-size: 16px;
    font-weight: 700;
    background-color: #000000 !important;
    color: white;
    border: none;
    margin-left: -5px;
}

.o2-reports .report-builder select.choice {
    width: 100%;
}

.o2-reports select.choice:focus {
    outline: 0;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /*safari and chrome*/
    .o2-reports select.choice {
        height: 34px;
        line-height: 34px;
        background: #f4f4f4;
    }
}

.o2-reports select.choice::-moz-focus-inner {
    /*Remove button padding in FF*/
    border: 0;
    padding: 0;
}

@-moz-document url-prefix() {
    /* targets Firefox only */
    .o2-reports select.choice {
        padding: 15px 0 !important;
    }
}

#o2-map-home,
#o2-map-machines-by-total-and-ambulatory-hours.map,
#o2-map-machines-by-purity.map,
#o2-map-maintenance.map,
#o2-map-usage.map,
#o2-map-builder.map,
#o2-map-geofence-management {
    min-height: 450px;
    height: 450px;
    min-width: 450px;
}

.o2-reports .panel-group {
    margin-bottom: 0;
}


.o2-reports .clear-margin{
    margin: 0 !important;
}

.o2-reports .add-field .select2-container,
.o2-reports .add-criteria .select2-container {
    min-width: 160px !important;
}

.o2-reports .add-field .add-criteria .select2-container .select2-choice,
.o2-reports .add-criteria .select2-container .select2-choice{
    padding-top: 4px;
    height: 34px;
}

.o2-home .subtype-button {
    width: 150px;
    color: white;
}

.o2-home .subtype-button.blue-btn {
    background-color: #103399;
}

.o2-home .subtype-button.blue-btn.inactive {
    background-color: rgba(16, 51, 153, 0.56);
}

.o2-home .subtype-button.red-btn {
    background-color: #800e00;
}

.o2-home .subtype-button.red-btn.inactive {
    background-color: rgba(128, 14, 0, 0.56);
}


.o2-home .subtype-button.green-btn {
    background-color: #146600;
}

.o2-home .subtype-button.green-btn.inactive {
    background-color: rgba(20, 102, 0, 0.56);
}

#o2-exceptions-report{
    position: fixed;
    top: 200px;
    left: 0;
    right: 0;
    bottom: 45px;
}

#o2-exceptions-report .width-initial .ui-datepicker .dropdown-menu{
    width: initial;
}

#o2-exceptions-report table.o2 th {
    white-space: nowrap;
    padding: 3px 12px;
    border-right: 1px solid #ffffff;
}

#o2-exceptions-report table.o2 td {
    white-space: nowrap;
    border-right: 1px solid #ffffff;
}

#o2-exceptions-report table.o2 th:last-child,
#o2-exceptions-report table.o2 td:last-child{
    border-right: none;
}

#o2-exceptions-report .table-row{
    position: absolute;
    top: 100px;
    bottom: 45px;
    width: 100%;
    overflow-y: auto;
}

#o2-exceptions-report .buttons-row{
    position: absolute;
    top: 0;
    width: 100%;
}

#o2-exceptions-report .pagination-row{
    position: absolute;
    bottom: 0;
    width: 100%;
}

#o2-exceptions-report .pagination-row .pagination {
    display: inline-block;
    padding-left: 0;
    margin: 7px 0;
    border-radius: 4px;
    float: right;
}

#o2-exceptions-report .pagination-row pre {
    display: inline-block;
    margin: 7px 0;
    padding: 0 5px;
    line-height: 28px;
    float: left;
}

#o2-exceptions-report .pagination-row select {
    display: inline-block;
    width: 70px;
    margin: 7px 5px;
    line-height: 28px;
    height: 30px;
    float: right;
}

#o2-exceptions-report .pagination-sm>li>a{
    padding: 2px 10px;
}

.o2-home .pin-green,
.o2-home .pin-green-cell {
    color: rgb(65, 193, 112);
}

.o2-home .pin-red,
.o2-home .pin-red-cell {
    color: #CF302C
}

.o2-home .pin-yellow,
.o2-home .pin-yellow-cell {
    color: #C3CC43;
}

.o2-home .pin-blue,
.o2-home .pin-blue-cell {
    color: #2926CC;
}

.o2-home .pin-blue2,
.o2-home .pin-blue2-cell {
    color: #237FD0;
}

.o2-home .pin-gray,
.o2-home .pin-gray-cell {
    color: #898989;
}

.o2-home .pin-grey,
.o2-home .pin-grey-cell {
    color: #898989;
}

.clusterPopUp {
    width: 260px;
}

.clusterPopUp .leaflet-popup-content-wrapper,
.clusterPopUp .leaflet-popup-tip-container .leaflet-popup-tip {
    background: #d3d3d3;
}

.clusterPopUp a.leaflet-popup-close-button {
    color: #717171 !important;
}

.clusterPopUp a.leaflet-popup-close-button:hover {
    color: #515151 !important;
}

.clusterPopUp .leaflet-popup-content {
    margin: 20px 0 10px 0;
}

.cluster-bar {
    max-height: 160px;
    overflow-y: auto;
}

.cluster-bar .subtype-button {
    width: 100%;
    font-size: 15px;
}

.o2-home fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    margin-bottom: 20px;
    padding: 10px 20px 20px 20px;
}

.o2-home fieldset legend {
    width: auto;
    border: 0;
    padding: 2px;
    margin: 0;
    font-size: 18px
}

.o2-home .available-emails input, .o2-select-without-input input {
    display: none;
}

.o2-expected-use-settings input.ng-dirty.ng-invalid, .o2-expected-use-settings input.ng-dirty.ng-invalid:focus,
.o2-geofence-page input.ng-dirty.ng-invalid, .o2-geofence-page input.ng-dirty.ng-invalid:focus {
    border-color: #ff0000;
}

.o2-home .geofence-management label {
    padding-top: 9px;
    text-align: right;
}

.o2-home .geofence-management .form-text {
    padding-top: 9px;
}

#o2-map-geofence-management {
    width: 100%;
    height: 480px;
}

#o2-map-geofence-management.setting-location {
    cursor: pointer;
}

.o2-home .device-geofence-status-within {
    border: solid 2px #90ff90;
    padding: 3px;
}

.o2-home .device-geofence-status-outside {
    border: solid 2px #ff5050;
    padding: 3px;
}

.o2-home .provider-settings p {
    word-wrap: break-word;
}

.o2-home .provider-settings p .value {
    font-weight: bold;
}

.o2-home .bulk-update .device-selector {
    min-height: 38px;
}
