header {
  background-color:#0288d1;
  color:#fff;
  padding:10px;
  font-family:verdana;
  font-weight:bold;
  margin-bottom:5px;
}

span {
  margin:5px;
}
td {
  border: 1px solid black;
}
th {
  border: 1px solid black;
  font-weight:bold;
}
h2 {
  color:#fff;
  border-bottom:2px solid #fff;
}
#refreshDate {
font-size:1.5em;
border-right:2px solid white;
border-bottom:2px solid white;
padding-right:5px;
padding-bottom:3px;
}
#nbFail {
  color:red;
  font-size:2em;
}
#nbError {
  font-size:2em;
  color:orange;
}
#nbSuccess {
  color:#b3ffb3;
  font-size:2em;
}
#TcNtw{
  border:2px solid white;
  font-size:2.5em;
}
/****************

****************/
body {
  margin:0;
  background-color:#f0f2f1;
}
section {
  margin:auto;
  width:90%;
}
.monitoring {
  float:left;
  margin-bottom:15px;
  width:20%;
  height:150px;
  transition:all linear 0.1s;
}

.titleMonitoring {
  font-size:0.9em;
  font-family:verdana;
  font-weight:bold;
  margin:5px;
  padding:3px;
  height:100%;
  border-radius:2px;
  box-shadow: 1px 1px 1px 1px #656565;
  cursor:pointer;
}
.contentMonitoring {
  font-size:1.2em;
  border-radius:2px;
  background-color:#fff;
  padding:5px;
  display:none;
}
.nbResult {
  float:right;
  font-size:1.4em;
}
.displayContent{
  display:block;
  position:absolute;
  z-index:9999;
  overflow-y: auto;
  margin-top:10px;
  position:absolute;
  width:60%;
  max-height:80%;
  top:10%;
  left:20%;
}
#fondGris {
  Background-color :#424242;
  display:none;
  opacity: 0.8; 
  width:0%;
  height:100%;
  position:fixed;
  top:0;
  left:0;
  z-index:9900;
  transition:all linear 0.5s;
}
#frmUpdateAll {
  float: right;
  margin-top: 10px;
}
#refreshMR {
  float: right;
  margin: 5px 10px 0px;
  background: url("/portail/img/arrow_refresh_small.png") no-repeat 100%;
  width: 25px;
  height: 25px;
  border: 0px;
}
#refreshMR:hover {
  background-size: 18px;
  cursor: pointer;
}

#refreshBtn {
  background: #1598e0;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 3px 13px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  text-shadow: 1px 1px rgba(51, 51, 51, 0.5);
  box-shadow: 1px 1px 1px 1px rgba(101,101,101,0.6);
}
#refreshBtn:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  text-decoration: none;
  border-color: rgb(248, 252, 255);
}
#refreshBtn:hover {
  background: #0878b5;
}
#refreshBtn[disabled], 
#refreshBtn[disabled]:focus,
#refreshBtn[disabled]:hover {
  background: transparent;
  border-color: #ccc;
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: .65;
}
.modDateTime {
  margin: 2px 0;
  font-size: 10px; 
  font-weight: 100;
}
/* --------------*/
.stateFail{
  border-left-color:red;
}
.stateFail:hover{
  border-width:3px;
  padding-left:0px;
}
.stateFail .titleMonitoring {
  color:white;
  font-size:0.8em;
  background-color:#f28780;
}
.stateFail .contentMonitoring {
  background-color:#f28780;
  color:white;
  box-shadow: 2px 2px 2px 1px red;
}
/* --------------*/
.stateError{
  border-left-color:orange;
}
.stateError:hover {
  border-width:3px;
  padding-left:0px;
}
.stateError .titleMonitoring {
  font-size:0.8em;
  color:#fff;
  background-color:#ffd587;
}
.stateError .contentMonitoring{
  background-color:#ffd587;
  box-shadow: 2px 2px 2px 1px orange;
}
/* --------------*/
.stateSuccess{
  border-left-color:green;
}
.stateSuccess:hover{
  border-width:3px;
  padding-left:0px;
}
.stateSuccess .titleMonitoring {
  font-size:0.8em;
  color:green;
  background-color:#b3ffb3;
}
.stateSuccess .contentMonitoring{
  background-color:#b3ffb3;
  box-shadow: 2px 2px 2px 1px green;
}
.stateSuccess h2 {
  color:green;
}
/* --------------*/

.result{
  font-size:1.1em;
  font-weight:bold;
}

.threshold{
  font-size:0.4em;
}

.toolsBtn {
	float: right;
	margin-top: 23px;
	margin-right: 10px;
}

.toolsBtnTxt {
	color: #fff;
	font-size: 11px; 
}

/* ------------------------------------ */
/*    Specification for little screen   */
/* ------------------------------------ */
@media (max-width: 1000px) {
  .monitoring {
    width:50%;
  } 
  
  .titleMonitoring {
  font-size:0.8em;
  }
  
  .contentMonitoring {
   font-size:1em;
  }
  
  .nbResult {
    font-size:1.6em;
  }
  
  .stateSuccess .titleMonitoring {
    font-size:0.8em;
  }
  
  .stateSuccess .contentMonitoring{
   font-size:1em;
  }
  
}

@media (max-width: 500px) {
  .monitoring {
    width:100%;
    height:120px; 
  } 
  .nbResult {
    margin-top:5px;
  }
}

/* ------------------------------------- */
/*    Specification of generic class     */
/* ------------------------------------- */
.clickable {
  cursor: pointer;
}

.hidden {
  display: none;
}
