@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');
* {
    font-family: 'Poppins', sans-serif;
}
html,body {
    height: 100%;
    box-sizing: border-box;
}
#msg_body {
    z-index: 9999;
}
body .page-config, body .page-noConfig {
    font-size: 0.9vw;
}
body .page-config .alert {
    --bs-alert-bg: unset;
    --bs-alert-border-color: unset;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.container-row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.container {
    height: 100vh;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.page-config form {
    display: contents !important;
}
.form-control, .form-select {
    font-size: unset;
}
.card-header {
    background-color: gainsboro !important;
    border-bottom: unset;
}
.w20 {width: 20%;}
.w25 {width: 25%;}
.w35 {width: 35%;}
.w40 {width: 40%;}
.w50 {width: 50%;}
.w60 {width: 60%;}
.w65 {width: 65%;}
.w75 {width: 75%;}
.w80 {width: 80%;}
.w100 {width: 100%;}
.w20, .w25, .w35, .w40, .w50, .w60, .w65, .w75, .w80, .w100 {
    display: flow-root;
}

#card-fix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 92vh;
    background-color: midnightblue;
    color: white;
    font-weight: 600;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.senha {
    border: 2px solid white;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}
.senha, .paciente, .sala, .profix {
    font-size: 10vh;
    text-align: center;
}
.paciente {
    font-size: 12vh;
}
.profix {
    font-size: 5vh;
}

#body {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: .5rem;
    padding: .5rem;
    align-items: start;
}

#recentes {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
}

#ads {
    grid-column: span 8;
    background: white;
    z-index: 9997;
}
.ads-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 92vh;
}

#lista {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
}

#historico {
    grid-column: span 12;
}
.historico-fixo, .lista-fixa {
    position: fixed;
    bottom: calc(8vh + 0.5rem);
    left: .5rem;
    width: calc(100vw - 1rem);
    z-index: 9998;
}

/*Click Unidade*/
.select_id {
    transition: transform 0.2s;
    font-size: 1vw;
}
.select_id:hover,
.select_id:focus {
    outline: none;
    transform: scale(1.02);
    color: white;
    background-color: green;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#topo {
    background-color: midnightblue;
}
/*Unidade de Saúde*/
#u {
    color: white;
    align-items: center;
    white-space: nowrap;
}

.pai {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: .5rem;
}
.filho {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/*.card*/
#p, #p > .pai, #l, #l > .pai  {
    flex: 1;
}
#p > .pai > .filho {
    transition: flex 0.3s ease, max-width 0.3s ease;
}
#p > div > div > .card {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
div > div > .card > .card {
    border: 0 !important;
}
#p > div > div > .card {
    color: white;
    background-color: midnightblue;
    border: 2px solid midnightblue;
}
#p > div > div > .card > .card {
    color: midnightblue;
}
#p .cidadao, #p #local {
    font-size: 1.8vw;
}
#p .profissional, #p #hora {
    font-size: 1.5vw;
}

/*Class list*/
#l {
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

#l > div > div {
    border: 1px solid #ccc;
    padding: 0rem .5rem;
    background: white;
    /* height: auto; */
}
#l > div > div > .card {
    border: 0 !important;
    border-radius: unset !important;
}

#l .cidadao {
    font-size: 1.2vw;
}
#l #local {
    font-size: 1.4vw;
}
#l .profissional, #l .risco_senha, #l #hora {
    font-size: 1.2vw;
}
#l .cidadao, #l #local, #l .profissional  {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/*Últimos chamados*/
#r, #msg_body {
    grid-column: span 12;
    display: flex;
    align-items: center;
    padding: .5rem;
    max-height: 4vh;
    font-size: 1.2vw;
    margin-bottom: .5rem;
}
#r {
    color: white;
    background-color: green;
}
/*Chamados recentes e não encerrados*/
#a {
    max-height: 4vh;
    color: white;
    background-color: #34495E;
    font-size: 1vw;
    padding: .5rem;
    margin-bottom: .5rem;
}

.cidadao, .profissional {
    width: 60%;
}
.local_tipo_hora {
    position: absolute;
    right: 0;
    width: 40%;
    height: 100%;
    text-align: center;
}

#s {
    max-height: 4vh;
    font-size: 1vw;
    padding: .5rem;
    margin-bottom: .5rem;
}
#h {
    font-size: 0.8vw;
    overflow-y: hidden;
}
#h .cidadao {
    font-size: 1vw;
}
#h > div > div {
    border: 1px solid #ccc;
    padding: 0rem .5rem;
    background: white;
    height: auto;
}
#h > div > div > .card {
    border: 0 !important;
    border-radius: unset !important;
}

/*Botão para mudar de unidade*/
#change {
    align-items: center;
    font-size: 2vw;
    z-index: 9999;
}
#change > a > i {
    color: white;
    rotate: -180deg;
}
#change > a > i:hover {
    transform: scale(1.1);
}

#left > a > i {
    color: midnightblue;
    margin-top: 1rem !important;
}

/*clock*/
.clock {
    align-items: center;
    color: white;
    font-size: 2vw;
}

.cidadao > .risco_senha {
    align-items: center;
}
.risco0, .risco6, .risco7, .risco8, .risco9 {
    /*width: 30px;
    height: 30px;
    padding: 4px;*/
    padding: 0.8vw;
    margin-right: 4px;
    border-radius: 100%;
    border: 2px solid white;
}
.risco7 {
    background-color: yellow;
}
.risco8 {
    background-color: red;
}
.risco0, .risco6, .risco9 {
    background-color: green;
}

.senha {
    display: flex;
    justify-content: center;
    align-items: center;
}
.senha > .risco0, .senha > .risco6, .senha > .risco7, .senha > .risco8, .senha > .risco9 {
    width: 10vh;
    height: 10vh;
}
#p .borda_senha, #l .borda_senha {
    display: flex;
    align-items: center;
    padding-left: 4px;
    border: 2px solid white;
    border-radius: 25px;
    padding-right: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-size: 1.5vw;
}
#p .borda_senha {
    font-size: 2vw;
}

.video-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PIN MODAL */
  .modal {
      z-index: 9999;
  }
  .modal-content {
    font-size: 2vw !important;
  }
  .keyboard-key {
    font-weight: 600;
    margin: 4px;
    height: 8vh;
  }
  .keyboard-key:hover,
  .keyboard-key:focus {
    outline: none;
    color: white;
    background-color: green;
    transform: scale(1.02);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  }
  .keyboard-row {
    display: flex;
    justify-content: center;
  }
  
  .keyboard-key, .keyboard-delete, .keyboard-empty {
   display: flex;
   justify-content: center;
   align-items: center;
  }

  .modal-title {
    text-align: center;
  }
  #pinInput {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: green;
    height: 8vh;
  }

  .overflowY {
    overflow-y: auto !important;
  }

  .alert {
    margin-bottom: 4px !important;
  }
  
  #infoModal .alert {
      font-size: .85rem !important;
  }
  /*CAROUSEL*/
  .carousel {
    width: 100%;
    overflow: hidden;
  }
  
  .carousel-container {
      display: flex;
      white-space: nowrap;
      height: 100%;
      transition: transform 0.5s ease-in-out;
  }
  
  .carousel-slide {
      display: flex;
  }
  
  .carousel-slide img {
      flex-shrink: 0;
      width: 100%;
      height: 100%;
      object-fit: fill;
  }

  #footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 8vh;
    background: #FFF;
    background-image: url('assets/img/footer-1920x100.jpg');
    background-position: left;
    background-repeat: no-repeat;
    background-size: 100% auto;
    z-index: 9998;
  }

  /* Essential */
  .ticket ul {
    display: table-row;
    list-style: none;
  }
  .ticket li {
    display: table-row;
  }
  .ticket li::before {
    display: table-cell;
    text-align: right;
    content: "+";
    font-size: 1em;
    font-weight: bold;
    color: #FF404C;
    padding-right: 12px;
  }
  .ticket ul {
    margin: 0;
    padding: 0;
  }
  .ticket li:hover {
    background-color: rgba(256,256,256,0.1);
  }
  .ticket li:before:hover {
    background-color: rgba(256,256,256,0.1);
  }
  .ticket li:not(:first-of-type)::before {
    padding-top: 12px;
  }
  
  .config {
      font-size: .85rem !important;
  }
  
  .painel {
      font-weight: 600;
  }

.range input{
	-webkit-appearance:none;
	height:4px;
	border-radius:5px;
	background-color:#333;
	outline:none;
}
.range input::-webkit-slider-thumb{
	-webkit-appearance:none;
	width:20px;
	height:20px;
	border-radius:50%;
	background-color:#333;
}
.range span{
	position:absolute;
	margin-left:14px;
        margin-top: -5px;
	width:50px;
	height:30px;
	background-color:#222;
	color:#fff;
	border-radius:3px;
	text-align:center;
	line-height:30px;
}
.range span:before{
	content:'';
	position:absolute;
	border-right:9px solid transparent;
	border-left:9px solid transparent;
	border-bottom:12px solid #222;
	left:-10px;
	top:50%;
	transform:translateY(-50%) rotate(-90deg);
}.nav-link {

}
