﻿@import url("https://fonts.googleapis.com/css2?family=Rokkitt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,100;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700&family=Rokkitt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,100;1,400;1,500;1,600;1,700&display=swap");

/* Base Styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Rokkitt", serif !important;
    text-transform: uppercase;
}

/* Flex Layout */
.stack {
    display: flex;
    flex-direction: column;
    margin-right: 12px;
    margin-left: 12px;
}

    .stack.row {
        flex-direction: row;
    }

    .stack > * {
        flex: 1;
    }

        .stack > *:not(:last-child) {
            margin-right: 12px;
        }

@media screen and (max-width: 840px) {
    .stack.row {
        flex-direction: column;
    }
}

/* Custom Layout */
@media screen and (min-width: 1000px) {
    #app-sidebar,
    #app-btn-menu,
    .app-btn-menu-background,
    .ui-title.app-hidden {
        display: none !important;
    }
}

.app-has-minisidebar-left .app-bar-toolbar .app-logo {
    left: 16px !important;
    top: -7px;
}

#view1 {
    left: 0 !important;
    width: 100% !important;
}

.app-bar-toolbar {
    background-color: #302d2e !important;
    border-color: #302d2e !important;
    box-shadow: 2px 2px 5px #b5b5b5;
}

.app-page-header {
    background-color: transparent !important;
    margin-top: 10px;
}

    .app-page-header > h1 {
        color: #000 !important;
    }

    .app-page-header .app-icon {
        color: #c01d27 !important;
    }

.app-bar-toolbar .app-logo {
    text-indent: -9999px;
    width: 140px;
    padding-top: 0px;
    background-image: url(../../images/rr-express-logo-white-sm.png);
    background-size: 140px;
    background-position: left center;
}

.app-echo-toolbar > span {
    visibility: hidden;
}

.app-icon-background {
    visibility: hidden;
}

.app-acc-man .app-logo {
    background-size: 175px;
    background-position: center;
}

.app-btn-cluster-right .ui-btn-right[data-title*=Email],
.app-btn-cluster-right .ui-btn-right[data-title*=Edit] {
    display: none !important;
}

.ui-btn.ui-mini {
    border: 1px solid #333 !important;
    border-radius: 5px;
    color: #333 !important;
    font-weight: 600 !important;
}

    .ui-btn.ui-mini:hover,
    .ui-btn.ui-mini:active {
        background-color: #333 !important;
        color: #fefefe !important;
    }

        .ui-btn.ui-mini:hover > .app-icon,
        .ui-btn.ui-mini:active > .app-icon {
            color: #fefefe !important;
        }

.app-has-popup-open.app-has-panel-open .in.ui-popup-screen, .app-page-modal-glass-pane {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.app-page-header-divider {
    display: none !important;
}

    .app-page-header-divider + [data-layout] {
        margin-top: 10px !important;
    }



/* Conditional field formatting */
.we-green-field .app-field-PaymentStatus {
    color: #008000 !important;
    font-weight: bold !important;
}

.we-imagingstatusat-red .app-field-PaymentStatus {
    color: red !important;
    font-weight: bold !important;
}

.mc-field .app-field-AccessInfo {
    border: 1px solid #ccc;
    color: #fefefe;
    padding: 2px 10px !important;
    border-radius: 20px;
    width: auto;
}

.mc-field.blue .app-field-AccessInfo {
    background-color: #164386 !important;
    border-color: #041a3a !important;
}

.mc-field.green .app-field-AccessInfo {
    background-color: #168638 !important;
    border-color: #043a14 !important;
}

.mc-field.red .app-field-AccessInfo {
    background-color: #b31313 !important;
    border-color: #470404 !important;
}

/* Getting started message formatting */
[data-header-text="Getting Started"] {
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 10px;
    padding: 10px !important;
}

    [data-header-text="Getting Started"] .app-collapsible-toggle-text {
        font-size: 20px !important;
        font-weight: bold;
        color: #fefefe;
    }

    [data-header-text="Getting Started"] .app-collapsible-toggle-button {
        visibility: hidden;
    }

    [data-header-text="Getting Started"],
    [data-header-text="Getting Started"] .app-has-description,
    [data-header-text="Getting Started"] .app-feedback {
        background-color: #2762b9 !important;
    }

        [data-header-text="Getting Started"]
        .app-has-description
        [data-control="description"] > span {
            font-size: 15px;
            color: #fefefe;
        }

/* Dashboard styles */
.dashboard .header {
    margin-left: 16px;
    font-family: "Rokkitt", serif !important;
}

    .dashboard .header span {
        margin: 0px !important;
        padding: 0px !important;
        color: #333 !important;
    }

.dashboard .subtitle {
    margin-left: 16px;
    font-size: 14px;
    color: #333;
    opacity: 0.8;
    margin-bottom: 16px;
}

.dashboard .helper-txt {
    background-color: #302d2e;
    padding: 8px 16px;
    color: #9f9a9b;
    min-height: 42px;
}

.dashboard .collapsible {
    border-radius: 10px;
}

    .dashboard .collapsible .app-feedback {
        background-color: #b52222 !important;
        color: #fefefe !important;
        font-weight: bold;
        font-family: "Rokkitt", serif !important;
        padding-top: 16px;
        padding-bottom: 16px;
    }

        .dashboard
        .collapsible
        .app-feedback:not(.ui-btn-active)
        .app-collapsible-toggle-button::before {
            color: #fefefe !important;
        }

.dashboard .paymentstatusinfo {
    margin-top: 0px;
}

/* Phone number formatting */
.no-worknumber .app-field-WorkNumber .app-control-inner,
.no-mobilenumber .app-field-MobileNumber .app-control-inner {
    visibility: hidden !important;
}
