/* Add here all your CSS customizations */

/**********************************************************/
/*  Text alignment */
/**********************************************************/
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/**********************************************************/
/*  Text Color */
/**********************************************************/
.text-price {
    color: #ff5722 !important;
}

.text-white {
    color: #fff !important;
}

.text-color-default {
    color: #777 !important;
}

/**********************************************************/
/*  Text Size */
/**********************************************************/
.font-10 {
    font-size: 10px !important;
}

.font-12 {
    font-size: 12px !important;
}

.font-15 {
    font-size: 15px !important;
}

.font-18 {
    font-size: 18px !important;
}

/**********************************************************/
/*  Text Weight */
/**********************************************************/
.t-bold {
    font-weight: 700 !important;
}

.t-600 {
    font-weight: 600 !important;
}

.t-500 {
    font-weight: 500 !important;
}

.t-400 {
    font-weight: 400 !important;
}

/**********************************************************/
/*  Line height */
/**********************************************************/
.l_height_14 {
    line-height: 14px !important;
}

.l_height_16 {
    line-height: 16px !important;
}

/**********************************************************/
/*  Padding */
/**********************************************************/
.p_50 {
    padding: 50px !important;
}

/**********************************************************/
/*  Margin */
/**********************************************************/
.mt_30 {
    margin-top: 30px;
}

.mt_60 {
    margin-top: 60px;
}

.mt_70 {
    margin-top: 70px;
}

.mt_80 {
    margin-top: 80px;
}

.mt_90 {
    margin-top: 90px;
}

.mt_5_ {
    margin-top: -5px;
}

.mb_2 {
    margin-bottom: 2px;
}

/**********************************************************/
/*  Height */
/**********************************************************/
.h__50 {
    height: 50px !important;
}

.h__60 {
    height: 60px !important;
}

.h__80 {
    height: 80px !important;
}

/**********************************************************/
/*  Weight */
/**********************************************************/
.w__35 {
    width: 35px;
}

.w__100 {
    width: 100px;
}

.w__50 {
    width: 50px;
}

.w__150 {
    width: 150px;
}

.w__220 {
    width: 220px;
}

.w__250 {
    width: 250px !important;
}

/**********************************************************/
/*  Text Style */
/**********************************************************/
.letterspace-none {
    letter-spacing: 0 !important;
}

.text-normal {
    color: #444 !important;
}

/**********************************************************/
/*  Background Color */
/**********************************************************/
.bg-danger {
    background: #E36159;
}

.bg-success {
    background: #47a447;
}

.bg-light {
    background: #fbfbfb;
}

.bg-white {
    background: #fff;
}

.light-primary {
    background-color: #329fd6;
    color: #fff;
}

.light-info {
    background-color: #7bcce4;
    color: #fff;
}

.light-warning {
    background-color: #f0af52;
    color: #fff;
}

.light-success {
    background-color: #6bb66b;
    color: #fff;
}

.light-dark {
    background-color: #454545;
    color: #fff;
}

.light-danger {
    background-color: #db5a56;
    color: #fff;
}

/**********************************************************/
/*  Display */
/**********************************************************/
.display-block {
    display: block !important;
}

.display-inline {
    display: inline-block !important;
}

/**********************************************************/
/*  Border */
/**********************************************************/
.noborder {
    border: 0 !important;
    border: unset !important;
}

/**********************************************************/
/*  Link <a> */
/**********************************************************/
a.disabled {
    color: currentColor;
    display: inline-block; /* For IE11/ MS Edge bug */
    pointer-events: none;
    text-decoration: none;
    cursor: not-allowed;
    opacity: 0.5;
}

a.disabled.btn-primary {
    color: #fff;
}
/**********************************************************/
/*  Loading Gif */
/**********************************************************/
/* When the body has the loading class, scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* When the body has the loading class, modal element will be visible */
body.loading .loading-overlay1 {
    display: block;
}

.loading-overlay1 {
    display: none;
    position: fixed;
    z-index: 10003;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255, 0.5) url('../../img/Rolling-1s-64px.gif') 50% 50% no-repeat;
}

/**********************************************************/
/*  Overwrite overlay */
/**********************************************************/
.loading-overlay {
    z-index: 99999;
}

/**********************************************************/
/*  Overwrite Widget */
/**********************************************************/
.widget-summary.widget-summary-custom .summary-icon {
    margin-right: 10px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 3.2rem;
}

.widget-summary.widget-summary-custom .summary {
    min-height: 0;
    margin-top: 12px;
}

.widget-summary.widget-summary-custom .summary .title {
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.widget-summary.widget-summary-custom .summary .amount {
    font-size: 1.65rem;
    font-weight: 700;
}

.widget-summary.widget-summary-custom .summary .info {
    font-size: 1rem;
}

.widget-summary.widget-summary-custom .summary-footer {
    display: none;
}

/**********************************************************/
/*  Overwrite card */
/**********************************************************/
.card {
    word-wrap: break-word;
    margin-bottom: 10px;
}

.card-body {
    background: #fdfdfd;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

/**********************************************************/
/*  Gallery Section */
/**********************************************************/
.profile-gallery.content-with-menu {
    border-top: unset;
    margin: -20px -15px 0 !important;
    min-height: 100%;
}

.profile-gallery .mg-files .thumb-image {
    height: 175px;
}

    .profile-gallery .mg-files .thumb-image img {
        max-width: 100%;
        height: 100%;
        object-fit: cover; /* cover fit the parent element */
    }

.media-gallery .mg-files .thumbnail .mg-title {
    margin: 13px 0 2px;
    padding-bottom: 2px;
    display: inline-block;
    font-size: 1.3rem;
    /*limit the text*/
    width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-with-menu.media-gallery.profile-gallery .inner-body {
    margin-left: 0 !important;
    border-top: unset;
    margin-top: unset;
    min-height: unset;
    position: unset;
}

.content-with-menu.media-gallery.profile-gallery .inner-toolbar {
    background: #1D2127;
    margin: -40px -40px 30px;
    padding: 0;
    left: 0 !important;
    position: relative;
    top: 0;
}

.profile-gallery .pcaption {
    height: 35px;
    overflow-x: hidden;
}

.media-gallery .mg-files .thumbnail .thumb-preview .mg-thumb-profile-pic {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 9px 10px;
    font-weight: 600;
    text-align: center;
}

/**********************************************************/
/*  Group Checkbox styling 
    Related Page : Role management */
/**********************************************************/
.checkbox_select_all {
    margin-top: 7px;
    margin-bottom: 5px !important;
}

#group-checkbox .panel-group {
    margin-bottom: 10px;
}

#group-checkbox .panel-group .panel-accordion .panel-heading a {
    font-size: 13px;
}

/**********************************************************/
/*  Lou Multiselect
    Related library/files : MultiSelect/jquery.multi-select.js */
/**********************************************************/
.ms-container {
    width: 100% !important;
}

/**********************************************************/
/*  Select 2
/**********************************************************/
.select2-container .select2-selection {
    /*.select2-container--bootstrap .select2-selection {*/
    height: 34px;
    line-height: 1.8;
    padding: 2px 24px 2px 6px;
    border: 1px solid #ccc;
}

.select2-container .select2-selection--multiple {
    /*.select2-container--bootstrap .select2-selection--multiple {*/
    min-height: 34px;
    padding: 2px 24px 2px 2px;
    border: 1px solid #ccc;
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: 0;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-selection .select2-search__field {
    width: 100% !important;
}

/*** Default style ***/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #555;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #33bbff 1px;
    outline: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(0, 136, 204, 0.3);
}

/**********************************************************/
/*  Datatable
    Related library/files : DataTables/jquery.dataTables.js */
/**********************************************************/
.table {
    width: 100% !important;
}

.th-actions {
    width: 120px !important;
}

.table td .dt_actions_btn {
    padding: 8px 1px;
    font-size: 14px;
}

.dt_actions_btn.text-muted {
    color: #ccc !important;
}

/** datatable tool **/
.tableTools-container {
    width: 100%;
}

/** print datatable view **/
.dt-print-view {
    background: #ffffff !important;
}

/** datatable info **/
.dataTables_info .select-info {
    padding-left: 10px;
}

.dataTables_info .select-info ::before {
    content: "(";
}

.dataTables_info .select-info ::after {
    content: ")";
}

.dataTables_info .select-info .select-item:nth-child(2),
.dataTables_info .select-info .select-item:nth-child(3) {
    display: none;
}

/** datatable tr(row) selected, background color **/
.table.table-striped > tbody > tr.selected > td {
    background-color: #efe6ee;
}

/** datatable remove sorting icon if the column has checkbox **/
.table thead .dt-multiselect-th-checkbox.sorting,
.table thead .dt-multiselect-th-checkbox.sorting_asc,
.table thead .dt-multiselect-th-checkbox.sorting_desc {
    background: none !important;
    padding-right: 0 !important;
}

/** datatable rows group **/
tr.dt--row-group td {
    font-weight: 600 !important;
}

.table > thead:first-child > tr:first-child > th {
    background-color: rgba(0, 0, 0, 0.075) !important;
    padding: 15px 8px;
    font-size: 13px;
}

.table .loading-overlay {
    background: rgba(0, 0, 0, 0.025) !important;
}

.table .bounce-loader .bounce1,
.table .bounce-loader .bounce2,
.table .bounce-loader .bounce3 {
    background-color: #fff;
}

/**********************************************************/
/*  Crop and upload image
    Related library/files : Croppie - Image Cropper */
/**********************************************************/
.imgupload.imgupload-crop label.cabinet {
    display: block;
    cursor: pointer;
}

.imgupload.imgupload-crop label.cabinet input.file {
    position: relative;
    height: auto;
    width: auto;
    opacity: 0;
    -moz-opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    margin-top: -30px;
}

.imgupload.imgupload-crop figure figcaption {
    position: absolute;
    bottom: 0;
    color: #fff;
    width: 100%;
    padding-left: 12px;
    padding-bottom: 5px;
    text-shadow: 0 0 10px #000;
}

.imgupload.imgupload-crop .item-img-output {
    width: 260px;
    height: 175px;
    object-fit: cover;
}

.imgupload.imgupload-crop .crop-img-result {
    display: none;
}

.croppie-container {
    width: 100%;
    height: auto;
}

.croppie-container .cr-boundary {
    background-color: #000;
}

.imgupload.imgupload-crop .item-img-output.img-1400x400-cover-photo { /** 1400 x 200 (Cover image for article, event and etc) **/
    width: 700px;
    height: 200px;
    object-fit: cover;
}

.imgupload.imgupload-crop .item-img-output.img-800x500-photo { /** 800 x 400 (Profile image for article, event and etc) **/
    width: 400px;
    height: 250px;
    object-fit: cover;
}

.imgupload.imgupload-crop .item-img-output.img-240x240-photo { /** 240 x 240 (Avatar image) **/
    width: 240px;
    height: 240px;
    object-fit: cover;
}

/**********************************************************/
/*  Upload file input  */
/**********************************************************/
.fileupload.fileupload-new,
.fileupload.fileupload-exists {
    margin-bottom: 5px;
}

.fileupload .uneditable-input {
    display: inline-block;
    margin-bottom: 0px;
    vertical-align: middle;
    cursor: text;
    background: #fff;
    position: relative;
}

.fileupload .uneditable-input .fa {
    position: absolute;
    top: 11px;
    left: 16px;
}

.fileupload .uneditable-input .fileupload-preview {
    display: inline-block;
    float: left;
    overflow: hidden;
    padding: 0 0 0 26px;
    text-overflow: ellipsis;
    width: 100%;
}

/**********************************************************/
/*  Content (Right side)  */
/**********************************************************/
.content-body {
    padding: 40px 40px 100px;
}

@media only screen and (max-width: 767px) {
    .content-body {
        padding: 0 15px 15px !important;
    }
}

/**********************************************************/
/*  Form  */
/**********************************************************/
p.form_text__readonly {
    margin: 6px 0;
    font-weight: 300;
    font-size: 14px;
}

.form-group label.control-label {
    font-weight: 600;
    color: #777 !important;
}

.form-control-inline {
    display: inline-block;
    width: 50%;
}

select option.disabled {
    color: #bbb;
}

/**********************************************************/
/*  Input daterange  */
/**********************************************************/
.input-daterange .input-group-addon {
    width: 36px;
    min-width: 36px;
}

/**********************************************************/
/*  Datepicker  */
/**********************************************************/
.datepicker.dropdown-menu {
    z-index: 1999;
}

.datepicker table tr td.disabled, 
.datepicker table tr td.disabled:hover {
    background: none;
    color: #777777;
    cursor: default;
    opacity: .3;
}

/**********************************************************/
/*  Well  */
/**********************************************************/
.well-xs {
    padding: 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 300;
}

/**********************************************************/
/*  Margin  */
/**********************************************************/
.m-xxs {
    margin: 2px;
}

/**********************************************************/
/*  Autocomplete field  */
/**********************************************************/
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    width: 160px;
    padding: 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    padding: 3px 1em 3px .4em;
}

/**********************************************************/
/** Combo Box **/
/**********************************************************/
.custom-combobox {
    position: relative;
    /*display: inline-block;*/
    display: inline;
}

.custom-combobox-toggle {
    position: absolute;
    top: -8px;
    bottom: 0;
    margin-left: -1px;
    padding: 16px 10px;
}

.custom-combobox-input {
    margin: 0;
    width: 95%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    border-top-right-radius: unset;
    border-bottom-right-radius: unset;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}

.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    outline: 0;
    overflow-x: hidden;
    height: auto;
    max-height: 200px;
}

.ui-menu .ui-menu {
    position: absolute;
}

.ui-menu .ui-menu-item {
    margin: 0;
    cursor: pointer;
    /* support: IE10, see #8844 */
    list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 3px 1em 3px .4em;
}

.ui-menu .ui-menu-divider {
    margin: 5px 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    border-width: 1px 0 0 0;
}

.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
    margin: -1px;
}

a.ui-button:active, .ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #ccc;
    background: #ccc;
}

/**********************************************************/
/*  Radios group */
/**********************************************************/
.radio-custom-group {
    border-bottom: 1px solid #ececec;
    padding: 0 0 8px;
}

.radio-custom-group .radio-custom-wrapper {
    padding-top: 5px;
}

.radio-custom-group .radio-custom {
    display: inline-block;
    margin-right: 6px;
}

/**********************************************************/
/** Top nav header **/
/**********************************************************/
@media only screen and (max-width: 767px) {
    .userbox .name,
    .userbox .role {
        /*! max-width: 68px; */
        max-width: unset;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Userbox - Mobile */
@media only screen and (max-width: 767px) {
    .userbox {
        float: left;
        margin: 16px 0 0 12px;
        position: relative;
    }

    .userbox:after {
        background: #E9E9E6;
        content: '';
        height: 63px;
        margin: 0;
        position: absolute;
        right: -21px;
        top: -18px;
        width: 1px;
    }

    .userbox .profile-picture {
        /*! display: none; */
        display: inline-block;
    }

    .userbox .profile-picture img {
        width: 28px !important;
        height: 28px !important;
    }

    .userbox.open .dropdown-menu {
        left: -5px;
        padding: 43px 0 0 0;
    }
}

/**********************************************************/
/** Label error **/
/**********************************************************/
label.error {
    color: #B94A48;
    margin-top: 2px;
    margin-left: 5px;
}

/**********************************************************/
/** Toggle custom **/
/**********************************************************/
.toggle-custom .toggle.active > label {
    background: #4cabdb !important;
    border-color: #4cabdb;
    color: #fff;
}

.toggle-custom .toggle label.toggle-label {
    border-radius: 0;
}

.toggle-custom .toggle label {
    border-left-color: #4cabdb;
    color: #4cabdb;
}

.toggle-custom .toggle .toggle-content {
    padding: 10px 0;
}

/**********************************************************/
/** Box **/
/**********************************************************/
.box-heading {
    position: relative;
}

.box-actions {
    right: 15px;
    position: absolute;
}

    .box-actions a,
    .box-actions .box-action {
        outline: none !important;
        text-decoration: none !important;
    }

    .box-actions a,
    .box-actions .box-action {
        background-color: transparent;
        border-radius: 2px;
        color: #B4B4B4;
        font-size: 14px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        width: 24px;
    }

.box-body {
    margin-top: 20px;
    padding: 25px 0;
}

    .box-body.box-default {
        background: #f6f6f6;
    }

.box-subtitle {
    color: #808697;
    font-size: 12px;
    line-height: 1.2em;
    margin: 7px 0 0;
    padding: 0;
}

/**********************************************************/
/** Summernote modal  **/
/** Link, picture and video **/
/**********************************************************/
.modal.link-dialog .modal-dialog .modal-body .form-group {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.form-group.note-group-select-from-files,
.form-group.note-group-image-url,
.form-group.row-fluid {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/**********************************************************/
/** Datatable custom with search **/
/**********************************************************/
.datatable_custom_num_of_record {
    margin-top: 15px;
    margin-bottom: 5px;
}

.datatable_custom_search {
    margin-top: 5px !important;
}

.datatable_custom_search .datatable_custom_empty {
    display: none;
}

    .datatable_custom_search .datatable_custom_empty td {
        padding: 50px 0;
        text-align: center;
    }

/**********************************************************/
/** Notification menu **/
/**********************************************************/
.notifications .notification-menu {
    width: 300px;
}

/**********************************************************/
/** Notification menu **/
/**********************************************************/
.loan_export_doc_info_wrapper .info__lable {
    padding-bottom: 5px;
}