@charset "utf-8";

/* CSS Document */
/* Domotic.CSS 2.1 by Jan Egil and Borge Refsnes. Do not remove this line. */
/** {
    box-sizing: border-box;
}*/
.row:after {
  content: "";
  clear: both;
  display: block;
}

[class*="col-"] {
  float: left;
  padding: 5px;
  /* padding: 15px; */
}

html {
  font-family: "Lucida Sans", sans-serif;
}

.header {
  background-color: #9933cc;
  color: #ffffff;
  padding: 15px;
}

li {
  padding: 5px;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 7px;
  background-color: #33b5e5;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.menu li:hover {
  background-color: #0099cc;
}

.aside {
  background-color: #33b5e5;
  padding: 15px;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.footer {
  background-color: #0099cc;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  padding: 15px;
}

.fl {
  float: left
}

.fr {
  float: right
}

.ovf_h {
  overflow: hidden
}

/* Redondeo */
.rad {
  border-radius: 10px;
  padding: 5px;
}

.rad-1 {
  border-radius: 15px 50px;
  padding: 5px;
}

.rad-2 {
  border-radius: 15px 50px 30px 5px;
  padding: 5px;
}

.rad-3 {
  border-radius: 50% 50%;
  /* padding:2px */
  ;
  background: gray;
}

.rad_sg {
  width: 24px;
  height: 24px;
  background-color: #2196f3;
  border-radius: 16px;
  padding: 4px;
  text-align: center;
  margin: 10px 0px 0px 10px;
  box-shadow: 0px -1px 3px #585b5b inset;
}

/* Centre div  */
.dv_cen_80p {
  margin: auto;
  width: 80%;
}

/*  Switch solo */
.dv_cen_80px {
  margin: auto;
  width: 80px;
}

/* Switch + butonn */
.dv_cen_120px {
  margin: auto;
  width: 120px;
}

/*.div_center {
  margin: auto;
  width: 80%;
}*/
.center {
  text-align: center;
}

/* Contenedores */

.bkgcol {
  border: #d3d3d3 solid 1px;
  border-radius: 10px;
  overflow: hidden
}

.ctr1 {
  float: none;
  width: 100%;
  padding: 10px;
  overflow: auto;
}

.ctr12 {
  float: none;
  width: 100%;
  padding: 5px 0px 0px 0px;
  overflow: auto;
}

.bot-10 {
  float: left;
  width: 10%;
}

.bot-20 {
  float: left;
  width: 20%;
}

.bot-25 {
  float: left;
  width: 25%;
}

.bot-30 {
  float: left;
  width: 30%;
}

.bot-40 {
  float: left;
  width: 40%
}

.bot-50 {
  float: left;
  width: 50%
}

.bot-60 {
  float: left;
  width: 60%
}

.bot-70 {
  float: left;
  width: 70%
}

.bot-80 {
  float: left;
  width: 80%
}

.bot-100 {
  float: left;
  width: 100%;
}

/* Contenedores */
.an90 {
  width: 90%
}

.an80 {
  width: 80%
}

.an50 {
  width: 50%
}

.an60 {
  width: 60%
}

.an40 {
  width: 40%
}

.an30 {
  width: 30%
}

.an20 {
  width: 20%
}

.an10 {
  width: 10%
}

/* Margen */
.mrg-5 {
  margin: 5px;
}

/* Text */
.tx_10 {
  font-size: 10px;
}

.tx_0p15 {
  font-size: 20px !important;
  
}

.tx_15 {
  font-size: 15px;
  padding: 10px;
}

.tx_20 {
  font-size: 20px;
  padding: 10px;
}

.tx_25{
  font-size: 25px;
  /* padding: 10px; */
}

.tx_title {
  font: bold 15px arial;
  text-align: center;
}

/*timer*/
/* .timer{position:absolute;background: gray;width: 50px;height: 50px;padding-top:15px;color: white;font-size:10px;text-align: center;margin:4px;;border:4px solid #b4b4b4;} */
.timer {

  position: absolute;
  background: #fffdfd;
  width: 60px;
  height: 40px;
  padding: 8px 4px;
  color: #000000;
  font-size: 12px;
  text-align: center;
  margin: 5px 0px 0px 5px;
  /* border: 4px solid #b4b4b4; */
  border-radius: 15px;
  border: 4px solid #999;
  box-shadow: -2px -2px 4px #8c8c8c inset;
  cursor: pointer;

}

.clock {
  text-align: center;
  width: 50px;
  font-size: inherit;
}

.reloj {
  height: auto;
  padding: 5px 10px;
  border: 1px solid black;
  font: bold 2em dotum, "lucida sans", arial;
  text-align: center;
  margin: 0em 1em 1em 1em;
}

/*Lamp*/
.led {
  position: relative;
  width: 20px;
  height: 20px;
  font-size: 5px;
  text-align: center;
  margin-top: 4px;
  left: calc(50% - 10px);
  box-shadow: 0px -3px 6px #fffefe inset;
}

.led0 {
  position: relative;
  width: 22px;
  height: 22px;
  float: left;
  margin: 10px 0px 0px 5px;
  box-shadow: 0px -3px 6px #fffefe inset;
}

/* Div para Image */
.div_img {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Imagen responsive */
.imgrp {
  max-width: 100%;
  height: auto;
}

/* Paneles graphic*/
.panel-0 {
  height: 220px;
  background-color: #000000;
  margin: 2px;
}

.panel-1 {
  height: 160px;
  background-color: #000000;
  margin: 2px;
}

/* logo */
.logo {
  width: 30px;
  height: 30px;
  position: absolute;
}

/* .lg_clock {width: 40px; height: 40px;position: relative;} index */
/* Slider Rgb */

.sld-r {
  -webkit-appearance: none;
  width: 80%;
  background: #FF0000;
  height: 10px;
}

.sld-g {
  -webkit-appearance: none;
  width: 80%;
  background: #00FF00;
  height: 10px;
}

.sld-b {
  -webkit-appearance: none;
  width: 80%;
  background: #0000FF;
  height: 10px;
}

.sld {
  -webkit-appearance: none;
  width: 80%;
  height: 16px;
}

/* Text */

h4 {
  margin: 14px;
}

/* Display Statu Panel / Event */
.info_panel {
  display: none;
  /* position:absolute;*/
  width: 300px;
  background-color: white;
  border-style: solid;
  border-width: 1px;
  padding: 10px;
  border-radius: 5px;
}

.info_event {
  display: none;
  /* position:absolute;*/
  width: 300px;
  background-color: white;
  border-style: solid;
  border-width: 1px;
  padding: 20px;
  border-radius: 5px;
}

#full_screen_panel {
  display: none;
  justify-content: center;
  /* hacemos que se centre horizontalmente */
  align-items: center;
  /* hacemos lo propio verticalmente       */
  margin: 0px;
  width: 100%;
  height: 100%;
  background: #999999;
  position: absolute;
  z-index: 9000;
  opacity: 0.95;
}

#full_screen_event {
  display: none;
  justify-content: center;
  /* hacemos que se centre horizontalmente */
  align-items: center;
  /* hacemos lo propio verticalmente       */
  margin: 10% 0%;
  left: 0px;
  width: 100%;
  height: 50%;
  background: #999999;
  position: absolute;
  z-index: 9000;
  opacity: 0.95;
}

/* Animacion loader */
.loader_anima {
  width: 20px;
  height: 20px;
  background: blue;
  border-radius: 5px;
  position: relative;
  -webkit-animation: mymove 2s infinite;
  /* Safari 4.0 - 8.0 */
  animation: mymove 2s infinite;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
  from {
    left: 0px;
  }

  to {
    left: 100px;
  }
}

@keyframes mymove {
  from {
    left: 0px;
  }

  to {
    left: 100px;
  }
}

/* Accordion */
.ac-box {
  /*width: 400px;
	margin: 10px auto 30px auto;
	text-align: left; */
}

.ac-box label {
  z-index: 20;
  cursor: pointer;
}

.ac-box input[id^='ac-'] {
  display: none;
}

.ac-box article {
  background: rgba(255, 255, 255, 0.5);
  margin-top: -1px;
  overflow: hidden;
  height: 0px;
  position: relative;
  z-index: 10;
  -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
  -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
  -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
  -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
  transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}

/* .ac-box input:checked ~ article.ac-auto{
	height: 266px;
} */

@media only screen and (max-height: 375px) {

  .ac-box input:checked~article.ac-auto {
    /* Toam alto de Pantalla hasta 370px  y resta 64px  ,  */
    height: calc(100vh - 64px);
  }
}

@media only screen and (min-height: 376px) {
  .ac-box input:checked~article.ac-auto {
    height: 266px;
  }
}

/* Altura pAra timer */
.ac-box input:checked~article.ac-autoTm {
  height: 320px;
}

/* SWITCH*/

.switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 34px;
  font-size: 12px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  box-shadow: 1px 4px 5px #6f6f6f;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.text_on::after {
  content: "ON";
  float: left;
  color: #fff;
  padding: 11px 0px 0px 11px;
}

.text_off::before {
  content: "OFF";
  float: right;
  color: gray;
  /*! right: 10px; */
  padding: 11px 8px 0px 0px;
}


input:checked+.slider {
  background-color: #2196F3;
  box-shadow: 1px 4px 5px #6f6f6f;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(46px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/* Fecha animada down   */
.animate-up-down {
  width: 100%;
  height: 0px;
  position: relative;
  -webkit-animation-name: up-down;
  /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 2s;
  /* Safari 4.0 - 8.0 */
  animation-name: up-down;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes up-down {
  0% {
    left: 0px;
    top: px;
  }

  50% {
    left: 0px;
    top: 10px;
  }

  100% {
    left: 0px;
    top: 0px;
  }
}

/* Standard syntax */
@keyframes up-down {
  0% {
    left: 0px;
    top: 0px;
  }

  50% {
    left: 0px;
    top: 10px;
  }

  100% {
    left: 0px;
    top: 0px;
  }
}

/*.animate-up-down::after { */
  /* margin: 0px 0px 0px 45%; */
  /* content: "\02C5";
  clear: both;
  font-size: 16px;
  color: #FFFFFF;
} */

.mg_l20 {
  margin: 0px 0px 0px 10px;
}