html {
    line-height: 1.15;
    text-size-adjust: 100%;
}

body {
    background-color: rgb(240, 240, 240);
    background-image: url(../images/logo-pui-repeat.png);
    background-repeat: repeat;
    background-position: left top;
    background-attachment: fixed;
    margin: 0px;
    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    line-height: 1.5;
    color: rgb(33, 37, 41);
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(33, 37, 41, 0);
    -webkit-print-color-adjust: exact;
}
body .container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0px;
    -webkit-box-pack: center;
}

.main {
    position: relative;
    padding: 20px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0px 4px 10px rgb(33 37 41 / 10%);
    width: 100%;
    max-width: 1000px;
    margin-right: 20px;
    margin-left: 20px;
    padding: 0;
    min-width: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.header {
    position: relative;
    padding: 20px;
    border-bottom: 5px solid #40821D;
}
.header .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
.header .row [class^="col"] {
    position: relative;
    -webkit-box-flex: 1;
    min-width: 1px;
    padding-left: 10px;
    padding-right: 10px;
    /* flex: 0 0 100%;
    max-width: 100%; */
}
.header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-box-pack: start;
}
.header .logo img {
    width: auto;
    height: 75px;
}
.header .logo .logo-image h1 {
    font-weight: bold;
    text-align: center;
}
.header .logo .logo-text {
    margin-left: 20px;
}
.header .logo .logo-text p {
    margin-bottom: 4px;
    font-weight: 700;
    color: #aaaaaa;
}
.header .logo .logo-text h1 {
    margin-bottom: 0;
    line-height: 1.25;
    font-size: 20px;
}

form, .area {
    display: block;
    padding: 20px;
}
form h2 {
    color: #aaaaaa;
    font-size: 20px;
    padding-top: 0;
    margin-bottom: 16px;
}
form label {
    font-size: 12.8px;
    font-weight: 600;
    margin-bottom: 8px;
}
form label span.required {
    color: #ce352d;
    margin-left: 4px;
}
form [class^="col"] {
    margin-bottom: 16px;
}
form .form-check-label {
    font-weight: inherit;
}

input, select, textarea, .form-control {
    font-size: inherit;
}
input:focus, select:focus, textarea:focus, .form-control:focus, .form-check-input:focus {
    border-color: #40821D;
    outline: 0;
    box-shadow: 0px 0px 0px 3px rgb(64 130 29 / 20%);
}
.form-check-input:checked {
    background-color: #40821D;
    border-color: #40821D;
}

.pt-16 {
    padding-top: 16px !important;
}

.upload-field {
    position: relative;
    height: 150px;
    width: 100%;
    cursor: pointer;
    background-color: #fafafa;
    border-radius: 4px;
    border: 1px solid #aaaaaa;
    transition: background-color 200ms cubic-bezier(0.4,0,0.2,1), border-color 200ms cubic-bezier(0.4,0,0.2,1), box-shadow 200ms cubic-bezier(0.4,0,0.2,1);
}
.upload-field .upload-field-sub {
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
    width: 100%;
}
.upload-field .upload-field-sub .upload-field-icon {
    display: block;
    font-size: 16px;
    color: #cccccc;
    user-select: none;
    margin-bottom: 2px;
    margin-right: 20px;
    margin-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upload-field .upload-field-sub .upload-field-text {
    display: inline-block;
    font-size: 12.8px;
    line-height: 1.3;
    text-align: center;
    max-width: 70%;
    color: #cccccc;
    user-select: none;
}
.upload-field .upload-field-sub .upload-field-text > label {
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    transition: opacity 200ms cubic-bezier(0.4,0,0.2,1);
}

.select2-selection.select2-selection--single {
    height: 35px;
    border: 1px solid #ced4da;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 3px 12px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
    right: 5px;
}
.was-validated .select2-selection.select2-selection--single:invalid {
    border: 1px solid #dc3545;
}

.qr-area {
    display: flex;
    width: fit-content;
}
.qr-area-1 {
    max-width: 20vw;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
}
.qr-area-1 .card {
    border: 0px;
}
.qr-area-2 {
    max-width: 5vw;
    background-color: #40821D;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

.canvas-area, .canvas-link {
    display: none;
}

.datepicker.datepicker-dropdown {
    font-size: 0.8rem;
    padding: 10px;
}
.datepicker td, .datepicker th {
    width: 25px;
    height: 25px;
}

.swal-text {
    text-align: center;
    font-size: 0.85rem;
}
.swal-icon.swal-icon--custom img {
    width: 100px;
    height: auto;
}