html {
    /* This is recommended for responsive devices over using 10px */
    font-size: 62.5%;
}

body {
    font-family: Helvetica, Arial, serif;
    background: var(--system-background-color);
}

.card {
    border-radius: var(--common-border-radius);
}

.content-main {
    margin-top: var(--nav-top-height);
    margin-left: var(--nav-side-width);
}

@media (max-width: 991.98px) {
    .content-main {
        margin-left: 0;
    }
}

.awebut {
    float: left;
    clear: none;
    font-size: 1.5rem;
    background: var(--button-background-color);
    color: var(--button-text-color);
    font-weight: normal;
    text-decoration: none;
    margin: 0px 2px 0px 1px;
    border-radius: var(--common-border-radius);
    display: block;
    border: 1px solid var(--button-border-color);
    padding: 3px 6px 2px 6px;
}

a.awebut:not(:has(i)) {
    padding: 5.2px 6px;
}

.awebut:hover {
    background: var(--button-highlight-background-color);
    color: var(--button-highlight-text-color);
}
.dropdown-item:hover {
    background-color: #0077c8; /* Change this to the desired hover color */
    color: #ffffff !important; /* Change this to the desired text color on hover */
}

.awebut .material-icons {
    margin: 0px -2px 0px -1px;
}

div.card-header a:not(:has(i)) {
    /* CSS properties for 'a' elements that do not contain 'i' */
    padding: 5.2px 6px;
    font-size: 1.54rem;
}

div.overlapbuttons > a {
    margin-top: 1.5px;
    margin-bottom: 1.5px;
}

a.quickviewbutton {
    float: left;
    clear: none;
    font-size: 1.4rem;
    background: var(--button-background-color);
    color: var(--button-text-color);
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    margin: 0px 2px 0px 2px;
    display: block;
    border: 1px solid var(--button-border-color);
    border-radius: var(--common-border-radius);
    cursor: pointer;
    padding: 3px 6px 2px 6px;
}

a.quickviewbutton:hover {
    background: var(--button-highlight-background-color);
    color: var(--button-highlight-text-color);
}

a.quickviewbutton img {
    height: 14px;
}

a.quickviewbutton .material-icons {
    margin: 0px -2px 0px -1px;
}

div.quickviewbox {
    position: fixed;
    top: 120px;
    left: 15%;
    z-index: 230;
    padding: 10px 40px 10px 10px;
    border: 1px solid #666;
    background: #DDD;
    display: none;
    border-radius: var(--common-border-radius);
    box-shadow: 0px 0px 20px #333;
}

div.quickviewbox table td {
    border: 0px solid #000;
    padding: 0px 20px 0px 0px;
    margin: 0px;
    height: 20px;
    background: #DDD;
}

div.quickviewbox table tr {
    background: #DDD;
    padding: 0px;
    margin: 0px;
}

/*input {*/
/*    padding: 2px 4px 2px 4px;*/
/*    background: #F6F6F6;*/
/*    border: 1px solid #AAA;*/
/*    font-size: 20px;*/
/*}*/

font.price {
    color: #009900;
    font-weight: 700;
}

font.cost {
    color: #990000;
    font-weight: 700;
}

a.backbutton {
    float: left;
    clear: none;
}

a.invoicebutton {
    float: right;
    position: relative;
    left: -2px;
}

a.sel {
    background: #C44;
}

.quickinfo {
    font-size: 1.2rem;
}

.chart {
    background-image: url('../img/chart_bg.png');
}

.timein {
    color: #050;
    background: #9F9;
}

.timeout {
    color: #600;
    background: #F99;
}

.signedout {
    float: left;
    width: 80px;
    text-align: center;
    clear: none;
    background: #933;
    color: #F6F6F6;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

.signedin {
    float: left;
    width: 80px;
    text-align: center;
    clear: none;
    background: #5F5;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

.building {
    float: left;
    width: 140px;
    text-align: center;
    clear: none;
    background: #5F5;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

.servicecall {
    float: left;
    width: 140px;
    text-align: center;
    clear: none;
    background: #EA5;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}
.workingremote {
    float: left;
    width: 140px;
    text-align: center;
    clear: none;
    background: #5175ee;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

.offsite {
    float: left;
    width: 140px;
    text-align: center;
    clear: none;
    background: #EAE;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

.away {
    float: left;
    width: 140px;
    text-align: center;
    clear: none;
    background: #933;
    color: #F6F6F6;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

.vacation {
    float: left;
    width: 140px;
    text-align: center;
    clear: none;
    background: #55E;
    color: #F6F6F6;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

.sick {
    float: left;
    width: 140px;
    text-align: center;
    clear: none;
    background: #B80;
    color: #F6F6F6;
    font-weight: 500;
    text-decoration: none;
    margin: 0px 0px 0px 8px;
    padding: 4px 8px 6px 8px;
    display: block;
}

ul.auto-complete-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 100;
    max-height: 400px;
    overflow: auto;
}

ul.auto-complete-list li {
    list-style-type: none;
    font-size: 1.1rem;
    margin: 0;
    padding: 4px;
    background-color: #F6F6F6;
    border-bottom: 1px solid #B00;
    border-right: 1px solid #B00;
    border-left: 1px solid #B00;
    cursor: pointer;
}

ul.auto-complete-list li.auto-complete-list-rollover {
    background-color: #c5c5c5;
}

ul.auto-complete-list .auto-complete-striped {
    background-color: #D7EEF9;
}

.messagealert {
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 4px;
    border: 1px solid #993;
    padding: 4px;
    border-radius: 4px;
    background: #DD6;
    color: #600;
    width: 88%;
    z-index: 255;
}

div.pobuild {

    display: block;
    float: left;
    clear: none;
    background: #DDC;
    color: #000;
    font-size: 2.2rem;
    font-weight: normal;
    height: 32px;
    width: 100%;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 6px 4px 2px 4px;
    position: relative;
    left: -4px;

}

div .posequation {

    width: 140px;
    text-align: right;
    padding: 0px 4px 0px 4px;

}

div .negequation {

    width: 140px;
    text-align: right;
    color: #990;
    padding: 0px 4px 0px 4px;

}

div .equationtotal {

    font-weight: 600;

}

div .equationgrandtotal {

    font-weight: 600;
    color: #090;

}

div .equationline {

    padding-bottom: 2px;
    margin-bottom: -4px;
    border-bottom: 2px solid #333;

}

div .orderitemcost {

    color: #EEE;

}

div .orderitemcost:hover {

    color: #000;

}

div.quickviewdata table {

    background: #DDD;

}

div.pricecheckbox {

    text-indent: 200px;
    white-space: nowrap;
    overflow: hidden;

}

div.pricecheckbox:hover {

    text-indent: 0%;
    white-space: nowrap;
    overflow: hidden;
}

div.card-header {
    color: var(--card-header-color) !important;
    background-color: var(--card-header-background-color) !important;
    min-height: 40px;
}

.errorscreen {
    background-color: var(--system-background-color);
    font-size: 1.4rem;
    margin-left: 11%;
    border-color: transparent;
    min-height: 35px;
}