@import url('../css/base.css');
@import url('../css/datatable.css');
@import url('../css/datepicker.css');
@import url('../css/pnotify.css');
@import url('../css/select2.css');
@import url('../css/tooltip.css');
@import url('../css/widget.css');
@import url('../css/summernote.css');

/* ======================================
 *
 * RULES :
 * Taruh custom css disini atau bikin file baru
 * Import file baru berada di bawah base.css
 * Jangan mengubah apapun di base.css kecuali diskusikan terlebih dahulu
 * Terkhusus base.css jangan pakai prettier
 *
 * INFO :
 * Base.css akan selalu kita bawa ke project terkait
 * Berharap menjadi sebuah standar custom untuk theme modern porto
 * Sementara informasi ditaruh di sini
 * Saat deploy production, informasi akan dihapus
 *
 ====================================== */

/* ======================================
 * Nav tabs
====================================== */
.nav-tabs.tbr_nav--tabs {
    background-color: var(--dark);
    border-radius: 10px 10px 0 0;
    min-height: 63px;
    border: none;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0px 3px 24px 0px rgba(102,50,89,0.08);
    -webkit-box-shadow: 0px 3px 24px 0px rgba(102,50,89,0.08);
    -moz-box-shadow: 0px 3px 24px 0px rgba(102,50,89,0.08);
}

.nav-tabs.tbr_nav--tabs.ads {
    background-color: var(--white);
    min-height: 63px;
    border: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: none;
}

html .card.card-modern.tbr_tab--body {
    border-radius: 0 0 10px 10px;
}

.nav-tabs.tbr_nav--tabs .nav-link {
    position: relative;
    padding: 24px 24px 24px;
    margin-right: 0;
    margin-bottom: 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-tabs.tbr_nav--tabs.ads .nav-link {
    position: relative;
    padding: 0;
    margin-right: 0;
    margin-bottom: 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-tabs.tbr_nav--tabs .nav-link:not(.active) {
    font-family: "Montserrat Semi Bold", sans-serif;
    color: var(--white) !important;
}

.nav-tabs.tbr_nav--tabs .nav-link.tbr_active,
.nav-tabs.tbr_nav--tabs .nav-link.active {
    font-family: "Montserrat Semi Bold", sans-serif;
    color: var(--primary) !important;
}

.nav-tabs.tbr_nav--tabs .nav-item.show .nav-link,
.nav-tabs.tbr_nav--tabs .nav-link.active,
.nav-tabs.tbr_nav--tabs .nav-link {
    border: none !important;
    background-color: transparent !important;
    border-radius: 0;
}

.nav-tabs.tbr_nav--tabs .nav-link span {
    margin-left: 8px;
}

@media only screen and (max-width: 992px) {
    .nav-tabs.tbr_nav--tabs .nav-link span {
        display: none;
    }
}

.nav-tabs.tbr_nav--tabs .nav-link::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 0;
    width: calc(100% - 40px);
    height: 4px;
    border-radius: 0;
    background-color: transparent;
}

.nav-tabs.tbr_nav--tabs.ads .nav-link::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: -20px;
    width: calc(100% + 10px);
    height: 4px;
    border-radius: 0;
    background-color: transparent;
}

@media only screen and (max-width: 768px) {
    .nav-tabs.tbr_nav--tabs .nav-link::after {
        right: 20px;
    }
}

.nav-tabs.tbr_nav--tabs .nav-link.tbr_active::after,
.nav-tabs.tbr_nav--tabs .nav-link.active::after {
    background-color: var(--primary);
}

.nav-tabs.tbr_nav--tabs .nav-link.active svg .tbr_custom {
    fill: var(--primary);
}

/* ======================================
 * Other style
====================================== */
.text-muted {
    opacity: 0.5 !important;
}

.tbr_header--submit {
    margin-right: 50px;
}

@media only screen and (max-width: 767px) {
    .tbr_header--submit {
        display: none;
    }
}

html .apexcharts-tooltip {
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0px 12px 24px 0px rgba(0, 99, 248, 0.12);
    -webkit-box-shadow: 0px 12px 24px 0px rgba(0, 99, 248, 0.12);
    -moz-box-shadow: 0px 12px 24px 0px rgba(0, 99, 248, 0.12);
}

.tbr_apex--tooltip {
    min-width: 190px;
    overflow: hidden;
}

.tbr_apex--tooltip .tbr_header {
    padding: 10px 24px;
    background-color: var(--light);
}

.tbr_apex--tooltip .tbr_body {
    padding: 16px 24px;
    background-color: var(--white);
}

.tbr_apex--tooltip .tbr_item {
    margin-bottom: 6px;
}

.tbr_apex--tooltip .tbr_item:last-child {
    margin-bottom: 0;
}

.tbr_apex--tooltip .tbr_dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: -1px;
    background-color: var(--success);
}

.tbr_apex--tooltip .tbr_item:nth-child(2) .tbr_dot {
    background-color: var(--warning);
}

.tbr_apex--tooltip .tbr_item:nth-child(3) .tbr_dot {
    background-color: var(--danger);
}

.tbr_apex--tooltip .tbr_dot.tbr_dot--member { background-color: var(--primary); }
.tbr_apex--tooltip .tbr_dot.tbr_dot--transaction { background-color: var(--success); }

.tbr_chart--wrap {
    margin-right: -25px;
    margin-left: -25px;
    margin-bottom: -25px;
}

hr.tbr_solid {
    height: 0;
    border-bottom: 1px solid #F2F3F8;
}

.tbr_datatable--auth-log .pagination {
    justify-content: flex-end;
}

.tbr_datatable--auth-log .dataTables_length,
.tbr_datatable--auth-log .dataTables_filter {
    display: none;
}

html .tbr_edit--error-https .modal-dialog {
    box-shadow: none;
    background-color: transparent;
}

html .tbr_edit--error-https .modal-dialog .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: none;
    overflow: hidden;
}

html .tbr_edit--error-https .modal-title {
    font-family: "Montserrat Bold";
    margin: 0;
    font-size: 18px;
}

html .tbr_edit--error-https .modal-header {
    background-color: var(--light);
    border: none;
    padding: 20px 30px 18px;
}

html .tbr_edit--error-https .modal-footer {
    background-color: var(--light);
    border: none;
    padding: 16px 30px 14px;
}

html .tbr_edit--error-https .modal-body {
    padding: 30px;
}

html .tbr_edit--error-https .btn {
    font-size: 14px;
    min-height: 48px;
    padding-right: 24px;
    padding-left: 24px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

html .tbr_edit--error-https .btn:hover,
html .tbr_edit--error-https .btn:focus,
html .tbr_edit--error-https .btn:active {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

html .tbr_edit--error-https .btn-primary {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    transition: all 0.3s ease;
    box-shadow: 0px 8px 24px 0px rgba(0,99,248,0.2);
    -webkit-box-shadow: 0px 8px 24px 0px rgba(0,99,248,0.2);
    -moz-box-shadow: 0px 8px 24px 0px rgba(0,99,248,0.2);
}

html .tbr_edit--error-https .form-control {
    color: var(--paragraph);
    min-height: 48px;
    border-radius: 10px;
    background-color: var(--light);
    border-width: 3px;
    border-style: solid;
    border-color: var(--light);
    box-shadow: none !important;
    outline: none !important;
    padding-right: 20px;
    padding-left: 20px;
}

html .tbr_edit--error-https .form-control:focus,
html .tbr_edit--error-https .form-control:active {
    color: var(--paragraph);
    background-color: var(--light);
    border-color: rgba(var(--rgb-primary), 0.7);
}

html .tbr_edit--error-https .form-group {
    padding-top: 0;
    border: none;
}

html #nprogress .bar {
    background: var(--primary);
    height: 3px;
}

html #nprogress .peg {
    box-shadow: 0 0 10px var(--purple), 0 0 5px var(--primary);
}

/* Custom logo and header for Harian Jogja only */
.tbr_custom--logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 265px;
    height: 130px;
    background-color: #161442;
    z-index: 1012;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 20px;
}

.tbr_custom--logo img {
    width: 220px;
    height: auto;
}

@media only screen and (max-width: 768px) {
    .tbr_custom--logo img {
        width: auto;
        height: 35px;
    }
}

html.modern ul.nav-main {
    margin-top: 4px;
}

html.sidebar-left-collapsed.modern ul.nav-main {
    margin-top: 0;
}

html.modern .sidebar-left {
    padding-top: 66px;
}

html.sidebar-left-collapsed .tbr_custom--logo {
    width: 73px;
    height: 70px;
    padding: 10px;
}

html.sidebar-left-collapsed .tbr_custom--logo img {
    width: 100%;
    height: auto;
}

html.sidebar-left-collapsed .sidebar-left {
    padding-top: 10px;
}

html .toggle-sidebar-left,
html [data-toggle-class="sidebar-left-collapsed"] {
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    html.sidebar-left-collapsed .sidebar-left .nano {
        transition: all 0.3s ease;
        border-radius: 0;
    }

    .tbr_custom--logo .toggle-sidebar-left {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .tbr_custom--logo {
        width: 100%;
        height: 58px;
        padding: 6px;
        justify-content: space-between;
        padding-right: 15px;
        padding-left: 15px;
    }

    .tbr_user--box {
        margin-right: 15px;
    }
}

/* Custom label for Harian Jogja only */
.tbr_label {
    font-family: "Montserrat Semi Bold", sans-serif;
}

.tbr_table tr td .tbr_label {
    display: block;
}

/* Custom anim ripple background for Harian Jogja only */
.sidebar-left [anim="ripple"]:before {
    background: var(--ripple-background, #0F102A);
}

/* Square button in table */
.tbr_btn--column {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

.tbr_btn.tbr_btn--table-square {
    width: 42px;
    height: 42px;
    min-height: unset;
    padding: 0;
    margin-top: -6px;
    margin-bottom: -6px;
}

/* Avatar */
.tbr_table--person {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.tbr_table--avatar {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    border-radius: 50%;
    margin-top: -6px;
    margin-right: 20px;
    margin-bottom: -6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F4C408;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tbr_avatar {
    overflow: hidden;
}

.tbr_avatar span {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Cover */
.tbr_table--cover {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    border-radius: 10px;
    margin-top: -6px;
    margin-right: 20px;
    margin-bottom: -6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F4C408;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tbr_member--photo {
    background-color: var(--primary);
    width: 8rem;
    min-width: 8rem;
    max-width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tbr_input_photo {
    background-color: var(--primary);
    width: 8rem;
    min-width: 8rem;
    max-width: 8rem;
    height: 8rem;
    min-height: 8rem;
    max-height: 8rem;
    border-radius: 50%;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 8px 24px 0px rgba(244,196,8,0.2);
    -webkit-box-shadow: 0px 8px 24px 0px rgba(244,196,8,0.2);
    -moz-box-shadow: 0px 8px 24px 0px rgba(244,196,8,0.2);
}

.tbr_input_photo.subtitle_photo {
    width: 218px;
    min-width: 218px;
    max-width: 218px;
    height: 164px;
    min-height: 164px;
    max-height: 164px;
    border-radius: 10px;
}

.tbr_input_photo.banner_photo {
    width: 485px;
    min-width: 485px;
    max-width: 485px;
    height: 135px;
    min-height: 135px;
    max-height: 135px;
    border-radius: 10px;
}

.tbr_input_photo.tbr_rectangle.event {
    aspect-ratio: 4 / 3;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    border-radius: 10px;
    background-position: center;
}

.tbr_input_photo.tbr_rectangle {
    aspect-ratio: 4 / 3;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    height: 350px;
    min-height: 350px;
    max-height: 350px;
    border-radius: 10px;
    background-position: center;
}

.tbr_input_photo.tbr_icon {
    width: 4rem;
    height: 6rem;
}

.tbr_wrapper {
    position: absolute;
    top: 45px;
    left: 170px;
}

.tbr_wrapper.subtitle {
    position: static;
}

.button-upload,
.button-delete {
    cursor: pointer;
}

.tbr_checkbox--list {
    padding-left: 39px;
}

.tbr_trf--uppercase {
    text-transform: capitalize;
}

/* Cropper */
.tbr_modal--cropper .modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.tbr_modal--cropper .modal-body {
    padding: 20px;
}

.tbr_modal--cropper .cropper-container {
    border-radius: 10px;
    overflow: hidden;
}

.tbr_modal--cropper .modal-footer {
    background-color: var(--light);
    border-top: 1px solid #F0EEF2;
}

.tbr_profile_photo,
#cropper-photo {
    display: block;
    max-width: 100%;
}

/* Hidden show password for microsoft edge */
::-ms-reveal {
    display: none;
}

.tbr_form--live .input-group {
    margin-bottom: 20px;
}

@media only screen and (min-width: 992px) {
    .tbr_form--live .input-group {
        max-width: 50%;
        margin-right: 30px;
        margin-bottom: 0;
    }
}

.tbr_modal--confirm .form-group {
    border-top: none;
    padding-top: 0;
}

.tbr_break--word {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbr_list--checkbox .custom-checkbox  .custom-control-input {
    width: 100%;
    height: 22px;
    margin-top: 1px;
}

.tbr_epaper_filter {
    position: absolute;
    width: 300px;
    z-index: 99;
    margin-top: 60px;
    right: 15px;
}

/* Preview Epaper */
.card-preview {
    padding: 0 180px 0 180px
}
.card-body-preview {
    padding: 40px; 
    background-color: #FFFFFF; 
    box-shadow: 0px 3px 24px 0px rgba(102,50,89,0.08);
    -webkit-box-shadow: 0px 3px 24px 0px rgba(102,50,89,0.08);
    -moz-box-shadow: 0px 3px 24px 0px rgba(102,50,89,0.08);
}
.title-preview {
    color: var(--primary); 
    margin-bottom: 20px;
}
.sub-title-preview {
    font-size: 38px; 
    color: #000000;
}
.thumbnail-preview {
    margin-top: 30px; 
    margin-bottom: 30px; 
    width: 100%
}
.tag-item {
    background-color: #EEEEFF; 
    padding: 3px 10px; 
    color: #626270; 
    border-radius: 4px;
}
.reporter-info {
    background-color: #FCFCFC; 
    padding: 20px; 
    width: 100%; 
    border-radius: 5px
}

/* Create Edit Subtitle */
.tag-selected {
    background-color: #FAF9FB;
    width: fit-content;
    border-radius: 4px;
    padding: 4px 6px;
    margin-right: 10px;
    margin-top: 5px;
}
.tag-selected span, .reporter-item span.close-span {
    cursor: pointer;
}
.tag-selected:hover {
    background-color: #F1416C;
    color: #FFFFFF;
}
.reporter-item:hover span.close-span {
    color: #F1416C;
}  
.categories-selected {
    max-height: 150px;
    height: fit-content;
    overflow-y: auto;
}
.categories-selected::-webkit-scrollbar {
    width: 8px;
    border: 2px solid transparent;
}

.categories-selected::-webkit-scrollbar-track {
    border-radius: 10px;
    background: var(--light);
}

.categories-selected::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--primary);
}

.categories-selected::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    border: 2px solid var(--primary);
}
