html, body {
    height: 100%;
}
body {
    background-color:#f6f7fb !important;
    color: #343a40 !important;
}

.titulo-contenedor:hover{
    text-decoration: none;
}

.derecha {
    text-align: right;
}
 
.boton-detalle-sensors,
.boton-detalle-sensor{
    border: 0px;
    background: white;
    color: #1fc772 ;
}

.ui-datepicker {
    z-index: 1050 !important;
}
.wrapper {
    height: 100%;
}
.btn {
    border-radius: 0px !important;
    -o-border-radius: 0px !important;
    -ms-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
}
.centrar{
    text-align: center;
}
.btn-theme {
    background: #1fc772 !important;
    color: #fff !important;
}
.btn-theme:hover {
    background: #333 !important;
}
header {
    background: #1fc772;
    padding: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    position: relative;
    z-index: 99;
}
header .toggle-btn {
    background: none;
    border: none;
    font-size: 18px;
}
/*header .toggle-btn { display: none; }*/
header img {
    height: 50px;
    cursor:pointer;
}
header .dropdown {
    margin: 5px;
    display: flex;
    align-items: center;
}
header .dropdown span.username {
    display: flex;
    margin-right: 10px;
    color: #fff;
}
header .dropdown span.username i {
    margin-right: 5px;
}
header .dropdown-toggle::after {
    margin-left: 0;
}
.btn-secondary::after{
    display:none !important;
}

header .dropdown-menu.show {
    left: auto !important;
    transform: unset !important;
    top: 36px !important;
    right: 0;
    background-color: #fff;
    padding: 0;

}

.fondo-gris{
    background-color: #E4E4E4 !important;
}

.table td, .table th {
    padding: 0.25rem !important;
}

.azul-claro {
    background-color: #1FC772;
}

.texto-blanco > th{
    color: #fff !important;
}


header .dropdown-item {
    border-bottom: #ddd solid 1px;
    color:#1fc772;
}
header .dropdown-item:last-child {
    border-bottom: none;
}
header .btn-primary {
    border: #fff solid 1px;
    background: transparent;
}

header .btn-secondary{
    border:none;
    background: transparent;
}

header .btn-secondary:hover, header .btn-secondary:focus, .show>.btn-secondary.dropdown-toggle {
    background-color: #1fc772 !important;
    border:none;
    background: transparent;
    box-shadow: unset !important;
}

header .btn-primary:hover, header .btn-primary:focus, .show>.btn-primary.dropdown-toggle {
    background-color: #f6f6f6 !important;
    border-color: #ccc !important;
    box-shadow: unset !important;
    color: #1fc772!important;
}
.page-content {
    min-height: calc(100% - 60px);
    position: relative;
}
.aside-left {
    top: 0;
    bottom: 0;
    left: -250px;
    z-index: 9;
    height: 100%;
    overflow: auto;
    width: 250px;
    margin-left: 0;
    padding-bottom: 58px;
    display: block;
    position: absolute;
    background-color: #fff;
    box-shadow: 2px 0 2.94px 0.06px rgba(4,26,55,.16);
    transition: ease-out all 0.3s;
    -o-transition: ease-out all 0.3s;
    -ms-transition: ease-out all 0.3s;
    -moz-transition: ease-out all 0.3s;
    -webkit-transition: ease-out all 0.3s;
}
.page-content.active .aside-left {
    left: 0;
}
.aside-left .nav-link {
    position: relative;
    color: #666;
    border-bottom: #f6f6f6 solid 1px;
    padding: 1rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}
.selected {
    background: rgba(202,202,202,.3);
    border-bottom: transparent solid 0px!important;
}
.selected:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: 0 0;
    background-color: #1fc772;
}
#submenu1 .selected {
    background: rgba(202,202,202,0);
    color: #1fc772;
    border-bottom: #f6f6f6 solid 1px!important;
}
#submenu1 .selected:before {
    background-color: transparent;
}
#submenu1 li a {
    font-weight: 400!important
}
#submenu1 ul ul {
    background: #1fc772;
    color: #fff !important;
}
#submenu1 ul ul li a {
    color: #fff!important;
}

.submenu1{
    position: relative;
    color: #fff;
    border-bottom: #f6f6f6 solid 1px;
    padding: 1rem 30px;
    display: flex;
    align-items: center;
    font-weight: 600;
    background-color: #1fc772;
    text-decoration: none;
    font-weight: 400!important;
}

.submenu1:hover{
    color: #fff;
    text-decoration: none;
    background: rgba(31,199,114,.83) !important;

}

.submenu1 .selected {
    background: rgba(202,202,202,0);
    color: #1fc772;
    border-bottom: #f6f6f6 solid 1px!important;
    /*      text-decoration: none;*/
}
.submenu1 .selected:before {
    background-color: transparent;
    /*text-decoration: none;*/
}
.submenu1 li a {
    font-weight: 400!important
}
/*.submenu1 ul ul {
    background: #1fc772;
    color: #fff !important;
}
.submenu1 ul ul li a {
    color: #fff!important;
}*/
.aside-left .nav-link:hover, .aside-left .nav-link.active {
    background: rgba(202,202,202,.3) !important;
}
.aside-left .nav-link i {
    margin-right: 5px;
}
.nav-link:after {
    float: right;
    font-family: FontAwesome;
    margin-left: auto;
    font-size: 24px;
    line-height: 18px;
}
.nav-link[data-toggle].collapsed::after {
    content: "\f107";
}

.nav-link[data-toggle]:not(.collapsed)::after {
    content: "\f106";
}

#submenu1 .flex-column .nav li a {
    color: #1fc772
}
/*
.aside-left .nav-item > .collapse, .aside-left .nav-item > .collapsing {
        background-color: rgba(0,0,0,0.3);
}
.aside-left .nav-item > .collapse .collapse, .aside-left .nav-item > .collapse .collapsing {
        background-color: rgba(0,0,0,0.3);
}
*/
.aside-left .nav-item > .collapse .nav-link, .aside-left .nav-item > .collapsing .nav-link {
    padding-left: 30px;
}
.aside-left .nav-item > .collapse .collapse .nav-link, .aside-left .nav-item > .collapse .collapsing .nav-link {
    padding-left: 40px;
}
.aside-right {
    margin-left: 0px;
    display: block;
    padding: 0px;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    /*width: calc(100% - 250px);*/
    transition: ease-out all 0.3s;
    -o-transition: ease-out all 0.3s;
    -ms-transition: ease-out all 0.3s;
    -moz-transition: ease-out all 0.3s;
    -webkit-transition: ease-out all 0.3s;
}
.page-content.active .aside-right {
    margin-left: 250px;
    width: calc(100% - 250px);
}
.main-heading {
    font-size: 24px;
    display: flex;
    border-bottom: #ddd solid 1px;
    padding: 20px 20px;
    margin-bottom: 1rem;
    color: #2bcc41;
    background: #fff;
}
main-session{
    align-items: center;
}
.main-heading-session {
    font-size: 24px;
    color: #2bcc41;
    background: #fff;
}
.main-heading-normal{
    color: #2bcc41;
    background: #fff;
}

.main-heading-title {
    color: #2bcc41;
    background: #fff;
}



.main-heading-title:hover{
    color:#2bcc41a6;
    cursor: pointer;
}
#cre-ale{
   display: flex;
  justify-content: flex-end; 
}

#busq-va{
    display: flex;
  justify-content: center;
}

.main-heading .material-icons {
    font-size: 30px;
    margin-right: 5px;
}
.alerta-limites-eliminar{
    color:red;
}

.content {
    padding: 20px;
}
.campo-container {
    display: flex;
    flex-flow: wrap;
    padding: 0 20px;
}
.campo {
    width: 25%;
    margin: 1% 1%;
    min-height: 137px !important;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,.16);
}

.campo button,
.widgets button,
.volver-menu button{
    width: 100%;
    border: none;
    background: transparent;
      outline:none;
}
.campo button:hover,
.widgets button:hover,
.volver-menu button:hover{
    border:none !important;
      outline:none;
}


/*/$('.campo').find('button').css('width',width);*/

.campo a{
    text-decoration: none !important;
}
.campo h2 {
    font-size: 20px;
    padding-bottom: 5px;
    padding-left: 10px;
    margin-bottom: 15px;
    color: #fff;
    background: #1fc772;
    padding-top: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.campo-item {
    display: flex;
    padding: 10px;
    margin-bottom: 10px;
    background-color:#e9faf2;

}
.campo-img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 30px;
    background-color: #1fc772;
    background-size: cover;
    background-position: center;
}
.campo-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    color: #2bcc41;
}

.campo-item-button{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    color: #2bcc41;
    border:none !important;
    background-color:transparent !important;
        text-align: inherit;
}
.campo-item-button:focus,
.campo-item-button:focused,
.campo-item-button:active,
.campo-item-button:hover{
    border:none !important;
}

.campo-item h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    color: #666;
}


.widgets {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,.16);
    overflow: hidden;
}
.widgets button,
.volver-menu button{
    padding:0px 0px 0px 0px;
}

.widgets h2 {
    background:#1fc772;
    min-height: 30px;
    font-size: 18px;
    color: #fff;
    padding: 5px 10px;
    line-height: 30px;
}
.widget {
    /*min-height: 150px;*/
}

.widgets a{
    text-decoration: none !important;
}

.widget table {
    text-align: center;
    font-size: 12px;
}
.widget table thead {
    border-bottom: #eee solid 1px;
}
.widget th {
    padding-bottom: 5px;
    color: #666;
}
.widget td .status {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    background: #c0d8df;
}
.widget td .status.red {
    background: red;
}
.widget td .status.green {
    background: green;
}
.widget td span {
    display: block;
    width: 100%;
}
.form-content {
    padding: 20px;
    margin: 20px;
    background: #fff;
    box-shadow: 0px 0px 3px 0.05px rgba(4,26,55,.16);
}
.form-group.inline { display: flex; }
.form-group.inline label { width: 120px; margin-bottom: 0; padding: 7px 0; }
.form-group.inline .form-control { width: calc(100% - 120px); height:auto; }
.form-group.inline .form-control .row:last-child .inline { margin-bottom: 0; }
.form-content .btn { line-height: 1; }
select.form-control { 
    -webkit-appearance: none;
    background: url(../img/down-arrow.png) no-repeat center right;
    background-size: contain;
}
.volver-menu button{
    text-align: center;
    padding-top: 3px;
    color: #1fc772;
}

.volver-menu button:hover{
    background:#f6f6f6;
    color:#212529;
}

.cerrar-sesion a{
        display: block !important;
    /* align-content: center; */
    text-align: center !important;
        position: relative;
    color: #666;
    /*border-bottom: #f6f6f6 solid 1px;*/
    padding: 1rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    top:60px;
}

/*CONTENEDOR PRINCIPAL*/
.contenedor-principal  tbody  td:first-child{
    text-align: center !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}


/*TABLA DETALLE CONTENEDOR*/
#contenedor-datos-detalle  td{
    text-align: center;
}

#contenedor-dpv-detalle td{
    text-align: center;
}


#contenedor-datos-detalle  td:first-child{
    text-align: left;
 
    
}
#contenedor-dpv-detalle tr:last-child td{
/*    text-align: right;
    padding-right: 23px;*/
}

/*TABLA 1*/ 


.detalle-tabla1 > tbody > tr > td:nth-child(1){
    /*width: 191px !important;*/
    padding-left: 10px;
}

.detalle-tabla1 > tbody > tr > td:nth-child(2){
  width: 30px;  
}

/*.detalle-tabla1 > tbody > tr > td:nth-child(4){
   width: 36px;
    padding-right: 11px; 
}*/

/*width: 30px; td2
width: 36px;
    padding-right: 25px; td4*/

/*TABLA 2*/
.detalle-tabla2 > thead > tr:first-child > th{
    text-align: left;
    padding-left: 15px;
}

.detalle-tabla2 > tbody > tr > td:nth-child(1){
    text-align: left !important;
    padding-left: 10px;
}
/*.detalle-tabla2 > tbody > tr:last-child > td:nth-child(2){
    text-align: right !important;
    padding-right: 35px;
}*/

.modal-full {
    min-width: 98%;
    /*margin: 0;*/
}
.ocultar{
    display: none;
}

.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: none !important; 
}

h2 .boton-verde,
.boton-verde{
    background: green !important;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    background: #c0d8df;
}

h2 .boton-red,
.boton-red{
    background: red !important;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    background: #c0d8df;
}

.boton-primario{
    /*width: 108px;*/
    /*height: 34px;*/
    font-size: 20px;
    margin-bottom: 10px;
    background: #1fc772;
    color:white !important;
    border:0px;
    border-radius: 3px;
    /*box-shadow:0px 0px 2px #333;*/
    text-align: center;
}

.main-heading-title  a{
    color: #2bcc41;
    background: #fff;
}

.boton-primario:hover{
    text-decoration: none;
}

.titulo-salir{
    color:#1fc772;
}

.boton-cerrar{
    width: 108px;
    height: 34px;
    font-size: 20px;
    margin-bottom: 10px;
    background: #1fc772 !important;
    color:white !important;
    border:0px;
    border-radius: 3px;
    box-shadow:0px 0px 2px #333;
    text-align: center;
}

.boton-cerrar:hover{
    text-decoration: none;
}


.detalle{
    display: block;
    position: absolute;
}

.detal-alarm-sens{
    top:45px;
}



/*@media (min-width: 1137px){
    #contenedor-datos-detalle  td:first-child{
     width:56% !important;
    }
    .detalle-tabla1 > tbody > tr > td:nth-child(2) {
     width: auto;
}
    
    .detalle-tabla1 > tbody > tr > td:nth-child(4) {
   width:auto;
   padding-right:0;
}
    .detalle-tabla1 > tbody > tr > td:nth-child(5) {
    padding-left: 19px;
    padding-right: 13px;
}
    
    #contenedor-dpv-detalle  td:first-child{
        width: 25%;
    }
      
}*/

@media (min-width: 575px){
    .modal-full{
        max-width: 90%;
    }
}



@media only screen and (max-width:767px) {
    .wrapper header {
        display: flex;
        flex-flow: wrap;
    }
    header .dropdown {
        width: 100%;
        margin: 5px 5px 0;
        padding-top: 5px;
        border-top: #fff solid 1px;
    }
    header .dropdown-toggle {
        margin-left: auto;
    }
    .page-content.active .aside-left {
        left: auto;
        right: 100%;
        width: 100%;
    }
    .page-content.active .aside-left {
        left: 0;
        right: auto;
        width: 100%;
    }
    .page-content.active .aside-right {
        margin-left: 0;
        width: 100%;
    }
    .campo {
        width: 48%;
    }
    
}


.highcharts-plot-lines-0{
    cursor: pointer;
}

.alerta-divs{
    display: none;
    position: absolute;
    z-index: 5;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

@media only screen and (max-width:991px) {
    .form-group.inline .form-control .row:last-child .inline {
        margin-bottom: 1rem;
    }
    .form-group.inline .form-control .row:last-child  .col-sm-12:last-child .inline {
        margin-bottom: 0;
    }
}
@media only screen and (max-width:1345px) and (min-width:1250px) {
#contenido-principal .col-lg-4 {
    /*-ms-flex: 0 0 25%;*/
    flex: 0 0 37% !important;
    max-width: 37% !important;
}
}
@media only screen and (max-width:1249px) and (min-width:1201px) {
#contenido-principal .col-lg-4 {
    /*-ms-flex: 0 0 25%;*/
    flex: 0 0 39% !important;
    max-width: 39% !important;
}
}
@media only screen and (max-width:1200px) and (min-width:1150px) {
#contenido-principal .col-lg-4 {
    /*-ms-flex: 0 0 25%;*/
    flex: 1 0 41% !important;
    max-width: 41% !important;
}
}
@media only screen and (max-width:1149px) and (min-width:1109px) {
#contenido-principal .col-lg-4 {
    /*-ms-flex: 0 0 25%;*/
    flex: 1 0 43% !important;
    max-width: 43% !important;
}
}
@media only screen and (max-width:1108px) and (min-width:1060px) {
#contenido-principal .col-lg-4 {
    /*-ms-flex: 0 0 25%;*/
    flex: 0 0 46% !important;
    max-width: 46% !important;
}
}
@media only screen and (max-width:1059px) and (min-width:1024px) {
#contenido-principal .col-lg-4 {
    /*-ms-flex: 0 0 25%;*/
    flex: 1 0 48% !important;
    max-width: 48% !important;
}
}
@media only screen and (max-width:1023px) and (min-width:990px) {
#contenido-principal .col-lg-4 {
    /*-ms-flex: 0 0 25%;*/
    flex: 0 0 50% !important;
    max-width: 50% !important;
}
}
@media only screen and (max-width:1024px) and (min-width:768px) {
    .campo {
        width: 48%;
    }
}

@media only screen and (max-width:600px) {
    .campo { width: 98%; }
    .form-group.inline { display: block; }
    .form-group.inline label { display: block; width: 100%; }
    .form-group.inline .form-control { width: 100%; height:auto; }
}
@media only screen and (max-width:321px) {
    .tiempo-sensores .col-md-6:first-child{
        width: 90px;
    }
}

@media (max-width:476px){
  	header .username{
	width:80%;
	}
	
	
 header #nube{
	 margin-left: 45%;
 }
    #dropdownMenuClima{
          left: 13% !important;
    }
    
    #iconos{
            align-items: center;
    justify-content: center;
    }
    #myBtn{
        display:none;
    }

}

@media (max-width:426px){
	header #nube {
    margin-left: 0%;
}
	
        #limites-alertas{
        width: 98%;
    }
    
    .icono-admin{
        text-align: center;
    }
	
    .icono-admin button{
           margin-left: 50%;
		   /*display : none;*/
    }
    
    #dropdownMenuClima{
       left: 63px !Important;
    }
    
/*    .modal-title2{
        font-size: 24px;
    }*/
    
    #graficos_1 div{
        height: 425px;
    }
    
}
@media (max-width:376px){
/*    .modal-title2{
        text-align: center;
        font-size: 21px;
    }*/

      #limites-alertas,
    #modal-ver-dispositivos{
        width: 97%;
    }
    .ver_graficos{
        width: 97%;
    }
    
    
     #dropdownMenuClima{
       left: 30px !Important;
    }
}

@media (max-width:321px){
    #limites-alertas,
    #modal-ver-dispositivos{
        width: 97%;
    }
    
	header #nube {
    margin-left: 0%;
}
	
#dropdownMenuClima {
    left: -2px !Important;
}

}