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;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  width: 20%;
  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: 60px;
}

#layoutTabellaTurni, 
#layoutTabellaTurni_content {
  height: 100%;
}

#layoutTabellaTurni table {
  display: block;
  width: 100%;
  overflow: auto;
}

#layoutTabellaTurni table tr:nth-child(even) {
  background-color: #E6E6E6;
}

#layoutTabellaTurni table td {
  padding: .40rem;
  vertical-align: top;
}

#layoutTabellaTurni table th {
  padding: .40rem;
}

#layoutTabellaTurni th[scope=row]
{
  color: #fff;
  background-color: #cc0000;
  font-size: x-large;
  padding: 40px 10px;
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 1;
}

#layoutTabellaTurni th[scope=col]
{
  font-size: large;
  text-align: center;
  background-color: #cc0000;
  color: #fff;
}

#layoutTabellaTurni tbody td:hover
{
  background-color: lightsteelblue;
}

#layoutTabellaTurni tbody td div
{
  width: 150px;
  /*background-color: red;*/
}

#layoutTabellaTurni tbody td.turni-no
{
  background-image: url('/images/black-twill.png');
}

#layoutTabellaTurni tbody td.turni-si a:hover
{
  cursor: pointer;
  font-weight: bold;
  color: #cc0000;
}

#layoutTabellaTurni tbody td div p
{
  margin-bottom: 0.4rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: 'Arial Bold', Gadget, sans-serif;
  /*width: 100%;*/
  font-size: normal;
}

#layoutTabellaTurni .cella_ok {
  position: absolute;
  bottom: 0;
  top: 0;
  background-color: lightgreen;
  padding: .40rem;
}

#layoutTabellaTurni .marker_note {
  position: absolute;
  right: 2px;
  margin-top: 4px;
  color: orange;
}

#layoutIndex .header {
  text-align: center;
  color: #cc0000;
}
#layoutIndex .header img {
  width: 80%;
  height: auto;
  margin: 0 auto;
}

#layoutIndex .menu {
  padding: 1.5rem;
  margin-right: 0;
  margin-left: 0;
  border-width: .2rem;
}

.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);
}

