:root {
    --main-color: #0bb7ff;
}

body, html {
    width: 100%;
    height: 100%;
    accent-color: var(--main-color);
}

.page-header {
    background: var(--main-color);
    color: white;
    padding: 40px 0;
}

.content {
    padding: 40px 0 5px;
}

.version {
    border-top: 1px solid #d6d6d6;
    padding: 10px;
    text-align: center;
    color: gray;
    font-size: 10px;
    margin: 20px 0;
}

a, .btn-link {
    color: var(--main-color);
    cursor: pointer;
}

a:hover, .btn-link:hover {
    color: #0b90cd;
}

/** Bootstrap Overrides **/
.table th {
    border-top: none;
}

.modal-md {
    max-width: 600px;
}

.modal-header {
    background: var(--main-color);
    color: white;
    padding: 0.7rem 1rem;
}

.badge-md {
    font-size: 14px;
}

.badge-lg, .text-md {
    font-size: 16px;
}

.text-lg {
    font-size: 18px;
}

.text-main {
    color: var(--main-color);
}

.active .text-main {
    color: white;
}

.text-purple {
    color: purple;
}

.text-steelblue {
    color: steelblue;
}

.container {
    max-width: 1440px;
}

.control-label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    color: #4b656f;
}

.dropdown-item.active, .dropdown-item:active, .page-item.active .page-link {
    background-color: var(--main-color);
}

.page-item.active .page-link {
    border: 1px solid var(--main-color);
}

.list-group-item.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.table .progress {
    margin-top: 5px;
}

.bg-warning {
    background-color: rgb(255, 165, 0) !important;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb .breadcrumb-item {
    display: block;
}

.note-editor .btn, .note-editor .btn:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: transparent !important;
}

.form-control:-moz-focusring, .custom-select:-moz-focusring {
    text-shadow: none;
}

.bootstrap-select .check-mark {
    margin-top: 5px;
}

select.d-none-select {
    display: none;
}

@media screen and (max-width: 650px) {
    .navbar-brand img {
        height: 45px;
    }

    .navbar-brand {
        margin-right: 5px;
    }
}

@media screen and (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        box-shadow: none;
        border: none;
    }
}

::-moz-placeholder {
    color: #cfcbcb !important;
    opacity: 1;
}

::-webkit-input-placeholder {
    color: #cfcbcb !important;
    opacity: 1;
}

.progress-small {
    height: 0.5rem;
}

.os-icon {
    font-size: 20px;
}

.os-ubuntu {
    color: orangered;
}

.os-windows {
    color: deepskyblue;
}

/** Submenu **/
.page-submenu {
    margin-bottom: -40px;
    margin-top: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    border-bottom: none;
}

.page-submenu a.nav-link {
    color: white
}

.page-submenu .nav-item {
    white-space: nowrap;
}

.page-submenu.nav-link:focus:not(.active), .page-submenu .nav-link:hover:not(.active) {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.2);
}

.status_filter {
    position: relative;
    margin-top: 34px;
    margin-bottom: -32px;
    z-index: 999;
}

/** Login **/
.login-logo-wrapper {
    text-align: center;
}

.login-logo {
    display: inline-block;
}

.login-logo img {
    max-height: 80px;
    width: auto;
}

.login-wrapper {
    position: relative;
    background: radial-gradient(rgba(0, 0, 0, 0.1) 15%, transparent 16%) 0 0,
    radial-gradient(rgba(0, 0, 0, 0.1) 15%, transparent 16%) 8px 8px,
    radial-gradient(rgba(255, 255, 255, 0.05) 15%, transparent 20%) 0 1px,
    radial-gradient(rgba(255, 255, 255, 0.05) 15%, transparent 20%) 8px 9px;
    background-color: var(--main-color);
    background-size: 16px 16px;
    height: 100%;
    padding: 200px 0;
}

.login-box {
    position: relative;
    background: rgb(255, 255, 255);
    margin: 0 auto;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 2px 10px -2px black;
}

.login-box-content {
    padding: 15px;
}

/** Message Boxes **/
#alerts .alert {
    position: fixed;
    width: calc(100% - 20px);
    max-width: 400px;
    right: 10px;
    bottom: 10px;
    z-index: 99999;
}

/** Modal Load Overlay **/
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.overlay i {
    color: #FFF;
    font-size: 68px;
    text-align: center;
    margin-top: -34px;
    top: 50%;
    position: absolute;
    left: 50%;
    margin-left: -34px;
}

/** Forms **/
textarea.form-control {
    min-height: 100px;
}

.has-feedback .form-control-feedback {
    top: 60%;
    font-size: 18px;
    position: absolute;
    right: 25px;
}

.has-success .checkbox, .has-success .checkbox-inline, .has-success .control-label, .has-success .form-control-feedback,
.has-success .help-block, .has-success .radio, .has-success .radio-inline, .has-success.checkbox label, .has-success.checkbox-inline label,
.has-success.radio label, .has-success.radio-inline label {
    color: #2ab27b;
}

.has-success .form-control:focus, .has-success .btn:focus {
    border-color: #118061;
    box-shadow: inset 0 0 0 .071em #118061 !important;
}

.has-success .form-control, .has-success .bootstrap-select .btn {
    border-color: #118061;
    box-shadow: none;
}

.has-error .form-control, .has-error .bootstrap-select .btn {
    box-shadow: none;
}

.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .form-control-feedback,
.has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label,
.has-error.radio label, .has-error.radio-inline label {
    color: #d6282c;
}

.has-error .form-control:focus, .has-error .btn:focus {
    border-color: #a94442;
    box-shadow: inset 0 0 0 .071em #a94442 !important;
}

.has-error .form-control, .has-error .btn {
    border-color: #a94442;
    box-shadow: none;
}

.error-message {
    font-size: 12px;
}

/** Bootstrap Select **/
.bootstrap-select .btn {
    background: white;
    border: 1px solid #ced4da;
}

.bootstrap-select .btn .filter-option {
    margin-bottom: -3px;
}

/** Ticket Status Labels **/
.badge-ticket {
    display: inline-block;
    width: 110px;
    text-transform: uppercase;
    text-align: center;
    padding: 4px;
    font-weight: bold;
    font-size: 11px;
}

.badge-ticket-open {
    border: 2px solid rgb(0, 176, 240);
    color: rgb(0, 176, 240);
}

.text-open {
    color: rgb(0, 176, 240);
}

.bg-open {
    background: rgb(0, 176, 240);
}

.badge-ticket-in-progress {
    color: white;
    border: 2px solid rgb(255, 165, 0);
    background: rgb(255, 165, 0);
}

.text-in-progress {
    color: rgb(255, 165, 0);
}

.bg-in-progress {
    background: rgb(255, 165, 0);
}

.badge-ticket-finished {
    color: white;
    border: 2px solid rgb(0, 176, 80);
    background: rgb(0, 176, 80);
}

.text-finished {
    color: rgb(0, 176, 80);
}

.bg-finished {
    background: rgb(0, 176, 80);
}

/** Ticket Details **/
.ticket-details h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

/** Project Details **/
.project-task-filter {
    margin: -20px 200px -39px;
}

.project-task-filter .btn:not(:disabled):not(.disabled).active, .project-task-filter .btn:not(:disabled):not(.disabled) {
    background: white;
    border: none;
    color: black;
    box-shadow: none;
}

.project-task-create-hint {
    background: #f5f5f5;
    font-size: 20px;
    text-align: center;
    padding: 40px;
}

.project-task-count-component {
    margin: 8px 0;
    text-align: center;
}

.project-task-count-col {
    padding: 0;
}

.project-task-count {
    display: block;
    font-size: 42px;
    font-weight: bold;
    padding: 0 3px;
}

.project-task-label {
    display: block;
    font-size: 16px;
    letter-spacing: -1px;
}

/* Table Style 2 (Vertical) */
.table-style-2 {
    width: 100%;
}

.table-style-2 td, .table-style-2 th {
    padding: 5px 5px 5px 0;
    text-align: left;
}

.table-style-2 th {
    color: #7d7d7d;
    font-size: 12px;
    font-weight: bold;
}

/** Alerts **/
.alert {
    padding: 15px;
    border: none;
    border-radius: 0;
}

.alert-info {
    background-color: #8eb4cb;
    color: white;
}

.alert-warning {
    background-color: #cbb956;
    color: white;
}

.alert-success {
    background-color: #2ab27b;
    color: white;
}

.alert-danger {
    background-color: #bf5329;
    color: white;
}

/** Comments **/
.comment .comment-content b, .comment .comment-content strong {
    font-weight: 600;
}

/** Unordered Lists **/
.list {
    list-style-type: '»';
    padding-left: 10px;

}

.list li {
    padding-left: 10px;
}

/** Dashboard **/
.dashboard-lists table th, .dashboard-lists .table td {
    padding: 7px 10px;
}

.dashboard-lists .listview .listview-table td {
    height: auto;
}

/** Activities **/
.activities {

}

.activity-date {
    border-bottom: 1px solid #d0d0d0;
    text-transform: uppercase;
    font-weight: bold;
    padding: 3px;
    margin-bottom: 10px;
}

.activity-item {
    position: relative;
    margin: 10px 0;
}

.activity-user {
    font-weight: 600;
}

.activity-user-image {
    display: inline-block;
    width: 40px;
    vertical-align: top;
    padding: 5px;
}

.activity-main {
    display: inline-block;
    width: calc(100% - 45px);
    vertical-align: top;
}

.activity-header {
    padding: 4px 0;
}

.activity-footer {
    padding: 4px 0;
    font-size: 12px;
    color: gray;
}

.activity-footer .fas {
    margin-right: 5px;
}

/** Comment Activity **/
.activity-type-comment .activity-content {
    padding: 6px 10px;
    background: #e0f6ff;
    font-size: 14px;
}

.activity-type-comment .activity-content p:last-of-type {
    padding: 0;
    margin: 0;
}

/** Create Activities **/
.activity-type-create .activity-content .fas {
    font-size: 28px;
    padding: 12px 0;
}

.activity-type-create .activity-number {
    font-size: 14px;
    color: #aaaaaa;
    margin-left: 10px;
}

.activity-type-create .activity-name {
    font-size: 24px;
    font-weight: lighter;
    margin-top: -5px;
    margin-left: 10px;
}

/** Custom Activities **/
.activity-key {
    font-size: 14px;
    color: #aaaaaa;
    margin: 4px 0;
}

/** Widgets **/
.widget {
    border-top: 5px solid var(--main-color) !important;
}

/** Projects Widget **/
.projects-widget .project {
    position: relative;
    width: 156px;
    margin: 0 5px 8px 0;
    height: 130px;
    hyphens: auto;
    padding: 10px;
    background: darkgrey;
    float: left;
    text-decoration: none;
    overflow: hidden;
    transition: 0.5s all;
    border: 2px solid white;
}

.projects-widget .project:hover {
    transform: scale(1.2);
    transition: 0.2s all;
    border: 2px solid white;
    z-index: 9999;
}

.projects-widget .project img {
    position: absolute;
    top: 0;
    right: 0;
    background: #f3f3f3;
}

.projects-widget a.project .project-subject {
    font-size: 19px;
    color: black;
    display: inline-block;
    margin-top: 4px;
    word-break: break-word;
}

.projects-widget a.project .project-customer {
    font-size: 13px;
    color: #ffffff;
    display: block;
    width: 106px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.projects-widget a.project .project-number {
    font-size: 13px;
    color: #ffffff;
    display: block;
}


/** Project Bitbucket Commits **/
.bitbucket-module:hover .btn-link {
    display: block !important;
}

.project-commit {
    margin-top: 10px;
}

.project-commit-header {
    font-size: 14px;
}

.project-commit-body {
    margin-bottom: 3px;
}

.project-commit-footer {
    font-size: 12px;
    color: gray;
    margin-bottom: 8px;
}

/** Owncloud Files **/
.files-table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.files-table tr td:first-of-type {
    width: 30px;
    padding-right: 0;
}

.files-table .file-ext {
    font-size: 12px;
    color: gray;
}

.files-table tr td:nth-of-type(3), .files-table tr td:last-of-type {
    font-size: 14px;
    color: #4b4b4b;
}

.files-table a {
    color: black;
    display: block;
    margin: -10px;
    padding: 10px;
}

.files-table tr:hover td {
    background: #ffffce;
    border-top: 1px solid #dfde90;
    border-bottom: 1px solid #dfde90;
}

/** Email Handler Styles **/
.sub-heading {
    color: #0055b4 !important;
}

.mail-account .mail-account-name {
    color: var(--main-color);
}

.mail-account .list-group-item.active {
    color: #000;
    background-color: #fbfbfb;
    font-weight: 600;
}

/** Quill Editor Extensions **/
.plain-editor {
    min-height: 145px;
}

.ql-fullsize, .ql-icons {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    padding-top: 0 !important;
    font-size: 15px;
}

.ql-fullsize:before {
    content: "\f31d";
}

.ql-icons:before {
    content: "\f118";
    position: absolute;
}

.ql-snow .ql-icons .ql-picker-label {
    padding-left: 32px;
}

.ql-snow .ql-color .ql-picker-label {
    padding-top: 0;
}

.ql-snow .ql-icons .ql-picker-item {
    font-size: 20px;
    display: inline-block;
    padding: 5px;
}

.ql-picker-item[data-value="check-icon"]:before {
    content: "✔";
    color: rgb(0, 176, 80);
}

.ql-picker-item[data-value="tick-icon"]:before {
    content: "✖";
    color: red;
}

.ql-picker-item[data-value="edit-icon"]:before {
    content: "✎";
    color: orange;
}

.ql-picker-item[data-value="star-icon"]:before {
    content: "★";
    color: orange;
}

.ql-picker-item[data-value="warning-icon"]:before {
    content: "⚠";
    color: orange;
}

.ql-picker-item[data-value="flag-icon"]:before {
    content: "⚑";
    color: deepskyblue;
}

.ql-toolbar {
    background: whitesmoke;
}

.ql-editor-fullsize {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    bottom: 0;
    background: white;
    z-index: 99999;
}

.ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.ql-container {
    font-size: 16px;
    min-height: auto !important;
}

.ql-editor-fullsize .ql-editor, .ql-representation .ql-editor {
    max-height: none;
    min-height: auto;
}

.ql-editor {
    line-height: 1.6;
    max-height: 300px;
    min-height: 100px;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}

.ql-editor ul > li::before {
    content: '●';
}

.ql-editor li:not(.ql-direction-rtl)::before {
    margin-left: -1.7em;
    margin-right: 0.5em;
}

/** Timeline **/
.timeline > ul {
    margin-top: 20px;
    padding-left: 20px;
}

.timeline > ul > li {
    list-style-type: none;
    position: relative;
    width: 4px;
    margin: 0;
    padding-bottom: 20px;
    background: black;
}

.timeline > ul > li::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--main-color);
}

.timeline > ul > li > div {
    position: relative;
    bottom: 0;
    width: 985px;
}

@media screen and (max-width: 1440px) {
    .timeline > ul > li > div {
        width: calc(75vw - 95px);
    }
}

@media screen and (max-width: 767px) {
    .timeline > ul > li > div {
        width: calc(100vw - 95px);
    }
}

.timeline > ul > li > div h3 {
    font-size: 18px;
    font-weight: bold;
    text-transform: none;
    cursor: pointer;
}

.timeline > ul > li > div h3:hover {
    text-decoration: underline;
}

.timeline > ul > li .timeline-item-block {
    position: relative;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    padding: 15px 20px 0;
    margin-bottom: 10px;
}

.timeline > ul > li .timeline-item-block .text-block > *:first-child {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 0;
}

.timeline > ul > li .timeline-item-block .text-block > *:not(:first-child) {
    display: none;
}

.timeline > ul > li .timeline-item-header time {
    display: block;
    color: #7f7f7f;
    font-size: 14px;
    font-weight: normal;
    padding-top: 5px;
    margin-bottom: 8px;
}

.timeline > ul > li .timeline-item-block .timeline-item-block-footer {
    margin-top: 5px;
    margin-bottom: 15px;
}

.timeline > ul > li .timeline-item-block .timeline-item-block-footer > div {
    display: inline-block;
    color: gray;
    font-size: 12px;
}

.timeline > ul > li .timeline-item-block .timeline-item-block-footer > div:not(:last-of-type):after {
    content: '‧';
    margin-left: 7px;
    margin-right: 7px;
}

.timeline > ul > li > div {
    left: 35px;
}

.timeline > ul > li > div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #f8f8f8 transparent transparent;
}

/** Properties **/
.property {
    margin-bottom: 20px;
}

.property-name {
    color: #7d7d7d;
    font-size: 12px;
    font-weight: bold;
}

.property-value {
    font-size: 18px;
}

/** Fixed Width cols **/
.col-fw-60, .col-fw-100, .col-fw-160, .col-fw-180, .col-fw-200, .col-fw-300 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 100%;
}

.col-fw-60 {
    max-width: 60px;
}

.col-fw-100 {
    max-width: 100px;
}

.col-fw-160 {
    max-width: 160px;
}

.col-fw-180 {
    max-width: 180px;
}

.col-fw-200 {
    max-width: 200px;
}

.col-fw-300 {
    max-width: 300px;
}

.col-fw-360 {
    max-width: 360px;
}

.col-fw-400 {
    max-width: 400px;
}
