
:root {
/*  --gazbee-color: #9c27b0;
  --gazbee-sec-color: #5c1769;
  --gazbee-ligth-color: #f8eafa;
  --main-bg-color: var(--gazbee-color);
  --main-h1-color: var(--gazbee-color);*/
}



/* Evita que se ensanche todo el nav-bar por el logo*/
.navbar-header {
    top: 3px;
    position: absolute;
}

.topic {
    font-family: monospace, serif;
    font-size: 1em;
    border-left: solid 4px #9c27b0;
    padding-left: 10px;
    background: rgba(128, 128, 128, 0.08);
    font-weight: bold;
    color: #333;
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 20px;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding-bottom: 2px;
    padding-top: 1px;
}

.bold{
    font-weight: bold;
}


/*gridster*/
ul {
  list-style-type: none;
}

.gridster * {
  margin:0;
  padding:0;
}

body {
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #7d808c;
    background-color: #fff;
}

.gridster ul {
    background-color: #EFEFEF;
}

.gridster li {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    line-height: 100%;
}

/*
.gridster {
    margin: 0 auto;
    opacity: .8;
    -webkit-transition: opacity .6s;
    -moz-transition: opacity .6s;
    -o-transition: opacity .6s;
    -ms-transition: opacity .6s;
    transition: opacity .6s;
}*/

.gridster .gs-w {
    background: #DDD;
    cursor: pointer;
}
.gs-w:hover .btn_cfg, .resizing .btn_cfg {
    opacity: 0.8;
}

.tab-pane:hover .btn_cfg, .resizing .btn_cfg {
    opacity: 0.8;
}



.gridster .player {
    background: #BBB;
}


.gridster .preview-holder {
    border: none!important;
    background: blueviolet!important;
    /*#border-color: black;
    #border-style: solid;
    #border-width: 1px;*/
    
}

 /* Estilos de los widgets */
 
 /*pantalla principal del Widget*/
 .uw-main{
    top: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
 }
 
 /*Linea del heading del widget*/
 .uw-heading{
     padding: 4px 4px;
 }
 
 /*body del widget*/
 .uw-body{
    width:100%; 
    height: calc(100% - 27px); 
    overflow-y: auto;
    padding:7px;
 }
 
 /*Línea ingferior de info del widget*/
 .uw-info{
     width:100%; 
     height: 20px; 
     bottom:-5px; 
     left:3px; 
     position:absolute;
     text-align: left;
 }
 
 .uw-config{
    background-color: #FFFFFF;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    min-width: 180px;
    min-height: 141px;
    display:none; 
    padding-bottom: 20px;
}

.uw-config_form{
    margin: 10px;
}
/* EL div que contiene el título*/
.uw-panel-title-div{
    width: calc(100% - 40px);
    left: 20px;
    position: relative;
    overflow: hidden;
}
/* el H3 que contiene el título*/
.uw-panel-title{
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:15px;
    font-weight: 300;
}
/*TODO: repasar para ver si cambiamos el nombre*/
.ddbb-update{
	height: 20px;
	font-size: 11px;
	padding: 5px;
        padding-top: 1px;
}

/*TODO: repasar para ver si cambiamos el nombre*/
.control-label{
    font-weight:lighter!Important;
    margin-top: 3px;
    text-align: initial;
    font-size: 11px;
}

/*Para que el navbar no sea del ancho del logo*/
.navbar-left{
    position: absolute;
}


/*Papelera para la edición de los dashboards*/
/*#delWidget{
	display:none;
	position: relative;
	top: 5px;
	left:84px;
	opacity:0.7;
}
#delWidget:hover{
	opacity:1;
}*/
/*Papelera para la edición de los dashboards*/
#reconfigDashboard{
	display:none;
	position: relative;
	top: 5px;
	left:80px;
	opacity:0.7;
}
#reconfigDashboard:hover{
	opacity:1;
}

/*Controles de los device widgets*/

.WB-dev-panel{
	height:100%;
	width:160px; 
	position: absolute; 
	top: 0px; 
	right:0px;
        overflow:hidden;

}
.WB-dev-LCD{
	color:#555;
	height:84px;
	width: 90%;
	position: absolute;
	left:0px;
	border-width: 2px;
	border-color: black;
	border-radius: 5px;
	background-color: #bcc2b3;
	padding: 3px;
	margin: 3%; 
	box-shadow: inset 1px 1px;
}

.WB-dev-LCD2{
	color:#555;
	height:104px;
	width: 90%;
	position: absolute;
	left:0px;
	border-width: 2px;
	border-color: black;
	border-radius: 5px;
	background-color: #bcc2b3;
	padding: 3px;
	margin: 3%; 
	box-shadow: inset 1px 1px;
}

.WB-dev-LCD-icons{
    position: relative;
    width: 100%;
    padding: 4px;
    display:flex;
}


.WB-dev-bigLCD{
	font-weight: normal;
	text-align:center;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	line-height: 0.9;	
	height:26px;
	padding:5px;
	font-size: x-large;
	font-weight: 600;
	margin: 0px;
}
.WB-dev-smallLCD{
	font-family: 'Helvetica Neue', Arial, sans-serif;
        line-height: 0.9;
	height:12px;
	margin: 0px;
}
.WB-dev-iconLCD{
	bottom: 4px;
	right: 4px;
	position: absolute;
}

.WB-dev-alert-msg{
    width: 60%;
    height: 60%;
    left: 20%;
    position: absolute;
    text-align: center;
    top: 20%;
    padding: 10px;
}

.WB-dev-controls{
	height:25%;
	width: 90%;
	position: absolute;
	top:93px;
	left:0px;
	margin: 3px;
}
.WB-clock{
    padding: 2px;
    width: 50px;
    font-size: 10px;
    background-color: green;
}
.dw-panel-heading{
    padding: 4px 4px;
    overflow: hidden;
    height: 24px;
    text-align: center;
}
.dw-panel-default{
    top: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
}
.WB-dev-image{
	height:100%;
	overflow: hidden;
	width:50%;
}
.WB-btn-cmd{
	padding:1px;
}

.dw-panel-body {
    width:100%; 
    height: calc(100% - 27px);
    position: relative;
}

.dw-panel-title-div{
    width: calc(100% - 90px);
    left: 75px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.dw-panel-title{
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    font-weight: 300;
    margin-top: 0px;
}

.dw-config_form {
    margin: 10px;
}
/*Para que en el mapa no salgan muy separados los campos*/
.form-denso{
    margin-bottom: 0px;
}
.type_Normal{
	padding-top:5px;
}


/*
*
*
*               Estilos del mapa de dispositivos
*
*
*/
/*
#map{
    width: 100%;
    height: 100%;
    height: calc(100%-50px);
}*/
/*
#map-menu{
    position: absolute;
    bottom: 60px;
    left: 5px
}
*/
/*
#btn-map-config{
    position: absolute;
    left: 20px; 
}

#btn-map-list{
    position: absolute;
    left: 70px; 
}
    */
/*
#map-list{
        position: absolute;
	height:70%;
        top: 52px;
}
*/
#map-filters{
        position: absolute;
	height:70%;
        top: 42px;
}

/*
#map-list-container{
	position:relative;
	width: 300px;
	z-index: 3;
	height:calc(100vh - 140px); 
	overflow-y: auto;
	overflow-x: hidden;
}
*/
/*
.map-list-title{
    width: 100%;
    position:relative;
    background-color: blueviolet;
    color: white;
    padding-top: 5px;
    padding-right: 0px;
    padding-bottom: 5px;
    padding-left: 0px;
    text-align: center;
    font-size: large;
}
    */
/*
.map-list-item{
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
}
*/
.map-list-line-1{
width: 100%;	
}

.map-list-line-2{
	color: #aaaaaa;
	font-size: smaller;
}

.map-list-time-badge{
    position: relative;
    top: 6px;
    left: -12px;
}
.map-list-item{
    margin-left: 0px;
}

.map-shadow{
	text-shadow: 0px 0px 4px #ffffff;
	/*color: black;*/
        background-color: #9c27b0; /*background-color: var(--gazbee-color);*/
        color: white;
        text-align: center;
        padding: 3px;
}

#map-filter-container > .btn-group-vertical >div, #map-cluster-config{
    opacity:0.4;
}

#map-filter-container > .btn-group-vertical >.active, #map-cluster-config.active{
    background-color:#f8eafa; /*background-color: var(--gazbee-ligth-color);*/
    opacity:1;
}


/*botones del mapa*/
.btn-circle.btn-lg {
    width: 40px;
    height: 40px;
    padding: 6px 7px;
    font-size: 20px;
    line-height: 1;
    border-radius: 25px;
    background-color: #9c27b0;
    color: white}

/* pantalla de mis dispositivos (paginada)*/

#ddp-menu{
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 10000;
    display: flex;
}

#ddp-config {
    display: none; 
}








/* callouts para resaltar mensajee*/
/*
 * Callouts
 *
 * Not quite alerts, but custom and helpful notes for folks reading the docs.
 * Requires a base and modifier class.
 */

/* Common styles for all types */
.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
}
.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}
.bs-callout p:last-child {
  margin-bottom: 0;
}
.bs-callout code {
  border-radius: 3px;
}

/* Tighten up space between multiple callouts */
.bs-callout + .bs-callout {
  margin-top: -5px;
}

/* Variations */
.bs-callout-danger {
  border-left-color: #ce4844;
}
.bs-callout-danger h4 {
  color: #ce4844;
}
.bs-callout-warning {
  border-left-color: #aa6708;
}
.bs-callout-warning h4 {
  color: #aa6708;
}
.bs-callout-info {
  border-left-color: #1b809e;
}
.bs-callout-info h4 {
  color: #1b809e;
}
.bs-callout-gazbee {
  border-left-color:#9c27b0; /*border-left-color: var(--gazbee-color);*/
  background-color: #9b27b004;
}
.bs-callout-gazbee h4 {
  color:#9c27b0; /*color: var(--gazbee-color);*/
}
/* Formato del dispositivo*/
.gb-device{
    min-width: 120px;
    background-color:#9c27b0; /* background-color: var(--main-bg-color);*/
    display: inline-block;
    padding: 4px 7px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 10px;
}

.gb-username{
    font-size: 14px;
    font-weight: 500;
    vertical-align: middle;
    padding:4px;
}

/* css del Alert Dashboard*/

.aw-col{
    color: #000;
    font-size: 12px;
    top: 0px;
    padding-left: 5px;
    padding-right: 5px;
    min-width: 140px;
}

.aw-config{
	height: 20px;
	font-size: 11px;
	padding: 0px;
}

.aw-btn-alert{
    width: 90px;
    background-color: grey;
    color: white;
}
.config-section{
    padding: 6px;
    text-align: left;
    font-size: 12px;
    color: #8f17ad;
    padding-top: 10px;
}

.aw-config-form{
    border-style: outset;
    background-color: white;
    border-width: thin;
}

.wg-alert-log{
    height:15px;
    top: -2px;
    overflow: hidden;
}

/*pantalla principal del Widget*/
 .aw-main{
    top: 0px;
    width: 100%;
    height: 100%;
 }
 
 /*Linea del heading del widget*/
 .aw-head{
     padding: 4px 4px;
 }
 
 /*body del widget*/
 .aw-body{
    width:100%; 
    height: calc(100% - 20px); 
    overflow-y: auto;
    padding:7px;
 }
 
 /*Línea ingferior de info del widget*/
 .aw-info{
     width:100%; 
     height: 20px; 
     bottom:-5px; 
     left:3px; 
     position:absolute;
     text-align: left;
 }
 
 .aw-config{
    background-color: #FFFFFF;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    min-width: 180px;
    min-height: 141px;
    display:none; 
    padding-bottom: 20px;
    height: auto;
}
.aw-panel-heading{
    padding-top: 1px;
    padding-bottom: 1px;
    height:20px;
}
.aw-config_form{
    margin: 10px;
}
/* EL div que contiene el título*/
.aw-panel-title-div{
    width: calc(100% - 40px);
    left: 20px;
    position: relative;
    overflow: hidden;
}
/* el H3 que contiene el título*/
.aw-panel-title{
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:15px;
    font-weight: 300;
    color: white; 
}
.aw-status{
    top:1px;
}

.aw-if-then{
    padding: 5px;
    padding-top: -1px;
    margin-top: 0px;
    margin: 2px;
    min-width: 360px;
}

/* Clases de estilo de las páginas*/
#page-wrapper{
    background-color: #f6f6f6;
    min-height: 100vh;
}

#page-wrapper45{
    background-color: #f6f6f6;
    padding-top: 52px;
    padding-bottom: 25px;
    min-height: 100vh;
}

#page-wrapper65{
    background-color: #f6f6f6;
    padding-top: 65px;
    min-height: 100vh;
}

.footer-left, .footer-left>footer>a{
    position: fixed;
    top: 100px;
    writing-mode: vertical-rl;
    left: 1px;
    overflow:hidden;
    color:#9c27b0; /* color: var(--main-bg-color);*/
    width: 18px;
    -ms-writing-mode: tb-rl;
    /*-ms-transform: rotate(-90deg);*/
}

.pd25{
    padding: 25px;
    padding-top: 0px;
}

/* Controles del tootip que informa de la configuración del widget*/
/*
.ttIco{
	top:0px;
	left:0px;
	height:34px;
	width: 34px;
}
.ttCnt{
	position:absolute;
	top:0px;
	left:34px;
	z-index: 1000;
	color:white;

}

.red-tooltip + .tooltip > .tooltip-inner {background-color: #f00;}
.red-tooltip + .tooltip > .tooltip-arrow { border-bottom-color:#f00; }

.green-tooltip + .tooltip > .tooltip-inner {background-color: #3C763D;}
.green-tooltip + .tooltip > .tooltip-arrow { border-bottom-color:#3C763D; }

.orange-tooltip + .tooltip > .tooltip-inner {background-color: #FFA500;}
.orange-tooltip + .tooltip > .tooltip-arrow { border-bottom-color:#FFA500; }
*/
/*
.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-color: #fff;
  border-width: 5px 5px 0;
}
.tooltip-inner {
  color: #fff;
  background: #fff;
  width: 200px;
  padding: 3px;
  z-index:1000;
  box-shadow: 2px 2px 6px #000;
}
*/

.btn_status {
    position: absolute;
    left: 5px;
    top: 5px;
}

.btn_cfg {
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: 0.01;
}
.config_form{
	padding: 5px;
    font-family: Arial;
    font-size: 11px;	
    font-weight:lighter!Important;
}
.control-label{
	font-weight:lighter!Important;
	margin-top: 3px;
    text-align: initial;
    font-size: 11px;

}
.config_campo{
	height: 20px;
	font-size: 11px;
	padding: 1px;
        padding-left: 5px;
	
}
.configOverflow{
    background-color: #FFFFFF;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    min-width: 180px;
    min-height: 141px;
    height: auto;
    
}

.seccion{
	padding-top:10px;
        padding-bottom:1px;
        color:#9c27b0; /*color: var(--gazbee-color);*/
	text-align:left;
}

/*El botón de las configuraciones de los device Widgets*/
/*
.btn-adv, .btn-adv:focus, btn-adv:active, btn-adv.active.focus, btn-adv.active:focus, .btn-adv.active, .btn-adv:active:hover {
    min-width: 80px;
    padding-left:5px;
    padding-right: 5px;
    color: #fff;
    background-color:#9c27b0;
    border-color:#9c27b0;
}

.btn-adv:hover {
    color: #fff;
    background-color: #5c1769;
    border-color:#9c27b0;
}
*/
.btn-alt, .btn-alt:focus, btn-alt:active, btn-alt.active.focus, btn-alt.active:focus, .btn-alt.active, .btn-alt:active:hover {
    min-width: 60px;
    padding-left:4px;
    padding-right: 4px;
    color: #fff;
    background-color:#9c27b0; /*background-color: var(--gazbee-color);*/
    border-color:#9c27b0; /*border-color: var(--gazbee-color);*/
}

.btn-alt:hover {
    color: #fff;
    background-color: #5c1769; /*background-color: var(--gazbee-sec-color);*/
    border-color:#9c27b0; /*border-color: var(--gazbee-color);*/
}

.WB-btn-cmd, .WB-btn-cmd:focus, .WB-btn-cmd:active, .WB-btn-cmd.active.focus, .WB-btn-cmd.active:focus, .WB-btn-cmd.active, .WB-btn-cmd:active:hover{
    padding:1px;
    min-width: 80px;
    padding-left:5px;
    padding-right: 5px;
    color: #fff;
    background-color:#9c27b0; /*background-color: var(--gazbee-color);*/
    border-color:#9c27b0; /*border-color: var(--gazbee-color);*/
}
.WB-btn-cmd:hover {
    color: #fff;
    background-color: #5c1769; /*background-color: var(--gazbee-sec-color);*/
    border-color:#9c27b0; /*border-color: var(--gazbee-color);*/
}

.WB-btn-reload, .WB-btn-reload:focus, .WB-btn-reload:active, .WB-btn-reload.active.focus, .WB-btn-reload.active:focus, .WB-btn-reload.active, .WB-btn-reload:active:hover{
    padding:4px;
    /*min-width: 80px;*/
    padding-bottom:0px;
    color: #fff;
    background-color:#9c27b0; /*background-color: var(--gazbee-color);*/
    border-color:#9c27b0; /*border-color: var(--gazbee-color);*/
}
.WB-btn-reload:hover {
    color: #fff;
    background-color: #5c1769; /*background-color: var(--gazbee-sec-color);*/
    border-color:#9c27b0; /*border-color: var(--gazbee-color);*/
}




.WB-btn-round, .WB-btn-round:hover, .WB-btn-round.active, .WB-btn-round:active, .WB-btn-cmd:active:hover{
    padding: 0px;
    padding-left: 0px;
    padding-right: 0px;
    min-width: 10px;
    background-color:white;
    border-color: white;
        
}

.type_Avanzado{
	padding:3px;
        background-color:#f8eafa; /*background-color: var(--gazbee-ligth-color);*/
	display:none;
}

/* Menús de config de color Gazbee en los widgets*/
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
    color: #fff;
    background-color:#9c27b0; /* background-color: var(--main-bg-color);*/
}
.nav-pills>li>a {
    color:#9c27b0; /* color: var(--main-bg-color);*/
    background-color: #fff;
}


.btn-device{/*dent around button*/
    display: inline-block;
    position: relative;
    text-decoration: none;
    color:  rgba(0, 0, 0, 0.11);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    background: #f7f7f7;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08);
}
.btn-device .fa {/*Button itself*/
    position: absolute;
    content: '';
    width: 36px;
    height: 36px;
    line-height: 36px;
    vertical-align: middle; 
    left: 0px;
    top: 0px;
    border-radius: 50%;
    font-size: 23px;
    background-image: -webkit-linear-gradient(#e8e8e8 0%, #d6d6d6 100%);
    background-image: linear-gradient(#e8e8e8 0%, #d6d6d6 100%);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
    border-bottom: solid 2px #b5b5b5;
  }
  
.btn-device .fa:active{
    background-image: -webkit-linear-gradient(#efefef 0%, #d6d6d6 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
    border-bottom: solid 2px #d8d8d8;
}
.msg-widget{
    display: block;
    padding: 10px;
    padding-top:15px;
    line-height: 19px;
    color: black;
}   

/*graficas de usuario*/
/* para el gráfico de los devices*/
.dygraph-legend {
  left: 60px !important;
  background-color: transparent !important;
  position: absolute;
  top: -5px !important;
}

/*Para el grafico del planDashboard*/
 #grafico .dygraph-legend {
  left: 60px !important;
  background-color: transparent !important;
  position: absolute;
  top: -25px !important;
}

#TT{
    color:black;
}

/*Toogle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Evita que se vena los switches en el dashboard de administrador, lo elimino
.switch input {display:none;}
*/

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.form-msg{
    font-size: 12px;
    color: red;
    display:none;
}