@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Thai:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Athiti:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Sarabun', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex-grow: 1;
   }

.footer {
    background-color: rgb(8, 70, 25);
    color: white;
}

.Noto {
    font-family: 'Noto Serif Thai', serif;
}

.Athiti {
    font-family: 'Athiti', sans-serif;
}

.Light {
    font-weight: 300;
}

.Regular {
    font-weight: 400;
}

.Medium {
    font-weight: 500;
}

.SemiBold {
    font-weight: 600;
}

.Bold {
    font-weight: 700;
}

.fs14 {
    font-size: 14px;
}

.fs18 {
    font-size: 18px;
}

.fs20 {
    font-size: 20px;
}

.fs22 {
    font-size: 22px;
}

.fs24 {
    font-size: 24px;
}

.fs26 {
    font-size: 26px;
}

.fs28 {
    font-size: 28px;
}

.fs36 {
    font-size: 36px;
}

.fs48 {
    font-size: 48px;
}

.fs60 {
    font-size: 60px;
}

.fs72 {
    font-size: 72px;
}

/* Red border */
hr.new1 {
    border-top: 1px solid rgb(100, 100, 100);
}

/* Dashed red border */
hr.new2 {
    border-top: 2px dashed rgb(100, 100, 100);
}

/* Dotted red border */
hr.new3 {
    border-top: 2px dotted rgb(100, 100, 100);
}

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;
}

.bg-fuchsia {
    background-color: fuchsia;
}

.bg-indigo {
    background-color: indigo;
}

.bg-crimson {
    background-color: crimson;
}

.bg-brown {
    background-color: chocolate;
}

.bg-lightpink {
    background-color: lightpink;
}

.bg-lightgray {
    background-color: rgb(238, 238, 238);
}

.bg-coral {
    background-color: coral;
}

.bg-navy {
    background-color: rgb(6, 6, 24);
}

.blockA {
    min-width: 120px;
    min-height: 120px;
    margin: 10px;
    border-radius: 8px;
    padding: 0;
}

label {
    font-size: 18px;
    font-weight: 800;
}

.linear-gradient {
    background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
}

.blockA:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.navbar {
    width: 100%;
}

.navbar a {
    float: left;
    font-family: 'Athiti', sans-serif;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

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

.active {
    background-color: #04AA6D;
}

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

.dropdown-item {
    background-color: #04b876;
}

.dropdown:hover .dropdown-menu {
    background-color: #04AA6D;
    margin-top: 0px;
    display: block;
}

fieldset {
    background-color: #fff;
}

legend {
    background-color: #04AA6D;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 20px;
    font-family: 'Athiti', sans-serif;
}

.nav {
    width: 100%;
    font-family: 'Athiti', sans-serif;
    font-size: 16px;
}

.nav a {
    float: left;
    color: #04AA6D;
    text-decoration: none;
    border-bottom: 1px solid rgb(220, 220, 220);
    display: block;
    width: 100%;
}

.nav a:hover {
    /*background-color: coral; */
    border-left: 4px solid rgb(0, 149, 12);
    color: #e07800;
    display: block;
    width: 100%;
}

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