* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    text-decoration: none;
}

.hidden{
    display:none !important;
}

.back i{
    color:orangered !important;
}

.back.big{
    font-size: 1.3rem !important;
}

body{
    background:#111;
    max-height: 100dvh;
    height:100dvh;
    display:flex;
    flex-direction: column;
}

header{
    display: flex;
    background:#222;
    border-bottom:solid 2px #ccc;
    align-items: center;
    justify-content: space-between;
    height:80px;
    padding:.2rem 1rem;
}

header .room{
    display:flex;
    flex-direction: column;
    color:white;
    align-items: center;
    font-size: .8rem;
    font-weight: 300;
}
header .room strong{
    font-size: 1.2rem;
    font-weight: 600;
}

header img{
    height:100%;
}

main{
    height:calc(100vh - 105px);
    position:relative;
    display:flex;
    flex-direction: column;
}

main div.bg{
    position:absolute;
    width:100%;
    height:100%;
    background-image: url("../img/demo-bg.jpg");
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    z-index: 1;
}

main div.bg::after{
    position: absolute;
    z-index: -1;
    content:"";
    height:100%;
    width:100%;
    background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%,rgba(0,0,0,1) 80%);
}

main div.infobar{
    position:absolute;
    z-index: 2;
    width:100%;
    background:red;
    color:#333;
    padding:.5rem;
    text-align: left;
    z-index: 99;
}

main div.infobar i.fa-circle-exclamation{
    color:#000;
}

main div.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: .5rem;
    grid-row-gap: .5rem;
    position:absolute;
    width: 100%;
    max-width: 100%;
    padding:.5rem .5rem;
    margin-bottom:.5rem;
    bottom:0;
    z-index: 10;
}

main div.cards .card{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height:100%;
    background:white;
    color:#222;
    font-size: 1rem;
    font-weight: bold;
    padding:1rem .5rem;
    border-radius: .5rem;
    gap:.7rem;
}

main div.cards .card i{
    font-size: 3rem;
}



main div.list {
    display: flex;
    height: calc(100% - 50px);
    flex-direction: column;
    padding:.5rem .5rem 0rem .5rem;
    margin-bottom:.5rem;
    z-index: 10;
    color:white;
    gap:.5rem;
}

main div.list .search{
    background:white;
    padding:.5rem 1rem;
    border-radius: 1rem;
    display:flex;
    align-items: center;
    color:#222;
}

main div.list .search input{
    outline:none;
    border:none;
    flex:1;
    padding:.2rem .5rem;
}

main div.list .items{
    display:flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: scroll;
}

main div.list .title,
main div.list .item{
    display:flex;
    border-bottom: solid 1px #ccc;
    padding:.5rem 0rem;
}

main div.list .title h4:first-child,
main div.list .item h4:first-child{
    flex-grow: 2;
}

main div.list .title h4:last-child,
main div.list .item h4:last-child{
    width:90px;
    text-align: center;
}

main div.list .title h4{
    font-weight: bolder;
    font-size: 1.4rem;
}

main div.list .item h4{
    font-weight: normal;
    font-size: 1.2rem;
}

main div.icon{
    position:relative;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap:.2rem;
    font-size: .8rem;
    height:50px;
    background: white;
    padding:0rem 1rem;
    z-index: 1;
}

main div.icon p {
    display:flex;
    align-items: center;
    gap:.7rem;
}

main div.icon i{
    font-size: 1.6rem !important;
}

main div.icon .back i{
    color:black !important;
}


footer{
    background:#111;
    color:#777;
    text-align: center;
    height:25px;
}

.align-left{
    text-align: left;
}
.swal2-container {
  z-index: 999;
}

.swal2-popup{
    border:solid 1px deepskyblue !important;
}

.swal2-title{
    font-size: 1.5rem;
}



/** DIALOG UI **/

.extraUI textarea{
    width: 100%;
    height:5rem;
    border:solid 1px gray;
    outline:none;
    background:#555;
    color:white;
    padding:.5rem;
    margin-bottom:.5rem;
}

.extraUI textarea::placeholder {
  color:#999;
}

.extraUI p{
    display:flex;
    flex-wrap: wrap;
    font-size: .8rem;
    gap:.2rem;
}

.extraUI p strong,
.extraUI p span
{
    padding:.5rem;
    background:#555;
    border-radius: 1rem;
}

.extraUI p strong{
    background: deepskyblue;
    color:#555;
}

.extraUI p span.selected{
    color: deepskyblue;
}

