/* Webfonts */
/* kanit-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Kanit";
    font-style: normal;
    font-weight: 100;
    src: url("../webfonts/fonts/kanit-v15-latin-100.woff2") format("woff2");
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Kanit";
    font-style: normal;
    font-weight: 300;
    src: url("../webfonts/fonts/kanit-v15-latin-300.woff2") format("woff2");
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Kanit";
    font-style: normal;
    font-weight: 400;
    src: url("../webfonts/fonts/kanit-v15-latin-regular.woff2") format("woff2");
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Kanit";
    font-style: normal;
    font-weight: 600;
    src: url("../webfonts/fonts/kanit-v15-latin-600.woff2") format("woff2");
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* kanit-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Kanit";
    font-style: normal;
    font-weight: 700;
    src: url("../webfonts/fonts/kanit-v15-latin-700.woff2") format("woff2");
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* SUNDD */
.sundd {
    /* color:white; */
}
.sundd:hover {
    text-decoration: none;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -ms-transition: all 0.4s;
    color: #44d62c !important;
}

body,
p {
    font-family: "Kanit", Courier, monospace !important;
}

#mainMenu nav > ul > li > a,
#mainMenu nav > ul > li .dropdown-menu > li > a {
    font-family: "Kanit";
    font-size: 1.2em !important;
    font-weight: 800;
}

h1,
h2,
h3 {
    font-family: "Kanit";
    font-weight: 400;
    color: #621244;
}

/* .menu-animate{background-color: white;} */

.font-dosis {
    font-family: "Kanit" !important;
}

.text-black {
    color: black !important;
}

.bg-green {
    background-color: #004c45;
}

.text-green {
    color: #004c45;
}

.text-lila {
    color: #621244;
}

.shape-divider[data-position="top"] {
    top: 0px;
}

.mega-menu-title {
    font-size: 1.2rem;
    font-family: "Kanit";
    font-weight: 600;
    color: #004c45;
}

.team-members.team-members-shadow .team-member .team-desc {
    overflow-y: -webkit-paged-x;
}

.team-desc {
    padding-bottom: 0px !important;
}

/* .header-inner{height: 100px!important; padding-top:10px!important;} */
#header[data-transparent="false"]:not(.sticky-active) .header-inner {
    height: 0px !important;
    padding-top: 0px !important;
}

@media screen and (max-width: 768px) {
    /* .header-inner{padding-top:0px;} */
    .shape-divider[data-position="top"] {
        margin-top: -5px !important;
    }

    .team-desc {
        padding-bottom: 20px !important;
    }
}
#page-content {
    margin-top: -10px;
}

@media only screen and (max-width: 922px) {
    .team-members .team-member {
        /* overflow-y:unset ; */
        /* padding-bottom: 88px; */
    }
}
@media screen and (max-width: 1024px) {
    #header .container {
        background-color: #fff !important;
    }
    #mainMenu:not(.menu-overlay) nav > ul > li.dropdown:before {
        color: red !important;
    }
}

.post-item .post-image .post-meta-category {
    border-radius: 5px;
}
.fullscreen {
    min-height: 70vh;
    height: auto;
    margin-bottom: -5px !important;
}

/* Modal buttons */
.btn-close {
    color: black;
    font-size: 2rem;
}
.btn-close:hover {
    color: grey;
}
/* Styles for datatables */

.dataTables_group select {
    min-width: 90px;
    width: auto;
    display: inline-block;
}

.status span:first-child,
#datatable tr.group span:first-child,
#datatable .prefix {
    display: none;
}

#datatable tr.group span,
#datatable tr.child li span {
    font-size: 1rem;
}

#datatable select {
    padding: 0 0px;
}

#datatable select option {
    color: white;
    padding-left: 10px;
}

#datatable select option:checked {
    background: darkgreen;
}

#datatable select.highlighted {
    width: calc(100% + 2rem);
    transform: translateX(-1rem);
    option {
        padding: 1rem 0.5rem;
        border: 1px solid white;
        border-left-width: 0;
        border-right-width: 0;
    }
}

td.email {
    word-wrap: break-word;
    max-width: 12ch;
}

td a.btn-edit {
    font-size: 1rem;
    margin-top: 5px;
    display: block;
}

td.specials {
    max-width: 12ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

td select.badge {
    height: 12px;
    font-size: 14px;
}

.slider_news {
    height: 40vh;
}
.post-author {
    height: auto;
}
/* .team-member{margin-bottom: 0px;} */
#mainMenu nav {
    float: right;

    background: white;
}
#mainMenu nav > ul > li.dropdown:before {
    color: red !important;
}
h4 span.badge-info {
    background-color: #ffc107 !important;
}
h4 span.badge-success {
    background-color: #004b45 !important;
}

/* index.php form */
#userDataBlock {
    display: none;
}

#res .modal-header,
#errorModal .modal-header,
#successModal .modal-header,
#showTables .modal-header {
    display: flex;
    align-items: revert;
    justify-content: space-between;
}

.blurry-style {
    filter: blur(10px);
    opacity: 0.3;
}
#mainMenu nav > ul > li .dropdown-menu {
    min-width: 250px;
}

.flatpickr-months .flatpickr-month {
    height: 40px;
}

/** Showtables modal styles */
#showTables {
    .modal-dialog {
        max-width: 95vw;
    }

    .modal-body {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    input[type="checkbox"] {
        display: none;
    }

    .tableframe {
        flex-shrink: 0;
        flex-grow: 1;
        flex-basis: 30px;
    }
    label {
        min-width: 80px;
    }
    .tableshape {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        aspect-ratio: 1 / 1;
        background-color: #28a745;
        color: white;
        border: 1px solid #333;
        border-radius: 15px;
    }
    input[type="checkbox"]:checked ~ .tableshape {
        background-color: darkgreen;
    }
    .tableframe:first-of-type:has(input[type="checkbox"]:checked) ~ .tableframe .tableshape {
        background-color: #dc3545;
    }
}

.showTableBtn > select {
    display: none;
}
