﻿/* ====================================================================== */
/*  / Account Details page
====================================================================== */

.b-location {
    border: 1px solid #ddd;
    /*border-top-width: 6px;*/
    margin-bottom: 24px;
}

.b-location-header {
    background-color: #f5f5f5;
    border: 0 solid #ddd;
    border-bottom-width: 1px;
    padding: 6px 12px 6px 12px;
    position: relative;
}

.b-location-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 6px 12px 6px 12px;
    font-size: 12px;
}

h4.location-name {
    font-weight: bold;
    display: inline;
}

.location-description {
    display: inline;
    margin-left: 16px;
}

.b-location-details-head a {
    font-size: 11px;
    color: inherit;
}

.b-location-details-body {
    display: none;
    margin-left: 20px;
    font-size: 12px;
}

.b-location-body {
    min-height: 20px;
    padding: 12px 12px 0 12px;
}

.b-location-scenes {
    margin-bottom: 12px;
}

.b-location-add-scene {
    margin-top: 12px;
    margin-bottom: 12px;
    margin-right: 20px;
}

.b-location-add-device {
    margin-top: 12px;
    margin-bottom: 12px;
}

.b-scene {
    background-color: #fefefe;
    margin-bottom: 8px;
    padding: 10px 0 5px;
}

    .b-scene:nth-child(n+2):before {
        content: " ";
        display: block;
        background: #c5cde0;
        height: 1px;
        clear: both;
        width: 100%;
        margin: 0 auto 25px;
    }

.b-scene-image {
    float: left;
    background: #c5cde0;
    box-shadow: 3px 3px 3px #888;
    border-radius: 12px;
    position: relative;
    padding: 0;
    margin-left: 10px;
}

.b-scene-body {
    padding: 0;
    float: right;
}

.scene-position {
    position: absolute;
    bottom: -8px;
    left: -10px;
    background: #fff;
    border-radius: 15px;
    color: #000;
    padding: 0 4px;
    border: 1px solid rgba(0,0,0,0.25);
    line-height: 17px;
    font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /*font-weight: bold;*/
}

.b-scene h5 {
    font-size: 20px;
    font-weight: bold;
    line-height: 25px;
    margin-top: 0;
    margin-bottom: 5px;
}

.scene-edit,
.station-name-edit {
    font-size: 14px;
    display: inline-block;
    margin-left: 15px;
    position: relative;
}


.controller-edit {
    font-size: 14px;
    display: inline-block;
    margin-left: 10px;
    position: relative;
}

.fa-wifi{
    vertical-align:top;
}

.controller-edit i.icon-pencil {
    vertical-align: bottom;
}

.controller-edit.ie-adjustment i.icon-pencil {
    vertical-align: inherit;
}

.controller-edit i.icon-calendar {
    font-size: 20px;
}

.edit-scene-schedule {
    float: left;
}

.edit-scene-choose-file input[type="file"] {
    display: inherit;
    line-height: 1px;
}

.scene-description {
    font-size: 12px;
    color: #666;
}

.scene-schedule {
    font-size: 13px;
    line-height: initial;
    color: #888;
    margin-left: 10px;
    float: left;
    display: inline-block;
    padding-top: 5px;
}

.scene-spacer {
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}

.b-scene-buttons {
    float: right;
}

a.bulb {
    display: inline-block;
    position: relative;
    top: 6px;
}

a.controllerBulb {
    display: inline-block;
    position: relative;
    top: 15px;
    height: 26px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */

    a.controllerBulb {
        top: 0;
    }
}

a.station-status,
a.program-status {
    height: 23px;
}

/* Gateway Disabled - Scene buttons */
.disable-scene-control input[type="submit"], .disable-scene-control input[type="submit"]:hover, .disable-scene-control input[type="submit"]:focus {
    background: #ddd;
    color: #eee;
}

.disable-scene-control input[type="text"] {
    background: #eee;
    border-color: #ddd;
}

    .disable-scene-control input[type="text"]::-webkit-input-placeholder {
        color: #ccc;
    }

    .disable-scene-control input[type="text"]:-moz-placeholder {
        color: #ccc;
    }

    .disable-scene-control input[type="text"]::-moz-placeholder {
        color: #ccc;
    }

    .disable-scene-control input[type="text"]:-ms-input-placeholder {
        color: #ccc;
    }

input.btn-scene-on, input.btn-scene-off,
input.btn-scene-on:focus, input.btn-scene-off:focus {
    color: #fff;
    background: #169fe6;
    /*padding: 3px; */
    width: 50px;
    margin-right: 8px;
}

input.input-duration {
    display: inline;
    width: 62px;
    padding: 3px;
    border-radius: 0 !important;
}

.userlist-admins {
    margin-top: 20px;
}

.userlist-reps {
    margin-top: 20px;
}

/******************/
/* ACCOUNT DETAIL */

.account-info {
    line-height: initial;
}

    .account-info .address {
        font-size: 14px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .account-info .phone {
        font-size: 14px;
        margin-bottom: 8px;
    }

.alert-container {
    position: relative;
}

.alert {
    padding: 4px 10px;
    margin-bottom: 5px;
    text-align: center;
    position: fixed;
    top: 175px;
    height: 33px;
    z-index: 9999;
    bottom: 0px;
    left: 16%;
    right: 16%;
    color: #000;
    background-color: #f9edbe;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.errorAlert {
    padding: 4px 10px;
    margin-bottom: 5px;
    text-align: center;
    position: fixed;
    top: 175px;
    height: 33px;
    z-index: 9999;
    bottom: 0px;
    left: 16%;
    right: 16%;
    color: #000;
    background-color: #f9bebe;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.remove-rep {
    color: #f00;
    margin-left: 4px;
    display: none;
}

.scene-status {
    display: inline-block;
    margin-right: 10px;
}

.b-location-scg-status {
    float: right;
}

.dot {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin-left: 4px;
    display: inline-block;
}

.offline {
    background: #898f9c;
}

.online {
    background: #0f9d28;
}

.offline-label {
    color: #898f9c;
    border-bottom: 1px dotted #898f9c;
}

.online-label {
    color: #0f9d28;
    border-bottom: 1px dotted #0f9d28;
}


.firmware-upgrade-msg {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: red; 
}

.location-overlay-div {
    height: 100%; 
    width: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
    background-color: black; 
    opacity: .3;
}

.location-overlay-text {
    position: absolute;
    margin: 30px auto auto auto;
    left: 0; 
    right: 0; 
    bottom: 0; 
    top: 0;
    text-align: center; 
    width: 80%; 
    height: 29px;
    line-height: 20px;
    padding-top: 5px;
    background-color: orange;
    color: black;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 4px 4px 10px black;
}

@media screen and (max-width: 510px) {
    .location-overlay-text {
        width: 90%;
    }
}

@media screen and (max-width: 451px) {
    .location-overlay-text {
        height: 50px;
    }
}


.location-overlay-container {
    position: relative;
    opacity: .7;
}


.users-section-container {
    margin-left: 15px;
}

@media screen and (max-width: 768px) {
    .users-section-container {
        margin-left: 0;
    }
}
