@font-face { font-family: anakotmai; src: url(../fonts/anakotmai_bold.ttf); font-weight: bold; }
@font-face { font-family: anakotmai; src: url(../fonts/anakotmai_medium.ttf); font-weight: normal; }
@font-face { font-family: anakotmai; src: url(../fonts/anakotmai_light.ttf); font-weight: 100; }
* { font-family: anakotmai; }

body {
    background: #f5f8fa;
    color: #636b6f;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
    left: 20px !important;
    width: 100%; height: 15px;
    z-index: 100;
}

th {
    white-space: nowrap;
}

.text-SUBMITTED { color: #f0ad4e; }
.text-APPROVED { color: #5cb85c; }
.text-REJECTED { color: #d9534f; }
.text-PENDING { color: #f0ad4e; }

.label-lg { font-size: 15px; padding: 5px 10px; }
.label-SUBMITTED { background-color: #f0ad4e; }
.label-APPROVED,
.label-CLOSED { background-color: #5cb85c; }
.label-REJECTED,
.label-CANCELED { background-color: #d9534f; }
.label-PENDING,
.label-OPENED,
.label-IN_PROGRESS { background-color: #f0ad4e; }

#app {
    margin-bottom: 100px;
}
.container {
    margin: 0 auto;
}
.stick-bottom {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    margin: auto 0px auto -40px;
    padding: 10px 0;
    position: fixed;
        bottom: 0;
    width: 100%;
}

.navbar-default { background-color: #fff; }
.panel-default > .panel-heading {
    background-color: #fff;
}
.select2 {
    width: 100% !important;
}

.info-box .content,
.info-box .content .text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bg-light-grey {
    background-color: #e0e0e0;
}

.scollable {
    overflow-x: scroll;
    width: 100%;
}

.sidebar .menu .list {
    overflow-y: scroll;
}

/** Update media style for ticket comment **/
.media.comment {
  border: 1px solid #f0f0f0;
  border-radius: 5px;
  padding: 20px 10px;
  box-shadow: 0 0 10px #cacaca;
}
.media.comment.private-comment {
  background-color: #fdede3;
  border: 1px solid #f8a878;
}

/* Preloader */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #093254;
    z-index: 10000;
}

#loading-spacer {
    height: 20px;
}

#loading-inner {
    position: absolute;
    width: 400px;
    height: 260px;
    top: 50%;
    left: 50%;
    margin-top: -130px;
    margin-left: -200px;
    text-align: center;
    color: #ffffff;
}

/* Bootstrap Override. */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    border: 0px;
}
.form-group .form-line.has-error:after { border-bottom-color: #a94442; }
.has-error .form-control:focus {
    box-shadow: inset 0 0 0 transparent, 0 0 0 transparent;
    border-color: transparent !important;
}
.form-group .form-line .help-block.form-error {
    position: absolute;
    margin-top: 10px;
}
.form-inline {
    display: inline-block;
}


/* Boss Custom */
th > .checkbox {
    margin-top: 30px;
    margin-bottom: -10px;
}

td > .checkbox {
    margin-top: 0px;
    margin-bottom: -10px;
}

.card nav {
    text-align: right;
}

.float-right {
    float: right;
}

.btn-custom-search {
    /* padding: 10px 20px !important; */
    border-radius: 2px !important;
    background-color: #00bcd4 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.54 !important;
    box-shadow: none !important;
}

.btn-custom-blue {
    padding: 10px 20px !important;
    border-radius: 2px !important;
    background-color: #00bcd4 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.54 !important;
    box-shadow: none !important;
}

.btn-custom-orange {
    padding: 10px 20px !important;
    border-radius: 2px !important;
    background-color: #ff9800 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.54 !important;
    box-shadow: none !important;
}

.btn-custom-red {
    padding: 10px 20px !important;
    border-radius: 2px !important;
    background-color: #e91d63 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.54 !important;
    box-shadow: none !important;
}

.btn-custom-green {
    padding: 10px 20px !important;
    border-radius: 2px !important;
    background-color: #8bc34a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.54 !important;
    box-shadow: none !important;
}

.card {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.card .header h2 {
    color: #333;
}

.datepicker {
    /* top: 205px !important; */
    margin-top: 102px !important;
}

a.disabled span {
    color: #747474 !important;
}

.swal2-popup {
    width: 40rem;
    padding: 2rem;
}

.swal2-popup .swal2-content {
    font-size: 14px;
    font-weight: 400;
}

.swal2-content h2 {
    line-height: 1.2;
}

.swal2-content h3 {
    line-height: 1.3;
}

.modal .modal-header {
    padding: 15px;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.card .header.d-flex {
    padding: 10px 20px;
}
