/** For reference: color scheme
    Primary: #a11d1f;
    P-Light: #CF2629;
    logo gray: #696765
    light gray: #C0BCB5
    Amazon Green: #307351

**/
:root {

}

*, *:before, *:after {
    box-sizing: border-box;
}

html, ul, ol{
    font-size: 14px;
}

ul, ol{
    line-height: 24px;
}

body {
    display: block;
    background-color: rgb(255, 255, 255);
    color: rgba(0, 0, 0, .87);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    border: 0;
}

a {
    /*color: #337ab7;*/
    font-weight: 500;
}

@media print {
    a[href]:after {
        content: none!important;
    }
}

ul.topnav {
    list-style: none;
    margin: 0;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    line-height: inherit;
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 99;
    box-shadow: none;
    transition: box-shadow 0.2s ease;
}

ul.topnav > li:not(:last-child):not(:first-child):not(.topnav__title) {
    margin-right: 10px;
}

ul.topnav > li:nth-child(3) {
    margin-left: auto;
}


.topnav__logo {
    padding-left: 12px;
}

.topnav__logo a {
    display: block;
    height: 56px;
}

.topnav__logo a img {
    height: 100%;
    padding: 5px;
}

.topnav__title {
    font-size: 2em;
    font-weight: 300;
    color: #a01d20; /* Primary */
    cursor: default;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.topnav__actionitem.custom {
    height: 100%;
}

.topnav__actionitem {
    color: rgba(0, 0, 0, .54);
}

.topnav__actionitem:hover {
    color: rgba(0, 0, 0, .87);
}

.topnav_icon {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

ul.topnav.sticky {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
}

.sticky + .content {
    padding-top: 56px;
}

/* The Modal (background)
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}
*/
/* Modal Content */

.help__support {
    background-color: #fefefe;
    margin: 52px auto 0 auto;
    width: 20%;
    height: 20%;
    padding: .5rem;
    line-height: normal;
    border-radius: 2px;
    border: 1px solid #ccc;
    color: rgba(0, 0, 0, .87);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.action-btn {
    border-radius: 3px;
    padding: .5rem;
    font-size: .7em;
    text-transform: uppercase;
    transition: all 200ms cubic-bezier(.25, .8, .25, 1);
}

.action-btn:hover {
    color: rgb(255, 255, 255);
}

.prof-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 .5rem 1rem 0;
}

/*
.prof-pic {
    position: relative;
    margin-right: .5rem;
    -webkit-clip-path: circle(48px at 48px 48px);
    clip-path: circle(47px at 48px 48px);
}
*/
.avatar {
    height: 6em;
    width: 6em;
    margin: 1em 1em;
    background-color: LightSeaGreen;
    border-radius: 50%;
    position: relative;
}

.initials {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 3.4em;
    text-align: center;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 18%;
    left: 10%;
}

/* App Menu List - CSS Grid with Flexbox fallback */
.app_list {
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0;
    display: flex;
    align-items: center;
    text-align: center;
    columns: 4;
    list-style: none;
    list-style-type: none;
    margin: 2rem;
}

.app_list > div {
    flex: 1;
}

.app_list {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}

.app_li__icon a {
    font-size: 2em;
    color: #5aa0f9; /* P-Light */
}

.app_li__icon a:hover {
    color: #5aa0f9; /* P-Light */
}

.app_li__icon .material-icons {
    font-size: inherit;
}

.app_li__name {
    cursor: default;
    padding-bottom: 1rem;
}

.al_help a {
    color: rgba(0, 0, 0, .54);
}

.al_help a:hover {
    color: rgba(0, 0, 0, .54);
    cursor: help;
}

.apps__menu-footer {
    border-top: 1px solid #eee;
    padding: 1.5rem;
    text-align: center;
    color: rgba(0, 0, 0, .54);
    background: #f5f5f5;
}

.apps__menu-footer:hover {
    color: rgba(0, 0, 0, .87);
}

/*- Alertify Notification Overrides -*/
.alertify-notifier {
    z-index: 99999 !important;
    width: auto;
}

.alertify-notifier .ajs-message {
    box-shadow: 2px 2px 15px 2px rgba(0, 0, 0, 0.6);
    width: max-content;
    max-width: 400px;
}

.alertify-notifier .ajs-message > div {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.alertify-notifier .ajs-message .message {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    cursor: default;
}

.alertify-notifier .ajs-message .message_body {
    max-width: 400px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    font-weight: 400;
}

.alertify-notifier .ajs-message .message_header {
    position: relative;
    padding: 15px 20px;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 35px 1fr 35px;
    align-items: center;
    max-width: 400px;
}

.alertify-notifier .ajs-message .message_header > span {
    /*display: flex;*/
}

.alertify-notifier .ajs-message .message_header .close_notifier {
    cursor: pointer;
    justify-self: right;
}

.alertify-notifier .ajs-message .message_header .notifier_icon {
    font-size: 2.25rem;
}

.alertify-notifier .ajs-message .message_header .notifier_icon.flip_x {
    transform: rotate(180deg);
}

.alertify-notifier .ajs-message .message_header .progress_bar {
    position: absolute;
    bottom: 0;
    left: -20px;
    right: -20px;
    width: auto;
    height: 4px;
    grid-column: 1 / -1;
    background-color: rgba(255, 255, 255, 0.6);
}

.alertify-notifier .ajs-message .notify_msg {
    font-weight: normal;
}

.alertify-notifier .ajs-message .notify_title {
    font-size: 12px;
    flex-direction: column;
    border-bottom: 1px solid #fff;
}

.alertify-notifier .ajs-message .notify_title > div {
    display: flex;
    justify-content: space-between;
}

.alertify-notifier .ajs-message.ajs-error {
    background: #e91e63;
    color: #fff;
}

.alertify-notifier .ajs-message.ajs-quickbooks {
    background: #ffd95b;
    color: #000;
}

.alertify-notifier .ajs-message.ajs-info {
    background: #2196f3;
    color: #fff;
}

.alertify-notifier .ajs-message.ajs-success {
    background: #35ff59;
}

.alertify-notifier .ajs-message.ajs-success .message_header .progress_bar {
    background-color: rgba(0, 0, 0, 0.5);
}

.alertify-notifier .ajs-message.ajs-visible {
    padding: 0;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    width: max-content;
}

.alertify-notifier .ajs-message.ajs-warning {
    background: #ffa726;
}

.alertify-notifier.ajs-center .ajs-message.ajs-visible {
    left: 0;
}

.alertify-notifier.ajs-right .ajs-message.ajs-visible {
    right: 10px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 20px rgba(0,71,149,1);*/
    border: 1px solid #aaa;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,71,149,1);*/
    border-radius: 2px;
    background: #CF2629;
    cursor: ns-resize;
}
