body {
    margin: 0px;
    font-family: verdana, arial;
    width: 100%;
    --background: gainsboro;
    background: url(../imagenes/fondo.jpg);
}

input, textarea, select {
    padding: 2px 10px;
    box-shadow: 1px 1px 3px #aaa inset;
}
select {
    border-radius: 10px 0 0 10px;
    font-size: small;
}
input:hover, select:hover, textarea:hover {
    background-color: #ff9;
}

input:focus, select:focus, textarea:focus, input:active, select:active, textarea:active {
    background-color: #ffc;
    outline: none;
}

.botones {
    padding: 15px 0;
    width: 98%;
    margin: auto;
}

.botones span {
    margin-right: 5px;
}
.botones span button, .alertBotones  {
    background: dimgrey;
    border: 1px solid silver;
    color: silver;
    cursor: pointer;
    font-family: calibri;
    font-size: 14px;
    padding: 5px 10px;
    transition: 0.24s;
}

.botones span button:hover, .alertBotones:hover,
.botones span button:focus, .alertBotones:focus,
.botones span button:active, .alertBotones:active {
    background-color: #00395a;
    color: white;
      box-shadow: 0px 0px 12px 3px #444;

}

.error {
    width: 85%;
    margin: auto;
    margin-top: 10px;
    text-align: center;
    font-size: medium;
    font-family: verdana;
    border: 6px groove lightblue;
    background-color: #9CF;
    border-radius: 16px;
    border-radius: 16px;
}

.error .input {
    border: 3px ridge #5a3c28;
    font-size: small;
    font-weight: bold;
    letter-spacing: 0.5px;
    background: #000;
    color: white;
}

.error .input:hover {
    /* background: url(/include/formy/button2.gif); */
    border: 3px groove #5a3c28;
    color: #ff9;
}

/* ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** */


#backup {
  box-shadow: 0 0 20px 10px #333;
  padding: 15px;
  width:50%;
  margin: auto;
  margin-top: 20px;
  font-size: normal;
  font-weight: bold;
  background-color: rgb(255,255,204);
}

#backup_path {
  font-size: small;
  text-align: center;
}

/* ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** */

#login { margin: auto;
         margin-top: 30px;
         width: 70%;
         font-size: 1.2em;
         border: 5px solid steelblue;
         border-radius: 15px;
         border-radius: 15px;
         background: silver; }
#login table { margin: auto;}
#login .caption { background: steelblue;
                  padding: 4px;
                  margin-bottom: 10px;
                  color: white;
                  vertical-align: middle;
                  text-align: center;
                  font-size: 1.4em;
                  font-weight: bold; }
#login .error { border: 2px dashed red;
                padding: 3px;
                font-weight: bold;
                margin:auto;
                margin-bottom: 5px;
                background: white; }
#login th { width: 130px;
            text-align: right;
            padding-right: 6px; }
#login input { text-align: center;
               width: 150px;
               padding: 1px;

 }
#login input:hover,
#login input:focus { background: papayawhip; color: black !important;}
#login .submit { color: white;
                 background: peru;
                 padding: 5px;
                 width: 100px;
                 font-weight: bold;
                 border: outset goldenrod 3px;
                 cursor: pointer;
                 border-radius: 15px; }
#login .submit:hover,
#login .submit:focus { border: groove khaki 3px;
                       color: yellow !important;
                       background: sienna; }
#winLogin_Content { background-color: black }

#login #newpassword {  padding: 5px; }


#infoTimeOut_content { font-size: 12pt;
                       text-align: center;
                       padding-top: 10px;
                       color: white;
                       background-color: black; }

/*** DPS INFO DEBUG  *****/

#DPSinfoDebug {
  width: 90%;
  margin: auto;
}
#DPSinfoDebug td {
  font-size: .8em;
}

/*** DPS INFO DEBUG  *****/


/**** bloque agregado por el autocompletar *****/
div.autocomplete {
  position:absolute;
  width:250px;
  border:1px solid #888;
  margin:0px;
  padding:0px;
  background-color: #ffc; /* marco */
}
div.autocomplete ul {
  list-style-type:none;
  margin:0px;
  padding:0px;
}
div.autocomplete ul li.selected {
  border: 1px solid black; /* marco */
  background-color: #7E7E7E; /* marco */
  color: white; /* marco */
}
div.autocomplete ul li {
  list-style-type:none;
  display:block;
  margin:0;
  padding: 0px 2px 0px 2px; /* marco: 2px */
  /*height:32px;*/
  font-family: Verdana; /* marco */
  cursor:pointer;
  font-size: small;
  /* font-weight: bold; */
  border: 1px solid transparent; /* marco */
  border-bottom: 1px solid silver; /* marco */
}

div.autocomplete ul li span.informal {
  display: block;
  padding-left: 5px;
  font-style: oblique;
}
/*********/

/* ESTE BLOQUE SE USA ???
#contenido { height:75%; overflow-y: hidden; overflow:auto;}
#contenido button { cursor: pointer; }
#contenido table { background: white; border: 1px solid black; font-size:small; }
#contenido table th { background: darkblue; color: white; }
#contenido input { margin-right:3px; }
.tr0 { background-color: #ccc; }
.tr1 { background-color: #ddd; }
#cantidad { text-align: right; }
#add { cursor: pointer; }
*/

#comboPlanta {
  position : absolute;
  right    : 5px;
  top      : 4px;
  font-size: .6em;
}






/** inicio switch **/
.switch {
  position        : relative;
  display         : inline-block;
  vertical-align  : middle;
  width           : 56px;
  height          : 20px;
  padding         : 3px;
  background-color: white;
  border-radius   : 18px;
  box-shadow      : inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
  cursor          : pointer;
  background-image: -webkit-linear-gradient(top, #eeeeee, white 25px);
  background-image: -moz-linear-gradient(top, #eeeeee, white 25px);
  background-image: -o-linear-gradient(top, #eeeeee, white 25px);
  background-image: linear-gradient(to bottom, #eeeeee, white 25px);
}

.switch-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.switch-label {
  position           : relative;
  display            : block;
  height             : inherit;
  font-size          : 10px;
  text-transform     : uppercase;
  background         : #eceeef;
  border-radius      : inherit;
  box-shadow         : inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
  transition         : 0.15s ease-out;
  transition-property: opacity background;
}
.switch-label:before, .switch-label:after {
  position: absolute;
  top: 50%;
  margin-top: -.5em;
  line-height: 1;
  -webkit-transition: inherit;
  -moz-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
}
.switch-label:before {
  content: attr(data-off);
  right: 11px;
  color: black;
  text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.switch-label:after {
  content: attr(data-on);
  left: 11px;
  color: white;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
}
.switch-input:checked ~ .switch-label {
  background: #47a8d8;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label:before {
  opacity: 0;
}
.switch-input:checked ~ .switch-label:after {
  opacity: 1;
}

.switch-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  background-image: -webkit-linear-gradient(top, white 40%, #f0f0f0);
  background-image: -moz-linear-gradient(top, white 40%, #f0f0f0);
  background-image: -o-linear-gradient(top, white 40%, #f0f0f0);
  background-image: linear-gradient(to bottom, white 40%, #f0f0f0);
  -webkit-transition: left 0.15s ease-out;
  -moz-transition: left 0.15s ease-out;
  -o-transition: left 0.15s ease-out;
  transition: left 0.15s ease-out;
}
.switch-handle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
  width: 12px;
  height: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
  background-image: -webkit-linear-gradient(top, #eeeeee, white);
  background-image: -moz-linear-gradient(top, #eeeeee, white);
  background-image: -o-linear-gradient(top, #eeeeee, white);
  background-image: linear-gradient(to bottom, #eeeeee, white);
}
.switch-input:checked ~ .switch-handle {
  left: calc(100% - 22px); /*40px; hack Marco*/
  box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-green > .switch-input:checked ~ .switch-label {
  background: #4fb845;
}

/** fin switch **/

.icono_aviso{
  position: absolute;
  right: 20px;
  top: 10px;
  cursor: pointer;
}

.icono_aviso_activo{
  position: absolute;
  right: 10px;
  top: 15px;
  background: red;
  color: white;
  text-align: center;
  padding: 3px;
  height: 20px;
  width: 20px;
  border-radius: 13px;
  font-family: calibri;
  z-index: 2;
  font-weight: bold;
  padding-top: 1px;
  cursor: pointer;
}

.icono_aviso:hover ~ .icono_aviso_activo{
  background: darkred;
}

.icono_aviso_activo:hover{
  background: darkred;
}

.atencion{
  float: right;
  display: inline;
  background: yellow;
  padding: 5px;
  border: 1px solid black;
  width: 85%;
  font-weight: bold;
}

.aviso { margin: auto;
        margin-top: 20px;
         width: 60%;
         border: 5px groove burlywood;
         background: palegoldenrod; }
