.view-color-green {
    background-color: rgba(77, 250, 144, 0.3);
}

.view-color-yellow {
    background-color: rgba(250, 190, 77, 0.3);
}

.view-color-red {
    background-color: rgba(255, 84, 104, 0.3);
}

.view-item-disabled {
    opacity: 0.5;
}

.toolbar-header-style {
    background-color: #5fa2dd !important;
}

body.x-border-layout-ct, div.x-border-layout-ct {
    background-color: #bbbbbb !important;
}

.x-fieldset {
    overflow: visible !important; /* workaround for Safari issue */
}

#attribution {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: x-small;
}

#spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border-top: 6px solid #5fa2dd;
    border-right: 6px solid transparent;
    animation: spinner .6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/*Popup CSS*/
.marker-bubble .popup-top-right {
    float: right;
}

.marker-bubble .bubble-header {
    background-color: #5fa2dd;
    margin: -10px -8px 0;
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-size: 1.25em;
}

.marker-bubble .lbs-popup {
    margin: -103px -133px;
    position: absolute;
    bottom: 145px;
    width: 300px;
    padding: 6px;
    border: 2px solid #09F;
    border-radius: 5px;
    background-color: #FFF;
    font-size: 12px;
}

.marker-bubble svg:not(:root) {
    overflow: hidden;
}

.marker-bubble .bubble-icon {
    width: 16px;
    height: 16px;
    vertical-align: bottom;
    overflow: hidden;
    margin-left: 2px;
    font-size: 16px;
    padding: 0;
}

.marker-bubble .lbs-popup table {
    border-spacing: 0 !important;
}

.marker-bubble .lbs-popup td {
    width: 80px;
    padding: 0;
}

.marker-bubble img {
    border-style: none;
}

.marker-bubble hr.separator {
    margin-top: 5px;
    margin-bottom: 5px;
}

.marker-bubble .lbs-popup:before, .marker-bubble .lbs-popup:after {
    content: "";
    display: block;
    border-width: 20px;
    position: absolute;
    bottom: -40px;
    left: 60px;
    border-style: solid dashed dashed;
    border-color: #09F transparent transparent;
    font-size: 0;
    line-height: 0;
}

.marker-bubble .lbs-popup:after {
    bottom: -37px;
    border-color: #FFF transparent transparent;
}

.marker-bubble .lbs-popup:before, .marker-bubble .lbs-popup:after {
    left: 113px;
}

.marker-bubble .lbs-popup ul {
    list-style-type: none;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

.marker-bubble li, .marker-bubble p, .marker-bubble ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Reefer*/

.report-dlg {
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    width: 320px;
    line-height: 20px;
    color: rgba(16, 16, 16, 1);
    font-size: 14px;
    text-align: center;
    font-family: 'Didact Gothic';
    max-height: 100%;
    overflow-y: scroll;
    padding: 10px;
}

.report-filter .el-button,
.report-filter .el-cascader {
    font-family: "Didact Gothic";
    font-size: 17px;
}

.report-dlg::-webkit-scrollbar {
    width: 8px;
}

.report-dlg::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 10px;
}

.report-dlg::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.7);
    outline: 1px solid slategrey;
    border-radius: 10px;
}

.report-filter {
    display: block;
    overflow: auto;
}

.filter-input {
    width: 70%;
    float: left;
    padding: 0 50px;
}

.filter-submit {
    float: left;
    width: 30%;
    text-align: left;
}

.report-dlg .el-select {
    width: 100%;
}


.report-item {
    position: relative;
    background-color: #e5e5e5;
    border-radius: 23px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 10px;
}

.report-item:last-child {
    margin-bottom: 0;
}

.report-item-offline {
    background-color: #9e9e9e !important;
}

.report-item .state-overall {
    width: 34%;
    float: left;
}

.report-item .state-temper {
    width: 66%;
    height: 100%;
    float: left;
}

.report-item .device-name {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    line-height: 27px;
    /* color: #676767; */
}

.report-item .state-icons {
    padding-top: 7px;
    width: 100%;
}

.report-item .state-icons .state-icon {
    height: 55px;
    float: left;
    margin: 0 2px;
    padding: 3px;
}

.report-item .state-temper .temper {
    background-color: transparent;
    border: 9px solid white;
    width: 100%;
    height: 100%;
    padding: 13px 0;
    float: left;
    border-radius: 40px;
}

.report-item .state-temper .temper .temperature {
    color: white;
    font-weight: bolder;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    font-size: 17px;
    line-height: 21px;
    position: relative;
}

.report-item .state-temper .temper .temperature .temper-unit {
    position: absolute;
    top: -7px;
    right: -8px;
    color: white;
    font-weight: bold;
    font-size: 8px;
}

.report-item .state-temper .temper .humidity {
    color: white;
    font-weight: bold;
    font-size: 13px;
}

.report-setting {
    position: absolute;
    right: 9px;
    top: 30px;
    font-size: 30px;
}

.disabled {
    color: gray;
}

.report-setting:hover {
    color: cadetblue;
}

.el-form {
    display: block;
    overflow: auto;
}

.setting-item-temp,
.setting-item-normal,
.setting-item-special {
    width: 25%;
    padding: 5px;
    float: left;
    display: block;
    overflow: auto;
}

.setting-item-temp .setting-item-wrapper {
    width: 100%;
    display: block;
    overflow: auto;
    border: 1px solid rgba(100, 100, 100, 0.2);
}

.setting-item-normal .setting-item-wrapper,
.setting-item-special .setting-item-wrapper {
    width: 100%;
    display: block;
    overflow: auto;
    border: 1px solid rgba(100, 100, 100, 0.2);
}

.setting-item-temp .setting-item-header {
    background-color: #8bc34a;
    color: white;
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    height: 40px;
}

.setting-item-normal .setting-item-header,
.setting-item-special .setting-item-header {
    background-color: #009688;
    color: white;
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    height: 40px;
}

.report-item .el-form-item {
    margin-bottom: 0px;
}

.item-element {
    padding: 10px 10px;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
}

.attr-name,
.attr-base,
.attr-error {
    width: 30%;
    float: left;
}

.attr-name {
    text-align: right;
}

.item-element input[type="number"] {
    width: 65px;
}

.item-element input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.el-switch.is-checked .el-switch__core {
    border-color: #01e166;
    background-color: #01e166;
}

.setting-item-normal input[type="number"],
.setting-item-special input[type="number"] {
    width: 65px;
}

.setting-item-normal .attr-base {
    width: 50%;
    text-align: right;
    float: left;
    padding-top: 10px;
    padding-right: 10px;
}

.setting-item-normal .el-form-item {
    padding-left: 20px;
    float: left;
    text-align: left;
}

.setting-item-special .el-form-item {
    text-align: center;
}

.setting-item-temp,
.setting-item-normal,
.setting-item-special {
    margin-bottom: 25px;
}

.setting-item-body input[type="number"] {
    border: 1px solid rgba(100, 100, 100, 0.5);
    border-radius: 3px;
    padding: 2px 4px;
}

.report-item .el-dialog__title {
    font-size: 25px;
    font-weight: bold;
}

.state-0 {
    background-color: #727272 !important;
}

.state-1 {
    background-color: #3baa34 !important;
}

.state-2 {
    background-color: #e5007f !important;
}

.fuel-icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fuel-meter-arrow {
    position: absolute;
    width: 62%;
    height: 62%;
    top: 19%;
    left: 19%;
    -webkit-transition: -webkit-transform 0.5s ease-in;
    transition: -webkit-transform 0.5s ease-in;
    transition: transform 0.5s ease-in;
    transition: transform 0.5s ease-in, -webkit-transform 0.5s ease-in;
}

.temper-wrapper {
    -webkit-box-shadow: 0 0px 5px 3px rgba(0, 30, 200, 0.3);
    box-shadow: 0 0px 5px 3px rgba(0, 30, 200, 0.3);
    /* background-color: #3baa34; */
    float: left;
    width: 83px;
    height: 83px;
    border-radius: 43px;
    border: 2px solid white;
    padding: 2px;
    margin: 1px 2px;
}

.report-item .overall {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding: 5px 20px;
    background-color: #32b16c;
}

.report-item .overall .device-name {
    width: 55%;
    float: left;
    color: white;
    text-align: left;
    word-break: normal;
}

.report-item .overall .status {
    position: relative;
    width: 30%;
    float: left;
}

.report-item .overall .controls {
    width: 15%;
    float: left;
    text-align: right;
    margin-left: 5px;
}

.report-item .overall .controls a {
    padding: 2px;
    color: white;
    font-size: 20px;
    margin: 3px 0;
    width: 100%;
}

.report-item .temp-wrapper {
    width: 100%;
    padding: 2px 3px 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.report-item .temp-wrapper .temp-item {
    width: 23%;
    margin: 0 auto;
    float: left;
    padding: 6px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 50%;
    overflow: hidden;
    background: #d1d1d1;
}

.report-item .temp-wrapper .temp-item .gauge-wrapper {
    background-color: white;
    width: 100%;
    padding-top: 100%;
    border-radius: 50%;
    position: relative;
}

.report-item .temp-wrapper .temp-item .gauge-wrapper .gauge {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
}

.report-item img {
    width: 100%;
}

.report-item .temp-wrapper .temp-item .gauge-wrapper .temp-value {
    position: absolute;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    text-align: center;
    font-size: 15px;
    line-height: 16px;
    top: 50%;
    margin-top: -6px;
    font-weight: bolder;
}

.report-item .temp-wrapper .temp-item .gauge-wrapper .temp-value p {
    padding-bottom: 2px;
}

.report-item .overall .status .overlay-door {
    position: absolute;
    width: 60%;
    top: 20%;
    left: 20%;
}

.report-item .overall .controls button .fa {
    width: 20px;
    height: 20px;
}

.report-dlg p, .report-dlg ul, .report-dlg li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.report-dlg p {
    font-weight: bold;
}

/* Top banner*/

.top-banner {
    background-color: #5fa2dd;
    color: white;
}

/* Reefer setting */

.reefer-setting .toggle.ios, .reefer-setting .toggle-on.ios, .reefer-setting .toggle-off.ios {
    border-radius: 20px;
}

.reefer-setting .toggle.ios .toggle-handle {
    border-radius: 20px;
}

.reefer-setting .table td, .reefer-setting .table th {
    padding: 0.5rem !important;
}

.reefer-setting .table th {
    border-top: none !important;
}

.reefer-setting td.pad-left-0 {
    padding-left: 0 !important;
}

.reefer-setting .modal-header {
    padding: 0.5rem !important;
}

.reefer-setting .modal-body {
    padding: 0.5rem !important;
}

.reefer-setting table td {
    vertical-align: middle;
}

.reefer-setting table td input {
    border: 1px solid #5fa2dd;
    border-radius: 3px;
    max-width: 65px !important;
}

.reefer-setting td .form-group {
    display: flex;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
}

/* Override bootstrap <a> underline */
a:hover {
    text-decoration: inherit !important;
}

.btn-primary {
    background-color: #5fa2dd !important;
    border-color: #5fa2dd !important;
    color: white !important;
}

/* Map controls css */
.map-controls .x-box-item.x-btn-pressed, .map-controls .x-box-item.x-box-item-setting {
    background-color: white;
}

.map-controls .x-box-item.x-panel-header-title-default {
    background-color: transparent;;
}
.map-controls .x-box-item {
    background-color: #aee6ff;
}