.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn.btn-inline-couple {
    width: 48.5%;
}
.btn-inline-couple.btn-secondary {
    color: #23282c;
    background-color: #fff;
    border-color: #fff;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

/******** Block Spacing ********/
.p-all-0 {
    padding: 0px;
}
.p-top-10 {
    padding-top: 10px;
}
.p-top-20 {
    padding-top: 20px;
}
.p-top-40 {
    padding-top: 40px;
}
.p-top-60 {
    padding-top: 60px;
}
.p-top-80 {
    padding-top: 80px;
}
.p-top-100 {
    padding-top: 100px;
}
.p-top-140 {
    padding-top: 140px;
}
.p-bottom-20 {
    padding-bottom: 20px;
}
.p-bottom-30 {
    padding-bottom: 30px;
}
.p-bottom-40 {
    padding-bottom: 40px;
}
.p-bottom-60 {
    padding-bottom: 60px;
}
.p-bottom-80 {
    padding-bottom: 80px;
}
.p-bottom-100 {
    padding-bottom: 100px;
}
.p-bottom-140 {
    padding-bottom: 140px;
}
.p-left-10 {
    padding-left: 10px;
}
.p-left-20 {
    padding-left: 20px;
}
.p-left-40 {
    padding-left: 40px;
}
.p-left-60 {
    padding-left: 60px;
}
.p-left-80 {
    padding-left: 80px;
}
.p-left-100 {
    padding-left: 100px;
}
.p-left-140 {
    padding-left: 140px;
}
.p-right-10 {
    padding-right: 10px;
}
.p-right-20 {
    padding-right: 20px;
}
.p-right-30 {
    padding-right: 30px;
}
.p-right-40 {
    padding-right: 40px;
}
.p-right-60 {
    padding-right: 60px;
}
.p-right-80 {
    padding-right: 80px;
}
.p-right-100 {
    padding-right: 100px;
}
.p-right-140 {
    padding-right: 140px;
}

.m-top-10 {
    margin-top: 10px;
}
.m-top-20 {
    margin-top: 20px;
}

.m-top-40 {
    margin-top: 40px;
}
.m-top-50 {
    margin-top: 50px;
}
.m-top-60 {
    margin-top: 60px;
}
.m-top-80 {
    margin-top: 80px;
}
.m-top-100 {
    margin-top: 100px;
}
.m-top-120 {
    margin-top: 120px;
}
.m-top-140 {
    margin-top: 140px;
}
.m-bottom-10 {
    margin-bottom: 10px;
}
.m-bottom-15 {
    margin-bottom: 15px;
}
.m-bottom-20 {
    margin-bottom: 20px;
}
.m-bottom-30 {
    margin-bottom: 30px;
}
.m-bottom-40 {
    margin-bottom: 40px;
}
.m-bottom-60 {
    margin-bottom: 60px;
}
.m-bottom-80 {
    margin-bottom: 80px;
}
.m-bottom-100 {
    margin-bottom: 100px;
}
.m-bottom-140 {
    margin-bottom: 140px;
}
.m-left-10 {
    margin-left: 10px;
}
.m-left-20 {
    margin-left: 20px;
}

.m-left-40 {
    margin-left: 40px;
}
.m-left-50 {
    margin-left: 50px;
}
.m-left-60 {
    margin-left: 60px;
}
.m-left-80 {
    margin-left: 80px;
}
.m-left-100 {
    margin-left: 100px;
}
.m-left-120 {
    margin-left: 120px;
}
.m-left-140 {
    margin-left: 140px;
}
.m-right-10 {
    margin-right: 10px;
}
.m-right-20 {
    margin-right: 20px;
}
.m-right-30 {
    margin-right: 30px;
}
.m-right-40 {
    margin-right: 40px;
}
.m-right-60 {
    margin-right: 60px;
}
.m-right-80 {
    margin-right: 80px;
}
.m-right-100 {
    margin-right: 100px;
}
.m-right-140 {
    margin-right: 140px;
}

.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}
.offset-0 {
    padding-left: 0;
    padding-right: 0;
}
.text-center{
    text-align: center;
}
.text-left{
    text-align: left !important;
}
.text-right{
    text-align: right;
}
.full-width{
    width: auto;
}
.hide{
    display: none;
}
.show{
    display: block;
}



/*LMS360*/
/*Login page*/
body.login-page {
    background-image: url('/img/login-bg.jpg');
    background-size: cover;
}
body.login-page img.logo {
    width: 135px;
}
body.login-page .container-fluid {
    position: absolute;
    bottom: 3rem;
}
body.login-page .card {
    background-color: transparent;
    border: 0;
}
body.login-page form input {
    background-color: transparent;
    border-color: #fa650280;
}
body.login-page form .input-group-text {
    color: #3398cc90;
    background-color: transparent;
    border: 1px solid #fa650280;
    border-right: 0;
}
body.login-page form .btn.btn-primary {
    background-color: #3398cc;
}

@media screen and (max-width: 500px) {
    span#hello-line {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    body.login-page {
        background-image: url('/img/login-bg-phone.jpg');
    }
    body.login-page img.logo {
        width: 100px;
    }
    body.login-page .container-fluid {
        position: absolute;
        bottom: 0;
    }
    body.login-page .card {
        background-color: #ffffff95;
        border: 0;
    }
    body.login-page form input {
        background-color: #fff;
        border-color: #fa6502;
    }
    body.login-page form .input-group-text {
        color: #3398cc;
        background-color: transparent;
        border: 1px solid #fa6502;
        border-right: 0;
    }
    body.login-page form a.btn-link {
        color: #fff;
    }
}

/*top nav*/
img.avatar-thumb {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}


/*Sidebar*/
.sidebar {
    background: #3398cc;
}
.sidebar .nav-link .nav-icon {
    color: #fff;
}
.sidebar .nav-link.active {
    background: #006e94;
}
.sidebar .nav-link.active .nav-icon {
    color: #fff;
}
.sidebar .nav-dropdown-toggle::before {
    width: 12px;
    height: 12px;
    margin-top: -6px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%23fff' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E");
}
.sidebar .nav-dropdown.open {
    background: rgb(0,0,0,.2);
}
.sidebar .sidebar-minimizer::before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='%23fff' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E");
}
.sidebar .nav-dropdown.open ul li a {
    padding-left: 45px;
}
.sidebar-minimized .sidebar .sidebar-minimizer {
    background: rgb(0,0,0,.2);
}
/*Cards*/
.card {
    border: 0;
}
.card-header {
    background-color: #f3753a;
    border-color: #f3753a;
    color: #fff;
}


/*Profile document*/
form#document-update-form .row {
    margin-bottom: 10px;
}
form#document-update-form .row:not(:last-child):after {
    background-color: #e4e7ea;
    content: "";
    width: 25%;
    height: 1px;
    z-index: 1;
    margin-left: 15px;
}

i.edit-contact {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

/*Statement*/
.badge {
    color: #fff;
}
.badge-Applied {
    background-color: #39f;
}
.badge-Recommended {
    background-color: #ffc107;
}
.badge-Approved {
    background-color: #2eb85c;
}
.badge-Declined {
    background-color: #e55353;
}
.badge-Allocated {
    background-color: #007bff;
}
.badge-Balance {
    background-color: #f9b115;
}
.badge-Cancelled {
    background-color: #343a40;
}

.alert.alert-annual{
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert.alert-sick{
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.alert.alert-menstrual{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert.alert-parental{
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

/*Dashboard*/
.btn.btn-xs.btn-annual{
    color: #fff;
    background-color: #4dbd74;
    border-color: #4dbd74;
}
.btn.btn-xs.btn-sick{
    color: #23282c;
    background-color: #ffc107;
    border-color: #ffc107
}
.btn.btn-xs.btn-menstrual{
    color: #fff;
    background-color: #f86c6b;
    border-color: #f86c6b;
}
.btn.btn-xs.btn-parental{
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.badge.badge-annual{
    color: #4dbd74;
    border: 1px solid #4dbd74;
}
.badge.badge-sick{
    color: #ffc107;
    border: 1px solid #ffc107;
}
.badge.badge-menstrual{
    color: #f86c6b;
    border: 1px solid #f86c6b;
}
.badge.badge-parental{
    color: #007bff;
    border: 1px solid #007bff;
}

ul.w-leave-balance,
ul.w-on-leave-today {
    padding: 0;
    margin: 0;
}
ul.w-leave-balance li,
ul.w-on-leave-today li {
    list-style: none;
    padding: 5px 0px;
}
ul.w-leave-balance li span,
ul.w-on-leave-today li span {
    float: right;
}
ul.w-leave-balance li i {
    width: 20px;
}

table.w-leave-table tr:first-child td {
    border-top: 0;
}
table.w-leave-table tr td {
    padding-left: 0;
    padding-right: 0;
}


i.fa-times-circle {
    color: #e55353;
}
i.fa-check-circle {
    color: #2eb85c;
}

/*User Holiday list*/
.toggle-off.btn {
    border: 1px solid #20a8d8;
    color: #20a8d8;
    background-color: #fff;
}
input[type=checkbox]:not(:checked) + div span {
  background-color: #20a8d8;
} 