/* all */
* {
    font-family: 'Mitr', sans-serif;
    /* border: .1px solid red; */
}

.head {
    max-width: 100vw;
    display: flex;
    padding: 15px;
    align-items: center;
    background: #ffe9ba;
}

.main {
    width: 100vw;
}

.logo {
    min-width: 120px;
    max-width: 125px;
    display: block;
}

h2 {
    padding: 0px 15px;
}

.foot {
    height: 75px;
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #ffe9ba;
    color: #000000;
    padding: 15px;
    text-align: right;
    align-content: center;
}

#time {
    padding-right: 25px;
}

.mainbtn {
    font-size: 30px !important;
    background-color: rgb(241, 223, 119) !important;
    padding: 20px 40px !important;
}

.container {    
    font-size: 20px;
}

/* dropdown */
.stoption {
    text-align: center;
}

option {
    padding: 5px 5px;
}

.custom-select select {
    max-width: max-content;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    outline: none;
}
  
.custom-select {
    position: relative;
    max-width: max-content;
    width: 100%;
}

.custom-select::after {
    content: "\25BC";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
    transition: transform 0.25s ease;
  }

.custom-select.open::after {
    transform: translateY(-50%) rotate(180deg);
}


/* กึงกลางสูง */
.alc {    
    height: 100%;
    align-content: center;
}

.mainview {
    padding-bottom: 75px;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
}

input[type="text"], input[type="number"] {
    width: 100%;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 4px;
    outline: none;
}

input[type="file"] {
    width: 100%;
}

input[type="password"] {
    width: 100%;
}

.send {
    font-size: 24px !important;
}

.file-icon {
    font-size: 20px;
}

.file-upload {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 22px;
background: #f3f3f3;
border-radius: 20px;
cursor: pointer;
font-family: sans-serif;
}


.file-upload input {
    opacity: 0;
    position: absolute;
    width: 1px;
    height: 1px;
}

.file-upload:hover {
background: #e9e9e9;
}

.file-upload input:invalid + .file-text {
    border: 1px solid red;
    padding: 4px 6px;
    border-radius: 4px;
    color: red;
}


.file-upload input:valid + .file-text {
    border: 1px solid transparent;
    color: black;
}
  
select:focus:invalid, input[type="text"]:focus:invalid, input[type="radio"]:focus:invalid, input[type="number"]:focus:invalid  {
    border-color: red;
    box-shadow: 0 0 3px red;
}

.success_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card {
    width: 75vw;
}

.btnadmin {
    width: 25% !important;
}

.right {
    text-align: right;
}

.auto {
    width: auto !important;
}

.width50 {
    width: 50%;
}

.red {
    color: rgb(255, 0, 0) !important;
}

.top {
    float: right;
    top: 0px;
    right: 0px;
}

.h30px {
    height: 30px;
}