/*
Theme Name: Hubsystem
Theme URI: https://hubsystem.io
Author: Basework Studio
Author URI: https://basework.studio
Version: 1.0
Text Domain: base
*/

#field_1_3,
#field_1_5,
#field_1_6 {
    display: none;
}

.ctext-wrap-content img {
    max-width: 100%;
    max-height: 300px;
}

.ctext-wrap-content h3 {
    color: #fff;
}

.authentication-bg {
    background-image: url("dist/images/app-basework-bg.jpg") !important;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap");

html,
body {
    font-family: "Montserrat", sans-serif !important;
}

.card-body h1,
.card-body h2,
.card-body h3,
.card-body h4,
.card-body h5,
.card-body h6,
.card-body p,
.card-body ul,
.card-body ol,
.card-body li {
    margin: 0;
}

.topnav {
    margin-top: 0 !important;
}

.email-leftbar.card {
    position: sticky;
    top: 135px;
    overflow-y: auto;
    z-index: 1;
    overscroll-behavior: contain;
}

.email-leftbar.card a span {
    margin-left: 8px;
    display: inline-flex;
    margin-left: auto;
}

.email-leftbar.card a span::before {
    display: none;
}

.email-leftbar.card a span::after {
    content: "";
    display: inline-flex;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #1cbb8c;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.email-leftbar.card a {
    transition: color 0.3s ease, font-weight 0.1s ease;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.email-leftbar.card a.current {
    color: #1cbb8c;
    font-weight: 700;
}

.email-leftbar.card a.current span::after {
    background-color: #1cbb8c;
}

.card-body p {
    margin-top: 16px;
    font-size: 16px;
}

.card-body h2,
.card-body h3,
.card-body h4,
.card-body h5,
.card-body h6 {
    margin-top: 40px;
    position: relative;
}

.card-body hr {
    width: 100%;
    height: 1px;
    background-color: #000;
}

.card-body h3::before {
}

.card-body h4::before {
}

.card-body h5::before {
}

.card-body h6::before {
}

.card-body figure {
    margin-top: 24px;
}

.card-body figure img {
    max-width: 70%;
}

#result {
    overflow: visible;
}

/* nav scrollbar */

.email-leftbar.card::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.email-leftbar.card::-webkit-scrollbar {
    width: 6px;
    background-color: #505d69;
}

.email-leftbar.card::-webkit-scrollbar-thumb {
    background-color: #505d69;
}

/* create task page */

.page-template-create-task .card-title {
    font-size: 28px;
}

.page-template-create-task form .gform_button_select_files,
.page-template-create-task form .gform_button {
    display: inline-flex;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    padding: 10px 24px;
    outline: none;
    border: none;
}

/* responsive */

@media (max-width: 992px) {
    .email-leftbar.card {
        top: 80px;
    }
}

@media (max-width: 767px) {
    .email-leftbar.card {
        padding-top: 0;
        top: 70px;
        max-height: 46px;
        overflow-y: hidden;
        transition: max-height 0.3s ease;
        position: fixed;
        left: 0;
    }

    .email-leftbar.card h6 {
        padding-top: 16px;
        padding-bottom: 16px;
        position: sticky;
        top: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
        background-color: #fff;
    }

    .email-leftbar.card h6::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #000;
    }

    .email-leftbar.card h6::after {
        content: "\276F";
        font-size: 28px;
        position: absolute;
        right: 0;
        transition: transform 0.3s ease;
        transform: rotate(90deg);
    }

    .email-leftbar.card.opened h6::after {
        transform: rotate(270deg);
    }

    .email-leftbar.card.opened {
        max-height: var(--mobile-nav-height);
        overflow-y: auto;
        transition: max-height 0.3s ease;
    }

    .overflow-h-m {
        overflow: hidden;
    }
}

a.level-h3 {
    margin-left: 15px;
}

.task-detail-head .task-detail-head-title {
    text-transform: none;
}

.task-detail-comment .task-detail-comment-writing {
    padding-left: 0;
}

.ck.ck-label.ck-voice-label {
    display: none !important;
}

.tasks-body table thead tr th {
    cursor: pointer;
}

.task-head-content {
    margin-top: 16px;
}

.task-detail-notes {
    margin-top: 32px;
}

.task-head-content p, .task-detail-notes p, .task-head-content ul li, .task-detail-notes ul li {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.task-head-content ul {
    margin-left: 20px !important;
    margin-top: 16px !important;
}

body.body-hub .btn-md:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.body-hub .alert {
    margin-bottom: 1.5rem !important;
}

.create-task-body .form-group {
    margin-bottom: 1rem;
}


.badge.badge-primary {
    background-color: #3f51b5;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

table .actions a:not(:last-child){
    margin-bottom: 10px;
}

.page-template-users  .dataTables_filter{
    display: none;
}

.button.button-group {
    background: transparent !important;
    box-shadow: none !important;
}