﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*
    main blue: rgb(23, 140, 160)
*/

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Fira Sans';
    background-color: rgb(247, 247, 247);
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

.top-row {
    height: 80px;
    display: flex;
    align-items: center;
}




.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .main .row {
        /*margin-top: 15px;*/
    }

    .main .top-row {
        /*background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;*/
        /*justify-content: flex-end;*/
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

#legend-wrapper {
    display: flex;

}


    #legend-wrapper .legend-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        #legend-wrapper .legend-item .label {
            margin-top: 5px;
            font-size: 12px;
        }    

#legend-wrapper .bullet {
    float: left;
    background: red;
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 50%;
    margin-right: 10px;
}

#legend-wrapper .label {
    float: left;
    margin-right: 10px;
}



#legend-wrapper #slot-legend-perfect {
    background-color: rgb(146, 208, 80);
}

#legend-wrapper #slot-legend-detour {
    background-color: rgb(196, 215, 155);
}

#legend-wrapper #slot-legend-notime {
    background-color: rgb(255, 100, 100);
}

#legend-wrapper #slot-legend-detour-notime {
    background-color: rgb(237, 28, 36);
}

#legend-wrapper #slot-legend-nightslot {
    background-color: rgb(195, 217, 221);
}

#legend-wrapper #slot-legend-travel {
    background-color: rgb(255, 165, 0);
}

#legend-wrapper #slot-legend-draggable {
    background-color: rgb(181, 230, 29);
}

.mdc-tab-scroller {
    border-radius: 15px;
}

.mdc-tab--active {
    background-color: rgb(12, 160, 186) !important;
}

    .mdc-tab--active .mdc-tab__text-label {
        color: white !important;
    }

.mdc-tab-indicator {
    display: none !important;
}

.mdc-tab {
    background-color: initial;
    transition: background-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
}

.mdc-tab:hover {
    background-color: rgb(12, 160, 186);
    transition: background-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    /*transition: 1s;
    transition-timing-function: ease-in-out;*/
}

.searchModal .mdc-dialog__content {
    height: 100vh;
    overflow: auto;
    max-height: 800px;
}

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    /*background-color: rgb(12, 159, 186);*/
    background-color: rgb(6, 113, 132);
    overflow: auto;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            border-radius: 4px;
            min-height: 3rem;
            display: flex;
            align-items: center;
            /*line-height: 3rem;*/
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    flex-grow: 1;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}
/*
li.requirement-check::marker{
    color:green;
}*/

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

.auth {
    z-index: 6;
}

.email-unconfirmed-warning {
    margin: 15px;
    /* border-color: rgb(12, 159, 186); */
    border: 2px solid rgb(12, 159, 186);
    border-radius: 5px;
    padding: 10px;
    color: white;
    background: rgba(12, 159, 186, 0.4);
}

    .email-unconfirmed-warning a {
        color: white;
        font-weight: bold;
        cursor: pointer;
    }

.mat-checkbox {

}

    .mat-checkbox label {
        padding-top: 10px;
    }

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 300px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .container {
        min-width: 650px;
    }
}

.nav {
    color: white;
    
}

.side-menu {
    background-color: rgb(12, 159, 186);
}
/*
    Branding header
*/
.navbar img {
    height: 3.5rem;
    margin: 0 auto;
}

.navbar {
    padding: 0 !important;
}

#calendar-wrapper {
    /*position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;*/
}


.fc-event {
    cursor: pointer;
}


/* layout test */
html,
body {
    height: 100%;
    margin: 0
}

.navigation {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
}


/* CALENDAR EVENTS */


.nightslot .fc-title {
    text-align: center;
    color: rgb(12, 161,188);
    font-weight: bold;
    font-family: Calibri, sans-serif;
    font-size: 25px;
}

.nightslot .fc-time {
    text-align: center;
    font-size: 15px !important;
    font-family: Calibri, sans-serif;
    font-weight: bold;
    color: rgb(112, 112, 112);
}

.nightslot .event-additional-info {
    margin-top: 15px;
    text-align: center;
    font-family: Calibri, sans-serif;
    font-style: italic;
}

.event-title {
    font-weight: bold;
    font-size: 16px;
}

.row {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0px;
    margin-right: 0px;
}

.no-padding {
    padding: 0
}

.col {
    padding-left: 0px;
    padding-right: 0px;
}

.mdc-text-field--textarea {
    width: 100% !important;
}

#unscheduled-mini-container {
    /*max-height: 500px;
    overflow: auto;*/
}

#unscheduled-mini-container .mdc-floating-label, #leads-mini-container .mdc-floating-label {
    color: white;
}

#unscheduled-mini-container .mdc-select__dropdown-icon, #leads-mini-container .mdc-select__dropdown-icon {
    fill: white;
}

#unscheduled-mini-container .mdc-line-ripple::before, #leads-mini-container .mdc-line-ripple::before {
    visibility: hidden;
}

.due-date {
    /*width: 70px;
    float: left;*/
    text-align: center;
    font-family: Calibri, sans-serif;
    font-weight: bold;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 15px;
}

    .due-date p {
        font-size: 30px;
    }

@media (min-width: 1280px) {
    .mdc-dialog .mdc-dialog__surface {
        max-width: 1000px !important;
    }
}

@media (max-width: 1380px) {
  /*  #calendar-controls {
        display: none;
    }*/
    #legend-wrapper {
        display: none;
    }
}

.unread-indicator {
    background: rgb(146, 208, 80);
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    top: -0.75rem;
    right: -0.75rem;
}

.sidebar .mdc-select__anchor {
    background-color: initial !important;
}

.sidebar .mdc-select__selected-text  {
    color: white !important;
}

#planning-details {

}

    #planning-details .nav-item .nav-link {
        background-color: rgba(255,255,255,0.1);
    }


#top-row-datepicker label {
    height: 50px;
    margin-bottom: 0px;
}

#top-row-datepicker .mdc-line-ripple::before {
    border: none !important;
}

.loader {
    height: 4px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    margin-top: 50px;
    margin-bottom: 20px;
}

    .loader:before {
        display: block;
        position: absolute;
        content: "";
        left: -200px;
        width: 200px;
        height: 4px;
        background-color: rgb(23, 140, 160);
        animation: loading 2s linear infinite;
    }

@keyframes loading {
    from {
        left: -200px;
        width: 30%;
    }

    50% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    80% {
        left: 50%;
    }

    95% {
        left: 120%;
    }

    to {
        left: 100%;
    }
}

.mdc-select {
    width: 100%;
}

.col {
    text-align: left;
}

.mdc-text-field {
    width: 100%;
}

.nav-link {
    cursor: pointer;
}

#toprow-mobile {
    display: none;
    width: 100%;
}

#toprow-wide {
    justify-content: space-between;
    width: 100%;
}

    #toprow-wide  #topnav-right{
        display: flex;
        align-items: center;
    }

    #toprow-wide #topnav-left {
        display: flex;
        /*padding-top: 15px;*/
    }

@media (max-width: 750px) {
    #unscheduled-mini-container {
        display: none;
    }

    #toprow-wide {
        display: none!important;
    }

    #toprow-mobile {
        display: block;
    }
}

.mat-accordion .mat-expansion-panel__sub-header {
    flex-basis: auto !important;
}

.mat-card {
    width: 300px;
    float: left;
    margin-right: 25px;
}

    .mat-card h6:first-of-type {
        padding-top: 15px;
    }

    .mat-card h6 {
        padding-left: 15px;
        padding-right: 15px;
    }

#contact-assign .mud-autocomplete {
    border-radius: 4px;
    background: #f5f5f5;
    padding-left: 10px;
}

/*
Stepped progressbar
*/

.stepped-progressbar {
    background: #e6e6e6;
    width: 100%;
    height: 0.5rem;
    display: flex;
    justify-content: space-evenly;
    gap: 3px;
}

    .stepped-progressbar .step {
        /*background: #45db45;*/
        height: 0.5rem;
        width: 100%;
        border-radius: 0.2rem;
    }

    .stepped-progressbar .step.active {
        background: #45db45;
        height: 0.5rem;
        width: 100%;
        border-radius: 0.1rem;
    }


.stepped-progressbar-explainer {
    /*background: #e6e6e6;*/
    width: 100%;
    /*height: 0.5rem;*/
    display: flex;
    /*justify-content: space-evenly;*/
    gap: 3px;
}

    .stepped-progressbar-explainer .step {
        /*background: #45db45;*/
        /*height: 0.5rem;*/
        width: 100%;
        /*border-radius: 0.2rem;*/
        flex: 1;
        /*visibility:hidden;*/

    }

        .stepped-progressbar-explainer .step.active {
            visibility:visible;
            /*background: #45db45;
            height: 0.5rem;
            width: 100%;
            border-radius: 0.1rem;*/
        }