@font-face {
    font-family: "ChulaCharasNew";
    src: url("../fonts/ChulaCharasNewBold.ttf") format("embedded-opentype"),
        url("../fonts/ChulaCharasNewBold.ttf") format("truetype"),
        url("../fonts/ChulaCharasNewBold.svg#svgFontName") format("svg");
}

input[type="radio"] {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border: 1px solid white;
    border-radius: 50%;
    outline: none;
    box-shadow: 10px 10px 10px 10px white inset;
}

input[type="radio"]:checked:before {
    background: #a13788;
}

input[type="radio"]:before {
    content: "";
    display: block;
    width: 60%;
    height: 60%;
    margin: 20% auto;
    border-radius: 50%;
}

.label-checkbox {
    padding-top: 8px;
    padding-left: 25px;
    font-size: 25px;
}

.label-checkbox {
    padding-top: 8px;
    padding-left: 25px;
    font-size: 25px;
}

.chula-headline {
    color: #651c57;
}

.custom-control {
    line-height: 1.6rem;
    margin: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #a13788 !important;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 40px;
    height: 40px;
    pointer-events: none;
    content: "";
    background-color: #fff;
}

.custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 40px;
    height: 40px;
    content: "";
    background: no-repeat 50%/50% 50%;
}

input.custom-control-input {
    width: 50px;
    height: 50px;
}

.textP {
    font-size: 23px;
    margin-top: 10px;
    color: #651c57;
}

.textP2 {
    font-size: 18px;
    margin-top: 10px;
    color: #651c57;
}

.table-sm {
    background-color: #ffffff;
}

.form-check {
    padding: 20px;
}

.layout-checkbox {
    margin-left: 40px;
    width: 75%;
    padding-bottom: 20px;
}

.checkmark {
    position: absolute;
    left: 0;
    background-color: #eee;
    border-radius: 50%;
}

input[type='radio'].checkmark {
    position: relative;
    left: 0;
    background-color: #eee;
    border-radius: 50%;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #a13788;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar a {
    /* padding: 8px 8px 8px 32px; */
    text-decoration: none;
    display: block;
    transition: 0.3s;
    color: #eeeeee;
    padding: 10px 0;
    font-size: 22px;
    letter-spacing: 1;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 60px;
    margin-right: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: none;
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: #444;
}

#main {
    transition: margin-right 0.5s;
    padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }
    .sidebar a {
        font-size: 18px;
    }
}

.menuToggle {
    font-size: 32px;
    cursor: pointer;
}

#main {
    transition: margin-right 0.5s;
    padding: 16px;
}

#menuToggle {
    display: block;
    position: absolute;
    top: 50px;
    right: 50px;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/*
  * Just a quick hamburger
  */
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #707070;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/*
  * Transform all the slices of hamburger
  * into a crossmark.
  */
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #eeeeee;
}

/*
  * But let's hide the middle one.
  */
#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
  * Ohyeah and the last one should go the other direction
  */
#menuToggle input:checked ~ span:nth-last-child(2) {
    opacity: 1;
    transform: rotate(-45deg) translate(0, -1px);
}

/*
  * Make this absolute positioned
  * at the top left of the screen
  */
#menu {
    position: inherit;
    width: 300px;
    margin: -100px 0 0 0;
    padding: 50px;
    padding-top: 125px;
    right: -120px;

    background: #a13788;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(100%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: -999;
}

#menu a {
    color: #eee;
}

ul#menu {
    height: 1040px;
}

#menu li {
    color: #eeeeee;
    padding: 10px 0;
    font-size: 22px;
}

/*
  * And let's fade it in from the left
  */
#menuToggle input:checked ~ ul {
    transform: none;
    opacity: 1;
}

.body-login {
    background: url("../image/BG.jpeg") center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: 100%;
    background-attachment: fixed;
    background-size: cover;
    font-family: "ChulaCharasNew";
    font-weight: 400;
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
}

.chula-headline {
    color: #651c57;
}

.chula-header-center {
    color: #651c57;
    text-align: center;
}

.chula-header {
    color: #651c57;
    text-align: center;
}

.size-logo {
    font-size: 80px;
}

.center-top-50 {
    text-align: -webkit-center;
    padding-top: 50px;
}

.pt-30 {
    padding-top: 30%;
}

.pb-30 {
    padding-bottom: 30%;
}

.fontTd1 {
    background-color: #a13788;
    color: #ffffff;
}

.fontTd2 {
    border-right: solid 1px #a13788;
    font-size: 20px;
    color: #a13788;
    font-weight: bold;
}

.fontTd2 {
    border-right: solid 1px #a13788;
    font-size: 20px;
    color: #a13788;
    font-weight: bold;
    background-color: #ffffff;
}

.fontTd3 {
    font-size: 20px;
    color: #a13788;
    font-weight: bold;
    background-color: #ffffff;
}

.colorTD {
    color: #a13788 !important;
}

.width-100 {
    width: 100%;
}

.arrow-left {
    margin: 40px 0;
    margin-bottom: 40px;
    font-size: 24px;
    float: left;
    width: 30.97px;
    height: 32.37px;
    text-transform: uppercase;
}

.border-btl-30 {
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
}

.border-btr-30 {
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}

.table:not(.table-sm):not(.table-md):not(.dataTable) td,
.table:not(.table-sm):not(.table-md):not(.dataTable) th {
    padding: 0 15px;
    height: 60px;
    vertical-align: middle;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

tr:first-child td:last-child {
    border-top-right-radius: 10px;
}

tr:first-child td:first-child {
    border-top-left-radius: 10px;
}

.chula-botton {
    background-image: linear-gradient(#d84697, #a13788);
    font-size: 20px !important;
    border-radius: 20px;
    border: 0px;
}

.chula-botton-outlined {
    border-color: linear-gradient(#d84697, #a13788);
    color: #a13788;
    font-size: 20px !important;
    border-radius: 20px;
    border: 2px #a13788 solid;
}

.chula-botton-outlined:hover {
    background-image: linear-gradient(#d84697, #a13788);
    color: #fff;
    font-size: 20px !important;
    border-radius: 20px;
    border: 2px #a13788 solid;
}

.login-brand {
    margin: 20px 0;
    margin-bottom: 40px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #666;
    text-align: center;
}

.label-login {
    font-size: 20px;
    color: #651c57;
}

.border-input {
    border-radius: 40px;
}

.chula-border {
    border-radius: 40px;
    border-style: hidden;
}

hr {
    margin-top: 30px;
    margin-bottom: 30px;
    border: 0.5px dashed #a13788;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-main {
    width: 140.25px;
    height: 136px;
}

.align-center {
    text-align: -webkit-center;
}

.name-admin {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    letter-spacing: 1;
}

.modal-backdrop {
    /* position: fixed; */
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal {
    display: none;
    vertical-align: middle;
    position: fixed;
    margin: 5% auto;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 500px;
    box-sizing: border-box;
    width: 90%;
    background: #fff;
    padding: 15px 30px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    -ms-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    text-align: left;
    height: 400px;
}

.title-popup {
    font-size: 35px;
    color: #651c57;
    text-align: -webkit-center;
    margin-top: 20%;
}

div:where(.swal2-container) .swal2-html-container {
    padding: 10px !important;
}

.chula-headline i {
    text-decoration-line: underline;
}
