* {
    font-family: Helvetica, Arial, "Yu Gothic", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;

    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

    touch-action: manipulation;

    color: #3C3C3C;
}

body {
    background-color: #E6F3F0;
}

header {
    background-color: white;

    display: flex;
    align-items: center;

    -webkit-justify-content: space-between;
    justify-content: space-between;

    padding: 16px 16px;
}

header .title {
    font-size: 20px;
    color: #0F766E;
}

header .lang {
    position: relative;
}

header .lang i {
    font-size: 20px;
    color: #0F766E;
}

header .lang select {
    padding: 8px 24px 8px 8px;
    -webkit-appearance: none;
    appearance: none;
    border: none;

    margin: 8px 0;
    font-size: 18px;
}

header .lang::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);

    pointer-events:none
}

.wrapper {
    margin: 8px auto;
    max-width: 720px;
    padding: 0 16px;
}

.wrapper .h2 {
    display: block;
    font-weight: bold;
    font-size: 18px;
}

.wrapper .h2 {
    display: block;
    font-weight: bold;
    font-size: 16px;
}

.wrapper .p {
    display: block;
}

.wrapper .text-centre {
    text-align: center;
}

.wrapper .bg-white {
    background-color: white;
}

.wrapper .contents {
    margin: 32px 0;
    border-radius: 16px;
    border: none;

    padding: 16px;
}

.wrapper .contents table {
    border-collapse: collapse;
}

.wrapper .title {
    font-size: 24px;
    margin-bottom: 16px;
}

.wrapper .checklist {
    display: flex;
    flex-wrap: wrap;
}

.wrapper .checklist .checkbox-label-wrapper {
    width: 50%;
}

.checkbox-label-wrapper {
    padding: 4px;
    font-size: 20px;
}

.wrapper .button-full {

    width: 100%;
    text-align: center;

    background-color: #65C4B3;

    -webkit-appearance: none;
    appearance: none;

    border: none;
    border-radius: 4px;

    padding: 8px;

    box-shadow: 0 0 4px 0 #888888;

    color: white;
    font-weight: bold;
}

.wrapper .button-large {
    width: 100%;

    background-color: #65C4B3;

    -webkit-appearance: none;
    appearance: none;

    border: none;
    border-radius: 4px;

    padding: 32px;
    margin: 16px 0;

    box-shadow: 0 0 4px 0 #888888;

    color: white;
    font-weight: bold;

    display: flex;
    align-items: center;

    justify-content: space-between;

}

.wrapper .button-large i {
    color: white;
    font-size: 48px;
    flex: 3;
}
.wrapper .button-large div {
    color: white;
    font-size: 24px;
    flex: 7;
}

.pref-table {
    width: 100%;
}

.pref-table th {
    font-weight: bold;
    text-align: center;
}

.pref-table td {
    padding: 16px 4px;
}

.city-list-index {
    width: 100%;
    background-color: #BFFFE4;
    color: #5C9981;
    font-weight: bold;
    padding: 8px;
}

.city-list-button {
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 4px 0 #888888;

    -webkit-appearance: none;
    appearance: none;

    border: none;

    background-color: white;

    margin: 8px 2%;
    width: 45%;
}


.city-list-button:hover {
    box-shadow: inset 0 0 8px 0 black;
}

.hos-result-number {
    width: 100%;
    text-align: right;
}

.hos-result-list {
    display: flex;
    flex-direction: column;
}

.hos-result {
    background-color: white;
    width: 100%;
    margin: 16px 0;
    padding: 16px;

    display: flex;

    border-radius: 8px;
    box-shadow: 0 0 4px 0 #888888;

    text-decoration: none;
}

.hos-result:hover {
    box-shadow: inset 0 0 8px 0 #888888;
}

.hos-result img {
    width: 128px;
    height: 128px;
}

.hos-result .hos-right {
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hos-result .hos-title {
    font-size: 20px;
    font-weight: bold;
}

.hos-result .hos-gender .male {
    font-weight: bold;
    color: rgb(0, 65, 255)
}

.hos-result .hos-gender .female {
    font-weight: bold;
    color: rgb(255, 40, 0)
}

.hos-details {
    background-color: white;
    width: 100%;
    margin: 16px 0;
    padding: 16px;

    border-radius: 8px;
}

.hos-details .hos-title {
    font-size: 20px;
    font-weight: bold;
}

.hos-details .table-week {
    width: 100%;
    text-align: center;
    table-layout: fixed;
}

.hos-details .table-week td {
    padding: 8px 0;
}

.hos-details .table-hos-details {
    width: 100%;
}

.hos-details .table-hos-details td{
    padding: 8px;
}

.form-patient label {
    display: block;
    margin: 16px 0;
}

.form-patient label input[type=text], .form-patient label select{
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #D9D9D9;

    -webkit-appearance: none;
    appearance: none;
}

.form-patient label:has(select) {
    position: relative;
}

.form-patient label:has(select)::after{
    content: "";
    position: absolute;
    top: 25px;
    right: 12px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);

    pointer-events:none
}

.double-button-wrapper {
    display: flex;
    justify-content: space-between;
}

.double-button-wrapper .back {
    background-color: #BFBFBF;
    color: white;
    flex: 1;
    margin: 16px;
    padding: 16px;

    box-shadow: 0 0 8px 0 #888888;
    border: 0;

    -webkit-appearance: none;
    appearance: none;
}

.double-button-wrapper .next {
    background-color: #EEEEEE;
    color: white;
    flex: 1;
    margin: 16px;
    padding: 16px;

    box-shadow: 0 0 8px 0 #888888;
    border: 0;

    -webkit-appearance: none;
    appearance: none;
}

.double-button-wrapper .confirm {
    background-color: #65C4B3;
    color: white;
    flex: 1;
    margin: 16px;
    padding: 16px;

    box-shadow: 0 0 8px 0 #888888;
    border: 0;

    -webkit-appearance: none;
    appearance: none;
}

.table-confirm {
    width: 100%;
}

.table-confirm th {
    color: #65C4B3;
    width: 196px;
    text-align: left;
    padding: 8px;
    font-weight: 400;
}

.interpreter-wrapper {
    background-color: #E6F3F0;
    padding: 16px;
    margin: 16px 0;
}

.scroll {
    overflow: auto;
    white-space: nowrap;
    width: 100%;
}