/*
All Emoncms code is released under the GNU Affero General Public License.
See COPYRIGHT.txt and LICENSE.txt.

---------------------------------------------------------------------
Emoncms - open source energy visualisation
Part of the OpenEnergyMonitor project:
http://openenergymonitor.org

*/
html, body {
    height: 100%;
}

#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -40px;
}

.body-login {
    background-color: #1d8dbc;
}

#login-form input[type="text"], #login-form input[type="password"] {
    width: 94%;
}

#push, #footer {
    height: 30px;
}

#footer {
    background-color: #f5f5f5;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    padding-top: 10px;
}

#footer a {
    color: #77b4d9;
    text-decoration: none;
}

#footer span {
    color: #999;
}

#submenu {
    width:100%;
    background-color:#ddd;
    height:27px;
}

#topspacer {
    padding-top: 40px;
}

div#account {
    width:250px;
}

.account-item {
    margin-bottom:10px;
}

input[type=text][class=variable-name-edit] {
    margin-bottom:0px;
}

@media (min-width: 768px) and (max-width: 979px) {
    #topspacer {
        margin-top:-20px;
        padding-top: 0px;
    }
}
/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #submenu, #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #topspacer {
        margin-top:-20px;
        padding-top: 0px;
    }
}

.menu-text {
  display: inherit !important;
}

.menu-description {
  display: none !important;
  margin-left: 10px;
}

.menu-dashboard,.menu-left,.menu-extra,.menu-setup,.menu-right {
  display: inherit !important;
}

.scrollable-menu {
  height: auto;
  max-height: 333px;
  overflow-y: auto;
}

.ajax-loader {
    position: absolute;
    top: 0; bottom:0; left: 0; right:0;
    margin: auto;
    background: rgba(255, 255, 255, .8)
    	url(ajax-loader.gif)
    	center
    	no-repeat;
}

.navbar-inner {
    background-image:none !important;
    background-color:#44b3e2 !important;
    border:none !important;
    padding:0px !important;
}

.nav > .active > a {
    background-color:#209ed3 !important;
    box-shadow:none !important;
}

.nav > .open > a {
    background-color:#2eaadf !important;
}

.nav > li > a {
    color: #fff !important;
    text-shadow:none !important;
}

.caret {
   border-top-color: #fff !important;
}

.text-larger {
    font-size: larger
}

.expand-all .icon-resize-small{
    display: none
}
.expand-all.in .icon-resize-small{
    display: inline-block
}
.expand-all.in .icon-resize-full{
    display: none
}

/* collapsable groups of items */
.node.accordion{
    line-height:41px;
}

.node .accordion-toggle{
    background: #ddd;
    height: 41px;
}
/* dropdown indicator */
.node .accordion-toggle .has-indicator:before {
    content: '';
    transition: border .2s ease-out;
    border-bottom: 5px solid darkgrey;
    border-top: 0 solid transparent;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    display: inline-block;
    margin-bottom: .2em;
}
.node .accordion-toggle.collapsed .has-indicator:before {
    content: '';
    border-bottom: 0 solid transparent;
    border-top: 5px solid darkgrey;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}
.node .select input { margin-top: -1px}
.node .collapse{
    transition-duration: 150ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.950, 0.050, 0.795, 0.035);
    background-color: #ddd;
}
.node .collapse > * {
    border-bottom:1px solid #fff;
    background: #f0f0f0;
    width: 100%;
}
.node .collapse > *{
    position: relative
}
.node .collapse > *:before{
    content: '';
    width: 0px;
    background: #44b3e2;
    height: 100%;
    display: block;
    position: absolute;
    transition: width .2s ease-out;
}
.node .collapse > *:hover:before{
    width: 2px;
}
.node .collapse > *:last-child {
    border-bottom-width: 0
}
.node > * > * ,
.node > * > * > * ,
.node > * > * > .pull-right > *{
    float: left;
    min-height: 1px;
}
.pull-right{float:right!important}
.line-height-expanded{line-height: 2;}
.line-height-normal{line-height: 1.5;}
.cursor-pointer{ cursor: pointer; }

.device-key,
.device-schedule,
.device-configure,
.device-last-updated {
    border-left: 1px solid #eee;
    color: white;
}

.device-key:hover {background-color:#eaeaea;}
.device-configure:hover {background-color:#eaeaea;}

.label-container{padding-top:.6em; display:inline-block; min-width: 200px}

/* select all button */
/*
.has-indicator{position:relative}
.has-indicator:after{
    transition:all 200ms ease-in-out;
    display:block;
    width: 1.1em;
    height: 1.1em;
    background: #FBFBFB;
    border: 1px solid #C7C7C7;
    color: #909090;
    border-radius: 3px;
    position: absolute;
    margin: .85em .55em;
    left:0;
    top:0;
    line-height: 1.1em;
    opacity: 0;
    content: attr(data-marker);
}
.has-indicator:hover:after{
    opacity: 1;
}
.has-indicator:active:after{
    border: 1px solid #B1522E;
    color: #FBFBFB;
    background: #D65C29;
}
*/
#table .accordion{
    margin-bottom:.5em
}


#table{margin-top:3rem}
.controls{
    transition: all .2s ease-out
}
.controls.affix:before{
    content: '';
    background: rgba(5,4,4,0.7);
    width: 100%;
    display:block;
    position: fixed;
    z-index: -1;
    height: 2.5rem;
    left:0;
    margin-top:-.3rem;
}
.controls.affix > *{
    z-index: 2
}
.controls.affix{
    z-index: 2;
    top: 2.5rem;
    padding: .3rem 0;
}
.controls.affix-top{position: absolute;}

@media(max-width:979px) {
    .controls.affix{top:0}
}