html, body {
  height: 100%;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

.blink_me {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}

#overlay img {
  //position: absolute;
  margin: auto;
  display: flex;
  //top: 50%;
  //left: 50%;
  //transform: translate(-50%,-50%);
  //-ms-transform: translate(-50%,-50%);
  //width: 50%;
  height: auto;
}

#layoutAuthentication {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#layoutAuthentication #layoutAuthentication_content {
  min-width: 0;
  flex-grow: 1;
}
#layoutAuthentication #layoutAuthentication_footer {
  min-width: 0;
}
#layoutAuthentication
{
  background-color: #cc0000;
}
#layoutAuthentication .card-header img {
  width: 90%;
}

#layoutIndex .header {
  background-color: var(--bs-light);
  text-align: center;
  color: #cc0000;
}
#layoutIndex .header .logo {
  border-bottom: 8px solid greenyellow;
  padding: 8px 0;
  margin-bottom: 8px;
  /*background-color: greenyellow;*/
  background-color: #cc0000;
}
#layoutIndex .header .logo img {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  display: block;
}

#layoutIndex .menu {
  padding: 1.5rem;
  margin-right: 0;
  margin-left: 0;
  border-width: .2rem;
}

body.offline {
  background-color: #c00;
}
body.offline h1 {
  color: #fff;
  text-align: center;
}

.cri_button {
  color: #fff;
  background-color: #c00;
  border-color: #990303;
}

.cri_page_title {
  color: #fff;
  background-color: #c00;
}

.cri_text {
  color: #cc0000;
}

.bottom-right{
  position: absolute;
  bottom: 0.2em;
  right: 0.2em;
}

/*:invalid {
  color: red;
  border-color: red;
}*/

/*input:invalid {
  border: 2px dashed red;
}

input:valid {
  border: 2px solid black;
}*/

#layoutRubrica .col-no-wrap
{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#layoutRubrica .row-rubrica:nth-child(2n+1) {
  background: var(--white);
}
#layoutCodsbarre .row-odd-even:nth-child(2n+1) {
  background: var(--white);
}

#layoutDocumenti button.btn-link:hover,
#layoutDocumenti button.btn-link:active {
  color: #cc0000;
}

.msg-read {
  background-color: #e0e0e0;
}
.msg-unread {
  background-color: var(--warning);
}

