@charset "utf-8";
/* CSS Document */


html {
    cursor: url("../MEDIA/cursors/default.cur"), auto;
}



@font-face {
    font-family: 'numberplate';

    src: url('../MEDIA/fonts/UKNumberPlate.ttf') format('truetype');

}

* {
    font-family: 'Arial';
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body {
    -webkit-print-color-adjust: exact;
}

h1,
h2 {
    font-family: Arial, serif;
    color: var(--colour-primary);
}

h2 {
    font-style: italic;
    font-weight: 100;
    font-size: 16pt;

}


a,
a > div {
    text-decoration: none;
    transition: .15s;
    color: var(--colour-primary);

}

a > button {
    transition: .15s;
}

a:hover {
    color: var(--colour-secondary);
    cursor: pointer !important;
}

a > div:hover {
    filter: drop-shadow(4px 5px 6px #777);
    transform: translate3d(-1px, -1px, 0px);
}

a > button:hover {
    cursor: pointer;
}


a[target=_blank]::after {
    display: inline-flex;
    margin: 0 0 0 5px;
    background-image: url(/MEDIA/icons/external-link.svg);
    background-repeat: no-repeat;
    content: ' ';
    height: 10px;
    width: 10px;
    top: 0px;
    align-items: flex-end;
    vertical-align: text-top;

}

.tooltip {
    cursor: help;
    border-bottom: 1px dotted rgba(119, 119, 119, 0.5);
}

.tooltip:after {


    display: inline-flex;
    margin: 0 0 0 5px;
    background-image: url("/MEDIA/icons/question.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    content: ' ';
    height: 15px;
    width: 15px;
    top: 0px;
    align-items: flex-end;
    vertical-align: text-top;
}

.tooltip.textPassive:after {
    height: 10px;
    width: 10px;
}

.tooltip > img {
    height: 15px;
}

.tooltipFloat {
    position: fixed;
    /*    transform: translate(-50%, -50%);*/
    top: 10px;
    left: 5%;
    width: 90%;
    margin: auto;
    opacity: 1;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 10px 10px #777;
    box-sizing: border-box;
    z-index: 10000;
}

.tooltipFloat:hover {
    cursor: no-drop;
}

.tinyIcon{
    height: 20px;
    max-width: 20px;
    object-fit: cover;
}

.divHyperlink:hover {
    background-color: var(--colour-secondary);
    box-shadow: 0px 6px 10px #777;
    margin-top: -2px;
}

.flip {
    transform: rotate(-180deg);
}

/*Checkbox CSS */
.control {
    font-family: arial;
    display: block;
    position: relative;
    /*        padding-left: 37px;*/
    margin-bottom: 10px;
    padding-top: 3px;
    cursor: pointer;
    font-size: 18px;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control_indicator {
    position: relative;
    margin: auto;
    top: 0px;
    left: 0;
    height: 28px;
    width: 28px;
    background: #e6e6e6;
    border: 0px solid #000000;
    transition: .2s all;
}

.control-radio .control_indicator {
    border-radius: 0;
}

.control:hover input ~ .control_indicator {
    background: #969696;
    box-shadow: 2px 2px 3px #555;
    transform: translate3d(-1px, -1px, 0px);
}

.control input:focus ~ .control_indicator {
    box-shadow: 2px 2px 3px #555;
    transform: translate3d(-1px, -1px, 0px);
}


.control input:checked ~ .control_indicator {
    background: #2aa1c0;
}

.control:hover input:not([disabled]):checked ~ .control_indicator,
.control input:checked:focus ~ .control_indicator {
    background: #2aa1c0;
}

.control:hover input[disabled] ~ .control_indicator {
    cursor: not-allowed !important;
    background: #969696;
    box-shadow: 0px 0px 0px #555;
    transform: scale(0.9);
}

.control input:disabled ~ .control_indicator {
    background: #e6e6e6;
    opacity: 0.2;
    pointer-events: none;
}

.control_indicator:after {
    box-sizing: unset;
    content: '';
    position: absolute;
    display: none;

}

.control input:checked ~ .control_indicator:after {
    display: block;
}

.control-checkbox .control_indicator:after {
    left: 8px;
    top: 1px;
    width: 10px;
    height: 20px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: .2s all;
}

.control-checkbox input:disabled ~ .control_indicator:after {
    border-color: #7b7b7b;
}


::-webkit-scrollbar {
    width: 5px;
    height: 14px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--colour-secondary);
    border-radius: 50px;
    -webkit-box-shadow: inset 0 0 6px rgba(108, 108, 108, 0.75);

}

::-webkit-scrollbar-thumb:hover {
    background: #88a7bd;
}

::-webkit-scrollbar-thumb:active {
    background: #88a7bd;
}

::-webkit-scrollbar-track {
    background: var(--colour-primary);
    border: 0px none var(--colour-primary);
    /*  border-radius: 49px;*/
}

::-webkit-scrollbar-track:hover {
    background: var(--colour-primary);
}

::-webkit-scrollbar-track:active {
    background: var(--colour-primary);
}

::-webkit-scrollbar-corner {
    background: var(--colour-primary);
}

::selection {
    background: #9eccf0;
    /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #9eccf0;
    /* Gecko Browsers */
}

.optionTiny {
    font-size: 8pt;

}

.optionBreak {
    font-size: 0px;
    background-color: #DDD;
    border: 0px;
    box-sizing: border-box;
    height: 1px;
    margin: 0px;
    padding: 0px;
}


input[type=file] {
    opacity: 0;
    height: 0px;
    display: none;
}

input[type=text],
input[type=password],
input[type=date],
input[type=datetime-local],
input[type=tel],
input[type=email],
input[type=number],
button,
select,
input[type=button],
input[type=submit],
input[type=time],
input[type=file],
input[list],
.fileLabel,
textarea {

    border: none;
    border-radius: 0px;
    box-shadow: 1px 1px 2px #555;
    box-sizing: border-box;

    max-width: 100%;
    padding: 10px;
    transition: .1s;
    font-size: 16pt;


}

input[type=text],
input[type=password],
input[type=date],
input[type=datetime-local],
input[type=tel],
input[type=email],
input[type=number],
input[type=time],
input[type=file],
input[list],
.fileLabel,
select,
textarea {
    box-shadow: 0px 0px 2px 0px #555555;
    -webkit-box-shadow: 0px 0px 2px 0px #555555;
    background-color: #FAFAFA;
}

input[type=text],
input[type=password],
input[type=date],
input[type=datetime-local],
input[type=tel],
input[type=email],
input[type=number],
select,
input[type=submit],
input[type=time],
.fileLabel,
input[type=file],
input[list] {
    height: 45px;
}

textarea {
    resize: vertical;
    height: 100px;
}

button,
input[type=button],
input[type=submit],
input[type=file],
.fileLabel {
    background-color: var(--colour-secondary);
    font-weight: bold;
    color: #fff;

    border: none;
    border-radius: 0px;
    box-shadow: 1px 1px 2px #555;
    box-sizing: border-box;

    background: var(--colour-secondary);
    background: -moz-linear-gradient(top, #6992B3 0%, var(--colour-secondary) 50%, #6992B3 100%);
    background: -webkit-linear-gradient(top, #6992B3 0%, var(--colour-secondary) 50%, #6992B3 100%);
    background: linear-gradient(to bottom, #6992B3 0%, var(--colour-secondary) 50%, #6992B3 100%);
}

input[type=text]:hover,
input[type=text]:focus,
input[type=password]:hover,
input[type=password]:focus,
input[type=date]:hover,
input[type=date]:focus,
input[type=datetime-local]:hover,
input[type=datetime-local]:focus,
input[type=tel]:hover,
input[type=tel]:focus,
input[type=email]:hover,
input[type=email]:focus,
input[type=number]:hover,
input[type=number]:focus,
input[list]:hover,
input[list]:focus,
textarea:hover,
textarea:focus {
    outline: none;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 2px #AAA;
    cursor: text;
}

select:hover,
select:focus,
button:hover,
button.hovered,
button:focus,
input[type=button]:hover,
input[type=button]:focus,
input[type=submit]:hover,
input[type=submit]:focus,
.fileLabel:hover,
.fileLabel:focus {
    outline: none;
    border-radius: 0px;
    box-shadow: 0px 0px 0px 2px #AAA;
    cursor: pointer;
}

button:hover,
button.hovered,
button:focus,
input[type=button]:hover,
input[type=button]:focus,
input[type=submit]:hover,
input[type=submit]:focus,
.fileLabel:hover,
.fileLabel:focus {
    border-radius: 10px;
    background: #6992B3;
    background: -moz-linear-gradient(top, var(--colour-secondary) 0%, #6992B3 50%, var(--colour-secondary) 100%);
    background: -webkit-linear-gradient(top, var(--colour-secondary) 0%, #6992B3 50%, var(--colour-secondary) 100%);
    background: linear-gradient(to bottom, var(--colour-secondary) 0%, #6992B3 50%, var(--colour-secondary) 100%);
}

input[type=text]:focus,
input[type=password]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=number]:focus,
select:focus,
button:focus,
input[type=button]:focus,
input[type=submit]:focus,
input[list]:focus,
.fileLabel:focus,
textarea:focus {
    box-shadow: 0 0 0 2px var(--colour-secondary), 0 0 5px 2px var(--colour-secondary);
    outline: 1px solid var(--colour-secondary);
}


.custResults,
.staffResults,
.supplierResults {
    position: relative;
    outline: solid 2px var(--colour-secondary);

    margin-top: 20px;
    padding: 1%;
    transition: all .1s;
    background-color: #fff;
}

.staffResults:hover,
.custResults:hover,
.jobOuter:hover,
.loadOuter:hover,
.smTimesheetOuter:hover,
.timesheetBody:hover,
.menuButton:hover,
button:hover,
button.hovered,
input[type=button]:hover,
input[type=submit]:hover,
.fileLabel:hover,
.undoIcon:hover {
    cursor: pointer;
    box-shadow: 4px 5px 6px #555;
    transform: translate3d(-2px, -2px, 0px);
}

input[readonly],
select[readonly],
button[readonly] {
    box-shadow: inherit !important;
}

input[disabled]:hover,
button[disabled]:hover {
    transform: none !important;
}


input[readonly],
select[readonly],
button[readonly],
input[readonly]:hover,
select[readonly]:hover,
button[readonly]:hover,
input[readonly]:focus,
select[readonly]:focus,
button[readonly]:focus {
    border: none;
    border-radius: 0px;
    box-shadow: none;
    box-sizing: border-box;
    background: #DDD !important;
    cursor: default;
}

input[disabled],
select[disabled],
button[disabled],
input[disabled]:hover,
select[disabled]:hover,
button[disabled]:hover,
input[disabled]:focus,
select[disabled]:focus,
button[disabled]:focus {
    border: none;
    border-radius: 0px;
    box-shadow: none;
    box-sizing: border-box;
    background: #DDD !important;
    color: #FFF;
    cursor: not-allowed;
}

input[required],
select[required] {
    border-right: 3px solid red;
}

.inputRed {
    background: red !important;
}

input[type=range] {
    height: 33px;
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000;
    background: #3071A9;
    border-radius: 50px;
    border: 1px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 25px;
    width: 25px;
    border-radius: 25px;
    background: #E6E3E5;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -11px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #3071A9;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000;
    background: #3071A9;
    border-radius: 50px;
    border: 1px solid #000000;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 25px;
    width: 25px;
    border-radius: 25px;
    background: #E6E3E5;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #3071A9;
    border: 1px solid #000000;
    border-radius: 100px;
    box-shadow: 1px 1px 1px #000000;
}

input[type=range]::-ms-fill-upper {
    background: #3071A9;
    border: 1px solid #000000;
    border-radius: 100px;
    box-shadow: 1px 1px 1px #000000;
}

input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 25px;
    width: 25px;
    border-radius: 25px;
    background: #E6E3E5;
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: #3071A9;
}

input[type=range]:focus::-ms-fill-upper {
    background: #3071A9;
}

input.textCost,
.textCost {
    color: #777;
}

input.textVAT,
.textVAT {
    color: #b1a300;
}





hr {
    width: 80%;
    margin: auto;
    border: 0.5px inset var(--colour-primary);
}

.inline {
    display: inline;
}

.scrollAnimated {
    opacity: 0;
}

.textPassive {
    font-style: italic;
    font-size: 10pt;
    color: #777;
}


.backgroundRed {
    background-color: #ff7575 !important;
}

.backgroundGreen {
    background-color: #00D627 !important;
}

.textWhite {
    color: #fff;
}

.textRed {
    color: red;
}

.textGreen {
    color: green;
}

.textBig {
    font-weight: bold;
    font-size: 21pt;
}

.textSmall {
    font-size: 10pt;
}

.textItalic {
    font-style: italic;
}

.textBold {
    font-weight: bold;
}

.textUnderline {
    text-decoration: underline;
}

.alignBottom {
    position: absolute;
    bottom: 0px;
}

.hideNoti {
    float: right;
}

.textCentre {
    text-align: center !important;
}

.textVerticalCentre {
    display: flex;
    align-items: center;
}

.textRight {
    text-align: right !important;
}

.textBorder {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.textLeft {
    text-align: left !important;
}

.alertDiv {
    padding: 10px 0;
    box-shadow: 0px 0px 0px #444;
    transform: translate3d(0px, 0px, 0px);
    color: #FFF;
    background: #ff1818;

    -webkit-animation: redFlash 2s ease 2;
    -moz-animation: redFlash 2s ease 2;
    animation: redFlash 2s ease 2;
}

.highlightDiv {
    background: var(--colour-tertiary);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@-webkit-keyframes redFlash {
    0% {
        background: #ff1818;
    }

    50% {
        background: #ffe200;
        box-shadow: 4px 4px 4px;
        transform: translate3d(-2px, -2px, 0px);
        color: #000;
    }

    100% {
        background: #ff1818;
    }
}

@-moz-keyframes redFlash {
    0% {
        background: #ff1818;
    }

    50% {
        background: #ffe200;
        box-shadow: 4px 4px 4px;
        transform: translate3d(-2px, -2px, 0px);
        color: #000;
    }

    100% {
        background: #ff1818;
    }
}

@keyframes redFlash {
    0% {
        background: #ff1818;
    }

    50% {
        background: #ffe200;
        box-shadow: 4px 4px 4px;
        transform: translate3d(-2px, -2px, 0px);
        color: #000;
    }

    100% {
        background: #ff1818;
    }
}

.numberplate {

    background-color: #EEDB2F;
    border-radius: 5px;
    font-size: 25pt;
    padding: 10px;
    border: none;
    box-sizing: border-box;
    text-transform: uppercase;
    font-family: numberplate;
}

.managers {
    background: rgba(240, 209, 106, 1) !important;
}

button.managers:hover {
    background: rgb(255, 207, 51) !important;
}

.medLogo {
    height: 50px;
}

.overlayUnderDiv {
    min-height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.overlayTextOuter {
    position: relative;
    margin-top: 400px;
    background-color: rgba(255, 255, 255, 0.38);
}

.overlayTextInner {
    margin: 0px 50px;
}


/** CSS for showing the div tabs **/
.innerTabs {
    display: flex;
    width: 100%;
    border-bottom: 2px solid var(--colour-secondary);
    overflow-x: auto;
    overflow-y: hidden;
}

.innerTabs > button {
    margin-right: 5px;
    text-transform: capitalize;
    border-radius: 0px;
}

.innerTabs > button:hover {
    transform: translate3d(0px, 2px, 0px);
    /*    transform: scaleY(1.1);*/
    box-shadow: none;
}

.innerTabs > button:focus {
    outline: none;
    border-radius: 0px;
    box-shadow: none;
}

.innerTabbed {
    padding-top: 20px;
}

.highlightButton {
    box-sizing: border-box;
    transform: translate3d(0px, 2px, 0px);
    box-shadow: none;
}





/** Table styling **/

table.styledTable {
    position: relative;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    font-size: 12pt;
}

.hoverRow {
    transition: .2s all;
}

.hoverRow:hover {
    background-color: #CCC !important;
}

.highlightRow{
    border-width:2px;
    background-color:#fffeea;
    font-weight:bold;
}

table.styledTable td,
table.styledTable th,
table.styledTable tr th {
    border: 1px solid #AAAAAA;
    padding: 3px 2px;
}

table.styleTable td input {
    width: auto !important;
}

table.styledTable th {
    background: var(--colour-primary);
    background: -moz-linear-gradient(top, #405b72 0%, #1a3a55 66%, var(--colour-primary) 100%);
    background: -webkit-linear-gradient(top, #405b72 0%, #1a3a55 66%, var(--colour-primary) 100%);
    background: linear-gradient(to bottom, #405b72 0%, #1a3a55 66%, var(--colour-primary) 100%);

    position: sticky;
    top: 0;

}


table.styledTable thead th,
table.styledTable tr th {
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
}

table.styledTable tfoot td {
    font-size: 14px;
}

table.styledTable tfoot .links {
    text-align: right;
}

table.styledTable tfoot .links a {
    display: inline-block;
    background: #1C6EA4;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 5px;
}

.cellSpacer {
    background-color: transparent !important;
    border: none !important;
}


.breakdownInput {
    max-width: 110px !important;
}

.flexWrap {
    flex-wrap: wrap;
}


.outerOverlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(126, 126, 126, 0.54);
    overflow: scroll;
    z-index: 1500;
}

.innerOverlay {
    position: absolute;
    left: 50%;
    transform: translate(-50%);

    margin-top: 10px;
    margin-bottom: 10px;
    width: 96%;
    background-color: #ffffff;
    border-radius: 10px;

}

.innerOverlay > a.btn_overlayClose {
    position: absolute;
    right: 0;
    height: 40px;
    width: 40px;
    margin: 5px;
    background-image: url(/MEDIA/icons/cross.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1000;
}

.btn_overlayClose:hover {
    cursor: pointer;
}

.overlayTitle {
    position: relative;
    text-align: center;
    padding-top: 10px;
}

.overlayTop {
    position: relative;
    display: inline-flex;
    width: 100%
}

.overlayLogo {
    text-align: center;
}

.overlayLogo > img {
    width: 75%;
}

.overlayContainer {
    position: relative;
    width: 100%
}

.overlayQuarter {
    position: relative;
    margin: 1%;
    width: 23%;
}

.overlayHalf {
    position: relative;
    margin: 1%;
    width: 48%;
}

.overlayWide {
    position: relative;
    margin: 1%;
    width: 73%;
}

.overlayFull {
    position: relative;
    margin: 1%;
    width: 98%;
}

.wideInput {
    width: 100%;
}

.wideInput > img {
    height: 12pt;
    margin-right: 10px;
}

label.wideInput > *{
    width: 100%;;
}







.containImg {
    object-fit: contain;
}

.heightImg {
    height: 100%;
    width: auto;
}

.jobNumber {
    font-size: 14pt;
}


/*For use when an image & text is embedded in <a>*/
.imageHyperlink,
.divHyperlink {
    transition: .15s;
}

.divHyperlink {
    border-radius: 40px;
    background-color: var(--colour-tertiary);
    box-shadow: 0px 3px 5px #777;
}


.smallIcon {
    vertical-align: middle;
    height: 50px;
}

.undoIcon {
    height: 30px;
    vertical-align: bottom;
    background-color: var(--colour-secondary);
    border: solid 2px #707070;
    box-shadow: 3px 3px 5px #555;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 2.5px;
    transition: all .1s;
}

.notiOuter,
.errOuter {
    width: 100%;
    position: fixed;
    z-index: 2000;
}

.notiInner,
.errInner {
    display: flex;
    width: auto;
    padding: 5px;
    /*    margin: 30px;*/
    height: auto;
    border: solid 1px;
    border-radius: 3px;
    z-index: 1201;
    box-shadow: 2px 2px 5px #000;
}

.notiInner {
    background-color: var(--colour-tertiary);
}

.errInner {
    background-color: rgb(168, 0, 0);
}

.notiText,
.errText {
    display: block;
    text-align: center;
    flex-grow: 100;
    justify-content: space-around;
    width: 100%;
    font-weight: bold;


}

.notiText {
    color: var(--colour-primary);
}

.errText {

    color: #ffffff;
}

.notiImg {
    display: inline-flex;
    width: 40px;
}


.news {
    position: relative;
    width: 100%;
    background-color: #EEE;
    padding: 10px;
    margin: 10px 0px;
    animation: pulse 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.01);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}
/*** News Styles ***/
.newsTitle {
    width: calc(100% - 60px);
    text-align: center;
    margin: auto;
    border-bottom: 2px solid var(--colour-primary);
}

.newsBody {
    margin-top: 5px;
}

.news>a.newsClose {
    position: absolute;
    top: 0px;
    right: 0;
    height: 30px;
    width: 30px;
    margin: 0px;
    background-image: url(/MEDIA/icons/cross.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.newsClose:hover {
    cursor: pointer;
}

.newsFooter {
    text-align: center;
    margin-top: 5px;
    color: #888;
    font-size: 10pt;
}

/*** ***/


.loadingIcon {
    animation: rotation 3s infinite linear;
    margin: auto;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.loadingDiv {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;

    margin-top: 0px;
    background-color: rgb(255, 255, 255);

}


/*For large areas of text, needing some good spacing*/
.mainBlurb {
    font-size: 18pt;
    line-height: 2;

}

.menuDiv,
.mobileLogoDiv {
    display: none;
    position: absolute;

    z-index: 1000;
}

.menuButton,
.menuButtonSmall {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 25pt;
    box-sizing: border-box;
    display: inline-block;
    padding: 10px;
}

.menuButtonSmall {
    font-size: 18pt;
}

.menuButton > img {
    height: 60pt;
    margin: 0 10px;
}

.menuDiv {
    padding: 15px;
    padding-top: 5px;
    right: 0px;
    border-bottom-left-radius: 40px;
    background-color: var(--colour-primary);
}



button > img,
label > img,
label > div > img {
    height: 12pt;
    margin-right: 10px;
}

.searchButton {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.searchButton::before {
    display: inline-flex;
    margin: 0 5px 0 0;
    background-image: url(/MEDIA/icons/search.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: ' ';
    height: 20px;
    width: 20px;
    top: 0px;
    align-items: flex-end;
    vertical-align: text-top;

}



.mobileLogoDiv {
    left: 0px;
    height: auto;
    width: auto;
    z-index: 300;
}

.menuIcon,
.mobileIcon {
    width: 50px;
    height: 50px;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

.mobileIcon {
    margin-top: 5px;
    height: 70px;
    width: auto;
}


.bannerContact,
.bannerLogo {
    top: 20px;
    display: inline-block;
}

.bannerImgMain {
    display: inline-block;
    height: 120px;

}

.content {
    /*    display: flex;*/
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 70px;
    height: auto;
    width: 100%;
    z-index: -1;
    min-height: 80vh;
}

.galleryOuter {
    height: 80vh;
}


.navSubTitle > a:hover {
    border-bottom: 1px solid;
}

.outerFull {
    overflow: hidden;
    display: inline-flex;
    width: 100%;

    border-top: var(--colour-secondary) 2px solid;
    border-bottom: var(--colour-secondary) 2px solid;

}


.innerHalf {
    width: 50%
}

.innerMax {
    width: 100%;
}


.innerWide {
    width: 100%;
    max-width: 1200px;
    display: inline-flex;
}

.innerFlex {
    width: 100%;
    display: inline-flex;
    justify-content: space-around;
    gap: 10px;
}

.justifyNone{
    justify-content: normal;
}



.innerScroll {
    width: 100%;
    /*    overflow-x: scroll;*/
    /*    Disabled for sticky table headers*/
}

.innerMax{
    width: 100%;;
}

.innerExtra{
    display: flex;
    flex-direction: row;
    padding: 5px;
    gap: 10px;
}
.innerExtra > div{
    width: 100%;
    margin: 0px;
}


.flexColumn {
    display: flex;
    flex-direction: column;
}

.flexRow{
    display: flex;
    flex-direction: row;
}

.flexCentre {
    align-items: center;
}

.innerFixed {
    margin: auto;
    display: inline-block;
    max-width: 1201px;
}

.innerMain {
    display: inline-block;
    width: 59.5%;
}

.innerSub {
    display: inline-block;
    width: 39.5%;
}

.innerColumn {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
}

.innerColumn > * {
    width: 50%;
    padding: 2.5%;
}

.innerContent {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.innerText {
    margin: 50px;
}


.innerImage {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.innerImageImg {
    min-height: 100%;
    object-fit: cover;
    min-width: 100%;
}

.portraitImage {
    width: 100%;
}

.divideImg {
    position: absolute;
    height: 100%;
    width: auto;
    bottom: 0px;
    z-index: 400;
}

.innerImageOverlay {
    font-size: 20pt;
    z-index: 800;
    position: absolute;
    bottom: 100px;
    text-align: center;
    vertical-align: middle;

    right: 0px;

    width: 40%;

    background-color: var(--colour-tertiary);
}

.columnText {
    position: absolute;
    top: 0px;
    left: 0px;
    min-height: 200px;
    padding-bottom: 40px;
    width: 100%;
    z-index: 100;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 74%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 74%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 74%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
}

.columnImg {
    position: absolute;
    top: 100px;
    left: 0px;
    width: 100%;
    max-height: 100%;
    z-index: 99;
}

.contactImg {
    width: 100%;
}

.contactText {
    bottom: 0px;
}

.overlayText {
    margin: 20px;
}

.innerImageOverlay > svg {
    position: absolute;
    left: -40px;
    width: 40px;
    height: 100%;

}


.vehicleInner {
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    background-color: #fff;
    outline: solid 1px var(--colour-secondary);
    width: 100%;
    margin-top: 20px;
    padding: 5px;
}

.vehicleInner.textPassive {
    transform: scale(0.975);
    margin-top: 10px;
    background-color: #EEE;
}

.vehicleLeft,
.vehicleRight {
    position: relative;
    width: 50%;
}

.vehicleRight {
    text-align: right;
}


.timesheetBody[data-editable='disabled']:hover {
    cursor: default;
    box-shadow: none;
    transform: translate3d(0px, 0px, 0px);
}




.custTop {
    width: 100%;
    border-bottom: dashed 1px rgb(170, 170, 170);
    margin-bottom: 5px;
}

.smCustCode {
    font-weight: bold;
    font-style: italic;
}

.custBottom {
    display: inline-flex;
    position: relative;
    width: 100%;
}

.custDetails,
.custJobs {
    position: relative;
    width: 50%;
}

.custJobs {
    text-align: right;
}

.smCustJobTitle {
    text-decoration: underline;
}

.smCustTerms {
    position: absolute;
    font-size: 12pt;
    font-style: italic;
    font-weight: bold;
    right: 0%;
    margin-right: 10px;
}

.customerTop,
.customerAddress,
.customerActive,
.customerContact {
    position: relative;
    width: 100%;
}







/**************************************            Timesheet CSS              ***************************************/
.timesheetHeader,
.timesheetBody {
    display: inline-flex;
    position: relative;
    width: 100%;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    border-bottom: 1px #777 solid;
}

.timesheetBody {
    padding: 10px 0px;
    transition: all .1s;
    align-items: center;
}


.timesheetHeader > div {
    font-size: 9pt;
    font-weight: bold;
}

.timesheetHeader > div,
.timesheetBody > div {
    overflow: hidden;
    word-wrap: normal;
}

.timesheetStart {
    font-size: 12pt;
    height: 12pt;
    position: relative;
    width: 10%;
}

.timesheetJob {
    font-size: 12pt;
    height: 12pt;
    position: relative;
    width: 15%;
}

.timesheetType {
    font-size: 9pt;
    position: relative;
    width: 15%;
}

.timesheetCustomer {
    font-size: 9pt;
    position: relative;
    width: 25%;
}

.timesheetDesc {
    font-size: 9pt;
    position: relative;
    width: 35%;
}



.smTimesheetOuter {
    position: relative;
    outline: solid 2px var(--colour-secondary);
    margin: 1%;
    margin-top: 20px;
    padding: 1%;
    background-color: #FFF;
}

.smTimesheetTop {
    position: relative;
    border-bottom: dashed 1px rgb(170, 170, 170);
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 18pt;
}

.smTimesheetBottom {
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

.smTimesheetColumn {
    position: relative;
    width: 33%;
    font-size: 16pt;
}

.smTimesheetAuthor {
    position: absolute;
    font-size: 12pt;
    font-style: italic;
    color: #777;
    bottom: 0px;
    right: 0px;
}

.smTimesheetTime {
    text-align: center;
}

.smTimesheetExtra {
    width: 100%;
    position: absolute;
    font-size: 12pt;
    font-style: italic;
    color: #777;
    bottom: 0px;
    text-align: center;
}

.smTimesheetLunch {
    font-size: 12pt;
    color: #777;
    font-style: italic;
}

.smTimesheetButton {
    text-align: center;
}

.smTimesheetDetails {
    font-style: italic;
    font-size: 10pt;
    color: #777;
}

.smTimesheetWorked {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-style: italic;
    font-size: 14pt;
}




/**************************************            Jobsheet CSS              ***************************************/
.jobsheetHeader,
.jobsheetBody
/*.expenseBody*/
    {
    /* display: inline-flex; */
    position: relative;
    width: 98%;
    margin: 0% 1%;

    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */

    border: 1px #777 solid;
    border-radius: 5px;
    background-color: #fff;
}

.jobsheetBody
/*.expenseBody */
    {
    padding: 10px 0px;
    margin: 2px 1%;
    transition: all .1s;
}

.expenseBody:hover, .clickableRow:hover {
    cursor: pointer;
    box-shadow: 4px 5px 6px #555;
}

.expenseBody[data-editable='disabled']:hover {
    cursor: default;
    box-shadow: none;
}

.stockNotes {
    width: 96%;
    font-size: 9pt;
    padding: 7px 5px 5px 5px;
    margin: -3px 2% 0px;
    transition: all .1s;

    border: 1px #777 solid;
    border-top: 0px;
    border-radius: 0px 0px 5px 5px;
    box-sizing: border-box;

    background-color: #EFEFEF;
}

.stocktakeDelete{
    display: none;
}

.jobsheetHeader > div {
    font-weight: bold;
}

.jobsheetBody > div,
.expenseBody > div {
    position: relative;
}

.jobsheetHeader > div,
.jobsheetBody > div,
.expenseBody > div {
    font-size: 9pt;
    overflow: hidden;
    word-wrap: normal;
    text-align: center;
}

.jobCompleted {
    background-color: #b7ffb7 !important;
}

.jobOngoing {
    background-color: #fff;
}

.jobApproved {
    background-color: rgb(255, 241, 193) !important;
}

.jobBilled {
    background-color: #e5e5e5 !important;
}

.jobsheetDate {
    width: 15%;
}

.jobsheetStart {
    width: 15%;
}

.jobsheetDesciption {
    width: 30%;
}

.jobsheetHrs {
    width: 10%;
}

.jobsheetRate {
    width: 10%;
}

.jobsheetAmnt {
    width: 10%;
}

.jobsheetCost {
    width: 10%;
}

.jobsheetStaff {
    width: 10%;
}

.jobsheetStockDept > img {
    height: 20px;
}

#totalCharge,
#totalVAT {
    width: 100%;
}




.expenseDate {
    width: 16%;
}

.expenseName {
    width: 35%;
}

.expenseCost {
    width: 14%;
}

.expenseCostVAT {
    width: 10%;
}

.expensePrice {
    width: 14%;
}

.expenseVAT {
    width: 10%;
}

.expenseStaff {
    width: 10%;
}

.changed {
    background-color: #ffff9e !important;
}

.attachImages {
    max-width: 23%;
    max-height: 20vh;
    margin: 1%;
    border-radius: 1%;
    transition: .1s all;
}

div.attachImages {
    aspect-ratio: 1/1.2;
    font-weight: bold;
    padding: 4px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border: 1px solid rgb(1 1 1 / 15%);
    border-radius: 5px;
}

div.attachImages.placeholder::before {
    background-image: url(/MEDIA/icons/document.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    content: ' ';
    height: 80%;
    width: 100%;
    position: relative;
    margin: 10px;
}

.attachImages > img {
    max-width: 100%;
}

.attachImages:hover {
    cursor: pointer;
    transform: scale(1.1);
}


/* Used only for when vertcal breakdowns are enabled*/
.jobBreakdown {

    vertical-align: top;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse;
    border-spacing: 0;
    display: flex;
    justify-content: center;
    margin: auto;

    background: none;
  }
  
  .jobBreakdown thead {
    display: flex;
    flex-shrink: 0;
    min-width: min-content;
  }
  
  .jobBreakdown tbody {
    display: flex;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
  }
  
  .jobBreakdown tr {
    display: flex;
    flex-direction: column;
    min-width: min-content;
    flex-shrink: 0;
  }
  
.jobBreakdown td, .jobBreakdown th{
    height: 48px;
    border: solid 1px #AAAAAA !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3px 8px !important;
}

.footer{
    z-index: 1000;
}
/**/


/**************************************            Small Jobsheet CSS              ***************************************/

.jobOuter {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 170px;
    margin: 10px 0px;
    padding: .5%;
    outline: solid 2px var(--colour-secondary);
    overflow: hidden;
}

.jobMain {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jobMainTop {
    display: inline-flex;
    position: relative;
    height: 50%;
    width: 100%;
    overflow: hidden;
}

.jobMainBottom {
    width: 100%;
    height: 50%;
    border-top: 1px dashed #AAA;
    overflow: hidden;
}

.jobContact {
    position: relative;
    width: 49%;
    padding: .5%;
    height: 99%;
    white-space: nowrap;
    overflow: hidden;
    border-right: 1px dashed #AAA;
}

.jobDetails {
    position: relative;
    width: 100%;
    padding: .5%;
    height: 99%;
    white-space: nowrap;
    overflow: hidden;
}

.jobInfo {
    position: relative;
    height: 100%;
    white-space: nowrap;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
}

.jobLogo {
    position: relative;
    width: auto;
    max-height: 50%;
}




/******************************            Small Load CSS           ***************************************/
.loadOuter {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 170px;
    margin: 10px 0px;
    padding: .5%;
    outline: solid 2px var(--colour-secondary);
    overflow: hidden;
}

.loadMain {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loadMainTop {
    display: inline-flex;
    position: relative;

    border-bottom: 1px dashed #AAA;
    
    width: 100%;
    overflow: hidden;
}

.loadMainBottom {
    width: 100%;
    height: 50%;
    /* border-top: 1px dashed #AAA; */
    overflow: hidden;
    display: inline-flex;
}

.loadDeliver{
    border-right: 1px dashed #AAA;
    width: 60%;
}
.loadDeliver, .loadUplift {
    padding: .5%;
}

.loadContact {
    position: relative;
    width: 49%;
    padding: .5%;
    /* height: 99%; */
    white-space: nowrap;
    overflow: hidden;
    /* border-right: 1px dashed #AAA; */
}

.loadDetails {
    position: relative;
    width: 100%;
    padding: .5%;
    height: 99%;
    white-space: nowrap;
    overflow: hidden;
}

.loadDesc{
    width: 70%;
    float: left;
}
.loadTrailer{
    width: 29%;
    padding-top: .5%;
    float: right;
    text-align: right;
}

.loadInfo {
    position: relative;
    height: 100%;
    white-space: nowrap;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
}








.floatingButton {

    position: sticky;
    width: 60px;
    height: 60px;
    background-color: var(--colour-secondary);
    border-radius: 50px;
    left: calc(100% - 100px);
    float: none;
    bottom: 80px;
    transition: .2s all;
    padding: 10px;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 1000;
}


.floatingButton:hover {
    box-shadow: 4px 4px 4px #777;
    transform: scale(0.9);
    cursor: pointer;
}

.floatingButton > a {
    width: 40px;
    height: 40px;
}

.floatingButton > a > img {
    max-height: 40px;
    max-width: 40px;
}



@media screen {
    .jobsheetGrayed {
        background-color: #DDD;
        opacity: .6;
    }
}

@media print {

    @page {
        size: A4 portrait;
        margin-inside: 10mm;
        margin-outside: 10mm;
        margin-top: 5mm;
        margin-bottom: 10mm
    }

    .floatingButton {
        display: none;
    }

    /*
    .textCost {
        display: none;
    }
*/

    #totalCharge,
    #totalVAT {
        text-align: center !important;
        font-weight: bold;
        font-size: 14pt !important;
    }

    .alertDiv {
        font-size: 14pt !important;
        padding: 0px !important
    }

    .jobNumber {
        font-size: 10pt !important;
    }

    .jobDeptImg {
        height: 6mm !important;
    }

    .tooltip {
        border-bottom: 0px !important;
    }

    .tooltip::after {
        display: none !important;
    }

    a[target=_blank]::after {
        display: none !important;
    }

    table,
    figure {
        page-break-inside: avoid;
    }

    input,
    select {
        padding: 0px !important;
        margin: auto !important;
        height: auto !important;
        box-shadow: none !important;
        font-size: 9pt !important;
        border: none !important;
        background-color: transparent !important;
    }

    input[type='number'] {
        -moz-appearance: textfield;
    }

    /* Webkit browsers like Safari and Chrome */
    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .pagebreak {
        page-break-before: always;
    }

    body,
    .textPassive {
        font-size: 8pt !important;
    }

    h1 {
        font-size: 12pt !important;
    }

    h2,
    h3 {
        font-size: 10pt !important;
    }

    table,
    textarea {
        font-size: 9pt !important;
    }

    table.styledTable th {
        position: relative !important;
    }

    textarea {
        border: 0px !important;
        box-shadow: 0px 0px 0px !important;
        resize: none !important;
    }

    .content {
        margin: 0px !important;
        min-height: unset !important;
    }

    .dontPrint,
    .navOuter,
    .footer,
    .undoIcon,
    button,
    input {
        display: none !important;
    }

    .jobsheetBody,
    .expenseBody,
    .stockBody,
    .timesheetBody {
        padding: 1px 0px !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .doPrint,
    .innerFull {
        display: block !important;

    }

    .innerTab {
        display: block !important;
    }

    .innerTabs {
        display: none;
    }

    .innerTabbed {
        padding-top: 0px;
        min-height: unset !important;
    }

    /*
    .jobsheetCustomer,
    .jobsheetVehicle,
    .jobsheetDesc,
    .jobsheetNotes,
    .jobsheetAttachments,
    .jobsheetWork,
    .jobsheetExpenses,
    .jobsheetStock,
    .jobsheetAdmin {
        page-break-inside: avoid;
    }
*/

    .jobsheetHeader > div,
    .jobsheetBody > div,
    .expenseBody > div {
        font-size: 8pt;
    }



    /*
    * {
        page-break-inside: avoid;
    }
*/

    th {
        background-color: #444 !important;
        color: #fff !important;
    }

    .textUnderline {
        text-decoration: none !important;
    }
}
