html {
    font-size: 14px;
}

/* Show nav as fixed to the top */
body {
    min-height: 75rem;
    padding-top: 4.5rem;
}

main {
    margin-top: 15px;
}

h2 {
    font-size: 2rem !important;
}

h3 {
    font-size: 1.4rem !important;
}

h4 {
    font-size: 1.2rem !important;
}

h2 a, h3 a, h4 a {
    /*color: #a5cd39;*/
    color: #28a745;
    text-decoration: underline;
}

.fixed-view-header {
    margin-top: 54px;
    padding: 5px;
    background-color: #eee;
    border-bottom: solid 1px #ccc;
    z-index: 1000 !important;
}

/* City Dropdown*/
/*div.mat-mdc-autocomplete-panel, div.mat-mdc-autocomplete-panel {
    background-color: white !important;
}
*/
/* Mat-Select dropdown*/


.overlay_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 65px;
    z-index: 3;
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
}

.overlay_container_inside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 65px;
    z-index: 3;
    background-color: rgba(0,0,0,0.3);
    border-radius: 10px;
}

.overlay_message {
    background-color: white;
    border-radius: 10px;
    z-index: 5;
    top: 100px;
    left: 33%;
    width: 33%;
    /*height: 200px;*/
    position: absolute;
    padding: 10px;
}

.spinner_container {
    border-radius: 10px;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    position: fixed;
    transform: translate(-50%,-50%);
    z-index: 3;
    opacity: 0.5;
}

.dark-overlay {
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    width: 100%;
    min-height: 100%;
    margin-top: 65px;
}

.card-list {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.standard-card, .crm-card {
    cursor: pointer;
    background-color: #f2f7ff;
    border: solid 1px #ccc;
    border-radius: 5px;
    margin: 10px;
    padding: 5px;
}

.standard-card ul {
    margin-bottom: 0;
}

.crm-card {
    min-height: 175px;
}

.dashboard-card {
    padding: 5px;
    margin: 5px;
    background-color: #ebf2f9;
    box-shadow: 2px 2px #1d4062;
    cursor: pointer;
    text-align: center;
}

div .order-card {
    margin: 2px;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid #002E5E;
    border-top: 25px solid #002E5E;
    min-height: 560px;
}

div .red-card {
    border: 2px solid #e60000;
    border-top: 25px solid #e60000;
}

div .green-card {
    border: 2px solid #009900;
    border-top: 25px solid #009900;
}

div .yellow-card {
    border: 2px solid #ffcc00;
    border-top: 25px solid #ffcc00;
}

/*
.k-filter-row .k-dropdown-operator {
    width: 2.1em;
    left: 0.4em;
}
*/

div .epi-container {
    margin: 5px 5px 15px 5px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #002E5E;
    border-top: 25px solid #002E5E;
}

div .epi-container h4 {
    font-size: 1.1rem;
    color: white;
    margin-top: -32px;
    margin-left: 10px;
}

div .epi-container i.fa {
    float: right;
    cursor: pointer;
    color: white;
    margin-top: -25px;
    margin-right: 10px;
}

/*.hideFilterOperators td [role="listbox"] {
    visibility: hidden;
}
*/
.hideFilterOperators .k-filtercell-operator {
    display: none;
}

.sub-nav-bar {
    margin-bottom: -12px;
}

.carrierRankHeader, .rotate90 {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.carrierRankCard {
    height: 150px;
    width: 75px;
    margin: 0 0 0 5px;
}

.carrierRankHeader {
    margin: 60px 0 0 -50px;
    width: 140px;
    font-size: 1.2rem !important;
}

/* tags for TagMap */
.tags {
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.tags span {
    float: left;
}

.tag {
    background: #eee;
    border-radius: 3px 0 0 3px;
    color: #999;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 20px 0 10px;
    position: relative;
    margin: 0 10px 0 0;
    text-decoration: none !important;
    -webkit-transition: color 0.2s;
}

.tag-prefix {
    background: #666;
    border-radius: 3px 0 0 3px;
    color: #eee;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 10px 0 10px;
    position: relative;
    margin: 0 0 10px 0;
    text-decoration: none !important;
    -webkit-transition: color 0.2s;
}

.tagx::before {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
    content: '';
    height: 6px;
    left: 10px;
    position: absolute;
    width: 6px;
    top: 10px;
}

.tag::after {
    background: #fff;
    border-bottom: 13px solid transparent;
    border-left: 10px solid #eee;
    border-top: 13px solid transparent;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
}

/*
.tags {
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.tags li {
    float: left;
}

.tag {
    background: #eee;
    border-radius: 3px 0 0 3px;
    color: #999 !important;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 20px 0 23px;
    position: relative;
    margin: 0 10px 10px 0;
    text-decoration: none !important;
    -webkit-transition: color 0.2s;
}

.tag::before {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
    content: '';
    height: 6px;
    left: 10px;
    position: absolute;
    width: 6px;
    top: 10px;
}

.tag::after {
    background: #fff;
    border-bottom: 13px solid transparent;
    border-left: 10px solid #eee;
    border-top: 13px solid transparent;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
}

.tag:hover, .tagSelected {
    background-color: crimson;
    color: white;
}

.tag:hover::after, .tagSelected {
    border-left-color: crimson;
}
*/

.t-font-icon {
    font-size: 25px !important;
}

.epi-button {
    color: #FFFFFF;
    background-color: #002E5E;
    margin: 5px;
    padding: 5px;
}

a {
    cursor: pointer;
    text-decoration: underline;
    /*color: #a5cd39;*/
    color: #28a745 !important;
}

.green {
    color: green;
}

.red {
    color: red;
}

.map {
    height: 100%;
    width: 100%;
}

.mat-option.mat-active {
    background: rgba(0,0,0,.2);
}

.mat-step-header .mat-step-icon {
    /*background-color: #3f51b5;
    color: #fff;*/
}

.mat-step-header .mat-step-icon-selected {
    background-color: #a5cd39;
    color: #fff;
}


.mat-dialog-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px !important;
}

@media (max-width: 767px) {
    /* On small screens, the nav menu spans the full width of the screen. Leave a space for it. */
    .body-content {
        padding-top: 70px;
    }
}


/* Adrian Telerik modificaitons */
/* Highlighting rules for nav menu items */
/*.k-tabstrip .k-state-active > .k-link,
.sub-nav-bar li.link-active {
    background-color: #a5cd39 !important;
}
*/

/*
    START: kendo-appbar > kendo-menu
*/
.k-menu-item .k-menu-link, .k-menu-item .k-link:hover {
    color: blue !important;
    border: solid 1px #ccc;
    /*border-radius: 5px;*/
    /*margin: 2px;*/
}

.k-menu-item .k-menu-link {
    background: linear-gradient(to top, #EEE 40%, #FFF 60%);
}

.k-menu-item .k-link:hover, .k-menu-item .k-hover {
    background: linear-gradient(to top, #99dafc 10%, #FFF 90%);
}
/*
    END: kendo-appbar > kendo-menu
*/

.k-tabstrip .k-item,
.sub-nav-bar li {
    background-color: #ddd;
    margin: 0px;
    padding: 10px 15px;
    border: solid;
    border-width: 0px;
    border-color: transparent;
/*    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
*/    display: inline-block;
}

.k-tabstrip .k-tabstrip-item.k-state-active > .k-link,
.sub-nav-bar li.link-active > a:link,
.sub-nav-bar li.link-active > a:visited {
    font-size: 1.25em;
    color: #002e5e !important;
    text-decoration: none;
}

.k-tabstrip .k-tabstrip-item > .k-link,
.sub-nav-bar li.link-inactive > a:link,
.sub-nav-bar li.link-inactive > a:visited {
    font-size: 1.25em;
    color: #28a745 !important;
    text-decoration: none;
}

.k-tabstrip .k-tabstrip-item > .k-link,
.sub-nav-bar li.link-inactive > a:hover,
.sub-nav-bar li.link-inactive > a:active {
    font-size: 1.25em;
    color: #ffffff;
    text-decoration: none;
}

.k-expander {
    border: 1px solid #002E5E !important;
    border-radius: 5px !important;
}

.k-expander-header {
    background-color: #ddd !important;
}

.k-expander-title {
    color: #002E5E !important;
    font-weight: bold !important;
}

.k-expander-sub-title {
    color: #002E5E !important;
    font-weight: bold !important;
}

/*
.k-grid td a {
    cursor: pointer !important;
    text-decoration: underline !important;
    color: #28a745 !important;
}

.k-grid tr.selectedRow {
    background-color: lightblue !important;
}

.k-grid tr.selectedRow td a {
    color: lightblue !important;
}
*/
.k-grid tr.danger, .standard-card.danger {
    background-color: #f8d7da !important;
}

.k-grid tr.danger td a, .standard-card.danger a {
    color: #721c24 !important;
}

.k-grid tr.success, .standard-card.success a {
    background-color: #c3e6cb !important;
}

.k-grid tr.success td a, .standard-card.success a {
    color: #000000 !important;
}

.k-grid tr.warning, .standard-card.warning {
    background-color: #ffeeba !important;
}

.k-grid tr.warning td a, .standard-card.warning a {
    color: #000000 !important;
}

.k-grid tr.expedite, .standard-card.expedite {
    /* red */
    background-color: #f8d7da !important;
}

.k-grid tr.expedite td a, .standard-card.expedite a {
    /* dark red */
    color: #721c24 !important;
}

.k-grid tr.highPriority, .standard-card.highPriority {
    /* purple */
    background-color: #dfbaff !important;
}

.k-grid tr.highPriority td a {
    /* dark purple */ 
    color: #512e6f !important;
}

/*.k-pager-numbers .k-selected, .k-state-selected td a {
    color: #002E5E !important;
}
*/
/*
.k-textbox {
    font-size: 12px;
    border: none;
}

.k-widget {
    font-size: 1.1rem;
}

.k-multiselect-wrap .k-select {
    position: relative;
}
*/
