html{
font-family: 'Open Sans', sans-serif;
    	height: 100%;
	display: flex;
	width: 100%;
}

body{
    display: flex;
    flex: 1;
    flex-direction: column;
    width:100%;
}

.nav-tabs{
    height:40px!important;
}

.light-blue{
   background-color: rgb(45, 149, 255);
}
.dark-blue{
   background-color: rgb(3, 89, 125);
}

.light-green{
   background-color: rgb(96, 187, 115)!important;
}
.light-red{
   background-color: rgba(229, 89, 52, 1);
}
.light-orange{
   background-color: rgba(250, 121, 33, 1);
}
.light-yellow{
  background-color: rgba(253, 231, 76, 1);
}

.wrapper{
    display: flex;
    flex: 1;
    width: 96%;
    margin: auto;
    flex-direction: column;
}

.container-mdm{
    display: flex;
    flex: 1;
    flex-direction: column;
}

.navbar-brand img{
    background: url('/img/Antenna_A_SM.png') center / contain no-repeat;
    height:30px;
    width:auto;
}

.navbar{
    background: white;
    font-family: 'Open Sans', sans-serif;
}

.navbar-brand{
    background: white;
    font-family: 'Open Sans', sans-serif;
    color: auto!important;
}

.navbar-brand a:hover{
    background-color:auto;
}

.navbar-brand a{
    background-color:auto;
}

.navbar ul.right{
    float:right;
}

.navbar .hidden{
    display:none;
}

.lockable.locked{
   pointer-events: none;
   cursor: default;
   background: url('/img/lock.png');
   background-size: 20px 20px;
   background-repeat: no-repeat;
   background-position: center;
  color: rgba(255, 255, 255, 0.2)!important;
}

    @-webkit-keyframes chargerPulse {
        from { box-shadow: #444444 0px 0px 0px 0px}
        50% {box-shadow: #DEFFE0 0px 0px 0px 1px}
        to {box-shadow: #444444 0px 0px 0px 0px}
    }

    @-webkit-keyframes devicePulse {
        from { box-shadow: #DEFFE0 0px 0px 0px 0px}
        50% {box-shadow: #DEFFE0 0px 0px 2px 2px}
        to {box-shadow: #DEFFE0 0px 0px 0px 0px}
    }

    @-webkit-keyframes bluePulse {
    from { background-color: rgb(0, 150, 213); -webkit-box-shadow: 0 0 9px #b1e5f9; }
    50% { background-color: #001e2e; -webkit-box-shadow: 0 0 0px #2e2e2e; }
    to { background-color: rgb(0, 150, 213); -webkit-box-shadow: 0 0 2px #b1e5f9; }
    }

    @-webkit-keyframes redPulse {
    from { background-color: #FF4D4D; -webkit-box-shadow: 0 0 2px #FF5F5F; }
    50% { background-color: #B24242; -webkit-box-shadow: 0 0 0px #BA5555; }
    to { background-color: #FF4D4D; -webkit-box-shadow: 0 0 2px #FF5F5F; }
    }


    .alive{
        background-color: rgba(155, 197, 61, 1);
        position: relative;
        top:5%;
        height:10%;
        width:10%;
        margin:5%;
    }

    .blue-light{
        background-color: green;
        position: relative;
        top:5%;
        height:10%;
        width:10%;
        margin:5%;
        border-radius: 50%;
        -webkit-animation-name: bluePulse;
        -webkit-animation-duration: 200s;
        -webkit-animation-iteration-count: infinite;
    }

    .charger.nudge{
        -webkit-animation-name: chargerPulse;
        -webkit-animation-duration: .3s;
        -webkit-animation-iteration-count: 1;
    }

    .device.nudge{
        -webkit-animation-name: devicePulse;
        -webkit-animation-duration: .3s;
        -webkit-animation-iteration-count: 1;
    }
    .toolbar-item.locked{
    color:black;

    cursor: default;
    background-color: rgb(68,68,68)
    }

    .toolbar-item.locked:hover{
    text-decoration: line-through;
    cursor:default;
    background-color: rgb(68,68,68)
    }


    .progress-bar{
    background-color:rgb(0, 150, 213);
    width:0;
    }

    .progress-bar.done{
    background-color:rgb(125, 224, 68);
    }
    .job-progress-text{
    width:100%;
    text-align:center;
    }
    .mdm-panel{
        width:100%;
        display: flex;
        flex-direction: column;
    }

    .mdm-panel-body{
        padding:10px;
        flex: 1;
        overflow: auto;
    }

    .mdm-panel-body p{
        margin:5px;
        overflow: auto;
    }
    .panel-body .progress{
    margin:5px;
    border-radius:0;
    }

    .mdm-panel-header{
        padding:5px;
        color:white;
        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.2);
        -moz-box-shadow: 0 1px 1px rgba(0,0,0,.1);
        box-shadow: 0 1px 1px rgba(0,0,0,.1);
        border-bottom: 1px solid #ebebed
    }

    .dropdown-menu{
        width: 100%!important;
    }

    .dropdown-menu li{
        color: black;
    }

    .mdm-panel-header.dark{
        padding:5px;
        color:white;
    }

    .mdm-panel-header p{
        padding:0;
        margin:0;
        width: 100%;
    }
    .mdm-panel-content{
        flex: 1;
        flex-direction: column;
        display: flex;
    }

    .inner{

    }
    .mdm-panel-inner{
        width:100%;
        display: flex;
        flex-direction: column;
    }

    .filter-panel-subheader{
        display: flex;
        flex-direction: row;
    }

    .filter-panel-subheader a:hover{
        cursor: pointer;
        text-decoration: none;
    }

    .filter-panel-subheader p{
        flex: 1;
    }

    .site-main-content-holder{
        flex: 5;
        display: flex;
    }

    .site-main-content{
        flex: 1;
        flex-direction: column;
        display: flex;
    }

    .lower-panel{
        flex:2;
        display: flex;
        margin-top: 10px;
    }

    tr.selected{
    background-color:aliceblue;
    }
    .content-panel.hidden{
    display:none;
    }
    .unselected.charger{
    opacity: .2!important;
    cursor: pointer;
    }

    .selected.charger{
    opacity: .9!important;
    cursor: pointer;
    }

    .charger.unselected .charger_obj, .charger.selected .charger_obj{
    opacity:.1!important;
    z-index:-1;
    }
    .red{
    background-color: rgba(229, 89, 52, 1) !important;
    }
    .yellow{
    background-color: #fffb54 !important;
    }

    .green{
        background-colorrgb(125, 224, 68)!important;
    }

    .charger_obj.filtered{
        background-color: rgb(125, 224, 68)!important;
    }

    .location-tab-content.tab-pane{
    overflow-y:hidden;
    overflow-x:auto;
    white-space: nowrap;


    }
    .site-location{
    background-color:blue;
    }

    .panel{
    border-radius: 0;
    }

    .inspector-panel{
        display:flex;
        flex-direction: column;
    }

    .inspector-panel-menu{
	height: 40px;
	/* flex: 1; */
	display: flex;
    background-color: #03597d;
	box-shadow: 0px 1px 1px #c1c1c1;
    }

    .inspector-panel-menu ul{
	padding: 0px;
	margin: 0px;
	/* box-shadow: 1px 1px 1px grey; */
	display: flex;
    }

    .inspector-panel-menu ul li{
	padding: 10px;
	margin: auto;
	color: white;
	border-right: 1px solid #cacaca;
	/* box-shadow: 1px 0px 1px #cacaca; */
	cursor: pointer;
    }

    .inspector-panel-menu ul li:hover{
        background-color: rgb(38, 131, 226);
    }

    .row-flex, .row-flex > div[class*='col-'] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex:1 1 auto;
}

    .panel-inner{
        width:100%;
    }



    .logs{
        margin-top:1em;
        max-height:10em;
        height:10em;
        overflow-y: auto;
        overflow-x: hidden;
        word-wrap: break-word;
    }

    .log-message.info span{
        color:#78DBAC;
        cursor: pointer;
    }
    .log-message.info:hover{
        font-weight: bold;
        cursor: pointer;
    }

    .log-message.error{
        color:rgba(229, 89, 52, 1);
    }

    .log-message.error:hover{
        color:maroon;
    }

    @-webkit-keyframes highlight-glow-success {
        to {
             border-color: #69c800;
             background-color: #69c800;
            -webkit-box-shadow: 0 0 5px #78DBAC;
            -moz-box-shadow: 0 0 5px #78DBAC;
            box-shadow: 0 0 5px #69c800;
        }
    }

    @-webkit-keyframes highlight-glow-error {
        to {
             border-color: #69c800;
             background-color: #69c800;
            -webkit-box-shadow: 0 0 5px rgba(229, 89, 52, 1);
            -moz-box-shadow: 0 0 5px rgba(229, 89, 52, 1);
            box-shadow: 0 0 5px #69c800;
        }
    }

    .highlighted-success {
        border: 1px solid transparent;
        -webkit-animation: highlight-glow-success 1.0s infinite alternate;
         -webkit-transition: border .5s linear, box-shadow .5s linear;
           -moz-transition: border .5s linear, box-shadow .5s linear;
                transition: border .50s linear, box-shadow .5s linear;
    }
    .highlighted-error {
        border: 1px solid transparent;
        -webkit-animation: highlight-glow-error 1.0s infinite alternate;
         -webkit-transition: border .5s linear, box-shadow .5s linear;
           -moz-transition: border .5s linear, box-shadow .5s linear;
                transition: border .50s linear, box-shadow .5s linear;
    }

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

    .site_list td div{
        display: inline-block;
        margin: 1px;
    }
    .site_list td{
        vertical-align:middle!important;
    }

    .site_list tr{
       height:50px;
    }

    .site_list thead tr td{
        font-weight:normal;
        color:white;
        background-color:rgb(68,68,68);
    }

    .site_list tbody tr:hover{
        background-color: #E0E0E0!important;
        cursor:pointer;
    }

    .no-pad{
        padding:0!important;
    }

    #inspector-panel{
        font-size: 1em;
    }



    .inspector-panel-tab-content{
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    #inspector-panel.inspector-panel-tab-content{
        line-height: 1em;
        font-size: .8em;
    }

    #inspector-panel .header-container{

    }

    .inspector-header p{
        flex: 1;
        padding:0;
        margin:0;
    }

    .inspector-header .battery-icon{
        top:40%;
    }

    .inspector-header{
        padding: 5px;
        background-color: white;
        color:black;
        font-weight: bold;
        display:flex;
        flex-direction: row;
        align-items: center;
    }

    #inspector-panel .section h3{
        font-size:1em;
        font-weight: bold;
    }

    #inspector-panel .section{
        border-bottom: 1px solid #f0f0f0;
    }

    #inspector-panel .btn{
        float:right;
    }

    .btn{
        border-radius: 0px;
    }

    .battery-icon{
        width: 20px;
        height: 10px;
        border: rgb(68,68,68) 1px solid;
        background-color: white;
    }

    .battery-icon-inner {
        height: 100%;
        background-color: rgb(125, 224, 68);
    }

    .battery-icon-cap{
        height: 4px;
        background-color: white;
        width: 1px;
        right: -2px;
        top: 25%;
        position: absolute;
    }

    .message-outer {
        border-bottom: 1px solid lightgrey;
    }

    .message-body {
        display: inline-flex;
    }

    .message-date {
        font-size: .8em;
    }

    .message-code {
        padding-left: 3px;
        vertical-align: middle;
        margin-right: 5px;
        padding-right: 5px;
        background: rgba(229, 89, 52, 1);
        color: white;
        font-weight: bold;
        width: 30px;
    }

    .configuration-panel-outer{
        display: flex;
        flex: 1;
        flex-direction: column;
    }

    .configuration-panel-inner{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 auto;
    }

    .configuration-panel-section{
        flex: 1;
        display: flex;
        flex-direction: column;
    }


    .configuration-panel-section-4{
        flex: 4;
        display: flex;
        flex-direction: column;
        overflow: auto;
    }

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

    .firmware-row{
        flex: 1;
        padding:10px;
        display: flex;
        flex-direction: column;
    }

.firmware-row table{
    flex: 1;
    }

.padded-10{
    padding:10px;
}

/* ============================================
   Charger Config Panel Styles
   ============================================ */

.config-section {
    margin-bottom: 15px;
    background: #fafafa;
    border-radius: 4px;
    padding: 10px;
}

.config-section h4 {
    font-size: 11px;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.config-table {
    font-size: 12px;
    margin-bottom: 0;
    background: transparent;
}

.config-table td {
    padding: 6px 8px !important;
    vertical-align: middle;
    border: none !important;
}

.config-label {
    font-weight: 500;
    color: #555;
    width: 45%;
}

.config-value {
    color: #333;
}

.config-input {
    display: inline-block;
    width: calc(100% - 30px);
    height: 28px;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.config-input:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 3px rgba(102, 175, 233, 0.4);
}

.config-input-port {
    width: 80px;
}

.config-validation {
    margin-left: 8px;
}

/* Toggle Switch */
.config-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
    cursor: pointer;
}

.config-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.config-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.config-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.config-toggle input:checked + .config-toggle-slider {
    background-color: #5cb85c;
}

.config-toggle input:checked + .config-toggle-slider:before {
    transform: translateX(20px);
}

.config-toggle input:focus + .config-toggle-slider {
    box-shadow: 0 0 3px rgba(92, 184, 92, 0.5);
}

/* Smart Restart Option */
.config-restart-option {
    margin-top: 15px;
    padding: 12px;
    background: #f0f7ff;
    border-radius: 4px;
    border: 1px solid #d0e3f7;
}

.config-restart-label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.config-restart-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.config-restart-hint {
    margin: 6px 0 0 24px;
    color: #666;
    line-height: 1.4;
}

/* Actions */
.config-actions {
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.config-push-btn {
    margin-bottom: 8px;
    font-weight: bold;
}

.config-push-btn i {
    margin-right: 6px;
}

.config-refresh-btn i {
    margin-right: 6px;
}

/* Status bar */
.config-status {
    text-align: center;
    padding: 8px;
    font-size: 11px;
    color: #888;
    min-height: 30px;
}

.config-status.has-changes {
    background: #fcf8e3;
    color: #8a6d3b;
    border-radius: 4px;
}

.config-status i {
    margin-right: 5px;
}

/* Toast notifications */
.config-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    color: white;
    font-size: 13px;
    z-index: 9999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

.config-toast-success {
    background: #5cb85c;
}

.config-toast-error {
    background: #d9534f;
}

.config-toast-info {
    background: #5bc0de;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.config-panel-placeholder {
    color: #999;
    text-align: center;
    padding: 30px;
    font-style: italic;
}

.config-loading {
    text-align: center;
    padding: 30px;
    color: #666;
}

.config-loading i {
    margin-right: 8px;
}

.config-message {
    padding: 15px;
    background: #e8f4fc;
    border-radius: 4px;
    color: #31708f;
}

.config-message i {
    margin-right: 8px;
}

.config-error {
    padding: 15px;
    background: #f2dede;
    border-radius: 4px;
    color: #a94442;
}

.config-error i {
    margin-right: 8px;
}

.config-panel-refresh {
    cursor: pointer;
}

.config-panel-refresh i {
    margin-right: 5px;
}
