@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Thai&family=Prompt&display=swap');

body {
    font-family: "Noto Serif Thai", serif;
    font-size: 14px;
    color: #4e4e4e;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.Prompt {
    font-family: "Prompt", sans-serif;
    text-decoration: none;
}

a:link {
    color: #339900;
    text-decoration: none;
}

a:visited {
    color: #339900;
    text-decoration: none;
}

a:hover {
    color: #FF6600;
    text-decoration: none;
}

a:active {
    color: #FF0000;
    text-decoration: none;
}

.linkbar {
    line-height: 25px;
}

.linkbar a {
    /* font-size: 15px;
    transform: scale(0.9); */
    transition: .7s;
    float: none;
    display: block;
}

.linkbar a:hover {
    background: #ffedb0;
}

/* Dotted red border */
hr.new1 {
    border-top: 1px dashed rgb(81, 81, 81);
}

div.absolute1 {
    background: #a0a0a0;
    position: relative;
    height: 0.5px;
}

.hr-text {
    position: relative;
    /*text-align: center*/
}

.hr-text:before {
    content: "";
    display: block;
    border-top: dashed 1px #b9cddd;
    width: 98%;
    height: 0.5px;
    position: absolute;
    top: 50%;
    z-index: 0;
}

.hr-text span {
    color: #0964b0;
    background: #fff;
    padding: 0px 10px 0px 0px;
    position: relative;
    z-index: 1;
}


.hr-text2 {
    position: relative;
    /*text-align: center*/
}

.hr-text2:before {
    content: "";
    display: block;
    /* background: rgb(255,183,0);*/
    background: linear-gradient(90deg, rgba(255, 183, 0, 1) 35%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    height: 0.5px;
    position: absolute;
    top: 45%;
    z-index: 0;
}

.hr-text2 span {
    background: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1024px;
}

.main {
    flex-grow: 1;
}

.fs10 {

    font-size: 10px;
}

.fs12 {

    font-size: 12px;
}

.fs16 {

    font-size: 16px;
}

.fs18 {
    font-size: 18px;
}

.fs20 {
    font-size: 20px;
}

.fs22 {
    font-size: 22px;
}

.fs24 {
    font-size: 24px;
}

.fs28 {
    font-size: 28px;
}

.fs32 {
    font-size: 32px;
}

.fs36 {
    font-size: 36px;
}

.fs44 {
    font-size: 44px;
}

.fs48 {
    font-size: 48px;
}

.text-shadow {
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px #a0a0a0;
}

pre {
    overflow-x: auto;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

.btn-block {
    font-family: "Prompt", sans-serif;
    font-weight: 600;
    font-size: 15px;
    max-height: 100px;
    color: #ffffff;
    border-radius: 10px;
    border: none;
    transition: transform .5s;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.24);
}

.btn-block:hover {
    background: #500000;
    color: #a0a0a0;
    transform: scale(0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.19);
}

.navbar-top {
    font-family: "Prompt", sans-serif;
    font-weight: 400;
    font-size: 13px;
    background: rgba(0, 103, 151);
}

.navbar-top a {
    color: rgb(155, 223, 255);
    text-decoration: none;
}

.navbar-top a:hover {
    color: rgb(2, 153, 223);
    text-decoration: none;
}

.navbar-menu {
    font-family: "Prompt", sans-serif;
    font-weight: 400;
    font-size: 13px;
    background: rgba(0, 103, 151);
}

.navbar-menu a {
    color: #ffffff;
    border-radius: 20px;
    transition: 0.5s;
}

.navbar-menu a:hover {
    background-color: rgb(0, 141, 207);
    color: #ffffff;
}

.navbar-admin {
    font-family: "Prompt", sans-serif;
    font-weight: 500;
    font-size: 15px;
    background: rgb(39, 39, 39);
}

.navbar-admin a {
    color: #e2e2e2;
    text-decoration: none;
    border-radius: 20px;
}

.navbar-admin a:hover {
    background-color: coral;
    color: #ffffff;
}

.nav-item {
    padding-left: 5px;
    padding-right: 5px;
}

.dropdown-menu {
    font-size: 13px;
    background: rgb(2, 129, 188);
    box-shadow: 0 4px 6px rgba(37, 37, 37, 0.19);
}

label {
    font-size: 14px;
    font-weight: 600;
}

.card-header {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

::-webkit-input-placeholder {
    font-size: 12px;
    text-align: center;
}

.form-check-input {
    font-size: 14px;
    font-weight: 400;
    text-indent: 10px;
}

.form-check-input:hover {
    border-color: chocolate;
}

.input-group {
    font-size: 14px;
    font-weight: 400;
}

.form-select {
    font-size: 14px;
    font-weight: 400;
}

.input-group-text {
    font-size: 14px;
    font-weight: 400;
}

/* -------- input file style ---------------- */
input[type="file"] {
    position: relative;
}

input[type="file"]::file-selector-button {
    width: 136px;
    color: transparent;
}

/* Faked label styles and icon */
input[type="file"]::before {
    position: absolute;
    pointer-events: none;
    top: 5px;
    left: 16px;
    height: 20px;
    width: 20px;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230964B0'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
}

input[type="file"]::after {
    position: absolute;
    pointer-events: none;
    top: 8px;
    left: 40px;
    color: #0964b0;
    content: "อัพโหลดไฟล์";
}

/* ------- From Step 1 ------- */

/* file upload button */
input[type="file"]::file-selector-button {
    border-radius: 4px;
    padding: 0 16px;
    height: 30px;
    cursor: pointer;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
    margin-right: 16px;
    transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
    background-color: #f3f4f6;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
    background-color: #e5e7eb;
}

/* ------------------------ */

.form-control {
    font-size: 14px;
    font-weight: 400;
    color: blue;
}

.form-control:hover {
    border-color: chocolate;
    background: bisque;
}

.alert-cadetblue {
    background: rgb(185, 241, 239);
}

@media screen and (max-width: 500px) {
    .navbar a {
        float: none;
        display: block;
    }
}

fieldset {
    background-color: #fff;
}

.icon {
    float: left;
    border-style: solid;
    border-radius: 60px;
    width: 60px;
    height: 60px;
    font-size: 36px;
    text-align: center;
    margin-right: 10px;
}

.img-hover-zoom img {
    transition: .5s;
}

.img-hover-zoom:hover img {
    transform: scale(0.9);
}

.img-hover-blur img {
    transition: .5s;
    filter: blur(0);
}

.img-hover-blur:hover img {
    filter: blur(2px);
}

.img-hover-brightness img {
    filter: brightness(100%);
    transition: .5s;
}

.img-hover-brightness:hover img {
    filter: brightness(80%);
}

.img-hover-sepia img {
    transition: .5s;
    filter: none;
}

.img-hover-sepia:hover img {
    filter: sepia(50%);
}

.indent-20 {
    padding-left: 20px;
}

.vertical-bottom {
    display: table-cell;
    float: none;
    vertical-align: bottom;
}

.table-hover tr {
    transition: 0.7s;
}

.table-hover tr:hover {
    filter: sepia(50%);
}