/* Generals */
html {
    position: relative;
    min-height: 100%;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}
.text-muted {
    font-weight: 100;
}
.text-concat,
.graph-box h2 {
    text-overflow:ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.full-width {
    padding-left: 0;
    padding-right: 0;
}

/* End generals
Main page blocks (footer / header / navigation) */

.page-header {
    background-color: #00673e;
    margin: 0;
    padding: 0.8em 1.5em;
}

/*.navbar {
    border-radius: 0;
    margin:0;
    padding-top:5px;
    padding-bottom: 5px;
    min-height: initial;
    border-top: none;
    border-right: none;
    border-left: none;
}*/
.nav {
    margin:0;
    padding:0;
}
.nav>li>a {
    padding: 5px 15px;
}
.right {
    float:right;
}
/*.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2em;

    padding: 0.3em 1.5em;

    overflow: hidden;

    border-top: 1px solid #ddd;
    background-color: white;
}*/
/* End main page blocks
Login box */
#login-wrapper {
    margin-top: 5%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    padding-top: 20px;
    padding-bottom: 50px;
    
    background-color: #eee;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-signin .checkbox {
    width: 45%;
    float: left;
}
.form-signin #forgot-password {
    width: 52%;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: right;
    font-size: inherit;
}

.form-signin .form-control {
    height: auto;
    padding: 10px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
#input-login {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
#input-password {
    border-top: none;
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* End login box 
All diagrams */

#diagrams-matrix {
    margin-top: 20px;
}
.row { 
}
.graph-box {
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    
    /*box-shadow: 0 5px 15px -6px rgba(0,0,0,.42), 0 2px 12px 0 rgba(0,0,0,.12), 0 4px 5px -2px rgba(0,0,0,.2);*/
    /* box-shadow: 0 10px 30px -12px rgba(0,0,0,.42), 0 4px 25px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2); */

}
.graph-box h2 {
    font-size: 1.1em;
    font-weight: 100;
    padding-top: 0;
    padding-bottom:5px;
    margin: 0;
}
.graph-box figcaption {
    margin-top: 5px;
    font-size: 95%;
}
.graph-box figcaption p {
    font-style: italic;
    overflow: hidden;
    line-height: 1.15em;
    height: 2.3em;
}

.graph-box .graph-menu {
    
}

.graph-box img {
    width: 100%;
    border: 1px solid #ccc;
}

#diagrams-matrix .card {
    border: 1px solid #e1e1e1;
}

#diagrams-matrix .card:hover {
    background-color: #efefef;
}



#diagrams-matrix a {
    color: #555;
}
#diagrams-matrix a:hover{
    text-decoration: none;
}
.graph-box:hover {
    background-color: #efefef;
    /*box-shadow: 0 5px 15px -6px rgba(0,0,0,.42), 0 2px 12px 0 rgba(0,0,0,.12), 0 4px 5px -2px rgba(0,0,0,.2);*/
}

/* End all diagrams */


/* Theme CSS. This is specific for Camfil */

.btn-theme {
  border-color: #0F9ED5;
  color: #0F9ED5;
}
.btn-theme:hover, .btn-theme:focus, .btn-theme:active, .btn-theme.active, .btn-theme:active:focus, .btn-theme:active:hover, .btn-theme.active:focus, .btn-theme.active:hover, .open > .btn-theme.dropdown-toggle {
  background-color: transparent;
  color: #0F9ED5;
  border-color: #0F9ED5;
}
.btn-theme.disabled, .btn-theme.disabled:hover, .btn-theme.disabled:focus, .btn-theme.disabled.focus, .btn-theme.disabled:active, .btn-theme.disabled.active, .btn-theme:disabled, .btn-theme:disabled:hover, .btn-theme:disabled:focus, .btn-theme:disabled.focus, .btn-theme:disabled:active, .btn-theme:disabled.active, .btn-theme[disabled], .btn-theme[disabled]:hover, .btn-theme[disabled]:focus, .btn-theme[disabled].focus, .btn-theme[disabled]:active, .btn-theme[disabled].active, fieldset[disabled] .btn-theme, fieldset[disabled] .btn-theme:hover, fieldset[disabled] .btn-theme:focus, fieldset[disabled] .btn-theme.focus, fieldset[disabled] .btn-theme:active, fieldset[disabled] .btn-theme.active {
  background-color: transparent;
  border-color: #0F9ED5;
}
.btn-theme.btn-fill {
  color: #FFFFFF;
  background-color: #0F9ED5;
  opacity: 1;
  filter: alpha(opacity=100);
}
.btn-theme.btn-fill:hover, .btn-theme.btn-fill:focus, .btn-theme.btn-fill:active, .btn-theme.btn-fill.active, .open > .btn-theme.btn-fill.dropdown-toggle {
  background-color: #0F9ED5;
  color: #FFFFFF;
}
.btn-theme.btn-fill .caret {
  border-top-color: #FFFFFF;
}
.btn-theme .caret {
  border-top-color: #0F9ED5;
}

.alert-info {
    background-color: #2C906D;
}



.btn.btn-primary{color:#fff;background-color:#0F9ED5;border-color:#0F9ED5;box-shadow:0 2px 2px 0 rgba(156, 39, 176, 0.14), 0 3px 1px -2px rgba(156, 39, 176, 0.2), 0 1px 5px 0 rgba(156, 39, 176, 0.12);}
.btn.btn-primary:disabled:focus{background-color:#0F9ED5;border-color:#0F9ED5;}
.btn.btn-primary:disabled:hover{background-color:#0F9ED5;border-color:#0F9ED5;}
.btn.btn-primary:focus,.btn.btn-primary:active,.btn.btn-primary:hover{box-shadow:0 14px 26px -12px rgba(156, 39, 176, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(156, 39, 176, 0.2);}

.ec-device-maplarge-icon-wrapper {
    background: linear-gradient(60deg, #11B0ED, #0F9ED5);
}


/*! CSS Used from: http://crm.doubleclick.alberth.dev.hq.embcode.com/Resource/20220219041007/MaterialLight/material-dashboard.css ; media=screen, print */
.btn.btn-secondary:hover{background-color:#0F9ED5;}
.btn.btn-secondary:focus,.btn.btn-secondary:hover{color:#fafafa;background-color:#0F9ED5;border-color:#adadad;}
.btn.btn-secondary:active{color:#fafafa;background-color:#0F9ED5;border-color:#adadad;box-shadow:0 2px 2px 0 rgba(250, 250, 250, 0.14), 0 3px 1px -2px rgba(250, 250, 250, 0.2), 0 1px 5px 0 rgba(250, 250, 250, 0.12);}

.card .card-header-success .card-icon,
.card .card-header-success .card-text,
.card .card-header-success:not(.card-header-icon):not(.card-header-text),
.card.bg-success,
.card.card-rotate.bg-success .front,
.card.card-rotate.bg-success .back {
    background: linear-gradient(60deg, #11B0ED, #0F9ED5);
}

.btn.ec-periodselector-active {
    color: #fafafa;
    background-color: #0F9ED5;
    border-color: #adadad;
}
  
  
.meter-container {
    padding: 10px;
    width: 100%; /* You can adjust the width as necessary */
    display: flex;
    flex-direction: column; /* Stack flex children vertically */
}

.meter-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 5px; /* Space between rows */
 }

 .meter {
    flex-grow: 1; /* Meters take up available horizontal space */
    height: 10px;
    background: linear-gradient(to right, green 33%, yellow 33% 66%, red 66%);
    position: relative;
}

.meter-indicator {
    width: 10px; /* Width of the indicator */
    height: 10px;
    position: absolute;
    background-color: black;
    outline: white solid 1px;
}

.label, .value, .unit {
    width: 33.33%;
    color: white;
	font-size: 14px;
    white-space: nowrap; /* Ensure the text does not wrap */
}

.value, .unit {
    text-align: center; 
}


.temperature, .humidity {
    width: 50%;
    color: white;
	font-size: 14px;
    white-space: nowrap; /* Ensure the text does not wrap */
    display: flex; 
    justify-content: space-between;
}

.indoorreduction {
    padding-top: 5px;
    padding-bottom: 3px;
    color: white;
	font-size: 14px;
    white-space: nowrap; /* Ensure the text does not wrap */
    text-align: center;
}

.indoorreduction-meter {
    flex-grow: 1; 
    height: 10px; 
    position: relative; 
    
}

/*
.label {
    margin-right: 5px;
}

.value {
    margin-left: 5px;
}
*/