﻿.menu-option {
    padding-top:.25em;
    padding-bottom:.25em;
    border-bottom: solid;
    border-bottom-width:.5px;
    border-bottom-color: lightgray;
    font-size:30px;
    touch-action: manipulation;
    cursor: pointer;
}

/* Header de evento/recinto/acceso */
.header-normal  { background-color: lightslategray; }
.header-warning { background-color: #f0ad4e; }
.header-danger  { background-color: #d9534f; }

.header-normal > .container,
.header-warning > .container,
.header-danger > .container {
  background-color: inherit;
}

.cod-default{
    border: 2px solid  lightslategray;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px
  }
  .cod-head-default{
    background-color: lightslategray;
    text-align: center;
    color: white;
    font-size: large;
    border-radius: 6px 6px 0px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cod-success{
    border: 2px solid mediumseagreen;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px
  }
  .cod-head-success{
    background-color: mediumseagreen;
    text-align: center;
    color: white;
    font-size: large;
    border-radius: 6px 6px 0px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cod-warning{
    border: 2px solid sandybrown;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px
  }
  .cod-head-warning{
    background-color: sandybrown;
    text-align: center;
    color: white;
    font-size: large;
    border-radius: 6px 6px 0px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cod-danger{
    border: 2px solid crimson;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px
  }
  .cod-head-danger{
    background-color: crimson;
    text-align: center;
    color: white;
    font-size: large;
    border-radius: 6px 6px 0px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cod-body{
    text-align: center;
  }
  .cod-desc{
    text-align: center;
    font-size: small;
    color: black;
    padding-bottom: 2px;
  }

  .modaloading {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.4) url('../img/cargando.gif') 50% 50% no-repeat;
  }

  body.loading {
    overflow: hidden;
  }

  body.loading .modaloading {
    display: block;
  }


.hist-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
}
.hist-dot-success { background-color: #5cb85c; }
.hist-dot-warning { background-color: #aaa; }
.hist-dot-danger  { background-color: #d9534f; }

:root {
  color-scheme: light;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.menu-option:focus-visible {
  outline: 3px solid #337ab7;
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .modaloading {
    background-image: none;
    background-color: rgba(255, 255, 255, 0.7);
  }
}

#container_code {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
