﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

@page {
    size: auto;
    margin: 0mm;
}

body {
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1;
    flex: 1;
    user-select: none;
    margin: 0;
    background-color: #FAFAFA;
}

.xpage {
    flex: 70;
}

.xinfoPasien {
    font-size: 2.5vh;
}

.xloading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #535c6891;
    z-index: 100;
}

.xbutton {
    flex: 20;
    background-color: #7FCCB3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4vh;
    min-height: 9vh;
    border-radius: 1vh;
    margin-bottom: 2vh;
}

    .xbutton.xclick {
        background-color: #E7F0E5;
    }

.xbuttoncek {
    flex: 20;
    background-color: #3575AC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vw;
    min-height: 9vh;
    border-radius: 1vh;
    margin-bottom: 2vh;
    color: white;
}

    .xbuttoncek.xclick {
        background-color: #5591AC;
    }

.xbuttonhapus {
    flex: 20;
    background-color: #F57070;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vw;
    min-height: 9vh;
    border-radius: 1vh;
    margin-bottom: 2vh;
    color: white;
}

    .xbuttonhapus.xclick {
        background-color: #FBCFCF;
    }

.xbuttonList {
}

    .xbuttonList.xclick {
        background-color: #E7F0E5;
    }

.xbuttonBack {
    font-size: 3vh;
    color: #3575AC;
}

    .xbuttonBack i {
    }

        .xbuttonBack i.xclick {
            color: #5591AC;
        }



.xnokartu {
    background-color: #EFF2F6;
    font-size: 4vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2vh;
    margin-top: 2vh;
    min-height: 8vh;
    border-radius: 1vh;
}

.xmenuInfoPasien {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 3vh;
    margin-bottom: 1vh;
}

.xerror {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #535c68a1;
    z-index: 100;
}

.xerrorBox {
    height: 50vh;
    width: 50vw;
    margin-top: 25vh;
    margin-left: 25vw;
    background-color: white;
    border-radius: 1vh;
    padding: 2vh;
    font-size: 3vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.xerrorMessage {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.xfinger {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #535c68a1;
    z-index: 100;
}

.xfingerBox {
    height: 50vh;
    width: 50vw;
    margin-top: 25vh;
    margin-left: 25vw;
    background-color: white;
    border-radius: 1vh;
    padding: 2vh;
    font-size: 3vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.xfingerMessage {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid white;
    border-top: 16px solid #22a6b3;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    height: 10vh;
    width: 10vh;
    margin-top: 45vh;
    margin-left: calc(50vw - 5vh);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.xpeserta {
    font-size: 3vh;
    background-color: white;
    padding: 2vh;
    border-radius: 2vh;
    box-shadow: 0.3vh 0.3vh 1vh grey;
}

.xrujukan {
    font-size: 2.7vh;
    margin-bottom: 3vh;
}

.xsuratkontrol {
    font-size: 2.7vh;
    margin-bottom: 3vh;
}

.xdokter {
    font-size: 2vh;
    margin-bottom: 3vh;
}