﻿/* Mobile */
@media only screen and (max-width: 767px) {
    [class*="mobile hidden"],
    [class*="tablet only"]:not(.mobile),
    [class*="computer only"]:not(.mobile),
    [class*="large screen only"]:not(.mobile),
    [class*="widescreen only"]:not(.mobile),
    [class*="or lower hidden"] {
        display: none !important;
    }
}

/* Tablet / iPad Portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    [class*="mobile only"]:not(.tablet),
    [class*="tablet hidden"],
    [class*="computer only"]:not(.tablet),
    [class*="large screen only"]:not(.tablet),
    [class*="widescreen only"]:not(.tablet),
    [class*="or lower hidden"]:not(.mobile) {
        display: none !important;
    }
}

/* Computer / Desktop / iPad Landscape */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    [class*="mobile only"]:not(.computer),
    [class*="tablet only"]:not(.computer),
    [class*="computer hidden"],
    [class*="large screen only"]:not(.computer),
    [class*="widescreen only"]:not(.computer),
    [class*="or lower hidden"]:not(.tablet):not(.mobile) {
        display: none !important;
    }
}

/* Large Monitor */
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
    [class*="mobile only"]:not([class*="large screen"]),
    [class*="tablet only"]:not([class*="large screen"]),
    [class*="computer only"]:not([class*="large screen"]),
    [class*="large screen hidden"],
    [class*="widescreen only"]:not([class*="large screen"]),
    [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
        display: none !important;
    }
}

/* Widescreen Monitor */
@media only screen and (min-width: 1920px) {
    [class*="mobile only"]:not([class*="widescreen"]),
    [class*="tablet only"]:not([class*="widescreen"]),
    [class*="computer only"]:not([class*="widescreen"]),
    [class*="large screen only"]:not([class*="widescreen"]),
    [class*="widescreen hidden"],
    [class*="widescreen or lower hidden"] {
        display: none !important;
    }
}

/* LAYOUT */

body {
    background-color: #DDDDDD;
}

.ui.mainlogo.center {
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

    .ui.mainlogo.center img {
        display: block;
    }

    .ui.mainlogo.center img.long {
        height: 32px;
    }

    .ui.mainlogo.center img.icon {
        height: 30px;
    }

.main.top.menu {
    background: #442679;
}

.main.menu .item .icon {
    margin: 0px !important;
}


.ui.header .icon:only-child {
    margin: -4px 8px -4px -4px;
}


.itemHidden {
    visibility:hidden;
}

.ui.white.header {
    color: #FFFFFF;
}

.secondary.inverted.top.menu {
    background: #9B7ED0 !important;
    margin-bottom: 1em;
}

    .secondary.inverted.top.menu .icon {
        margin: 0px;
    }

    .secondary.inverted.top.menu .item.title {
        font-size: 1.4em;
        font-weight: 700;
        color: rgba(255,255,255,.75) !important;
        padding: 0px 0px 0px 0.4em;
    }

.inverted.header {
    background: #442679 !important;
}

.ui.secondary.inverted.segment, .secondary.inverted.steps {
    background: #542F95 !important;
    border: 1px solid #442679;
}

    .secondary.inverted.steps .step, .secondary.inverted.steps .step:after {
        background: #542F95 !important;
        border-color: rgba(255,255,255,0.3);
    }

.day {
    height: 100%;
    margin-left: 1%;
    margin-bottom: 4px;
    overflow-x: hidden;
}

    .day .ui.attached.label {
        font-size: 1.5em;
        padding: .2em 0em .3em 0em;
        width: 35px;
        text-align: center;
    }

    .day.smallscreen {
        height: auto;
        width: 100%;
        min-height: 60px;
        margin-left: 0;
        margin-bottom: 4px;
    }

        .day.smallscreen .ui.attached.label {
            padding: .2em .3em .3em .3em;
            width: 74px;
            text-align: right;
        }

.joblist {
    margin: -13px -12px -12px -10px;
}

    .joblist .job .job.link {
        color: #673AB7 !important;
    }

.day.largescreen .joblist .job .job.link {
    font-size: 0.8em;
    line-height: 1.3em;
}

.joblist .job .job.link.past {
    color: #AE97D9 !important;
}

.ui.column.grid.calendar .column {
    padding: 0.2em !important;
}

.ui.seven.column.grid.calendar .column .dayheader {
    background-color: #666666;
    color: #ffffff;
    padding: 7px 0px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

    .ui.seven.column.grid.calendar .column .dayheader.weekend {
        background-color: #444444;
    }

.ui.column.grid.calendar .column .day.weekend {
    background-color: #EEEEEE;
}

.ui.calendar .day .monthday {
    font-size: 2em;
    text-align: right;
    font-weight: bold;
    color: #000000;
    float: right;
    margin: -8px -10px 0px 2px;
}

    .ui.calendar .day .monthday .weekday {
        font-size: .5em;
        color: #666666;
        font-style: italic;
    }

.ui.calendar .day.today {
    border: 2px solid #c62828;
}

.ui.calendar .day.selected {
    background-color: #ffdd79 !important;
}

.ui.day .projects {
    margin: -9px -7px;
}

.ui.inverted.raised.clearing.center.aligned.segment.monthselector {
    margin-bottom: 20px;
    background-color: #542F95;
}

    .ui.inverted.raised.clearing.center.aligned.segment.monthselector .content {
        font-size: 1.98em;
        font-weight: 600;
    }

.text-highlight {
    color: #eba802;
}

.secondary-content {
    color: #eba802;
}

.scrolling-wrapper {
    display: flex;
    padding: 0px 0.5em 5px 0.5em;
    min-height: 50px;
    overflow-y: hidden;
    display: flex;
    gap: 0.5em;
}


.ui.segment.select-card {
    padding: 4px 7px;
    min-width: 12rem;
    max-width: 12rem;
    height: 80px;
    background: #EEEEEE;
    display: block;
    margin: 0;
    cursor: pointer;
}
    .ui.segment.select-card.active {
        background: #ece9fe;
        color: #6435c9;
        border-color: #bfb3d9;
    }

.select-card .select-card-title {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    font-size: 0.9em;
    color: #000000;
    margin-bottom: 3px;
}

.ui.segment.select-card.active .select-card-title {
    color: #6435c9;
}

.select-card .select-card-description {
    font-style: italic;
    font-size: 0.8rem;
    color: rgba(0,0,0,0.7);
    margin-top: -4px;
    line-height: 1.2em;
}

.content.status .scrolling-wrapper .select-card .select-card-action {
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 3px;
    color: #000000;
}

.select-card .select-card-action {
    position: absolute;
    right: 5px;
    bottom: 0px;
    color: rgba(0,0,0,0.8);
    font-size: 0.85em;
    font-weight: 700;
}

.selector-button {
    color: #ffffff;
    width: 155px;
    padding: 0 0.5rem;
    margin-right: -11px;
}

.selector-label {
    position: absolute;
    top: -14px;
    font-size: 0.8rem;
    color: #666666;
}

.selector-title {
    margin: 5px 0px -2px 5px;
    font-weight: 600;
}

.selector-description {
    font-style: italic;
    font-size: 0.8rem;
    color: #666666;
    margin-left: 5px;
}

.bottom-sheet-title {
    position: absolute;
    top: 8px;
    left: 8px;
}

.bottom-sheet-action-group {
    position: absolute;
    right: 3px;
    top: 8px;
}

    .bottom-sheet-action-group .btn {
        padding: 0 1rem;
        margin-right: 5px;
        min-width: 80px;
    }

.ui.header.summary {
    display: inline-block;
    text-align: center;
}

.ui.bottom.attached.segment {
    margin-bottom: 0px;
}

.ui.steps .step .title {
    font-size: 1.3em;
}

@media only screen and (min-width: 768px) {
    .secondary.inverted.attached.header .page.title {
        margin-left: 16px;
    }
}

.attached.segment .header.menutitle {
    margin-top: -.2em;
    margin-bottom: -.4em;
}

.attached.header.section-bar .dropdown.section-action {
    position: absolute;
    right: 2px;
    top: 2px;
    padding: .3em;
    font-size: 1.2em;
    margin: 0px;
}

.ui.basic.centered.modal {
    text-align: center;
}

.ui.attached.header.section-bar {
    padding: .5rem .8rem;
    position: relative;
}

.ui.accordion .content .right.floated.content {
    margin: 0 0 0 1em;
    padding: 0px;
}

.ui.styled.fluid.accordion.compact .content {
    padding-bottom: .5em;
}

.ui.list > .disabled.item .content {
    color: rgba(40,40,40,.3) !important;
}

    .ui.list > .disabled.item .content .header {
        color: rgba(40,40,40,.3) !important;
    }

.ui.tiny.images.gallery img.image,
.ui.tiny.images.gallery .image img {
    object-fit: cover;
    width: 80px;
    height: 80px;
}

.ui.list.compact .item .right.floated.content {
    margin-left: 0px;
}

.ui.file.input {
    display: none;
}

.right.floated.content .label.additionalLabel {
    display: block;
    position: absolute;
    top: 40px;
    right: 4px;
}

div.ui.pointing.field-validation-valid {
    display: none;
}

div.ui.pointing.validation-summary-errors ul {
    margin: 0px;
    padding-left: 13px;
}

.ui.bottom.attached.button {
    margin-bottom: 20px;
}

.ui.menu .ui.dropdown .menu .item {
    width: 100%;
}

.ui.text.container {
    font-size: 1em;
}

.content.status .scrolling-wrapper {
    margin-left: -14px;
    margin-right: -14px;
}

.truncate {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.right.menu .ui.dropdown .menu {
    z-index: 9999;
}

.ui.right.floated.mini.labeled.icon.button {
    white-space: nowrap;
    padding-left: 3.5em !important;
    padding-right: 1em !important;
}

.clickable {
    cursor: pointer !important;
}

    .clickable .icon {
        cursor: pointer !important;
    }

.ui.fluid.image.large-picture {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.pac-container {
    background-color: #FFF;
    z-index: 9999999;
    position: fixed;
    display: inline-block;
    float: left;
}

.ui.day .tiny.note.icon {
    width: 15px;
    margin-left: auto;
    margin-right: 0px;
}


/* SORTING */

.ui.header.section-bar.segment.inline {
    flex-grow: 0 !important;
    padding: .5rem .8rem;
    position: relative;
}

@media only screen and (max-width : 601px) {
    .ui.one.column.compact.grid.text.container.teams {
        margin-left: 0px;
        margin-right: 0px;
    }
}

.sortable.jobs {
    min-height: 60px;
}

    .sortable.jobs .item {
        padding: 5px 0px 5px 4px;
        cursor: pointer;
        background-color: rgba(255,255,255,0.5);
    }

        .sortable.jobs .item:not(:last-child) {
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .sortable.jobs .item.placeholder {
            height: 32px;
            background-color: rgba(100, 53, 201,0.15);
        }

        .sortable.jobs .item .icon {
            color: rgb(200,200,200);
            float: right;
        }

.sortable.helpers.main {
    min-height: 37px;
}

.sortable.helpers {
    min-height: 18px;
}

    .sortable.helpers .item {
        float: left;
        cursor: pointer;
    }

        .sortable.helpers .item .circular.label {
            min-width: 35px !important;
            min-height: 35px !important;
            width: 35px !important;
            height: 35px !important;
            margin-left: auto;
        }

        .sortable.helpers .item .circular.image {
            object-fit: cover;
            height: 35px;
            width: 35px;
        }

        .sortable.helpers .item .circular.label span {
            margin-left: -4px;
            margin-right: -4px;
        }

        .sortable.helpers .item:not(.fixed) {
            margin: 0px 3px;
        }

        .sortable.helpers .item.placeholder {
            width: 35px;
            height: 35px;
            border-radius: 500rem;
            background-color: rgba(155, 126, 208,0.5);
        }

.helpers:not(.sortable) .helper {
    width: 24px;
    height: 24px;
    float: left;
    margin-left: auto;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.helpers:not(.sortable) .image.helper {
    margin-right: 2px;
}

.day-summary {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
}

    .day-summary .teams {
        position: relative;
    }

        .day-summary .teams .team {
            top: 0px;
            width: 100%;
        }

.modal .inverted.header {
    color: #FFFFFF;
    text-align: center;
    padding: 3px 0px 10px 0px;
}

    .modal .inverted.header h1 {
        margin: 0px;
        line-height: normal;
        font-size: 3em;
    }

    .modal .inverted.header h2 {
        margin: 0px;
    }

.content .header .discrete, .discrete {
    font-size: 0.8em;
    line-height: 0.8em;
    opacity: 0.7;
}

.ui.ui.ui.lightviolet.label, .ui.lightviolet.labels .label {
    background-color: #AE97D9;
    border-color: #AE97D9;
    color: #fff;
}

.ui.nano.empty.circular.label {
    font-size: .5rem !important;
}

.item.job.fixed {
    opacity: 0.5;
}

.timestamp {
    margin: -1px 0px 3px 2px;
    font-size: 0.7em;
    opacity: 0.7;
}

.sender {
    position: absolute;
    left: -4px;
    top: 1px;
    font-size: 0.9em;
    font-weight: 700;
}

.ui.chat.message {
    max-width: 80%;
    padding: 6px 10px 4px 10px;
    margin: 0px 0px 0px 20px;
}

.ui.chat.emoji {
    margin: 0px 0px 0px 20px;
}

.emoji-popup {
    position: absolute;
    background-color: #FFF;
    max-width: 347px;
    bottom: calc( 100% - 0.3em );
    border-radius: 0.5em 0.5em 0.5em 0;
    border: 1px solid #DDD;
    padding: 3px;
}

.emoji-cell {
    padding: 7px 0px 7px 0px;
    float: left;
    width: 42px;
    text-align: center;
    height: 42px;
}

    .emoji-cell em[data-emoji] {
        font-size: 1.5em;
    }

.ui.menu > .item:last-child {
    border-radius: 0 .28571429rem .28571429rem 0;
}

.link-edit-sales-tax {
    color: #4183c4;
    text-decoration: none;
    cursor: pointer;
}

    .link-edit-sales-tax:hover {
        color: #1e70bf;
        text-decoration: none;
    }

.link-remove-item-invoice {
    color: #4183c4;
    text-decoration: none;
    cursor: pointer;
}

    .link-remove-item-invoice:hover {
        color: #1e70bf;
        text-decoration: none;
    }

.d-block {
    display: block;
}

.invoice-item-total-text {
    font-size: 1.072em;
    font-weight: 700;
}

.actions-bar {
    margin-top: 20px;
    text-align: right;
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    .ui.ui.ui.container:not(.fluid) {
        width: 100%;
        padding-right: 1em;
        padding-left: 1em;
    }
}

i.comment.icon.phone-1, i.comment.icon.phone-2 {
    position: relative;
}

i.comment.icon.phone-1::after {
    content: '1';
    position: absolute;
    color: white;
    font-family: Lato, system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: .65em;
    font-weight: 600;
    left: .45em;
    top: 0.2em;
}

i.comment.icon.phone-2::after {
    content: '2';
    position: absolute;
    color: white;
    font-family: Lato, system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: .65em;
    font-weight: 600;
    left: .45em;
    top: 0.2em;
}

@media only screen and (min-width: 681px) {
    .ui.mainlogo img.icon {
        display: none;
    }
}
@media only screen and (max-width: 680px) {
    .ui.mainlogo img.long {
        display: none;
    }
}