@font-face {
    font-family: 'promptlight';
    src: url('./Font-Prompt/prompt-light-webfont.woff2') format('woff2'), url('./Font-Prompt/prompt-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'promptbold';
    src: url('./Font-Prompt/prompt-bold-webfont.woff2') format('woff2'), url('./Font-Prompt/prompt-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* Navbar */

.header-background {
    background-image: url('../images/header/01.png');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
}

.navigation {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 60px;
    background: #fff;
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    transition: height 0.5s, width 0.5s;
    transition-delay: 0s, 0.75s;
    overflow: hidden;
}

.navigation.active {
    width: 300px;
    height: 400px;
    transition: width 0.5s, height 0.5s;
    transition-delay: 0s, 0.75s;
}

.navigation .userBx {
    position: relative;
    width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.navigation.active .userBx {
    width: calc(100% - 60px);
    transition-delay: 0s;
}

.navigation .userBx .username {
    white-space: nowrap;
    color: #555;
    font-size: 1.1em;
}

.navigation .userBx .imgBx {
    position: relative;
    min-width: 60px;
    height: 60px;
    overflow: hidden;
    background: #000;
    border-radius: 50%;
    border: 10px solid #fff;
}

.navigation .userBx .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu {
    position: absolute;
    width: 100%;
    height: calc(100% - 60px);
    margin-top: 60px;
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.menu li {
    list-style: none;
}

.menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-size: 1em;
    text-decoration: none;
    color: #555;
}

.menu li a:hover {
    color: #4e65ff;
}

.menu li a ion-icon {
    font-size: 1.5em;
}

.navigation .menuToggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation .menuToggle::before {
    content: "";
    position: absolute;
    width: 32px;
    height: 2px;
    background: #555;
    transform: translateY(-10px);
    box-shadow: 0 10px #555;
    transition: 0.5s;
}

.navigation .menuToggle::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 2px;
    background: #555;
    transform: translateY(10px);
    transition: 0.5s;
}

.navigation.active .menuToggle::before {
    transform: translateY(0px) rotate(45deg);
    box-shadow: 0 0 #555;
}

.navigation.active .menuToggle::after {
    transform: translateY(0px) rotate(-45deg);
}

.menu-bar-icon {
    font-size: 30px;
}

.menu-bar a {
    color: #5a5858bd;
    text-decoration: none;
    font-family: "promptlight";
}

.menu-bar:hover a {
    /* color: #009444; */
    color: #000;
    font-family: "promptlight";
}

.menu-bar:hover a h5 {
    /* color: #009444; */
    color: #000;
    font-family: "promptlight";
}

.menu-bar-active {
    /* color: #009444; */
    color: #5b81e0;
    font-family: "promptlight";
}

.menu-bar-active a {
    font-family: "promptlight";
    color: #000;
    text-decoration: none;
}

.menu-bar-active a h5 {
    font-size: 18px;
    font-family: "promptlight";
}

.menu-bar a h5 {
    color: #5a5858bd;
    font-size: 18px;
    font-family: "promptlight";
}

.menu-bar a i {
    font-size: 30px;
}

.menu-bar-active a i {
    /* color: #009444; */
    color: #000;
    text-decoration: none;
    font-size: 30px;
}

.me-ba-ac-lh {
    /* border-bottom: 3px solid #009444; */
    border-bottom: 3px solid #5b81e0;
    margin: 0px 15px;
    padding-top: 5px;
}

.menu-bar-other a {
    color: #00cc005d;
    text-decoration: none;
    font-family: "promptlight";
}

.menu-bar-other-2 a {
    color: #5679eb79;
    text-decoration: none;
    font-family: "promptlight";
}

.menu-bar-other-3 a {
    color: rgba(255, 0, 0, 0.452);
    text-decoration: none;
    font-family: "promptlight";
}

.menu-bar-other a h5 {
    color: #5a5858bd;
    font-size: 18px;
    font-family: "promptlight";
}

.menu-bar-other-2 a h5 {
    color: #5a5858bd;
    font-size: 18px;
    font-family: "promptlight";
}

.menu-bar-other-3 a h5 {
    color: #5a5858bd;
    font-size: 18px;
    font-family: "promptlight";
}

.menu-bar-other a i {
    font-size: 30px;
}

.menu-bar-other:hover a {
    color: #00cc00f6;
}

.menu-bar-other:hover a h5 {
    color: #000;
}

.menu-bar-other-2:hover a {
    color: #5679ebfd;
}

.menu-bar-other-3:hover a {
    color: red;
}

.menu-bar-other-2:hover a h5 {
    color: #000;
}

.menu-bar-other-3:hover a h5 {
    color: #000;
}

.menu-bar-other-active {
    color: #00cc00f6;
}

.menu-bar-other-active a {
    color: #000;
    text-decoration: none;
}

.menu-bar-other-active-2 a {
    color: #000;
    text-decoration: none;
}

.menu-bar-other-active-3 a {
    color: #000;
    text-decoration: none;
}

.text a {
    text-decoration: none;
}

.menu-bar-other-active a h5 {
    font-family: "promptlight";
    font-size: 18px;
    color: #000;
}

.menu-bar-other-active-2 a h5 {
    font-family: "promptlight";
    font-size: 18px;
    color: #000;
    text-decoration: none;
}

.menu-bar-other-active-3 a h5 {
    font-family: "promptlight";
    font-size: 18px;
    color: #000;
    text-decoration: none;
}

.menu-bar-other-active a i {
    color: #f48882;
    text-decoration: none;
    font-size: 30px;
}

.menu-bar-other-active-2 a i {
    color: #5679ebfd;
    text-decoration: none;
    font-size: 30px;
}

.menu-bar-other-active-3 a i {
    color: red;
    text-decoration: none;
    font-size: 30px;
}

.me-ba-ac-lh-ot {
    border-bottom: 3px solid #5b81e0;
    margin: 0px 15px;
    padding-top: 5px;
}

.theames-gray {
    background-color: #f0f3f6;
}

.header-school h4 {
    font-size: 25px;
    margin-top: 10px;
}

.text-header-menu h4 {
    font-family: "promptlight";
    font-size: 20px;
}

.text-header-menu h5 {
    font-size: 22px;
}

.text-header-menu a {
    font-size: 14px;
}


/* End Navbar */

section {
    padding: 5px 10px;
}

.free-box-dash {
    background: #fff;
    border-radius: 5px;
    margin: 1px 1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 25px -12px;
}

.free-box-Green {
    background: #339933;
    border-radius: 5px;
    margin: 1px 1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 25px -12px;
}

.free-box-pink {
    background: #f48882;
    border-radius: 5px;
    margin: 1px 1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 25px -12px;
}

.free-box-dash-border {
    border-style: solid;
    border-color: #fff;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 25px -12px;
}

.free-box-dash-btn-block {
    display: block;
    width: 100%;
    border: none;
    background-color: #f0f0f0;
    color: black;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
}

.free-box {
    background: #fff;
    border-radius: 1px;
    margin: 2px 2px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 10px -12px;
}

.free-box-border {
    border-style: solid;
    border-color: #fff;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 10px -12px;
}

.free-box-btn-block {
    display: block;
    width: 100%;
    border: none;
    background-color: #f0f0f0;
    color: black;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
}

.list-menu {
    margin-top: 10px;
}

.list-menu .div>i {
    display: inline-block;
    margin-bottom: -3px;
    margin-right: 4px;
}

.list-menu-icon-home {
    margin: 12px 0px;
    font-size: 18px;
    color: #EEDD82;
}

.list-menu-home {
    font-size: 23px;
    padding-left: 10px;
    color: #aba9a9;
}

.list-menu-home a {
    font-size: 23px;
    color: #000;
    text-decoration: none;
}

.list-menu-icon-home-2 {
    margin: 12px 0px;
    font-size: 18px;
    color: rgb(121, 205, 247);
}

.list-menu-home-2 {
    font-size: 23px;
    padding-left: 10px;
    color: #aba9a9;
}

.list-menu-home-2 a {
    font-size: 23px;
    color: #000;
    text-decoration: none;
}

.list-menu-icon-home-3 {
    margin: 12px 0px;
    font-size: 18px;
    color: #00CC00;
}

.list-menu-home-3 {
    font-size: 23px;
    padding-left: 10px;
    color: #aba9a9;
}

.list-menu-home-3 a {
    font-size: 23px;
    color: #000;
    text-decoration: none;
}

.header-box:hover {
    font-size: 18px;
    background-color: #fbd0a2;
}

.header-box:hover i {
    color: #B8860B;
}

.header-box:hover span a {
    color: #000;
}

.header-box-2:hover {
    font-size: 18px;
    background-color: #fbd0a2;
}

.header-box-2:hover i {
    color: rgb(18, 133, 240);
}

.header-box-2:hover span a {
    color: #000;
}

.header-box-3:hover {
    font-size: 18px;
    background-color: #f0f3f6;
}

.header-box-3:hover i {
    color: #006600;
}

.header-box-3:hover span a {
    color: #000;
}

.icon-insert {
    font-size: 16px;
}

.icon-home:hover {
    color: #33FFFF;
}

.header-bg {
    background-color: #f48882;
    padding: 5px 0px 0px 15px;
}

.header-bg-1 {
    background-color: #f48882;
    padding: 10px 0px 0px 30px;
}

.link-color {
    background-color: #ffffff;
    text-decoration: none;
    color: #000000;
    padding: 0px 5px 7px 5px;
    font-weight: bold;
}

.link-color-2 {
    text-decoration: none;
    color: #ffffff;
    margin-right: 5px;
}

.admin-setting {
    padding: 0px 50px 0px 0px;
    color: #ffffff;
}

.admin-setting-1 {
    padding-right: 15px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.i-admin {
    font-size: 20px;
}

.i-dashboard {
    padding-left: 15px;
}

.text-header {
    text-align: right;
    padding-right: 60px;
}

.dash-box {
    background-color: #273f7c;
    font-weight: blod;
    color: #ffffff;
}

.dash-box-style {
    padding: 5px 20px 5px 20px;
}

.dash-box-style-2 {
    padding: 10px 35px 5px 20px;
}

.dash-box-2 {
    background-color: #e5edf9;
    font-weight: blod;
    color: #273f7c;
}

.dash-box-3 {
    background-color: #fd9727;
    font-weight: blod;
    color: #ffffff;
    padding: 5px 0px 5px 20px;
    text-align: left;
}

.dash-box-4 {
    border: solid #000;
    font-weight: blod;
    color: #273f7c;
}

.i-admin-1 {
    font-size: 16px;
}

.i-edit {
    color: #fd9727;
}

.i-edit-1 {
    color: #be1e2d;
}

.i-edit-2 {
    color: #17dc35;
}

hr.new {
    border: 1.5px solid #000000;
}

.header-style {
    padding: 50px 20px 20px 20px;
}

.header-style-1 {
    /* padding: 50px 20px 20px 30vw; */
    margin: auto;
    margin-top: 3vw;
}

.logo-response {
    width: 80%;
    padding-bottom: 10px;
}

.header-school h4 {
    font-size: 25px;
    margin-top: 10px;
}

.menu-bar-border {
    border-left: solid #aba9a9;
    margin-bottom: 2px;
}

@media only screen and (min-width: 960px) {
    .logo-response {
        width: 65%;
        padding-bottom: 10px;
    }
    .setting-profile {
        margin-top: 12px;
    }
    .setting-profile-span {
        font-size: 15px;
    }
    .setting-profile-img {
        width: 50px;
    }
    .header-school h4 {
        font-size: 25px;
        margin-top: 10px;
    }
    .menu-bar-border {
        border-left: solid #aba9a9;
    }
}

@media only screen and (min-width: 768px) {
    .header-background {
        background-image: url('../images/header/01.png');
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 100%;
    }
    .logo-response {
        width: 65%;
        padding-bottom: 10px;
    }
    .setting-profile {
        margin-top: 12px;
    }
    .setting-profile-span {
        font-size: 15px;
    }
    .setting-profile-img {
        width: 50px;
    }
    .header-school h4 {
        font-size: 18px;
        margin-top: 10px;
    }
    .menu-bar-border {
        border-left: solid #aba9a9;
    }
}

@media only screen and (max-device-width: 480px) {
    .header-background {
        background-image: url('../images/header/01.png');
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 100%;
    }
    .logo-response {
        width: 65%;
        padding-bottom: 10px;
    }
    .setting-profile {
        margin-top: 12px;
    }
    .setting-profile-span {
        font-size: 15px;
    }
    .setting-profile-img {
        width: 50px;
    }
    .menu-bar-active {
        margin-bottom: 10px;
    }
    .menu-bar {
        margin-bottom: 10px;
    }
    .menu-bar-other-active {
        margin-bottom: 10px;
    }
    .menu-bar-other {
        margin-bottom: 10px;
    }
}

.nav-link .active {
    color: #4e65ff;
}

article {
    margin-top: 1.5em;
    border: .125em solid;
    padding: 0 1em;
}

article h1 {
    display: table;
    font-size: 1em;
    line-height: 1.5;
    margin-top: -.75em;
    margin-bottom: 1em;
    background: #fff;
    padding: 0 10px 0 10px;
}

.article {
    text-align: right;
}

.text-control {
    border: 2px solid gray;
}

.position {
    width: 200px;
}

.bgimg{
    background-image: url('../images/firstpage/bg.png');
    background-size: cover;
	background-repeat: no-repeat;
}

.button-admin {
    background-color: #f48882;
    border-radius: 3px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: "th_sarabun_newregular";
    font-size: 23px;
    /* font-weight: 500; */
    height: 35px;
    line-height: 15px;
    list-style: none;
    margin: 0;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.container-pdf{
    width: 90%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto
}

.header-box-disable {
    font-size: 18px;
    background-color: #dedede;
}

.header-box-disable:hover {
    font-size: 18px;
    background-color: #dedede;
}

