:root {
    --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --alset-font: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
    font-family: var(--alset-font);
    height: 100%;
    margin: 0;
}

.main {
    height: 100%;
}

h1 {
    font-size: 30px;
    font-weight: 300;
    /*text-align: center;*/
}


table tbody tr:hover {
    background-color: #f5f5f5;
    cursor: default;
}


.parent-row {
    cursor: pointer;
}

.subrow {
    background-color: #f2f2f2;
    display: none;
    min-height: 0;
}

.subrow div {
    background-color: #f2f2f2;
    max-height: 0;
    max-width: 640px;
}

.subrow.show {
    display: table-row;
}

.subrow.show div {
    max-height: 100vh;
}

.padded {
    padding-right: 0.5em;
}

.column-title {
    text-transform: uppercase;
}

.td-detail-value {
    cursor: text;
}

.draggable {
    width: fit-content;
    cursor: Grab;

}

.draggable.mouse-down {
    cursor: grabbing;
}

section.draggable {
    border: 1px solid #d3d3d3;
    text-align: center;
    background-color: #f1f1f1;
}

.wrapper {
    padding: 3px;
}

.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #000000 transparent transparent transparent;
    margin-left: 5px;
    vertical-align: middle;
}

.arrow.up {
    border-width: 0 4px 4px 4px;
    border-color: transparent transparent #000000 transparent;
}

.section-django {
    padding-left: 1.5rem;
    color: white;
}

a.section-django:link, a.section:visited {
    color: var(--header-link-color);
    text-decoration: none;
}

a.section-django:focus, a.section:hover {
    text-decoration: underline;
}

.control-centered {
    position: relative;
    top: 25%
}
.scrollable-container  {
    overflow-x: auto;
}
.scrollable-container td {
    overflow-x: auto;
    white-space: nowrap;
}


.scrollable-container thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: var(--light-grey-1);
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.prospect-container {
    overflow-x: auto;
    white-space: nowrap;

}

.clip-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    max-width: 100px;
}

.clip-text:hover {
    text-decoration: underline;
}

.expanded-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}


.kanban-board {
    background-color: #cfdcec;
    box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.2)
}

.kanban-item {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out;
    cursor: grab;
}

.kanban-item:hover {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

#Sidebar {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    overflow: auto;
    background-color: white;
    width: 90%;
    max-width: 33em;
    transition: right 0.3s ease-out;
    z-index: 30;
    border: 1px solid #b0b0b0;
}

#sidebarToggle {
    position: fixed;
    right: 0;
}


.item_title {
    font-weight: bold;
    font-size: 10pt;
}

.item_subtitle {
    font-size: 10pt;
}

.item_status {
    font-size: 10pt;
}

.width-100 {
    width: 100%;
}

.add-comment-textarea {
    width: 100%;
    height: 10em;
    resize: none;
}

.textarea-container {
    position: relative;
}

.checklist-title {
    font-weight: bold;
}

.checklist-question {
    font-weight: lighter;
}

.add-checklist-templates {
    display: Flex;
    flex-wrap: wrap;
    justify-content: start;
}

.add-checklist-name-template {
    padding: 10px;
    margin: 5px;
    border: 2px dashed #000;
    flex-grow: 1;
    text-align: center;
    box-sizing: border-box;
}

.info-block {
    flex-direction: column;
    align-items: start;
}

.checklist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5em;
    padding-right: 1em;
}

.bullet-and-link {
    display: flex;
    align-items: center;
}

.bullet-and-link li {
    list-style-type: disc;
    margin-left: 1em;
    font-size: 1em;
}

.bullet-and-link a {
    margin-left: 0.5em;
}

.details-field {
    display: flex;
    align-items: center;
    position: relative;
    line-height: 1.61em;
}

.details-subheading {
    font-weight: bolder;
    font-size: 1.2em;
    width: 100%;
}

.details-label {
    font-weight: bold;
    width: 30%;
}

.details-content {
    width: 52%;
}

.details-date {
    width: 50%
}

.details-date-state {
    width: 20%;
}

.details-name {
    width: 20%;
}

.details-phone {
    width: 25%;
}

.details-message {
    width: 20%;
}

.component-label {
    width: 22%;
}

.component-inventory {
    width: 10%;
}

.component-amount {
    width: 10%;
}

.component-state {
    width: 10%;
}

.component-link {
    width: 10%;
}

.no-icon {
    padding-left: 24px;

}

.details-content-not-editable {
    padding-left: 24px;
    pointer-events: none;
    cursor: not-allowed;
}

.details-content-editable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    min-width: 222px;
    transition: background-color 0.3s;
}

.details-content-editable i.fas {
    width: 24px;
    opacity: 0.6;
    font-size: 12px;
}

.details-content-editable:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


.details-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-top: 7px;
    z-index: 1;
}

.details-dropdown-content {
    padding: 5px;
}

.details-dropdown-item {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: #000;
}

.details-dropdown-item:hover {
    background-color: #f0f0f0;
}

.parts-label {
    font-weight: bold;
    width: 75%;
}

.parts-content {
    width: 50%;
}

.ticket-name {
    width: 33%;
}

.ticket-assignees {
    width: 33%;
}

.ticket-name, .ticket-assignees, .ticket-done {
    padding: 8px;
}


.action-list-head {
    margin-top: 0.5em;
    background-color: #f5f5f5;
    font-weight: bold;
    border-radius: 3px;
}

.selector-area {
    display: flex;
    justify-content: left;
    margin-bottom: 1em;
}


.container-buttons {
    max-width: 550px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.5em;
}

.container-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 600px) {
    .container-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px var(--revi-green);
    }
    50% {
        box-shadow: 0 0 20px var(--revi-green);
    }
    100% {
        box-shadow: 0 0 10px var(--revi-green);
    }
}

.unread-count {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    background-color: var(--revi-red);
    color: #fff;
    border-radius: 50%;
    min-width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 20;
    box-shadow: 0 0 10px var(--revi-green);
    animation: pulse 2s infinite;
}


.highlight {
    background-color: #f5f5f5;
    border-left: 5px solid #f6d986;
    padding: 10px;
    margin-bottom: 5px;
}

.highlight:hover {
    background-color: #ddd;
}

.tab-inactive {
    background-color: #7a7a7a61;
}

.component-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.component-price .price-label {
    flex-grow: 1;
    text-align: left;
}

.component-price .sign {
    width: 20px; /
    text-align: center;
}

.component-price .value {
    width: 100px; /
    text-align: right;
}

.price-border-top {
    border-top: 2px solid black;
}


.kanban-container {
    min-width: 1270px;
}

.notification {
    color: #0a0a0a;
    margin-top: 1em;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes glowEffect {
    0% {
        text-shadow: 0 0 8px #00f6ff;
    }
    50% {
        text-shadow: 0 0 15px #00f6ff, 0 0 20px #00f6ff, 0 0 25px #00f6ff;
    }
    100% {
        text-shadow: 0 0 8px #00f6ff;
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(0, 42, 63, 0.7), rgba(10, 76, 110, 0.7), rgba(0, 112, 161, 0.7));
    z-index: 9999;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    text-align: center;
}

/* Loader styling */
.overlay-content .loader {
    border: 8px solid rgba(0, 51, 78, 0.7);
    border-top: 8px solid #00f6ff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: rotation 1s linear infinite;
    margin: 0 auto 10px auto;
}

.overlay-content p {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glowEffect 1.5s infinite alternate;
}

.control {
    border-radius: 0.3em;
}

.control input, .control select, .control textarea, .field input, .field select, .field textarea, .input {
    background-color: var(--input-background);
    border: none;
    border-radius: 0.3em;
}

label, .label {
    color: rgb(92, 94, 98)
}

.navigation-container {

}

.step-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 16px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    width: fit-content;
}

.step-links a {
    color: #333;
    margin: 4px 8px;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.step-links span {
    text-align: center;
}

.step-links a:hover {
    background-color: #f6f6f6;
}

.current {
    align-items: center;
    margin: 0 10px;
    color: #666;
}

@media only screen and (max-width: 600px) {
    .step-links {
        justify-content: space-between;
        padding: 4px 8px;
    }

    .step-links a {
        font-size: 0.8rem;
        margin: 2px 4px;
        padding: 4px 8px;
    }

    .current {
        font-size: 0.8rem;
        margin: 0 5px;
    }

    .first-btn, .last-btn {
        display: none;
    }
}

.flex-container {
    display: flex;
    align-items: center;
}

.show-columns {
    margin-right: auto;
}

@media only screen and (max-width: 600px) {
    .flex-container {
        flex-direction: column;
    }

    .show-columns {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.column-selector {
    display: none;
    max-width: 220px;
    margin-right: 1em;
    text-align: left;

}

.column-selector.open {
    max-height: 200px;
}

.search-container {
    max-width: 600px;
    width: 100%;
    margin-bottom: 0.5em;
}

.search {
    width: 100%;
}

.table {
    width: 100%;
    border: inherit;

}

.table td {
    vertical-align: middle;
}

.table-header-row {
    white-space: nowrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
    max-width: 90vw;
}

.flex-row {
    display: flex;
    justify-content: left;
}

.margin-left-1em {
    margin-left: 1em;
}

.margin-left-2em {
    margin-left: 2em;
}

.margin-vertical-1em {
    margin-top: 1em;
    margin-bottom: 0;
}

.line-height-1 {
    line-height: 1;
}

.link-inactive {
    text-decoration: none;
    color: inherit;
    cursor: default;
}

.link-inactive:hover,
.link-inactive:focus {
    text-decoration: none;
    color: inherit;
}

li:not(.is-active) > a.link-inactive:hover {
    background-color: inherit;
    border-color: #dbdbdb;
}

.margin-right-text {
    margin-right: 0.5em;
}

.slider-flex-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-flex-container input[type="range"] {
    flex-grow: 1;
    margin-right: 10px;
}

.slider-label {
    width: 3em;
    text-align: right;
    white-space: nowrap;
    border: black;
}

.slider-unit {
    font-size: x-small;
    font-weight: normal;
    padding-left: 0.5em;
    width: 7em;
    text-align: left;
    white-space: normal;
}

#forgot-password {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 2px 0;
    border-bottom: 2px solid transparent;
}

#forgot-password:hover, #forgot-password:focus {
    color: #444;
    border-bottom-color: #666;
}

.video-background {
    position: absolute;
    top: 3em;
    left: 0;
    width: 100%;
    height: calc(100vh - 3em);
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 3em;
    left: 0;
    width: 100%;
    height: calc(100vh - 3em);
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.styled-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    z-index: 2;
}

.aligned-left {
    text-align: left;
}

.footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.footer a {
    color: #333;
    margin: 0 0.5rem;
}

.footer a:hover {
    text-decoration: underline;
}

.dashboard-box {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-grey-2);
    background-color: var(--light-grey-1);
    overflow-x: scroll;
}

.highlighted-kanban-item {
    background-color: var(--yellow);
}

.checklist .checklist-input {
    min-width: 100px;
    margin-right: 3em;
    padding-right: 3em;
    background-color: var(--light-grey-1);
    border-color: white;
    text-align: right;
}


/*a:hover {*/
/*    color: var(--link-hover);*/
/*}*/


.button {
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/*.is-square {*/
/*    padding: 0;*/
/*    width: 3em;*/
/*    height: 3em;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/
/*.is-square .icon{*/
/*    font-size: 1.3em;*/
/*}*/

.button:hover {
    background-color: #b5b5b5;
    border-color: #b5b5b5;
    color: #363636;
    transform: scale(0.98);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}


.button:active {
    transform: scale(0.96);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);

}

.button.is-success {
    background-color: var(--green-dark);
    color: #FFFFFF;
}

.button.is-primary {
    background-color: var(--green-dark);

}

.button.is-primary:hover {
    background-color: var(--green-light);

}

.button.is-success:hover {
    background-color: var(--green-light);
}

.button.is-warning {
    background-color: var(--yellow);
}

.django-ckeditor-widget {
    width: 100%;
    max-width: 1024px;
}

.add-button, .remove-button {
    background-color: var(--light-grey-1);
    border: none;
}


.tabs-content-wr {
    max-width: 1500px;
    margin: auto;
    border-color: var(--light-grey-1);
}

.modal-card {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow-y: auto;
}

.shifted-items {
    list-style-type: none;
    padding: 0;
}

.shifted-items li {
    margin-bottom: 10px;
}

.shifted-items li strong {
    color: #333;
}

.shifted-items li .status {
    background-color: #f5f5f5;
    border-radius: 15px;
    padding: 5px 10px;
    margin-left: 10px;
    font-weight: bold;
}

.shifted-items li .yes {
    color: green;
}

.shifted-items li .no {
    color: red;
}


.resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    cursor: col-resize;
    user-select: none;
}

.resizer:hover,
.resizing {
    border-right: 2px solid blue;
}

.resizable {
    border: 1px solid gray;
    height: 100px;
    width: 100px;
    position: relative;
}

.inline-group .tabular td.original p {
    height: auto;
}

.overdue {
    background-color: #ffdddd;
    border-left: 4px solid #ff0000;
    padding: 5px;
    margin-bottom: 5px;
}

.file-row-hover:hover {
    background-color: var(--light-grey-3);
}

.file-item {
    list-style: none;
}

.drag-drop {
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.drag-drop:hover {
    background-color: #f8f8f8;
}

.drag-over {
    border-color: #000;
    background-color: #eee;
}

.notification.is-success {
    background-color: var(--green-dark);
}

.nice-border {
    border: 1px solid #CCCCCC;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
    overflow: hidden;
}

.nice-border th,
.nice-border td {
    padding: 8px;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
    word-wrap: break-word;
}


a.button {
    padding: 10px 15px;
}


.table thead th {
    text-transform: uppercase;
}

.navbar-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.message-container {
    position: relative;
}

.check-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.dropdown-menu {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-menu-tags {
    position: absolute;
    left: 88%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-item {
    display: block;
    margin: 5px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f2f2f2;
}


.section {
    padding: 3rem 0.5rem;
}

.aside-collapsed {
    width: 100%;
}

.aside-content-collapsed {
    display: none;
}

.column1-collapsed {
    flex: none;
    overflow: hidden;
}

#column-1 {
    position: relative;
    min-width: 40px;
    max-width: 377px;
    border-right: 5px solid var(--light-grey-1);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom-right-radius: 1em;
}

#toggleAsideBtn {
    position: absolute;
    right: 1em;
    top: 0.25em;
}

.menu-label {
    font-size: 12pt;
}

.menu-label:not(:last-child) {
    margin-bottom: 0em;
}

.menu-list a {
    border-radius: 4px;
    color: var(--menu-list-font);
    background-color: var(--light-grey-1);
}

.menu-list a:hover {
    background-color: var(--menu-list-hover-background);
    color: var(--menu-list-hover-font);
}

.menu-list a.is-active {
    background-color: var(--menu-list-active-background);
    color: var(--menu-list-active-font);
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-icon {
    flex-shrink: 0;
    margin-right: 10px;
    font-size: 1.5em;
}

.file-info {
    flex-grow: 1;
    margin-right: 10px;
}

.file-details {
    font-size: 0.8em;
    color: #666;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.btns-wr {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.add-img, .add-map {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.file-input-field {
    display: none;
}

.deletelink {
    box-sizing: content-box;
}

.knob-container {
    text-align: center;
}

.knob-label-top {
    margin-bottom: 5px;
}

.knob-label {
    margin-top: 5px;
}

.button-left {
    /*max-width: 20%;*/
    position: absolute;
    left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.button-right {
    max-width: 20%;
    position: absolute;
    right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.legend-item {
    margin-bottom: 0.5em;
}

.legend-color {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    border-radius: 3px;
    vertical-align: middle;
}

.title-auto-crop {
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ck-editor__editable_inline {
    min-height: 137px;
}

.width-20{
    width: 20%;
}