body{
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
}
.header{ position: relative;}
.content{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* margin-top: 50px; */
}
.mfooter{display: flex; justify-content: space-between; align-items: center;}
.contentcenter{ justify-content: center;}
.contentvertical{}
/* ***************************************************************************** */

.mainlogo{ width: 300px; }
.mainlogosmall{ width: 150px; margin-top: 50px;}
.icon_mini{ margin: 16px; object-fit: contain; height: 60px;}
.icondept{height: 120px; margin: -10px 24px;}

/* iphone x */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3) {

}
/* iphone 6.7.8 */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
    /* .icon_mini{ margin: 16px; object-fit: contain; height: 60px;} */
}

.text1{ font-size: 28px; color: #003C90; margin: 24px 40px; }
.text2{ font-size: 14px; color: #003C90; margin: 0 24px; }
.text3{ font-size: 14px; color: #003C90; margin: 0 24px; font-weight: 600; }
.text3>span{text-decoration: underline;}
.text4{ font-size: 16px; color: #003C90; margin: 0 24px; font-weight: 600; }
.text5{ font-size: 20px; color: #003C90; margin: 0 24px; }
.text6{ font-size: 8px; color: #979797; margin-top: 10px;}
.text7{ font-size: 10px; color: #003C90; margin: 0 24px; }
.text8{ font-size: 24px; color: #003C90; margin: 0 24px; font-weight: bold;}
.text9{ font-size: 16px; color: #003C90; margin: 0 24px 10px 24px; }
.text10{ font-size: 14px; color: #003C90; margin: 0 24px; width: 100%; text-align: left;}
.text11{ font-size: 14px; color: #003C90; margin: 0 14px; flex: 1; overflow: auto;}
.text12{ font-size: 48px; color: #003C90; margin: 0 14px; flex: 1; overflow: auto;}
.text13{ font-size: 16px; background-color: #003C90; color: white; margin: 0 14px;}
a{
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.button{
    width: 300px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 16px;
    background: #003C90;
    color: white;
    border-width: 2px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.button2{ font-size: 16px; background-color: #003C90; color: white; margin: 0 14px; padding: 8px 32px; border-radius: 40px;}

.buttondisable{
    width: 300px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 16px;
    background: lightgrey;
    color: white;
    border-width: 2px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    cursor: not-allowed;
}

.userinput{
    /* width: 300px; */
    background: white;
    display: flex;
    align-items: center;
    border: 2px solid #003C90;
    border-radius: 50px;
    font-size: 20px;
    padding: 0px 16px;
}
.userinput>div{
    border-right: 2px solid #003C90;
    padding: 16px;
}
.userinput>input{
    width: 200px;
    border: none;
    margin: 0px 8px;
    padding: 16px;
}
@media screen and (max-height: 666px){
    .userinput>input{
        width: 200px;
        border: none;
        margin: 0px 8px;
        padding: 8px;
    }
}
*:focus{
    outline: none;
}


/* ***************************************************************************** */

#departmentselection, #serviceselection, #deparmentnotes{min-width: 300px;}
.department{
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 4px;
    margin: 16px;
    padding: 16px;
    text-align: left;
    font-size: 10px;
    font-weight: bold;
    color: black;
    box-shadow: 0px 0px 5px rgba(202, 202, 202, 0.25);
}

.dept_icon{
    width: 55px;
    height: 55px;
    background-color: #f5f5f5;
    border-radius: 55px;
    object-fit: contain;
    margin-right: 16px;
}
.dept_details{flex:1;}
.dept_name{ font-size: 14px; margin-bottom: 4px;}
.dept_sub{}
.dept_sub2{ color: lightgrey; }

.dept_bg{
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.dept_logo_big{
    position: absolute;
    top: 70px;
    left: 16px;
    width: 124px;
    height: 124px;
    object-fit: contain;
    background-color: white;
    border-radius: 124px;
}
.dept_header_detail{
    padding: 16px;
    text-align: right;
    background-color: #003C90;
    color: white;
}

.service{
    background-color: white;
    border-radius: 4px;
    padding: 16px 16px;
    border: 1px solid #003C90;
    margin: 8px 16px;
    display: flex;
    align-items: center;
    text-align: left;
    color: #515151;
    font-weight: bold;
    font-size: 10px;
}
.service>img{
    margin-left: 16px;
    width: 56px;
    height: 56px;
    background-color: #003C90;
    border-radius: 56px;
    object-fit: contain;
}

#contentcollapse{ position: absolute; top: 0; }
.collapsecontent{
    width: 100vw;
    height: 100vh;
    background-color: whitesmoke;
    padding: 16px 24px;
    font-size: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.overtime{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: whitesmoke;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.overtime>div{color: #003C90;}

.qnumbercontainer{
    width: 300px;
    padding: 16px 16px 16px;
    color: white;
    background-color: #003C90;
    border-radius: 10px 10px 0 0;
}
.qnumber{
    font-size: 55px;
    font-weight: bold;
}
.deco{
    z-index: 1;
    width: 330px;
    display: flex;
    justify-content: space-between;
    margin: -15px;
    align-items: center;
}
.bigCircle{ width: 30px; height: 30px; border-radius: 30px; background-color: #F5F5F5; }
.smallCircle{ width: 5px; height: 5px; border-radius: 5px; background-color: #F5F5F5; }
#qrcode{
    width: 120px;
    height: 120px;
    background-color: lightgrey;
    margin: 24px 16px 16px;
}
.qdetailcontainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    width: 300px;
    margin-bottom: 8px;
    border-radius: 0 0 10px 10px;
}
.qdetailcontainer>.qdetails{
    display: flex;
    width: 100%;
    justify-content: space-around;
}
.item>.label{

}
.itemserving{
    display: none;
}

/* ***************************************************************************** */

.languageselection{
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    padding: 16px 16px 0 0 ;
    z-index: 1;
}
.language{
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 16px;
    border: 2px solid #003C90;
    color: #003C90;
    background: white;
}
.langselected{ background: #003C90; color:white; }

/* ***************************************************************************** */

.loading, .error, .mdialog, .mdialog2{
    z-index: 2;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #00000030;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
}
.loadingicon{
    margin: 8px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3948db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
.errorbox{
    z-index: 2;
    padding: 16px;
    width: 300px;
    background-color: white;
    color: black;
    border-radius: 8px;
}
.erroraction{color:blue;margin-top: 16px;}
#dialog2img{
    width: 100px;
}

.hasfinish{
opacity : 0.4;
}
/* ***************************************************************************** */
