﻿/*Came With*/
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

a:focus {
    outline:0;
}

.dropdown-menu{
    z-index: 1100;
}

.padright0 {
    padding-right: 0px;
}

.padtop3 {
    padding-top: 3px;
}

.colWithiMSButton {
    padding-top: 4px;
}
.textColNearButton {
    padding-top: 6px;
}

.iMSThumbnail {
    height:30px;
    width:30px;
}

.file-select-toggle {
    float: right;
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.file-select-toggle .iMSbtn {
    float: none;
}

/* Chatbot Styling */
#loadingMessage .chat-thinking {
    display: none;
    margin-top: 6px;
    font-style: italic;
    color: #4d4d4d;
    max-height: 140px;
    overflow-y: auto;
    white-space: pre-wrap;
}
#chatModal {
    overflow: hidden;
    padding: 0 !important;
}
.chat-modal-dialog {
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.chat-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    min-height: 0;
}
.chat-modal-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.chat-modal-shell > .row {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.chat-modal-shell > .row > [class*="col-"] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.chat-modal-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.chat-modal-header,
.chat-modal-controls,
.chat-modal-footer {
    flex-shrink: 0;
}
.chat-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 10px;
    background-color: white;
    margin-bottom: 15px;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.chat-modal-footer {
    margin-bottom: 0;
    width: 100%;
    align-self: stretch;
}
.chat-modal-footer .container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.chat-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #31a3dd;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    font-size: 23px;
    z-index: 1000;
}
#chatModalDialog {
    padding: 2px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    top: 0;
    right: 0;
    width: 30%;
    height: 100vh;
    max-height: 100vh;
    border-left: 1px solid #ccc;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
    #chatModalDialog {
        width: 100%;
        height: 100vh;
        margin: 0;
        top: 0;
    }

    /* Adjust button sizes for mobile */
    #closeChatButton, #clearChatButton, #sendChatButton {
        font-size: 16px; 
        padding: 10px; 
    }
}
.message {
    margin: 3px 0;
    padding: 7px;
    border-radius: 7px;
    max-width: 80%;
}
.user-message {
    color: #fff;
    background-color: #005C96;
    border: 1px solid #005C96;
    align-self: flex-end;
}
.bot-message {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    color: black;
    align-self: flex-start;
}
.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #007bff;
    width: 30px;
    height: 30px;
    margin: 10px auto;
    /* Initial rotation */
    transform: rotate(0deg);
}
.typing-indicator {
    font-style: italic;
    color: #999;
    margin-left: 10px;
}
/* End Chatbot CSS */

.iMSItemChecklist {
    background-color: #CECECE !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
    border-radius: 7px;
}
.checklistrow {
    margin-top: 1px !important;
    margin-bottom: 0px !important;
    border-bottom: 1px solid rgba(0,0,0,.12);
}


.fc-button {
    font-weight: bold;
    background-color: #fff;
    background-image: none;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 10px;
    padding-right: 10px;
}

.form-control-iMSText{
    display:block;
    padding:8px 0;
}

.btn-link.iMSFocus:hover,
.btn-link.iMSFocus:focus {
    border-color: #31a3dd;
}

.text-nowrap{
     text-overflow: ellipsis;
     overflow: hidden;
     white-space:nowrap;
}

#iMSFooterLinks {
    background-color:#222;
    padding:7px;
}

#iMSFooterLinks > a:hover,
#iMSFooterLinks > a:focus {
    color: #fff;
    text-decoration: none;
}

#bigsearch {
    display: inherit;
}

.text-inverse {
    color:white;
    background-color:#4d4d4d;
}

.ui-autocomplete-loading { 
    background: url('SpinningiMS.gif');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 30px 30px;
}

.navbar-right {
    margin-right:0;
}

.margin0{
    margin: 0;
}

select.btn{
    text-align: left;
}

.iMSunselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.imsFullDesc {
    position: absolute;
    overflow: hidden;
}

.progress-bar.custominputmask {
    width: 100%;
    text-align: left;
    height: unset;
}

/* Changes to accommodate Google Translage */
.navbar-fixed-top {
    position: relative;
    margin-bottom: 0px;
}
body {
    padding: 0;
}

.iMSnopadding {
    padding: 0;
}

.iMSbold {
    font-weight: bold;
}

.iMSItemComment {
    padding-top: 3px;
    padding-bottom: 3px;
    white-space: pre-line;
}

/* dark colors for navbar dropdowns */
.navbar-nav .open .dropdown-menu.sh {
    background-color: #343434;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #fff;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #333;
    background-color: #fff;
}

.navbar-inverse.navbar-test {
    background-color: #600000;
}

html {
    background-color: #222;
}

@media (min-width: 768px) {
    .centernotxs {
        text-align: center;
    }
}

.alwaysgrey,
.alwaysgrey:focus,
.alwaysgrey:hover,
.alwaysgrey:active{
    color: #9d9d9d !important;
}

.imscalendaritem {
    position:absolute;
    z-index:100;
    bottom:12px;
    left:50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    padding:0;
    font-size:unset
}

.footerhr {
    margin-top:7px;
    margin-bottom:7px;
}

/*Overriding some bootstrap behavior*/
.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
    border-top-right-radius: 17px !important;
    border-bottom-right-radius: 17px !important;
}

/* Some Full Calendar Tweaks */
td.fc-day {
    /* Was Losing Border Color in IE */
    background-clip: padding-box !important;
}
.fc {
    border-color: #222 !important;
}
td.fc-day {
    background-color: #fff;
}
td.fc-day.fc-today {
    background-color: #fff;
}
.fc-today > .fc-day-number {
    color: #31a3dd;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display:inline-block;
    content: "[";
    padding-right: 0.5em;
}
.btn-bracketed::after {
    display:inline-block;
    content: "]";
    padding-left: 0.5em;
}

li.slimrow {
    padding:5px;
    padding-bottom:3px;
}
tr.slimrow > td {
    padding:3px !important;
    padding-top:5px !important;
}
tr.slimrow > td.textColNearButton {
    padding-top:8px !important;
}

.iMSloading {
    position: fixed; 
    right: 0px; 
    top: 0px; 
    width: 100%; 
    height: 100%; 
    background-color: #222222; 
    z-index: 30001; 
    opacity: 0.8;
}
.iMSbtn > .fa-edit {
    font-size: 1.9rem;
    padding-top:.4rem;
}
.iMSbtn > .fa-paint-brush {
    font-size: 1.7rem;
    vertical-align:top;
    padding-top:.4rem;
}
.iMSbtn > .fa-upload {
    font-size: 1.8rem;
    vertical-align:top;
    padding-top:.25rem;
}
.iMSbtn > .fa-camera {
    vertical-align:top;
    padding-top:.45rem;
}
.iMSbtn > .fa-calendar {
    vertical-align:top;
    padding-top:.29rem;
}
.iMSbtn > .fa-plus {
    font-size: 2.1rem;
    padding-top:.3rem;
}
.iMSbtn > .fa-envelope-o {
    font-size: 1.67rem;
    vertical-align:top;
    padding-top:.33rem;
}
.iMSbtn > .fa-cog {
    font-size: 1.9rem;
    vertical-align:top;
    padding-top:.27rem;
}
.iMSbtn > .fa-filter {
    font-size: 1.9rem;
    vertical-align:top;
    padding-top:.35rem;
}
.iMSbtn > .fa-compress {
    font-size: 1.9rem;
}
.iMSbtn > .fa-refresh {
    font-size: 1.9rem;
    vertical-align:top;
    padding-top:.35rem;
}
.iMSbtn > .fa-suitcase {
    font-size: 1.9rem;
    margin-left: -.17rem;
}
.iMSbtn > .fa-database {
    margin-left: .04rem;
}
.iMSbtn > .fa-user-secret {
    font-size: 1.9rem;
    margin-left: .07rem;
}
.iMSbtn > .fa-donate {
    font-size: 2rem;
    margin-left: -0.1rem;
    vertical-align: top;
    padding-top: .15rem;
}
.iMSbtn > .fa-solid.fa-house-circle-check {
    font-size: 1.7rem;
    margin-left: -0.2rem;
    vertical-align: top;
    padding-top: .2rem;
}
.iMSbtn > .fa-info-circle {
    font-size: 1.9rem;
    padding-top:.46rem;
}
.iMSbtn > .fa-minus-circle {
    font-size: 2.1rem;
    text-align:unset;
    margin-left: -.11rem;
    padding-top:.21rem;
}
.iMSbtn > .fa-file-pdf-o {
    font-size: 1.9rem;
    margin-right: -.12rem;
    vertical-align: top;
    padding-top: .24rem;
}
.iMSbtn > .fa-files-o {
    text-align: unset;
    margin-left: -.11rem;
    vertical-align: top;
    padding-top: .30rem;
}
.iMSbtn > .fa-unlock {
    font-size: 1.9rem;
}
.iMSbtn > .fa-lock {
    font-size: 1.9rem;
}
.iMSbtn > .fa-bolt {
    font-size: 1.9rem;
    vertical-align:top;
    padding-top:.21rem;
}
.iMSbtn > .fa-link {
    font-size: 1.8rem;
    vertical-align:top;
    padding-top: .37rem;
}
.iMSbtn > .fa-unlink {
    font-size: 1.7rem;
    vertical-align:top;
    padding-top: .4rem;
}
.iMSbtn > .fa-map {
    font-size: 1.6rem;
    vertical-align:top;
    padding-top:.27rem;
}
.iMSbtn > .fa-calendar-plus-o {
    font-size: 1.7rem;
    vertical-align: top;
    padding-top: .35rem;
}
.iMSbtn > .fa-remove {
    font-size: 2.2rem;
    vertical-align:top;
    margin-right: -.12rem;
    padding-top:.10rem;
}
.iMSbtn > .fa-shopping-cart {
    font-size: 2rem;
    vertical-align: top;
    padding-top: .15rem;
    margin-left: -.16rem;
}
.iMSbtn > .fa-compass {
    font-size: 2.2rem;
    margin-left: -.12rem;
    vertical-align:top;
    padding-top:.12rem;
}
.iMSbtn > .fa-expand {
    font-size: 1.85rem;
}
.iMSbtn > .fa-building {
    font-size: 1.7rem;
    vertical-align: top;
    margin-top: .32rem;
}
.iMSbtn > .fa-gavel {
    font-size: 2rem;
    margin-left:-.21rem;
    padding-top:.12rem;
}
.iMSbtn > .fa-check-square-o {
    font-size: 2rem;
    padding-top:.27rem;
}
.iMSbtn > .fa-certificate {
    font-size: 2rem;
    margin-left: -.03rem;
    padding-top: .21rem;
}
h4 > strong > .iMSbtn > .fa-certificate {
    font-size: 2rem;
    vertical-align: top;
    padding-top: .12rem;
}
.iMSbtn > .fa-tag {
    font-size: 2rem;
    padding-left: .05rem;
    padding-top:.27rem;
}
.iMSbtn > .fa-bullseye {
    font-size: 2rem;
    padding-top: .18rem;
    margin-left: -.07rem;
}
.iMSbtn > .fa-briefcase {
    font-size: 1.85rem;
    padding-top: 0;
}
.iMSbtn > .fas.fa-briefcase {
    margin-left: -.12rem;
    vertical-align: top;
    padding-top: .16rem;
}
h2 > span > span > a > .iMSbtn > .fa-briefcase {
    margin-left: -.16rem;
    vertical-align: top;
    padding-top: .17rem;
}
.iMSbtn > .fa-gears {
    font-size: 2rem;
}
.iMSbtn > .fa-sign-in-alt {
    font-size: 1.75rem;
    vertical-align:top;
    padding-top:.21rem;
    margin-left: -.17rem;
}
.iMSbtn > .far.fa-location {
    vertical-align: top;
    padding-top: .2rem;
    font-size: 2rem;
    margin-left: -.19rem;
}
.well .iMSbtn > .far.fa-location {
    vertical-align: top;
    padding-top: .2rem;
    font-size: 2rem;
    margin-left: -.19rem;
}
.iMSbtn > .fas.fa-repeat {
    vertical-align: top;
    padding-top: .31rem;
    font-size: 1.8rem;
    margin-left: -.14rem;
}
.iMSbtn > .fas.fa-sort-alt {
    vertical-align: top;
    padding-top: .31rem;
    font-size: 2rem;
}
.iMSbtn > .fal.fa-file-minus {
    font-size: 1.9rem;
    margin-left: .11rem;
    vertical-align: top;
    padding-top: .33rem;
}
.iMSbtn > .fal.fa-file-times {
    font-size: 1.9rem;
    margin-left: .11rem;
    vertical-align: top;
    padding-top: .33rem;
}
.alert > a > .iMSbtn > .fa-remove {
    margin-right: 0;
    margin-left: -.07rem;
}
.imsfooterwebsitelink {
    float: right;
}
.progress-text {
    font-size: 125%;
    font-weight: bold;
    color: #222;
}
h2 > a > .iMSbtn > .fa-minus-circle {
    font-size: 2.1rem;
    text-align:unset;
    margin-left: -.08rem;
    padding-top:.24rem;
}
.iMSbtn > .fa-file-text {
    font-size: 1.9rem;
    margin-left: .07rem;
}
.iMSbtn > .fa-users-cog {
    font-size: 1.9rem;
    vertical-align:top;
    padding-top:.27rem;
    margin-left: -.4rem;
}
.iMSbtn > .fa-comment-alt-lines {
    vertical-align: top;
    padding-top: .4rem;
    margin-left: -.05rem;
}
.iMSbtn > .fa-undo {
    font-size: 2.1rem;
    margin-left: -.12rem;
    vertical-align: top;
    padding-top: .23rem;
}
.iMSbtn > .fa-users-class {
    font-size: 1.5rem;
    margin-left: -.12rem;
    vertical-align: top;
    padding-top: .43rem;
}
.iMSbtn > .fa-video-plus {
    margin-left: -.12rem;
}
div.col-md-3 > a > .iMSbtn > .fa-file-text {
    font-size: 1.9rem;
}
.iMSbtn.iMSbtn-select {
     font-size: 1.9rem;
     padding-bottom: .17rem;
     padding-left: .59rem;
}
.iMSblue {
    color:#31a3dd !important;
}
.iMSorange {
    color:#dd6b31 !important;
}
.iMSblueheader {
    background-color:#31a3dd;
    color:white;
}
.imsrefundicon1 {
    margin-top: -.2rem;
}
.imsrefundicon2 {
    font-size: 1rem;
}
.imsrefundicon3 {
    font-size: 1.5rem;
    margin-top: -.2rem;
}
.imsrefundicon4 {
    font-size: 2.25rem;
}
.iMSorangeheader {
    background-color:#dd6b31;
    color:white;
    margin-top:0px !important;
}
.btnlastsearch {
    min-width:30px !important;
    display:none;
}

.iMSnavbarHeader {
    border-bottom: 2px solid #31a3dd
}

@media (min-width: 768px) {
    .iMSnavbarHeader > .container {
        padding-left: 9px;
    }
}

.navbar-btn.dropdown-toggle.count.icondropdown {
    /*Toolbar Dropdowns*/
    font-size:200%;
    text-align:center;
    vertical-align:middle;
    position: relative;
    margin:4px;
    padding:0px;
    min-width:50px;
    height: 42px;
}
.navbar-btn.dropdown-toggle:not(.icondropdown) {
    /*Toolbar Login*/
    position: relative;
    margin:4px;
    min-width:50px;
    height: 42px;
}
.navbar-btn:not(.dropdown-toggle){
    /*Toolbar icons*/
    text-align:center;
    vertical-align:middle;
    position: relative;
    margin:4px;
    padding: 7px;
    min-width:50px;
    height: 43px;
}

.iMSspinnercontainer {
    position: fixed; 
    top: 50%; 
    left: 50%; 
    width: 241px; 
    height: 165px; 
    margin-top: -82px; 
    margin-left: -120px;
}
.iMSMapLoadingContainer {
    position: fixed; 
    top: 50%; 
    left: 50%; 
    width: 241px; 
    height: 165px; 
    margin-top: -82px; 
    margin-left: -120px;
    padding-top: 40px;
    z-index: 3001;
    background-color: #222;
    color: #fff;
}

.iMSlogocontainer {
    position: relative; 
    width: 100%; 
    height: 100%; 
}
.iMSlogo {
    position: absolute; 
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto; 
}

.alignsub {
    vertical-align:sub;
}
.font-85pct {
  font-size: 85% !important;
}
.font-125pct {
  font-size: 125% !important;
}
.row.alert.link {
    padding:3px;
    margin:0px;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"]
{
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none
  }
}

.scrolltobottom, .scrolltotop {
    right:30px;
    position:fixed;
    opacity:.5;
    text-align:center;
    width: 25px;
    color:#fff;
    background-color:#9d9d9d;
    z-index:9999;
    display:none;
}
.scrolltobottom {
    top: 100px;
}
.scrolltotop {
    bottom: 50px;
}
.esriPopup .esriPopupWrapper {
    box-shadow: 0 0 0.75em #dd6b31 !important;
    -webkit-box-shadow: 0 0 0.75em #dd6b31 !important;
}
.arcgisSearch .searchGroup {
  font-family: "Trebuchet MS", 'Verdana', Arial !important;
}
.esriPopup {
  font-family: "Trebuchet MS", 'Verdana', Arial !important;
}
.esriPopup .titlePane {
    /*background-color: #333 !important;*/
}
.esriPopup a {
    color: #31a3dd !important;
    text-decoration: none !important;
}

/*ESRI Measurement css*/
/*Hide Measurement when it loads*/
.esriMeasurement{
    border: 1px solid #57585A;
    border-radius: 5px;
    display:none;
    width: 300px !important;
    height: auto !important;
    position: absolute !important;
    top: 74px !important;
    left: 69px !important;
    z-index: 30 !important;
    background-color: #fff !important;
}

/*set measurement icons to use font awesome*/
.dijitIcon.areaIcon,
.dijitIcon.distanceIcon,
.dijitIcon.locationIcon{
    background-image: none !important;
    font-family: 'Font Awesome 5 Pro';
}
.dijitIcon.areaIcon:before{
    content: "\f546";
}
.dijitIcon.distanceIcon:before{
    margin-left: -2px;
    margin-top: -3px;
    content: "\f545";
}
.dijitIcon.locationIcon:before{
    content: "\f0ac"; 
}

.esriMeasurement .esriButtonChecked .dijitButtonNode {
    background: none !important;
    background-color: #31a3dd !important;
}
.esriMeasurement .esriButtonHover .dijitButtonNode {
    background: none !important;
    background-color: #9d9d9d !important;
}
.esriMeasurementResultTable{
    width: inherit !important;
}
.esriMeasurement .esriMeasurementTableHeader,
.esriMeasurementTableCell,
.esriMeasurementResultValue {
    text-align: center !important;
}
.esriMeasurementResultLabel{
    background-color: #333;
    color: #fff;
    margin: 0 !important;
    width: 100% !important;
}
.esriMeasurementButtonContainer{
    margin: 5px;
}

/*More ESRI stuff*/
.contentPane {
    padding:0 !important;
}
.actionsPane {
    display:none;
}

@media (min-width: 768px) {
    .littlesearch {
        margin-right: 0 !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.99px) {
    .navbar-header {
        width: 230px;
    }
}

@media (min-width: 1024px) {
    .navbar-header {
        width: 300px;
    }
}

.pinnedtobottom {
    position:absolute;
    bottom:8px;
    right:8px;
    left:8px;
}
.bigsearch {
    width:200px;
    height:30px;
    margin:8px;
    font-size:12px !important;
}
.littlesearch {
    width:150px;
    height:30px;
    margin:8px;
    font-size:12px !important;
}
.modal-header.well{
    margin-bottom:0px;
    padding:5px;
}
/*switch up anchors in darkblue backgrounds*/
.darkblue > div > a,
.alert-darkblue > div > a {
    color:#fff;
}
.darkblue:not(.inactive) > div > a.focus,
.darkblue:not(.inactive) > div > a:focus,
.alert-darkblue:not(.inactive) > div > a.hover,
.alert-darkblue:not(.inactive) > div > a:hover {
  color: #222;
}
/*visual cleanup for tile screens*/
.tilecontainer {
    margin-left:-3px;
    margin-right:-3px;
}    
.tile {
    padding:3px;
}        
.sectionheader, .outersectionheader {
    padding:5px;
    margin-bottom:0px;
}
.sectiongroup {
    margin-left:0px;
    margin-right:0px;
    padding:5px;
    margin-bottom:0px;
}
.iMSResponsive {
    margin-bottom:2px;
}
.container-fluid.iMSResponsive {
    padding:1px;
}
.form-group {
    margin-top:5px;
    margin-bottom:5px;
}

.alert-darkgrey,
.alert-grey,
.alert-yellow,
.alert-success,
.alert-warning {
    margin:0px;
    margin-bottom:5px;
    padding:3px;
    padding-top:5px;
}
.dashboardusertile {
   margin:0px;
   padding:3px;
}
.dashboardchart {
    height: 250px;
}
/*remove hrefs from printed pages*/
@media print {
  a[href]:after {
    content: none !important;
  }
}
/*Tile manipulation*/
.sectionheader > .row > H3 {
     margin: 0px;
}
/*Header manipulation*/
a.count > .fas.fa-tasks.count {
    font-size: 2.8rem;
}
.progress {
    margin-bottom:5px;
}
/*counts*/
.fa.fa-bookmark.count::after {
    margin-right: -5px;
}
.fas.fa-tasks.count::after {
    margin-right: -12px;
    margin-top: -4px;
}
.fa.fa-bell.count::after {
    margin-right: -6px;
    margin-top: -5px;
}
.fa.fa-shopping-cart.count::after {
    margin-right: -12px;
    margin-top: -5px;
}
.fa.fa-shopping-cart.count.inactive::after {
    /*Empty Shopping Cart*/
    margin-right: -.7rem;
    margin-top: .01rem;
}
.fa.fa-address-book.count::after {
    margin-right: -7px;
    margin-top: -12px;
}
.iMSDashboardDiv {
    padding-top: 9px !important;
}
.headerbtn {
    height: 50px;
    width: 70px;
}
.icondropdown {
    width: 66px;
}
.headerbtn > a > .fa-tachometer {
    font-size: 3.2rem;
    margin-top: -5px;
    margin-right: -1px;
}
.headerbtn > a > .fa-bell {
    font-size: 2.8rem;
}
.headerbtn > a > .fa-shopping-cart {
    font-size: 3.2rem;
    margin-top: -5px;
}
.headerbtn > a > .fa-shopping-cart.inactive {
    /*Empty Shopping Cart*/
    font-size: 3.2rem;
    margin-top: .03rem;
}
.navbar-btn:focus {
    color: white;
}
.navbar-btn {
    margin: 0;
}
.navbar-btn:focus > i {
    color: white !important;
}
/*Changes for mobile*/
@media (max-width: 767px) {
    .modal-content>.tilecontainer {
        margin-left:0px;
        margin-right:0px;
    }
    .tilecontainer {
        margin-left:-12px;
        margin-right:-12px;
    }
    .modal-dialog {
       margin: 0px;
    }
    a.count > .fas.fa-tasks.count {
        padding-top: 2px;
    }
    a.count > .fa.fa-bell.count {
        padding-top: 2px;
    }
    /*counts*/
    .fa.fa-bookmark.count::after {
        margin-right: -12px;
    }
    .fas.fa-tasks.count::after {
        margin-right: -17px;
    }
    .fa.fa-bell.count::after {
        margin-right: -9px;
    }
    .fa.fa-shopping-cart.count::after {
        margin-right: -17px;
    }
    .navbar-nav .open .dropdown-menu.sh {
        position:absolute;
        background-color:#343434;
    }
    .btn:not(.form-control):not(.navbar-btn):not(.iMSbtn) {
        min-width: 70px;
    }
    .btn-danger.iMSbtn {
        /*these looked low on phones*/
        padding-top:.17rem !important;
    }
}
/*Changes for 768+ */
@media (min-width: 768px) {
    .dashboardusertile,
    .alert-darkgrey,
    .alert-grey,
    .alert-yellow,
    .alert-success,
    .alert-warning {
        padding-top:10px;
        padding-bottom:7px;
    }
}
.progress-bar.notransition {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}
.shvalign {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
.nav >li {
    float:left;
}
.navbar-collapse.in {
    overflow-y: inherit;
}
html {
  font-family: "Trebuchet MS", 'Verdana', Arial;
}
body {
  font-family: "Trebuchet MS", 'Verdana', Arial;
}
.treb {
  font-family: "Trebuchet MS", 'Verdana', Arial;
  font-weight:bold;
}
div.dropdown {
    max-height:50px;
}
.iMSHeaderText {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  line-height: 1.42857143;
  white-space: nowrap;
  vertical-align: middle;
}
a.count {
    font-size:185%;
    /*width:80px;*/
    text-align:center;
    vertical-align:middle;
    position: relative;
    max-height:50px;
}
a.btncount {
    position: relative;
}
a.header,
.btn.navbar-btn {
    font-size:130%;
}
.fa.count:after,
.fas.count:after {
    font-family: "Trebuchet MS", 'Verdana', Arial;
    content: attr(data-count);
    position: absolute;
    background: #9d9d9d;
    height: 2rem;
    top: 5px;
    right: 1.6rem;
    width: 2rem;
    text-align: center;
    /*line-height: 1.8rem;*/
    padding-top: .33rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    color: #222;
    border: 1px solid #4d4d4d;
}
.fa.btncount:after {
    font-family: "Trebuchet MS", 'Verdana', Arial;
    content: attr(data-count);
    position: absolute;
    background: #9d9d9d;
    height: 2rem;
    top: -.7rem;
    left: 1.9rem;
    width: 2rem;
    text-align: center;
    /*line-height: 1.8rem;*/
    padding-top: .33rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    color: #222;
    border: 1px solid #4d4d4d;
}
.fa.btncount.fa-link:after{
    top: -1.4rem;
}
.fa.btncount.fa-cog:after{
    top: -1.5rem;
}
.fa.count.flag:after,
.fas.count.flag:after{
    background: #dd6b31;
    border-color: #C45218;
}
.fa.count.info:after{
    color: #fff;
    background: #31a3dd;
    border-color: #1F91CB;
}
.fa.fa-bookmark.count:after{
    top:0px;
}
.container-fluid {
    color:#222;
}
.fa.count:focus:not(.inactive),
.fa.count:hover:not(.inactive),
.fas.count:focus:not(.inactive),
.fas.count:hover:not(.inactive),
.fa.nav:focus:not(.inactive),
.fa.nav:hover:not(.inactive),
.fas.nav:focus:not(.inactive),
.fas.nav:hover:not(.inactive),
.btn.count:focus:not(.inactive),
.btn.count:hover:not(.inactive) {
    color: white !important;
}
.disabledformcontrol {
    font-style:normal;
    border:none;
    box-shadow:none;
    background-color:transparent;
    padding-left:0px;
}
.iMSDDBreakAfter {
    margin-bottom:20px;
}
.navbar-center {
    position: absolute;
    padding: 15px 10px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    width: 200px;
    left: 0;
    right: 0;
    display:none;

    margin: auto;
}
.navbar-brand,
.navbar-toggle {
    z-index:1;
}
/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select {
    max-width: 360px;
}
/*some work for password fields*/
.limitedinputdiv {
    max-width: 360px;
}
.showhidepassword{
    background-color:#fff;
    color:#31a3dd;
    font-weight:bold;
}
/*.well {
    margin-right: 2px;
    margin-left: 2px;
}*/
/* effectively disabling this */
textarea {
    max-width: 10000px;
}
.clickable {
    cursor:pointer;
}
/* add/edit/delete */
.iMSbtn {
    cursor:pointer;
    display: inline-block;
    padding: 3px 7px;
    font-size: 125%;
    line-height: 25px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 10px;
    height: 30px;
    width: 30px;
    margin-top:-.123em;
    font-weight:bold;
    overflow-wrap: normal;
}
.iMSbtn.inert{
    cursor:default;
}
/* rounding buttons */
.iMSbtn,
.btn:not(.form-control),
.btn.btn-selectoption {
    border-radius: 17px;
}
.container-fluid.iMSResponsive.tilerow > .text-nowrap > a > .iMSbtn {
    margin-top: 0px;
    /*Need to add padding back in*/
    padding-top: .25rem;
}
.dashboardbadge {
    border-radius: 3px;
}
.btn:not(.form-control):not(.navbar-btn):not(.iMSbtn) {
    min-width: 100px;
}
a {
  color: #31a3dd;
  font-weight:bold;
}
a:focus,
a:hover {
  color: #222;
  text-decoration: none;
}
a.link-inverse:focus,
a.link-inverse:hover {
  color: #fff;
}
.alert-darkgrey a:focus,
.alert-darkgrey a:hover {
    color: white;
}
.alert-darkgrey .well a:focus,
.alert-darkgrey .well a:hover {
    color: #222;
}
a.header:focus,
a.header:hover {
  color: white;
}
.header.mousetooltip {
    width: 30px;
}
.badge {
  color: #fff;
  background-color: #31a3dd;
  border-radius: 30px;
  height: 30px;
  width: 30px;
  line-height: 2
}
.badge-yellow {
  color: #222;
  background-color: #ddc031;
}
.badge.zero {
  color: #fff;
  background-color: #9d9d9d;
}
.badge.largebadge {
  padding-left: 0px;
  padding-right: 0px;
}
.littlebadge {
  border-radius: 10px;
  height: 13px;
  width: 13px;
  padding:0px;
  font-size:80%;
  margin-top:-3px;
}
.littlebadge .treb {
  position:absolute;
  margin-top:-2px;
  margin-left:-6px;
  font-weight:bolder;
}
.badge:hover,
.badge.focus {
  color: #222;
}
.navbar-brand, .navbar-brand-inactive{
    font-size: 40px;
}
.navbar-brand-inactive {
    cursor:default;
}
.navbar-brand-imageanchor {
    padding: 0;
    margin: 8px;
    margin-left: 0px !important;
    height: 34px;
    width: 72px;
    overflow:hidden;
}
.navbar-brand-image {
    height: 100%;
    width: 100%;
}
.navbar .badge {
    color: #000000;
    background-color: #9d9d9d;
}
.navbar .badge:hover,
.navbar .badge:focus{
    background-color: white;
}
fieldset[disabled] .btn-warning.focus {
  background-color: #dd6b31;
}
.btn-link {
  font-weight: bold;
  color: #31a3dd;
}
.btn-link:hover,
.btn-link:focus {
  text-decoration: none;
    color: #222222;
}
/*eliminate wierd colors from autofill*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    box-shadow: 0 0 0px 1000px #fff inset;
}
input:-webkit-autofill:focus {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(49, 163, 221, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(49, 163, 221, .6);
}
/*end eliminate wierd colors from autofill*/
.btn:focus,
.btn.focus,
.btn-default.focus:not(.badge-inactive):not(.redborder),
.btn-default:focus:not(.badge-inactive):not(.redborder),
.btn:active:focus,
.btn:active.focus,
.btn.active:focus,
.btn.active.focus,
.form-control:focus,
.form-control.focus,
.btn-info:hover:not(.inert)
.btn-info:focus:not(.inert),
.badge:hover:not(.badge-inactive):not(.badge-yellow):not(.zero):not(.warning),
.alert-info.link:hover,
.iMSFocus {
  outline: 0;
  border-color: #31a3dd;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(49, 163, 221, .6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(49, 163, 221, .6);
}
.btn.disabled:focus,
.btn.disabled.focus{
  border-color: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.iMSFocus:not(.badge) {
    color: #fff !important;
    opacity: 1 !important;
}
.btn-ltgrey:hover,
.btn-ltgrey:focus,
.badge.zero:hover {
  outline: 0;
  border-color: #444;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 18px rgba(157, 157, 157, .6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(157, 157, 157, .6);
}
.badge-yellow:hover {
  outline: 0;
  border-color: #b99c0d;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 18px rgba(221, 192, 49, .6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(221, 192, 49, .6);
}
.navbar-inverse .navbar-brand, .navbar-brand-inactive {
  color: #31a3dd;
}
.tooltip {
  font-family: "Trebuchet MS", 'Verdana', Arial;
}
.progress-bar {
  background-color: #31a3dd;
}
.gm-style {
  font-family: "Trebuchet MS", 'Verdana', Arial !important;
}
.alert-purple {
    color: #a431dd;
    background-color: #f9f2fd;
    border-color: #eed8f9;
}
.redborder,
.btn-danger.focus,
.btn-danger:focus,
.btn-danger:active:focus,
.btn-danger:active.focus,
.btn-danger.active:focus,
.btn-danger.active.focus,
.btn-danger:hover {
  border-color: #ab2a26;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(226, 125, 121, 1);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(226, 125, 121, 1);
}
.text-danger {
  color:#dd4031;
  font-weight:bold;
}
.alert-danger,
.well.danger {
    color: #dd4031;
    background-color: #f9dad8;
    border-color: #f1ada7;
}
.alert-darkred {
    color: white;
    background-color: #d9534f;
    border-color: #d43f3a;
}
/*switch up anchors in alert-danger backgrounds*/
.alert-darkred > div > a {
    color:#fff;
}
.alert-darkgreen {
    color: white;
    background-color: #006911;
    border-color: #004500;
    margin-bottom: 3px;
}
.well > .alert-darkgreen {
    padding: 3px;
}
/*switch up anchors in alert-danger backgrounds*/
.alert-darkred > div > a {
    color: #fff;
}

.cartinvoice {
    margin-bottom: 3px;
}
.receiptinvoice {
    margin-bottom: 3px;
}
.popupsblocked {
    padding: 7px;
    margin-bottom: 3px;
}

.alert-grey,
.badge-inactive,
.badge-inactive:hover, .badge-inactive.focus {
    color: #797979;
    background-color: #e3e3e3;
    border-color: #bfbfbf;
}
.alert-grey {
    color: #797979
}
.badge-inactive,
.badge-inactive:hover, .badge-inactive.focus {
    color: #222;
}
.alert-darkgrey,
.usertiledarkgrey {
    border: 1px solid #3b3b3b;
    color:white;
    background-color:#4d4d4d;
}
.darkgrey {
    border: 1px solid #3b3b3b;
    color:#fff;
    background-color:#4d4d4d;
}
.alert-yellow {
    border: 1px solid #CBAE1F;
    color:#222;
    background-color:#ddc031;
}
.alert-warning,
.well.warning {
    color: #dd6b31;
    background-color: #f9e6dc;
    border-color: #f6d6c6;
}
.usertileorange {
    color: #fff;
    background-color: #dd6b31;
    border-color: #a73500;
}
.usertileyellow {
    color:#fff;
    border-color: #CBAE1F;
    background-color:#ddc031;
}
.forcedarkbluebackground {
    color: #fff !important;
    background-color: #005C96 !important;
    border-color: #004A84 !important;
}
.usertilered {
    color:#fff;
    background-color: #dd4031;
    border-color: #f1ada7;
}
.btn-default.iMSbtn.checklisticon {
    border:1px solid #9d9d9d;
    padding:0px;
}
.btn-default.iMSbtn.inert {
    border:1px solid #9d9d9d;
    cursor:default;
}
.btn-info.iMSbtn.inert {
    border:1px solid #9d9d9d;
    color: #9d9d9d;
    cursor:default;
}
.btn-inverse.iMSbtn {
    color:#fff;
    background-color:#333;
    border:1px solid #9d9d9d;
    padding:0px;
}
.btn-ltgrey.iMSbtn {
    color:white;
    border: 1px solid #8d8d8d;
    background-color:#9d9d9d;
}
.btn-inverse.iMSbtn > span > .fa-check {
    color: #2cb058;
}
.btn-inverse.iMSbtn > span > .fa-ban {
    color: #d9534f;
}

/*.btn-inverse.iMSbtn > span > .fa-thumbs-down {
    color: #d9534f;
}
.btn-inverse.iMSbtn > span > .fa-thumbs-up {
    color: #2cb058;
}*/

.btn-default.inert:hover {
  color: #333;
  background-color: #fff;
}
.btn-warning.iMSbtn.checklisticon {
    border:1px solid transparent;
    padding:0px;
}
.btn-warning,
.badge.warning {
  background-color: #e17a47;
  border-color: #dd6b31;
}
.orangeborder,
.input-validation-error,
.btn-warning.focus,
.btn-warning:focus,
.btn-warning:active:focus,
.btn-warning:active.focus,
.btn-warning.active:focus,
.btn-warning.active.focus,
.btn-warning:hover,
.badge.warning:hover {
  border-color: #a73500;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(221, 107, 49, .6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(221, 107, 49, .6);
}
.btn-warning:hover, .btn-warning:focus {
    color: #fff;
    background-color: #dd6b31;
    border-color: #e17a47;
}
.btn-warning:active:hover, .btn-warning.active:hover, .open > .dropdown-toggle.btn-warning:hover, .btn-warning:active:focus, .btn-warning.active:focus, .open > .dropdown-toggle.btn-warning:focus, .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus {
    color: #fff;
    background-color: #c45218;
    border-color: #aa3800;
}
.btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning {
    color: #fff;
    background-color: #dd6b31;
    border-color: #f3c9b4;
}
.text-warning {
  color:#dd6b31;
}
.alert-success,
.usertilegreen,
.well.success {
    color: #fff;
    background-color: #2CB058;
    border-color: #088C34;
}
.btn-success,
.badge.success {
    color: #fff;
    background-color: #2cb058;
    border-color: #3ec26a;
}
.fa.fa-toggle-on, 
.fa-toggle-off {
    color: #9d9d9d;
    vertical-align:middle;
    margin-top:-.123em;
}
.fa.fa-toggle-on:not(.disabled) {
    color: #2cb058;
}
.fa.fa-toggle-off:not(.disabled) {
    color: #31a3dd;
}
.btn-success.focus,
.btn-success:focus,
.btn-success:active:focus,
.btn-success:active.focus,
.btn-success.active:focus,
.btn-success.active.focus,
.btn-success:hover {
  border-color: #006b13;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(44, 176, 88, .6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(44, 176, 88, .6);
}
.btn-success:hover, .btn-success:focus {
    color: #fff;
    background-color: #1a9e46;
    border-color: #088c34;
}
.btn-success:active:hover, .btn-success.active:hover, .open > .dropdown-toggle.btn-success:hover, .btn-success:active:focus, .btn-success.active:focus, .open > .dropdown-toggle.btn-success:focus, .btn-success:active.focus, .btn-success.active.focus, .open > .dropdown-toggle.btn-success.focus {
    color: #fff;
    background-color: #01852d;
    border-color: #006b13;
}
.text-success {
  color: #1a9e46;
}
.btn-info,
.alert-info.link {
  color:#fff;
  background-color: #31a3dd;
  border-color: #1F91CB;
}
.btn-info:focus,
.btn-info.focus,
.alert-info.link:focus,
.alert-info.link.focus {
  background-color: #1f91cb;
}
.btn-info:hover,
.alert-info.link:hover {
  color:#fff;
  background-color: #1f91cb;
}
.btn-info:active,
.btn-info.active,
.alert-info.link:active,
.alert-info.link.active,
.open > .dropdown-toggle.btn-info {
  background-color: #1f91cb;
}
.btn-info:active:hover,
.btn-info.active:hover,
.alert-info.link:active:hover,
.alert-info.link.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.alert-info.link:active:focus,
.alert-info.link.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info:active.focus,
.btn-info.active.focus,
.alert-info.link:active.focus,
.alert-info.link.active.focus,
.open > .dropdown-toggle.btn-info.focus {
  color:#fff;
  background-color: #0d7fb9;
}
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus {
  background-color: #5bc0de;
}
.alert-info {
    color:#166288;
    background-color: #c2e4f5;
    border-color: #b4def3;
}
.text-info {
    color: #1a729e;
}
.well.info,
.modal-body.info {
    color: #166288;
    background-color: #dceff9;
    border-color: #b4def3;
}
.modal-footer {
    background-color: white;
}
.well.darkblue, .alert-darkblue
 {
    color: #fff;
    background-color: #005C96;
    border-color: #004A84;
}
.blueheader {
    color: #fff !important;
    background-color: #005C96 !important;
    border-color: #004A84 !important;
    font-weight: bold;
}
.list-group-item:nth-child(even) {
  background: #f9f9f9;
}
.table-striped > tbody > tr:nth-of-type(even),
.container-fluid-striped:nth-of-type(even),
.iMSstriped:nth-of-type(even) {
    background-color: #e7e7e7;
}
.usertileyellow > .imscartheader > .container-fluid-striped:nth-of-type(odd) {
    background-color: #f5f5f5;
}
.usertileyellow > .imscartheader > .container-fluid-striped:nth-of-type(even) {
    margin-bottom: 0;
}
.container-fluid-negative-striped:nth-of-type(odd) {
    background-color: #e7e7e7;
}

/*Allows for restriping with hidden elements*/
.iMSodd{
    background-color: #e7e7e7 !important;
}
.iMSeven{
    background-color: #f9f9f9 !important;
}

.sectionheader > .table {
    margin-bottom: 3px;
}
a#configcog {
    pointer-events: auto;
}
a#auditlink {
    pointer-events: auto;
}
label {
    margin-bottom: 0px;
    vertical-align:middle;
}
.dropdown-menu > li > a {
    font-weight: bold;
}

textarea {
    max-width: 100%;
}

/*Override upper-case behavior when needed*/
::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: none;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: none;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: none;
}

/*Bootstrap in betweenie size hides*/
@media only screen and (max-width: 767.99px) {
    .hidden-xs {
        display: none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.99px) {
    .hidden-sm {
        display: none;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199.99px) {
    .hidden-md {
        display: none;
    }
}

@media only screen and (min-width: 1200px) {
    .hidden-lg {
        display: none;
    }
}

/* Apple Wallet badge styling to mirror the official button */
.apple-wallet-image {
    display: block;
    height: 44px;
    width: auto;
}