@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
html, body {
    font-family: "Roboto", sans-serif !important;
    /* font-family  : "Kanit", sans-serif; */
    background-color: #f9f4e6 !important;
}

.dropdown-item:active {
    background-color: #663004 !important;
}

.radio {
    background-color: #663004;
}

/* .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: static !important;
}
nav{
    position: static !important;
} */

.form_menu {
    z-index: 1;
    width: -webkit-fill-available;
    position: absolute;
}

.form_all {
    height: 100vh;
    background-color: #fff;
    position: relative;
}

.form_data {
    min-height: calc(100% - 150px);
    padding-top: 60px !important;
    /* overflow  : auto;
  height         : 100%; */
    /* height    : 92%; */
    /* height    : 94vh; */
    /* transition: 1s !important; */
    /* height    : 61vh; */
}

.btn_new {
    font-size: .64rem !important;
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-weight: 700;
    background-color: rgba(102, 48, 4);
    color: #fff;
}

.menu_top {
    padding-left: 70px !important;
    z-index: 9;
    background-color: whitesmoke;
    height: 55px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
}

.menu_top a {
    color: #663004 !important;
}

.dropdown_profile a:hover {
    background-color: #663004 !important;
}

.menu_left {
    z-index: 10;
    height: 100vh;
    background-color: #663004;
    width: 70px;
    padding-top: 60px;
    position: absolute;
}

.menu_left a {
    text-decoration: none;
}

/* .material-icons{
    width: 30px;
    height: 36px;
    padding-left: 0;
    margin-right: 0;
    text-align: left;

} */

.icon_menu_l {
    cursor: pointer;
    color: #fff;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon_menu_l1 {
    cursor: pointer;
    color: #000;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon_menu_l:hover {
    border: 2px solid #663004;
    cursor: pointer;
    background-color: #fff;
    color: #663004;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #663004 !important;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #c19d31 !important;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dash_h {
    background-color: #fff3d3;
    /* box-shadow      : 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0px 5px 0 rgba(0, 0, 0, 0.19); */
    /* box-shadow      : 2px 4px 0px 0px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    height: fit-content;
    align-items: center;
}

.dash_h div {
    text-align: center;
}

.dash_h div div {
    line-height: 22px;
}

.dash_h div div span {
    font-style: italic;
    /* font-weight: 700; */
    font-size: 12px;
}

.dash_h div div div span {
    font-style: unset;
    /* font-weight: 700; */
    font-size: 22px;
}

.form-control:focus {
    box-shadow: none !important;
}

/* chart */

canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.circliful {
    position: relative;
}

.circle-text, .circle-info, .circle-text-half, .circle-info-half {
    width: 100%;
    position: absolute;
    text-align: center;
    display: inline-block;
}

.circle-info, .circle-info-half {
    color: #999;
}

.circliful .fa {
    margin: -10px 3px 0 3px;
    position: relative;
    bottom: 4px;
}

@media print {
    #ghostery-purple-box {
        display: none !important;
    }
}

.dash_circle {
    display: flex;
    align-items: center;
    height: 365px;
    justify-content: center;
}

.dash_circle div {
    text-align: -webkit-center;
}

/* .dash_circle_row {
  height: 35px;
} */

.dash_circle_row div div span {
    font-style: italic;
    /* font-weight: 700; */
    font-size: 12px;
}

.dash_circle_row div div div span {
    font-style: unset;
    /* font-weight: 700; */
    font-size: 22px;
}

/* btn */

.btn-floating {
    border: 1px solid #663004;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0;
    margin: 10px;
    overflow: hidden;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
    -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    /* width          : 40px;
  height              : 40px; */
}

.btn-floating i {
    width: unset !important;
    font-size: 1rem;
    line-height: 37px;
}

.btn-floating i {
    display: inline-block !important;
    /* width  : inherit; */
    color: #c19d31 !important;
    text-align: center !important;
}

.btn-floating:hover {
    color: #fff;
    border: 2px solid #c19d31;
    background-color: #663004;
    /* -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
  box-shadow             : 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19) !important; */
}

.btn-floating i:hover {
    color: #fff;
    /* -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
  box-shadow             : 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 0px 10px 0 rgba(0, 0, 0, 0.19) !important; */
}

.btn-floating:before {
    border-radius: 0;
}

.btn-floating.btn-sm {
    width: 36.15385px;
    height: 36.15385px;
}

.btn-floating.btn-sm i {
    font-size: 0.96154rem;
    line-height: 36.15385px;
}

.btn-floating.btn-lg {
    width: 61.1px;
    height: 61.1px;
}

.btn-floating.btn-lg i {
    font-size: 1.625rem;
    line-height: 61.1px;
}

.decoration {
    display: flex;
    justify-content: center;
}

.decoration-inside {
    height: 20px;
    /* ความสูงของเส้น */
    width: 1px;
    /* ความหนาของเส้น */
    background-color: #f7ce61;
    /* สีของเส้น */
    display: block;
}

/* Project Status */

.ps_t {
    line-height: 11px;
}

.ps_h {
    font-size: 15px;
    font-weight: 400;
}

.ps_s {
    left: 0px;
    font-size: 10px;
    top: 20px;
}

.z-depth-1 {
    border-radius: 5px;
}

.z-depth-i {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}

.chat_other {
    display: flex;
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
    align-items: flex-end;
    padding: 0.5rem !important;
}

select option:hover {
    color: #fff;
    background-color: #663004 !important;
}

select option:focus {
    background-color: #663004 !important;
}

/* select:hover{
    color: #fff;
    background-color: #663004 !important;
} */

/* select:focus{
    background-color: #663004 !important;
} */

/* report */

.row_select {
    line-height: 18px;
    /* height: 99px; */
    overflow: hidden;
    /* white-space    : pre-wrap; */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 12px;
}

.tr_h {
    text-align: center;
}

tr {
    text-align: center;
}

td {
    padding: 5px 5px 5px 5px !important;
}

.tr_h th {
    padding: 5px 5px 5px 5px !important;
}

.tr_h span {
    font-size: 12px;
    font-weight: 700;
}

.row_search {
    height: auto !important;
    display: block !important;
    width: 100% !important;
    padding: 0.25rem !important;
    margin: 0px !important;
    margin-left: 10px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #495057 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.pagination .page-item.active .page-link {
    transition: all 0.2s linear;
    border-radius: 0.125rem;
    background-color: #663004 !important;
    color: #fff;
}

.page-link {
    padding: 5px 10px !important;
    font-size: 14px;
}

.dataTables_length label {
    display: flex;
    align-items: center;
}

.dataTables_length select {
    margin-left: 10px;
    margin-right: 10px;
    width: fit-content;
}

.dataTables_filter {
    justify-content: flex-end;
}

.dataTables_filter label {
    display: flex;
    align-items: center;
}

.dataTables_filter input {
    margin-left: 10px;
    width: fit-content;
}

/* test */

table.dataTable thead .sorting:after, table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc_disabled:after, table.dataTable thead .sorting_desc_disabled:before {
    bottom: 0.5em;
}

/* member */

@-webkit-keyframes chartjs-render-animation {
    from {
        opacity: 0.99;
    }
    to {
        opacity: 1;
    }
}

@keyframes chartjs-render-animation {
    from {
        opacity: 0.99;
    }
    to {
        opacity: 1;
    }
}

.chartjs-render-monitor {
    -webkit-animation: chartjs-render-animation 0.001s;
    animation: chartjs-render-animation 0.001s;
}

.modal-form div {
    text-align: start;
    padding: 0.5rem !important;
}

.modal-form div div {
    padding: 0px !important;
}

.modal-form div label {
    font-size: 12px;
    margin: 0px;
}

.card_profile {
    background-color: #fff3d3;
    ;
    border-radius: 0px;
    width: 170px;
    height: 200px;
}

.card_profile:hover {
    cursor: pointer;
    background-color: #ffebb3;
}

.card_profile_img {
    position: relative;
    padding-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60%;
}

.card_profile_img a {
    right: 5px !important;
    top: 5px !important;
    position: absolute !important;
    color: #684126;
}

.card_profile_img a:hover {
    right: 5px !important;
    top: 5px !important;
    position: absolute !important;
    color: #684126;
}

.card_profile_img img {
    object-fit: cover;
    width: 80px;
    height: 80px;
    background-color: #fff;
}

.card_profile_text {
    padding-bottom: 1rem;
    padding: 0.5rem;
    display: flex;
    font-size: 14px;
    /* align-items : flex-end; */
    justify-content: center;
    height: 40%;
}

.card_profile_text_h {
    line-height: 15px;
    padding-bottom: 0.5rem;
    font-size: 15px;
    font-weight: 700;
}

.card_profile_text_s {
    font-weight: 500;
    line-height: 14px;
    font-size: 13px;
}

/* footer */

footer a {
    font-size: 12px;
    font-style: unset !important;
    color: #663004;
    text-decoration: unset !important;
}

footer span {
    font-size: 12px;
    color: #663004;
    text-decoration: unset !important;
}

/* select option */

.select-wrapper span.caret {
    z-index: 3;
    position: absolute;
    top: 0.8rem;
    right: 10px !important;
    font-size: .63rem;
    color: #495057;
}

.select-wrapper input.select-dropdown {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 40px;
    padding: 0px;
    padding-left: 10px !important;
    margin: 0px !important;
    font-size: 1rem;
    line-height: 2.9rem;
    text-overflow: ellipsis;
    cursor: pointer;
    background-color: #fff !important;
    border: none;
    border-bottom: 1px solid #ced4da;
    outline: none;
}

.dropdown-content li>a, .dropdown-content li>span {
    display: block;
    padding: .5rem;
    font-size: .9rem;
    color: #663004 !important;
}

/* datepick */

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #663004 !important;
    border-color: transparent;
    color: #fff;
}

.cancelBtn {
    background-color: #FFF3D3 !important;
}

/* menu_top */

.name_top-lg {
    padding-left: 240px !important;
}

.name_top-sm {
    padding-left: 3.75rem !important;
}

.table_text_search {
    padding: 5px 10px !important;
    font-size: 11px !important;
    height: fit-content !important;
}

.table_span_search {
    font-size: 14px !important;
}

.table_span_previous {
    font-size: 12px !important;
}

.table_text_show {
    width: 70px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    height: fit-content !important;
}

.table_span_show {
    font-size: 14px !important;
}

.table_span_show label {
    font-size: 14px;
    margin: 0px;
}

.table_pagination {
    font-size: 14px !important;
    padding-top: .5rem;
    padding-bottom: .5rem;
    margin: 0px;
}

/* checkbox switch */

.switch {
    position: relative;
    display: inline-block;
    width: 41px;
    height: 18px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: rgba(102, 48, 4);
}

input:focus+.slider {
    box-shadow: 0 0 1px #c19d31;
}

input:checked+.slider:before {
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}

.div_create {
    font-weight: 500;
    color: #663004;
    font-size: 14px;
    margin-bottom: .5rem;
}

.div_subcreate {
    color: #663004;
    font-size: 14px;
    margin-bottom: .5rem;
}

input[type='radio']:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    left: -1px;
    position: relative;
    background-color: #d1d3d1;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid rgba(102, 48, 4);
}

input[type='radio']:checked:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    left: -1px;
    position: relative;
    background-color: rgba(102, 48, 4);
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid rgba(102, 48, 4);
}

/* keyplan */

.keyplan_image {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 1200px) {
    .div_keyplan {
        width: 1200px !important;
    }
}

/* modal */

.modal_zone {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 50;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */

.modal-content_zone {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
    border-radius: 5px;
    width: 50%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*move defect  */

.move_defect_span {
    display: flex;
    align-items: center;
    padding-bottom: .5rem;
}