@font-face {
    font-family: "mitrregular";
    font-style: normal;
    src: url("../font/Mitr Regular 400.ttf") format("woff2");
}

body {
    font-family: "Sarabun", sans-serif;
    color: #333;
    font-size: 0.9rem;
}

#sysNameTopic {
    font-family: "mitrregular", sans-serif;
    font-size: 24.01px;
    font-weight: lighter;
    margin-top: -3px;
}

#sysNameViceTopic {
    font-family: arial;
    font-size: 14px;
    font-weight: lighter;
    margin-top: 9px;
}

.table {
    color: #333;
}

.navbar-brand-text {
    float: right;
    margin-top: 0px;
    margin-left: 12px;
    border-left: solid 1px #ffb9d2;
    padding-left: 15px;
}

ul.site-menu {
    margin-top: 10px;
}

.site-menubar {
    position: fixed;
    top: 66.01px;
    z-index: 1400;
    /* width: 100%; */
    height: 90px;
    font-family: Roboto, sans-serif;
    color: rgba(163, 175, 183, 0.9);
    background: #263238;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.page-aside-fixed .page-aside {
    position: fixed;
    top: 53px;
    height: calc(100% - 53px);
    padding-bottom: 120px;
}

.page {
    max-width: 100%;
    margin-top: -10px;
}

.site-navbar {
    /* padding-right: calc((100% - 1400px) / 2 + 30px) !important;
  padding-left: calc((100% - 1400px) / 2 + 10px) !important; */
}

.site-navbar {
    background: rgba(0, 0, 0, 0) linear-gradient(rgb(237, 99, 158) 0%, rgb(253, 142, 175) 100%) repeat scroll 0% 0%;
}

.site-menubar.site-menubar-light {
    /* color: rgba(82, 96, 105, 0.9);
  background: #ffffff;
  background: -moz-linear-gradient(
    top,
    #ffffff 0%,
    #f2f2f2 50%,
    #e6e2e2 51%,
    #fff 100%
  );
  background: -webkit-linear-gradient(
    top,
    #ffffff 0%,
    #f2f2f2 50%,
    #e6e2e2 51%,
    #fff 100%
  );
  background: linear-gradient(
    to bottom,
    #fff 0%,
    #f2f2f2 50%,
    #e6e2e2 51%,
    #fff 100%
  ); */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ececec', GradientType=0);
    box-shadow: 0px 1px 4px #c4c4c4;
}

.caretArrowRight {
    position: absolute;
    top: 12px;
    right: 12px;
}

.navbar-inverse .navbar-toolbar .nav-link:focus,
.navbar-inverse .navbar-toolbar .nav-link:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.site-menu > .site-menu-item > a {
    display: block;
    padding: 0px 8px;
    white-space: nowrap;
    cursor: pointer;
    color: #333;
}

.site-menubar-topbar .site-menu-item a > .caretArrowRight {
    position: absolute;
    top: 0px;
    right: 12px;
}

.site-menubar-topbar .site-menu-sub > .site-menu-item {
    font-size: 13px;
    border-bottom: solid 1px #f7f7f7;
}

.site-menu > .site-menu-item > a img {
    width: 30px;
}

.page-aside-title {
    padding: 10px 30px;
    margin: 20px 0 5px;
    overflow: hidden;
    font-weight: 500;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f98bae+0,f497b8+48,f76291+100 */
    background: #f98bae;
    /* Old browsers */
    background: -moz-linear-gradient(top, #f98bae 0%, #f497b8 48%, #f76291 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #f98bae 0%, #f497b8 48%, #f76291 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #f98bae 0%, #f497b8 48%, #f76291 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f98bae', endColorstr='#f76291', GradientType=0);
    /* IE6-9 */

    border-bottom: solid 1px #e3588e;
    border-top: solid 1px #f7acac;
}

.page-aside .list-group-item {
    padding: 13px 30px;
    margin-bottom: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 0;
    border-bottom: solid 1px #f0f0f0;
}

.header_pattern_bg {
    background: #fb83fa url(../images/header_bg_pattern.jpg) no-repeat right bottom;
    background-size: cover;
}

.login_bg {
    background: url(../images/login_background.jpg) no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.dashboard_bg {
    background: url(../images/dashboard_background.jpg) no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.site-navbar .navbar-header {
    width: auto;
}

.iconSize22 {
    font-size: 22px;
}

.pulldown8 {
    margin-bottom: -8px;
}

.orangeColor {
    color: #ff8d3a !important;
}

.grayColor {
    color: #333 !important;
}

.page {
    max-width: 100%;
}

.fullHeight {
    height: 100vh;
}

.topic-title {
    font-family: "mitrregular", sans-serif;
    font-size: 13.5px;
}

.site-navbar .navbar-header .navbar-brand-logo {
    height: 46px;
}

.site-navbar-small .site-navbar .navbar-brand {
    height: 4.286rem;
    padding: 10.998px 20px;
}

.login_name {
    color: #fff;
    margin-top: 10px;
    margin-bottom: -5px;
}

.site-menubar-topbar {
    padding-right: 30px !important;
    padding-left: 30px !important;
}

/* --------- Site menu ---------- */
ul.site-menu-sub {
    text-align: left;
}

/* ---------- Site menu ---------- */

/* -------- footer ------- */
.site-footer-login {
    height: 44px;
    padding: 10px 30px;
    background-color: #fff;
    border-top: 1px solid #e4eaec;
    box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.02);
    position: fixed;
    bottom: 0;
    width: 100%;
}

.site-footer,
.site-footer-login {
    padding-right: calc((100% - 1400px) / 2 + 30px) !important;
    padding-left: calc((100% - 1400px) / 2 + 30px) !important;
}

.page-aside-fixed.page-aside-left .site-footer {
    margin-left: 215px;
}

.page-aside-fixed.page-aside-left .site-footer-login {
    margin-left: 0px;
}

.fusion-social-links-footer {
    display: table-cell;
    vertical-align: middle;
    width: 40%;
    text-align: right;
}

.fusion-social-links-footer .fusion-social-networks {
    margin-top: 0px;
}

.fusion-social-links-footer .fusion-social-networks .fusion-social-network-icon {
    color: rgb(117, 125, 136);
}

.fusion-social-networks .fusion-social-network-icon {
    display: inline-block;
    margin: 0 10px 10px;
    font-size: 16px;
    color: #46494a;
    text-decoration: none;
    box-shadow: none !important;
    line-height: 1;
}

.fusion-social-links-footer .fusion-social-networks a {
    font-size: 18px;
    padding: 0 5px;
    color: #999;
}

.fusion-social-networks-wrapper i {
    font-size: 20px;
}

.input-group .form-control,
.input-group-addon,
.input-group-btn {
    display: table-cell;
}

.input-group-addon,
.input-group-btn {
    vertical-align: middle;
    white-space: nowrap;
}

.input-group-addon {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 0.429rem 0.929rem;
    text-align: center;
    color: #76838f;
    border: 1px solid #e4eaec;
    border-radius: 0.215rem;
    background-color: #f3f7f9;
}

.input-group-addon {
    -webkit-transition: border 0.25s linear, color 0.25s linear, background-color 0.25s linear;
    -o-transition: border 0.25s linear, color 0.25s linear, background-color 0.25s linear;
    transition: border 0.25s linear, color 0.25s linear, background-color 0.25s linear;
}

.input-group .form-control:not(:last-child),
.input-group-addon:not(:last-child),
.input-group-btn:not(:first-child) > .btn-group:not(:last-child) > .btn,
.input-group-btn:not(:first-child) > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group > .btn,
.input-group-btn:not(:last-child) > .dropdown-toggle {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-addon:not(:last-child) {
    border-right: 0;
}

.page-main {
    margin-top: 45px;
    overflow: scroll;
}

.padTop30 {
    padding-top: 30px !important;
}

.frmsearch_block {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 12px;
}

.w-full {
    width: 100% !important;
}

.panel {
    overflow: auto;
}

.site-menu-item {
    font-size: 0.9rem;
}

.site-menu > .site-menu-item > a > .site-menu-title {
    display: block;
    line-height: 20px;
}

/* .table-active,
.table-active>td,
.table-active>th {
  color: inherit;
  background: #ffffff;
  background: -moz-linear-gradient(top,
      #ffffff 0%,
      #ececec 50%,
      #ddd 51%,
      #eaeaea 100%);
  background: -webkit-linear-gradient(top,
      #ffffff 0%,
      #ececec 50%,
      #ddd 51%,
      #eaeaea 100%);
  background: linear-gradient(to bottom,
      #fff 0%,
      #ececec 50%,
      #ddd 51%,
      #eaeaea 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=0);
} */

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #ccc;
}

.communicate_notificate .list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid transparent;
    color: #333;
}

.communicate_notice .list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border-bottom: 1px solid transparent;
    color: #333;
}

.list-border-bottom {
    border-bottom: 2px solid #333 !important;
}

.notibadge {
    background-color: #ff6f29;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 0;
    padding: 0px 7px;
    border-radius: 60px;
    font-size: 11px;
}

.checkbox-custom input[type="checkbox"]:checked + input[type="hidden"] + label::after,
.checkbox-custom input[type="checkbox"]:checked + label::after,
.checkbox-custom input[type="radio"]:checked + input[type="hidden"] + label::after,
.checkbox-custom input[type="radio"]:checked + label::after {
    font-family: "Web Icons";
    content: "";
}

/* Tab panel */
.tab-pane {
    padding: 30px;
}

#receipt_page_tab .tab-pane {
    padding: 5px 0;
}

/* Tab panel */
/* ------------------ Login Section ------------------------*/
#login_member_box {
    box-shadow: 1px 4px 6px #666;
    width: 40% !important;
}

#login_member_box .form-material .form-control.focus ~ .floating-label,
.form-material .form-control:focus ~ .floating-label,
.form-material .form-control:not(.empty) ~ .floating-label {
    top: -0.8rem;
    font-size: 1rem;
}

#login_member_box .page-content {
    padding: 15px 30px;
}

#communicate_menu_list {
    box-shadow: 9px 9px 6px -5px #bfbfbf;
    border: solid 1px #e7e7e7;
}

#communicate_menu_list .subject_header {
    font-family: prompt;
    font-size: 16px;
    color: #333;
    padding: 4px 12px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
    background: #ffffff;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0);
    /* IE6-9 */
}

#communicate_menu_list .panel-body {
    padding-top: 15px;
}

.ibox-title {
    padding: 4px 4px 0 4px;
    border-bottom: 1px dashed #e4eaec;
    margin-top: 4px;
}

.container-login100 {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin-top: 5%;
}

.wrap-login100 {
    width: 390px;
    background: #ffffffe0;
    border-radius: 10px;
    overflow: hidden;
    padding: 30px 55px 33px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 5px 10px 0 rgba(62, 62, 62, 0.42);
    -o-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
}

.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > .form-control {
    padding: 1rem 0.75rem;
    margin: 4px 0;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.container-login100-form-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 13px;
}

.wrap-login100-form-btn {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
}

.login100-form-bgbtn {
    position: absolute;
    z-index: -1;
    width: 300%;
    height: 100%;
    background: #a64bf4;
    background: -webkit-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
    background: -o-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
    background: -moz-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
    background: linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
    top: 0;
    left: -100%;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.wrap-login100-form-btn button {
    outline: none !important;
    border: none;
    background: 0 0;
}

.login100-form-btn {
    font-family: Poppins-Medium;
    font-size: 15px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
}

.wrap-login100-form-btn:hover .login100-form-bgbtn {
    left: 0;
}

.form-floating > .form-control:autofill ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.form-floating > .form-control:autofill {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.g-2,
.gy-2 {
    --bs-gutter-y: 0.5rem;
}

.g-2,
.gx-2 {
    --bs-gutter-x: 0.5rem;
}

#loginIco {
    font-size: 95px;
    position: relative;
    margin-bottom: -40px;
    border: solid 3px #eee;
    border-radius: 90px;
    padding: 15px 10px;
    background: #fff;
    box-shadow: 1px 1px 4px #e3e3e3;
}

.department_section {
    color: #fff;
}

/* ------------------ Login Section ------------------------*/

.card {
    width: 80%;
    /* Add shadows to create the "card" effect */
    box-shadow: 0 1.5em 2.5em -0.5em rgba(#000000, 0.1);
    transition: 0.3s;
    background: #888;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f6f6f6+47,ededed+100;White+3D+%231 */
    background: #ffffff;
    /* Old browsers */
    border-radius: 1em;
    border: 0.5px solid #d9d8d8;
    background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed', GradientType=0);
    /* IE6-9 */
}

#faculty_dashboard_block > .card {
    width: 100% !important;
}

/* ตัวอักษรในตาราง  */
.table td,
.table th {
    padding: 0.572rem;
    vertical-align: top;
    border-top: 1px solid #e4eaec;
    font-size: 0.9rem;
}

.table-bordered td,
.table-bordered th {
    border: 0.5px solid #e4eaec;
}

/* ตัวอักษรในตาราง  */

/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    opacity: 1;
}

.card:active {
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
    opacity: 1;
}

/* Add some padding inside the card container */
.container {
    padding: 2px 5px;
}

.site-navbar-small .site-navbar {
    height: 80px;
    min-height: 4.286rem;
}

.site-navbar-small .site-menubar {
    top: 5.286rem;
    margin-top: 7px;
    height: 124px;
}

.page-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 26px;
    font-family: prompt;
    font-weight: 300;
}

.message_communicate_iconList {
    text-align: right;
}

.table-bordered {
    border: transparent;
}

.form-control {
    box-sizing: border-box;
    height: 2.573rem;
    font-weight: 300;
    border-color: #ccc;
    box-shadow: none;
    transition: box-shadow 0.25s linear, border 0.25s linear, color 0.25s linear, background-color 0.25s linear;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-25 {
    margin-top: 25px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-35 {
    margin-top: 35px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-45 {
    margin-top: 45px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mt-55 {
    margin-top: 55px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mt-65 {
    margin-top: 65px !important;
}

.mt-70 {
    margin-top: 70px !important;
}

.mt-75 {
    margin-top: 75px !important;
}

.mt-80 {
    margin-top: 80px !important;
}

.mt-85 {
    margin-top: 85px !important;
}

.mt-90 {
    margin-top: 90px !important;
}

.mt-95 {
    margin-top: 95px !important;
}

.mt-100 {
    margin-top: 100px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-25 {
    margin-bottom: 25px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-35 {
    margin-bottom: 35px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-45 {
    margin-bottom: 45px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mb-55 {
    margin-bottom: 55px !important;
}

.mb-60 {
    margin-bottom: 60px !important;
}

.mb-65 {
    margin-bottom: 65px !important;
}

.mb-70 {
    margin-bottom: 70px !important;
}

.mb-75 {
    margin-bottom: 75px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

.mb-85 {
    margin-bottom: 85px !important;
}

.mb-90 {
    margin-bottom: 90px !important;
}

.mb-95 {
    margin-bottom: 95px !important;
}

.mb-100 {
    margin-bottom: 100px !important;
}

.text-green {
    color: #279566;
}

.text-yellow {
    color: #ffc107;
}

.text-gray {
    color: #ddd;
}

.text-orange {
    color: #fd7e14;
}

.text-info {
    color: #17a2b8;
}

.text-red {
    color: #dc3545;
}

.bg-green {
    background: #e7faf2;
}

.bg-darkgreen {
    background: #58bf53;
}

.bg-yellow {
    background: #fffae7;
}

.bg-red {
    background: #e9595b;
}

.bg-light-red {
    background: #f8c2be;
}

.bg-blue {
    background: #a5c7d0;
}

.form-group {
    margin-bottom: 0.8rem !important;
}

.pearl-icon,
.pearl-number {
    background: #57c7d4;
    border: 2px solid;
}

.modal-xxl {
    max-width: 90%;
}

.no_wrap {
    white-space: nowrap !important;
}

.tableShadow {
    box-shadow: 2px 3px 5px #b9b9b9;
}

table.dataTable thead .sorting {
    background-image: inherit !important;
}

.page-aside .list-group-item:focus,
.page-aside .list-group-item:hover {
    /* color: #3e8ef7; */
    background-color: #f3f7f9;
    border: 0;
    border-radius: 30px 0 0 30px;
}

/* .page-aside .list-group-item.active {
  background-color: #f3f7f9 !important;
  border: 0;
  border-radius: 30px 0 0 30px;
} */
#admin_login.page-dark.layout-full::after {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    content: "";
    background-color: transparent !important;
}

.line-end {
    display: flex;
    align-items: flex-end;
}

.block-detail {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 12px;
    max-width: 650px;
    float: none;
    margin: auto;
}

.topbar_active {
    color: #000;
    box-shadow: rgb(255, 255, 255) -5px -5px 10px 0px, rgba(0, 0, 0, 0.23) 5px 5px 10px 0px;
    border-radius: 1.25rem;
    padding-bottom: 5px;
}

.top-menu-icon:hover {
    color: #000;
    box-shadow: rgb(255, 255, 255) -5px -5px 10px 0px, rgba(0, 0, 0, 0.23) 5px 5px 10px 0px;
    border-radius: 1.25rem;
    padding-bottom: 5px;
}

.error {
    color: red !important;
}

.swal2-container {
    z-index: 999999 !important;
}

.btn-search-oldstu {
    background: #fb98b7;
    border-color: #fb98b7;
    color: #fff;
    border-radius: 10px;
    width: auto;
    float: right;
    display: flex;
}

.text-search {
    border-radius: 10px;
}

.btn-add {
    border-radius: 10px !important;
    background-color: #66bb66 !important;
    border-color: #66bb66 !important;
}

.btn-add:hover {
    border-radius: 10px !important;
    background-color: #82d282 !important;
    border-color: #82d282 !important;
}

.btn-back {
    border-radius: 10px;
    background: #888888;
    border-color: #888888;
    color: #fff;
}

.btn-back:hover {
    border-radius: 10px;
    background-color: #6c6b6b;
    border-color: #6c6b6b;
    color: #fff;
}

.btn-save-W120 {
    border-radius: 10px;
    background-color: #66bb66;
    border-color: #66bb66;
    width: 120px;
}

.btn-cancle-W120 {
    border-radius: 10px;
    background-color: #f44336;
    border-color: #f44336;
    width: 120px;
    color: #fff;
}

.btn-save-W150 {
    border-radius: 10px;
    background-color: #66bb66;
    border-color: #66bb66;
    width: 150px;
}

.btn-cancle-W150 {
    border-radius: 10px;
    background-color: #f44336;
    border-color: #f44336;
    width: 150px;
}

.btn-save-W170 {
    border-radius: 10px;
    background-color: #66bb66;
    border-color: #66bb66;
    width: 170px;
}

.btn-cancle-W170 {
    border-radius: 10px;
    background-color: #f44336;
    border-color: #f44336;
    width: 170px;
}

.btn-save-W170 {
    border-radius: 10px;
    background-color: #66bb66;
    border-color: #66bb66;
    width: 180px;
}

.btn-cancle-W170 {
    border-radius: 10px;
    background-color: #f44336;
    border-color: #f44336;
    width: 180px;
}

.border-radius-10 {
    border-radius: 10px;
}

.btn-secondary-alumni:hover {
    color: #fff;
    background-color: #ff78a2;
    border-color: #ff78a2;
}

.btn-warning-alumni:hover {
    color: #fff;
    background-color: #6c6b6b;
    border-color: #6c6b6b;
}

.btn-w80 {
    width: 80px;
    border-radius: 10px;
}

.btn-w60 {
    width: 60px;
    border-radius: 10px;
}

.btn-w130 {
    width: 130px;
    border-radius: 10px;
}

.btn-w100 {
    width: 100px;
    border-radius: 10px;
}

.btn-in {
    color: #fff;
    border-radius: 10px;
    background-color: #0099ff;
    border-color: #0099ff;
}

.btn-in:hover {
    color: #fff;
    background-color: #3db1ff;
    border-color: #3db1ff;
}

.flex-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.flex-container > div {
    /* background-color: #f1f1f1; */
    width: 155px;
    margin-top: 10px;
    text-align: center;
    line-height: 75px;
    font-size: 30px;
}

/* Active Menu */
.page-aside .list-group-item.active {
    color: #000 !important;
    background-color: #f3f7f9 !important;
    border: 0 !important;
    border-radius: 30px 0 0 30px;
}

.page-aside div.site-menu-item:hover {
    border-radius: 30px 0 0 30px;
}

.page-aside .list-group-item.active > .animation-scale > img {
    filter: invert(100%) sepia(100%) saturate(2878%) hue-rotate(346deg) brightness(0%) contrast(90%);
}

.page-aside .list-group-item:hover > .animation-scale > img {
    filter: invert(100%) sepia(100%) saturate(2878%) hue-rotate(346deg) brightness(0%) contrast(90%);
}

.site-menu-item.active {
    background-color: #f3f7f9 !important;
    border: 0 !important;
    border-radius: 30px 0 0 30px;
}

.site-menu-item.active > a {
    color: #000 !important;
}

.site-menu-item.active img {
    filter: invert(100%) sepia(100%) saturate(2878%) hue-rotate(346deg) brightness(0%) contrast(90%);
}

.site-menu-item:hover {
    background-color: #eee !important;
    border-radius: 15px;
}

.site-menu-item:hover > a {
    color: #000 !important;
}

.site-menu-item:hover img {
    filter: invert(100%) sepia(100%) saturate(2878%) hue-rotate(346deg) brightness(0%) contrast(90%);
}

.page-aside div.site-menu-item.active .setRelativePos.site-menu-sub {
    transition: all 0.5s;
    display: block;
    background-color: #4a2851;
    border: 1px solid #46244d;
    z-index: 100;
    color: #fff;
    margin-bottom: 0;
    padding: 8px 0;
    height: auto;
    overflow: visible;
}

.top-menu-icon.topbar_active {
    color: #000;
    box-shadow: rgb(255 255 255) -5px -5px 10px 0px, rgb(0 0 0 / 23%) 5px 5px 10px 0px;
    border-radius: 15px;
    padding-bottom: 30px;
}

.site-menubar-light .site-menu-item:hover > a {
    color: rgba(82, 96, 105, 0.9);
    background-color: #eee;
    border-radius: 15px;
}

.no_wrap {
    white-space: nowrap;
    /* width: 200px; */
}

a[disabled="disabled"] {
    pointer-events: none;
}

.swal2-popup {
    border-radius: 30px !important;
    font-family: "Sarabun", sans-serif !important;
    /* font-size: 20px !important; */
    font-weight: normal !important;
}

/* .swal2-header>swal2-icon {
  font-family: 'Sarabun', sans-serif !important;
  font-size: 24px !important;
  font-weight: bold !important;
} */

.swal2-header > .swal2-icon .swal2-warning .swal2-icon-show .swal2-actions > button {
    border-radius: 15px !important;
    width: 100px !important;
    height: 45px !important;
}

.swal2-actions > .swal2-confirm {
    background-color: #66bb66 !important;
}

.swal2-actions > .swal2-deny {
    background-color: #888888 !important;
}

.swal2-actions > .swal2-cancel {
    background-color: #f44336 !important;
}

.btn-edit {
    color: #fff;
    background-color: #ff9801;
    border-color: #ff9801;
    box-shadow: none;
}

.btn-delete {
    color: #fff;
    background-color: #f44336;
    border-color: #f44336;
    box-shadow: none;
}

.btn-view {
    color: #fff;
    background-color: #0099ff;
    border-color: #0099ff;
    box-shadow: none;
}

.btn-edit {
    color: #fff;
    background-color: #ff9801;
    border-color: #ff9801;
    box-shadow: none;
    border-radius: 7px;
}

.btn-delete {
    color: #fff;
    background-color: #f44336;
    border-color: #f44336;
    box-shadow: none;
    border-radius: 7px;
}

.btn-view {
    color: #fff;
    background-color: #0099ff;
    border-color: #0099ff;
    box-shadow: none;
    border-radius: 7px;
}

.btn-primary {
    color: #fff;
    background-color: #3e8ef7;
    border-color: #3e8ef7;
    box-shadow: none;
    border-radius: 7px;
}

.btn-danger {
    color: #fff;
    background-color: #ff4c52;
    border-color: #ff4c52;
    box-shadow: none;
    border-radius: 7px;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
    box-shadow: none;
    border-radius: 7px;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    box-shadow: none;
    border-radius: 7px;
}

.btn-default {
    color: #76838f;
    background-color: #e4eaec;
    border-color: #e4eaec;
    box-shadow: none;
    border-radius: 7px;
}

.cursor-df {
    cursor: default !important;
}

/* End Active Menu */

/* .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #562f5e !important;
  border: 0px !important;
  border-radius: 10px !important;
  color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #562f5e !important;
  border: 0px !important;
  border-radius: 10px !important;
  color: white !important;
}

a[disabled="disabled"] {
  pointer-events: none;
  background-color: #ddd;
  border: #ddd;
}

.modal-open .select2-dropdown {
  z-index: 2000;
}

.modal-open .select2-close-mask {
  z-index: 1600;
}
*/
[type="search"] {
    padding-left: 10px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    height: 2.573rem !important;
    font-weight: 300 !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    transition: box-shadow 0.25s linear, border 0.25s linear, color 0.25s linear, background-color 0.25s linear !important;
    /* -webkit-appearance: none; */
    -webkit-appearance: auto !important;
}

fieldset {
    padding: 0.35em 0.625em 0.75em;
    margin: 0 2px;
    border: 1px solid #c0c0c0;
}

legend {
    width: fit-content !important;
    padding: 0;
    border: 0;
}

.the-div-w-height-red {
    padding: 10px;
    margin: 0;
    height: 40px;
    background-color: #e9595b;
}

.the-div-w-height-green {
    padding: 10px;
    margin: 0;
    height: 40px;
    background-color: #58bf53;
}

.select2-container--bootstrap .select2-selection--single {
    border-radius: 10px !important;
}

table.table > thead > tr > th {
    background-color: #eaeaea !important;
}

table.table-bordered > thead > tr > th {
    background-color: #eaeaea !important;
}

table.dataTable > thead > tr > th {
    background-color: #eaeaea !important;
}

.site-menubar-body {
    width: 85%;
}

.btn-success.disabled,
.btn-success.disabled.active,
.btn-success.disabled.focus,
.btn-success.disabled.hover,
.btn-success.disabled:active,
.btn-success.disabled:focus,
.btn-success.disabled:hover,
.btn-success[disabled],
.btn-success[disabled].active,
.btn-success[disabled].focus,
.btn-success[disabled].hover,
.btn-success[disabled]:active,
.btn-success[disabled]:focus,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success,
fieldset[disabled] .btn-success.active,
fieldset[disabled] .btn-success.focus,
fieldset[disabled] .btn-success.hover,
fieldset[disabled] .btn-success:active,
fieldset[disabled] .btn-success:focus,
fieldset[disabled] .btn-success:hover {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
li.select2-results__option {
    white-space: nowrap;
}
.select2-dropdown {
    width: auto !important;
}
.formRegAdditonRemarkMain {
    display: none;
}
.formRegAdditonRemark {
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding: 50px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    background-color: #ff4c52;
}
.formRegAdditonRemark > p {
    color: #fff;
    font-size: 1.5rem;
}
.formRegAdditonDetils {
    display: none;
}
input[type="radio"][readonly] {
    opacity: 0.5; /* ตั้งค่าความทึบของฟิลด์ */
    cursor: not-allowed; /* เปลี่ยนเคอร์เซอร์เป็นไม่อนุญาต */
    pointer-events: none; /* ปิดการใช้งานเหตุการณ์เม้าส์ */
}
input[type="checkbox"][readonly] {
    opacity: 0.5; /* ตั้งค่าความทึบของฟิลด์ */
    cursor: not-allowed; /* เปลี่ยนเคอร์เซอร์เป็นไม่อนุญาต */
    pointer-events: none; /* ปิดการใช้งานเหตุการณ์เม้าส์ */
}
button[disabled] {
    background: grey !important;
    pointer-events: none !important;
    border-color: grey !important;
}
a#prirntPdf[disabled] {
    background: grey !important;
    pointer-events: none !important;
    border-color: grey !important;
}
.statusRemark {
    display: none;
}

.statusRemark p {
    z-index: 9;
    font-weight: bold;
    content: "ลายน้ำ";
    position: absolute;
    text-align: center;
    top: 50%;
    left: 20%;
    font-size: 100px;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    pointer-events: none;
    color: #f00c;
    -webkit-transform: rotate(325deg);
}

.input-group > .subject_Detail {
    flex: 1 1 auto;
    width: 1%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    border-bottom: 1px solid #ccc;
    height: 2.573rem;
}
.buttonBlockRight {
    display: flex;
    justify-content: end;
    align-items: center;
}
.buttonBlockRight > button {
    margin-left: 5px;
    align-self: flex-end;
    width: auto;
    border-radius: 7px;
}
.buttonBlockLeft > button {
    margin-right: 5px;
    align-self: flex-start;
    width: auto;
    border-radius: 7px;
}
label.input-group-text {
    border-radius: 15px 0px 0px 15px !important;
}
label.input-group-text + select {
    border-radius: 0px 15px 15px 0px !important;
}
.Permission_dark {
    background-color: #7a7a7a !important;
    border: 1px solid #7a7a7a !important;
}
#swal2-html-container {
    line-height: 30px !important;
}
.subject_by_staff {
    position: relative;
    & .addBystaff {
        position: absolute;
        top: 0px;
        right: 0px;
        padding: 0px 5px;
        border: 1px solid chocolate;
        border-radius: 5px 0px 0px 5px;
        font-size: 10px;
        background-color: chocolate;
        color: #fff;
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    }
}
.trErrBg {
    background-color: #ffecf0 !important;
}
.swal2-container {
    & .swal2-popup {
        box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px !important;
    }
    & button {
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
        border-radius: 15px !important;
    }
}
.swal2-show {
    -webkit-animation: swal2-show 0.5s !important;
    animation: swal2-show 0.5s !important;
}
