/* TMP to adjust when LIVE */
.xbtn:hover {
   text-decoration: underline !important;
}

:root {
    --proceze-blue: #149cf2;
    --proceze-white: #ffffff;
    --proceze-border-radius: 8px;
    --proceze-label-blue: #333438;
    --proceze-submit-green: #2ED47A;
    --proceze-black: #192A3E;
    --proceze-grey: #707684;
}

.table>:not(caption)>*>* {
    padding: .5rem 1rem;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f6f8;
}

.btn-secondary-inverse {
    border: 1px solid #707684 !important;
    color: #707684 !important;
}

.btn-secondary-inverse:hover {
    border: 1px solid #707684 !important;
    background: #707684 !important;
    color: #FFFFFF !important;
}

h1 {
    color: var(--proceze-blue);
    font-size: 14pt;
    font-family: Barlow, sans-serif;
}

input[type="submit"], .btn-success {
    background: var(--proceze-submit-green) !important;
    border: 0px !important
}

hr {
    border: none;
    height: 3px !important;
    background-color: var(--proceze-blue);
    opacity: 1.0 !important;
    margin-top: 0;
    padding-top: 0;
}

input[type="search"] {
    width: 100%;
    height: 70px;
    line-height: 70px;
    padding: 8px;
    border: 0px solid #f1f1f1;
    border-radius: 0px;
    text-indent: 21px;
}

.proceze-card {
    padding-top: 0px !important;
}

.proceze-card h1 {
    padding-top: 10px;
    line-height: 40px !important;
}

.proceze-card h2 {
    line-height: 30px !important;
    color: var(--proceze-blue);
    font-size: 14pt;
    font-family: Barlow, sans-serif;
    margin: 0;
    padding: 0;
}

.proceze-card  label { /* was .proceze-card form  label */
    color: var(--proceze-black);
    font-size: 14px;
    font-weight: bold;
    padding: 5px 5px;
    display: block;
    font-family: Barlow, sans-serif;

}

#procedure_departments, #procedure_roles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    column-gap: 10px;
    row-gap: 0px;
}

#procedure_departments input[type="checkbox"], #procedure_roles input[type="checkbox"] {
    display: none; /* Hide the checkbox itself */
}

#procedure_departments input[type="checkbox"] + label::before, #procedure_roles input[type="checkbox"] + label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
    vertical-align: middle;
    font-weight: normal;
}

#procedure_departments input[type="checkbox"]:checked + label::before, #procedure_roles input[type="checkbox"]:checked + label::before {
    background-color: var(--proceze-blue);
    border: 2px solid var(--proceze-blue);
}

#procedure_departments label, #procedure_roles label{
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-transform: capitalize;
    color: var(--proceze-black);
    font-weight: normal;
}

#procedure_departments input[type="checkbox"] + label, #procedure_roles input[type="checkbox"] + label {
    grid-column: span 1;
}

.proceze-card {
    padding: 5px 8px;
}

.proceze-card form input, .proceze-card form textarea{
    width: 100%;
    padding: 8px;
    border: 1px solid #f1f1f1;
    border-radius: var(--proceze-border-radius);
}

.proceze-card form textarea {
    border: 1px solid #f1f1f1;
}

.proceze-border-radius {
    border-radius: 8px;
}
.proceze-bg-blue {
    background-color: var(--proceze-blue);
}

.proceze-bg-white {
    background-color: var(--proceze-white);
}

.proceze-shadow {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.proceze-card {
    background-color: var(--proceze-white);
    border-radius: 8px;
    margin: 0 15px !important;
}

.proceze-card-left {
    margin: 0 15px 0 0 !important;
    float: left;
}

.proceze-card-right {
    margin: 0 0 0 15px !important;
    float: right;
}




.proceze-card small {
    color: var(--proceze-grey);
}

.proceze-tabs {
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

    .proceze-tabs li {
        list-style-type: none;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 0px;
    }

        .proceze-tabs li a {
            font-family: Barlow, sans-serif;
            color: var(--proceze-black);
            text-decoration: none;
            text-transform: capitalize;
            color: var(--proceze-grey);
            font-weight: bold;
        }

        .proceze-tabs li a:hover {
            border-bottom: 3px solid var(--proceze-blue);
            color: var(--proceze-blue);
        }



.sidebar {
    width: 75px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.content {
    margin-left: 0px;
}

.proceze-brand {
    padding: 0 10px;
    margin-top: 28px;
}

.preview {
    padding-left: 5px;
}

.dd-empty {
    display: none !important;
}

.dd-handle {
    height: 35px !important;
    border-radius: 8px  !important;;
    padding-left: 15px  !important;;
}

.dd-handle a {
    color: var(--proceze-grey) !important;
    text-decoration: none !important;
    line-height: 21px !important;
}

.chapter  {
    background-color: var(--proceze-grey) !important;
    border: 1px solid var(--proceze-grey) !important;
    margin-bottom: 5px !important;
}

.chapter  a {
    color: var(--proceze-white) !important;
}

.flex-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure the parent div has a defined height */
}