﻿@font-face {
    font-family: myFont;
    src: url('Kanit Light.ttf');
}
body, th, td {
    font-family: myFont;
}

a {
    text-decoration: none;
    color: #017f3f;
}
    a:hover {
        color: #bfc916;
    }
     
/* =============================== Accordion ======================================== */
.accordion-button {
    font-size: 1.5rem;
}
    .accordion-button:not(.collapsed) {
        color: #0f5132;
        background-color: #d1e7dd;
    }
/* =============================== Background ======================================== */
.bg-tone1{
    background:#017f3f;
}
.bg-tone2 {
    background-color: #bfc916;
}

/* =============================== Botton ======================================== */
.btn-tone {
    color: #fff;
    background-color: #017f3f;
    border-color: #017f3f;
}

    .btn-tone:hover {
        color: #fff;
        background-color: #bfc916;
        border-color: #bfc916;
    }

/* =============================== Web  Header ======================================== */
.web-header-lg {
    background: #ffffff;
    height: 90px;
    position: relative;
    overflow:hidden;
}

.web-header-sm {
    background: #017f3f;
    height: 70px;
    overflow: hidden;
}

.web-header-border-top-menu {
    border-top:2px solid #017f3f;
}

.web-header-bg-menu {
    background: #017f3f;
    min-height: 40px;
}

.web-header-btn {
    display: inline-block;
    padding: 1px 5px;
    margin: 0 0.375rem;
    background-color: rgba(0,0,0,0.1);
    font-size: 0.8rem;
    border: 0;
    border-radius: 5px;
    color: #333;
    width: 100px;
}

    .web-header-btn:hover {
        background-color: rgba(0,0,0,0.5);
        transition: background 0.5s;
        color: #fff;
    }
    .web-header-btn:not(:hover) {
        background-color: rgba(0,0,0,0.1);
        transition: background 0.5s;
        color: #333;
    }
/* =============================== Breadcrumb  Header======================================== */
.breadcrumb-holder {
    background: #e8e8e8;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.breadcrumb-title {
    font-size: 2rem;
    font-weight:700;
    margin-bottom:0;
}

.breadcrumb{
    font-size:0.8rem;
    margin-bottom:0;
}
.breadcrumb .breadcrumb-item:not(:last-child) {
    content: "/";
    color: #222221;
    padding-left: .1875rem;
    padding-right: .3125rem;
}
.breadcrumb .breadcrumb-item:last-child {
    content: "";
    color: #222221;
    padding-left: .1875rem;
    padding-right: .3125rem;
}

/*================================= Calendar ==================================*/
.calendar-body {
    border: 1px solid #ced4da;
}
.calendar-activity {
    font-size: 1rem;
    text-align: left;
    overflow-x: hidden;
    overflow-y: auto;
    height: 150px;
    margin-left:10px;
}
.calendar-activity-item {
    margin-bottom: 1rem;
    font-size: small;
}
.calendar-dayStyle {
    background-color: #d1e7dd;
    border: 1px solid #ced4da;
    font-size: 1.5rem;
    color: #017f3f;
    vertical-align: top;
    text-align:right;
}
    .calendar-dayStyle .calendar-activity-time {
        background: rgba(0,0,0,0.2);
        color: white;
        padding: 0 0.5rem;
        display: inline-block;
        border-radius: 5px;
        margin-right: 0.5rem;
    }
.calendar-nextPrevStyle {

}
.calendar-mark {
    background: url('../images/i_markYellow.png') #72c02c;
    background-repeat: no-repeat;
    background-position: right bottom;
}
.calendar-dayHeaderStyle {
    text-align: right;
    font-size: 1.5rem;
    border: 1px solid #ced4da;
}

.calendar-otherMonthDayStyle {
    border: 1px solid #ced4da;
    font-size: 1.5rem;
    color: #ced4da;
    vertical-align: top;
    text-align: right;
}
    .calendar-otherMonthDayStyle a {
        color: #ced4da;
    }
    .calendar-otherMonthDayStyle .calendar-activity-time {
        background: rgba(0,0,0,0.2);
        color: white;
        padding: 0 0.5rem;
        display: inline-block;
        border-radius: 5px;
        margin-right: 0.5rem;
    }
.calendar-selectedDayStyle {
    background-color: #0f5132 !important;
    border: 1px solid #ced4da;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
    vertical-align: top;
    text-align: right;
}
    .calendar-selectedDayStyle .calendar-activity-time {
        background: rgba(0,0,0,0.5);
        color: white;
        padding: 0 0.5rem;
        display: inline-block;
        border-radius: 5px;
        margin-right: 0.5rem;
    }
    .calendar-selectedDayStyle a {
        color: rgba(255,255,255,0.5);
    }
    .calendar-selectedDayStyle a:hover {
        color: rgba(255,255,255,0.9);
    }

.calendar-titleStyle {
    font-size: 1.5rem;
    font-weight: bold;
    background:#ffffff;
    border:none;
}

/* =============================== Drop Down Menu ======================================== */
.dropdown-btn {
    color: white;
}

.dropdown-btn:hover {
    color: white;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    height: 40px;
    padding: 6px 20px 0 20px;
    margin: 0 10px;
}
    /* Change the background color of the dropdown button when the dropdown content is shown */
    .dropdown:hover {
        background-color: rgba(255,255,255,0.3);
        transition: background-color ease-in-out 0.2s;
    }
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    font-size: 0.83rem;
    text-align: left;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
    margin-top: 10px;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
    z-index: 1;
}
.dropdown-caret {
    display: none;
    position: absolute;
    color: #f1f1f1;
    z-index: 2;
}

.dropdown:hover .dropdown-caret {
    display: block;
    margin-top: -5px;
}
/* Links inside the dropdown */
.dropdown-content .dropdown-list-item {
    color: black;
    padding: 12px 15px;
    display: block;
    clear: both;
}

        /* Change color of dropdown links on hover */
    .dropdown-content .dropdown-list-item:hover {
        color: #017f3f;
        background-color: #ddd;
    }

/* =============================== Footer ======================================== */
.footer {
    background: #017f3f;
    color: #ffffff;
}

.footer .footer-admin {
    background:rgba(0,0,0,0.5);
    padding:5px 0;
}

.footer a{
    color: rgba(255,255,255,0.5);
}

    .footer a:hover {
        color: #bfc916;
    }

/* =============================== FORM ======================================== */
.form-group {
    margin-bottom: 1rem;
}
.form-label{
    font-weight:bold;
}
.form-radioList  input {
    margin-right:0.3rem;
}
.form-radioList label {
    font-weight:bold;
}
/* =============================== Scrollbar ======================================== */
/* width */
#menuBlock::-webkit-scrollbar, .scrollbar::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    margin: 0 12px;
}

/* Track */
#menuBlock::-webkit-scrollbar-track, .scrollbar::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    /*    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
}

/* Handle */
#menuBlock::-webkit-scrollbar-thumb, .scrollbar::-webkit-scrollbar-thumb {
    border-radius: 0;
    background: rgba(0,0,0,0.2);
}

    /* Handle on hover */
    #menuBlock::-webkit-scrollbar-thumb:hover, .scrollbar::-webkit-scrollbar-thumb:hover {
        border-radius: 0;
        background: rgba(0,0,0,0.3);
    }

/* =============================== Tab ======================================== */
.tab .nav-tabs {
    background-color: transparent;
    border-bottom: 5px solid #222221;
    border-top: 1px solid #dee2e6;
}

    .tab .nav-tabs li a {
        padding: 1rem 2rem;
        border: none transparent;
        transition: all 0.3s ease 0s;
        background: transparent;
        border-radius:0;
        margin-top:-1px;
        z-index:700;
        display:block;
    }
        .tab .nav-tabs li a:hover,
        .tab .nav-tabs li a.active {
            color: #FFFFFF;
            background: #222221;
            border: none;
        }


/* =============================== Block Shadow ======================================== */
.over-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: box-shadow 0.5s;
}
.over-shadow:not(:hover) {
    box-shadow:none;
    transition: box-shadow 0.5s;
}

/* =============================== Table ======================================== */
.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border: 1px solid #C2C2C2;
}

/* =============================== Text ======================================== */
.text-brand {
    font-size: 2rem;
    font-weight: 700;
}
.text-brand-2 {
    font-size: 1.2rem;
    color: rgba(0,0,0,0.7);
}
.text-tone {
    color: #017f3f;
}
.text-tone-light {
    color: #bfc916;
}
.text-header{
    font-size:3rem;
    font-weight:700;
}

/* =============================== Icon Header ======================================== */
.menu-icon-mju{
    height:30px;
    background:url('i_mju.png') no-repeat center;
    background-size:auto 30px;
}
.menu-icon-erp {
    height: 30px;
    background: url('i_erp.png') no-repeat center;
    background-size: auto 30px;
}
.menu-icon-mail {
    height: 30px;
    background: url('i_mail.png') no-repeat center;
    background-size: auto 30px;
}
.menu-icon-person {
    height: 30px;
    background: url('i_person.png') no-repeat center;
    background-size: auto 30px;
}
.menu-icon-calendar {
    height: 30px;
    background: url('i_calendar.png') no-repeat center;
    background-size: auto 30px;
}
.menu-icon-contact {
    height: 30px;
    background: url('i_contact.png') no-repeat center;
    background-size: auto 30px;
}