div.header {
    padding-top: 20px;
}

header div.row {
    display: flex;
    flex-direction: row;
}

header div.outer-row {
    padding-top: 10px;
    background-color: #234C9C;
}

header div.middleground {
    flex-grow: 2;
    text-align: center;
    padding-top: 15px;
    font-size: 16px;
    color: white;
}

header div.link-boxes {
    font-size: 15px;
    font-weight: bold;
    justify-content: flex-end;
}

header div.link-box.link1 {
    background-color: #234c9c;
}

header div.link-box.link1:hover {
    background-color: #a1afc8;
}

header div.link-box.link1 > div.underlay {
    background-color: #a1afc8;
}

header div.link-box.link2 {
    background-color: #459a25;
}

header div.link-box.link2 > div.underlay {
    background-color: #687ca7;
}

header div.link-box.link3 {
    background-color: #e6301a;
}

header div.link-box.link3 > div.underlay {
    background-color: #ff7d08;
}

header div.link-box {
    padding: 13px 25px 13px 25px;
    margin-left: 5px;
    -moz-transform: skewX(-23deg);
    -o-transform: skewX(-23deg);
    -ms-transform: skewX(-23deg);
    -webkit-transform: skewX(-23deg);
    transform: skewX(-23deg);
    cursor: pointer;
}

header div.link-box:hover div.underlay {
    width: 100%;
}

header div.link-box div.underlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    opacity: 0.7;
    z-index: 1;
    transition: width 0.3s;
}

header div.link-box div.texty-twister {
    -moz-transform: skewX(23deg);
    -o-transform: skewX(23deg);
    -ms-transform: skewX(23deg);
    -webkit-transform: skewX(23deg);
    transform: skewX(23deg);
    z-index: 2;
}

.user-name {
    color: white;
    font-size: 1rem;
    margin-top: 14px;
    margin-left: 2rem;
}

header div.link-boxes a {
    text-decoration: none;
    color: white;
}

header div.profile-box {
    padding: 10px 0 5px 10px;
}

header div.profile-box:hover {
    opacity: 0.7;
    transition: opacity 0.3s;
}

header div.profile-box img {
    width: 28px;
    height: auto;
}

div.menu-space {
    width: 100%;
    border: 1px solid black;
    height: 25px;
}

div.general-wrapper {
    width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.app-pane {
    border: 1px solid black;
}

.box_1 {
    /* background-color: #444;
    color: #fff; */
    border-radius: 5px;
    padding: 3px;
    font-size: 100%;
    align-self: center;
}

.sc_sales_top {
    /* background-color: #F9F9F9; */
    color: #444;
}

body {
    --top-height: 8em;
}

.dialog_left {
    display: grid;
    grid-template-columns: [col1] 550px [col2] 550px;
    border: 1px solid red;
}

.sales_container {
    display: grid;
    grid-template-columns: [col1] 580px [col2] 580px;
    grid-gap: 2px;
    /* background-color: green; */
    color: #444;
}

.sc_sales_left {
    display: grid;
    grid-template-columns: [col1] 150px [col2] 100px [col3] 115px [col4] 145px [col5] 60px;
    grid-gap: 2px;
    background-color: #F9F9F9;
    color: #444;
}

.sc_sales_right {
    display: grid;
    grid-template-columns: [col1] 180px [col2] 180px [col3] 60px [col4] 100px [col5] 20px;
    grid-gap: 2px;
    background-color: #F9F9F9;
    color: #222;
}

div.sc_sales_right.distinct-item {
    margin-bottom: 5px;
}

input.small-number {
    width: 45px;
}

md-icon.item-delete {
    position: relative;
    bottom: 4px;
    margin-bottom: -5px;
}

.sc_sales_span_1_2 {
    grid-column: 1 / 3;
}

.sc_sales_span_1_3 {
    grid-column: 1 / 4;
}

.sc_sales_span_1_4 {
    grid-column: 1 / 5;
}

.sc_sales_span_1_4 {
    grid-column: 1 / 5;
}

.sc_sales_span_1_5 {
    grid-column: 1 / 6;
}

.sc_sales_span_3_4 {
    grid-column: 3 / 5;
}

.sc_sales_span_3_5 {
    grid-column: 3 / 6;
}

.sc_sales_span_4_5 {
    grid-column: 4 / 6;
}

.sc_sales_span_5_6 {
    grid-column: 4 / 6;
}

.sc_sales_vertical_3 {
    grid-column: 1 / 6;
    grid-row: 1 / 2;
}

.sc_sales_vertical_12 {
    grid-row: 12;
}

div.sc_sales_right.save-row {
    border-top: 1px solid #222;
    color: #222;
    background-color: #f9f9f9;
    margin-top: 5px;
    padding: 3px 0 8px 0;
}

div.quote-list div.list-tools {
    padding: 8px 8px 3px 8px;
}

div.disabled {
    pointer-events: none;
    opacity: 0.2;
}

button.tab-close {
    height: 26px !important;
    line-height: 22px !important;
    width: 26px !important;
    padding: 0 0 0 0 !important;
    margin: 0 0 0 0 !important;
    bottom: 14px;
}

#quoteSelectionTable tr {
    cursor: pointer;
}

button.tab-close > md-icon {
    font-size: 18px;
}

div.sc_sales_right md-input-container.quote-status {
    width: 130px;
}

div.disableable {
    transition: opacity 250ms linear;
}

div.quotes-tab-inner input.ng-invalid,
div.quotes-tab-inner input.invalid {
    box-shadow: 0 0 4px #CC0000;
}

div.quote-item {
    margin-bottom: 3px;
    cursor: pointer;
}

div.quote-item.selected {
    box-shadow: 0 0 4px blue;
}

::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* non grid stuff */
.estDurationInput {
    width: 40px;
    padding: 1px 3px 1px 3px;
    text-align: right;
}

.priceSummary {
    width: 50px;
    padding: 1px 3px 1px 3px;
    text-align: right;
}

.select_110 {
    width: 110px;
}

.idInput {
    width: 50px;
}

.input_40 {
    display: inline-block;
    width: 40px;
    text-align: right;
}

.input_60 {
    display: inline-block;
    width: 60px;
    text-align: right;
}

.input_140 {
    display: inline-block;
    width: 140px;
}

.input_165 {
    width: 165px;
}

.input_172 {
    display: inline-block;
    width: 172px;
}

.input_295 {
    width: 295px;
}

.dataLabel_45 {
    display: inline-block;
    width: 45px;
}

.dataLabel_70 {
    display: inline-block;
    width: 70px;
}

.dataLabel_85 {
    display: inline-block;
    width: 85px;
}

.dataLabel85 {
    display: inline-block;
    width: 85px;
}

.dataLabel_95 {
    display: inline-block;
    width: 95px;
}

.dataLabel_110 {
    display: inline-block;
    width: 110px;
}

.dataLabel110 {
    display: inline-block;
    width: 110px;
}

.dataLabel_124 {
    display: inline-block;
    width: 124px;
}

.dataLabel124 {
    display: inline-block;
    width: 124px;
}

.pale_blue_background {
    background-color: lightblue;
}

/* ------------------------------------------------- */

/* table formatting */
.colouredTable {
    width: 98%;
    border-collapse: separate;
    border: 1px #C0C0C0 solid;
    border-width: 0 0 1px 1px;
    font-size: inherit;
    border-spacing: 0;
}

.colouredTable td {
    padding: 2px;
    border: #C0C0C0 solid;
    border-width: 1px 1px 0 0;
}

.colouredTable th {
    padding: 3px;
    border: 1px #C0C0C0 solid;
    border-width: 1px 1px 0 0;
}

/* provide some minimal visual accommodation for IE8 and below */
.colouredTable tr {
    background: #F9F9F9;
}

/*  Define the background color for all the ODD background rows  */
.colouredTable tr:nth-child(odd) {
    background: #F9F9F9;
}

/*  Define the background color for all the EVEN background rows  */
.colouredTable tr:nth-child(even) {
    background: #FFF;
}

.row_highlight > tbody > tr:hover {
    /* used on routeSelectionTemplate */
    background-color: #1c94c4;
}

.tableHeaderLeft {
    text-align: left;
}

/* end of table formatting */

/* ------------------------------------------------- */

/* MD override values */

md-checkbox {
    margin-bottom: 0px;
}

md-radio-button {
    margin-bottom: 0px;
    display: inline-block;
}

md-autocomplete {
    display: inline-block;
}

md-autocomplete input:not(.md-input) {
    padding: 0 2px;
    font-size: inherit;
}

md-autocomplete.mini {
    height: 27px;
}

md-autocomplete.mini > md-autocomplete-wrap,
md-autocomplete.mini input {
    height: 27px;
}

.md-button {
    min-width: 50px;
    min-height: 27px;
    margin: 0 0;
    line-height: 14px;
}

.md-button.tiny {
    width: 1.5rem;
    height: 1.5rem;
    min-height: unset;
    line-height: 1.5rem;
}

.md-button.tiny > md-icon {
    width: 1rem;
    min-width: unset;
    height: 1rem;
    min-height: unset;
    margin-left: calc((6px - 0.5rem) / 2); /* md-button is 0.5rem wider but has 6px of padding horizontally */
}

md-tabs:not(.md-no-tab-content):not(.md-dynamic-height) {
    min-height: 780px;
}

md-tabs-wrapper {
    background-color: #234c9c !important;
}

md-select.inline {
    display: inline-flex;
    margin: 0;
}

md-select.inline > md-select-value {
    padding: 0;
    border-bottom: none;
}

.quote-tabs {
    z-index: 1;
    transition: all 0.45s cubic-bezier(0.35, 0, 0.25, 1);
    /*height: 448px;*/
    background: #fff;
    overflow: hidden;
}

/* ------------------------------------------------- */

/* highlight dates on selection screen based on if they're overdue or not */
.today {
    color: #316ad1;
    font-weight: bold;
}

.overdue {
    color: #9a113a;
    font-weight: bold;
}

.hint_text {
    color: #2c80d2;
    font-style: italic;
}

div.fc-dayGridMonth-view .fc-day:hover {
    background: lightblue !important;
    cursor: pointer;
}

/*Allow pointer-events through*/
.fc-slats, /*horizontals*/
fc-content-skeleton, /*day numbers*/
.fc-bgevent-skeleton /*events container*/
{
    pointer-events: none
}

/*Turn pointer events back on*/
.fc-bgevent,
.fc-event-container {
    pointer-events: auto; /*events*/
}

md-dialog.edit-job {
    font-size: 14px;
}

md-dialog.edit-job div.lhs {
    width: 350px;
}

md-dialog.edit-job div.rhs {
    width: 450px;
}

md-input-container.compact {
    margin-top: 0;
    margin-bottom: 0;
}

div.header-tools div.filters {
    padding-right: 20px;
}

div.header-tools div.radio-label {
    padding-right: 10px;
    font-weight: bold;
    width: 100px;
}

div.header-tools div.pop-up-filter {
    padding-top: 10px;
}

i.job-status {
    float: right;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 13px;
}

md-radio-group.radios-inline md-radio-button {
    display: inline-block;
}

div.quotes-tab-inner {
    margin: 0 0 1px 0;
    min-height: 600px;
    border: 1px solid black;
}

div.loadingPointer, div.loadingPointer tr {
    cursor: progress !important;
}

input.noSpinner {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield;
}

div.list-tools div.status-label {
    padding-right: 15px;
    font-weight: bold;
}

/* job status stuff */
.number_filter {
    width: 45px !important;
    text-align: right;
}

.text_filter {
    width: 120px !important;
    text-align: left;
}

.align_center {
    text-align: center;
}

div[xldropzone] {
    display: inline-block;
    width: 250px;
    height: 220px;
    border: 2px dashed #bbb;
    border-radius: 5px;
    padding: 10px;
    margin-left: 10px;
    text-align: center;
    font: 15pt bold;
    color: #bbb;
    margin-bottom: 10px;
}

.sidebar_div {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.title_load_nav {
    background-color: firebrick;
    color: white;
    line-height: 2em;
    text-align: center;
    font-weight: bold;
}

.md-tab, .md-tabs {
    color: white !important;
}

.link-box.link1.selected {
    background-color: #a1afc8 !important;
}

.link-box.link2.worklog-selected {
    background-color: #4bc11e !important;
}

.goods-in {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.goods-in-wrapper {
    padding-top: 1rem;
    padding-right: 3rem;
}





