html, body {
    height: 100%;
    margin: 0;
    font-family: Arial;
    display: flex;
    justify-content: center;
}

h1 {
    font-size: 16px;
}

/*Master Pages*/
.masterpage {
    width: 1240px;
}
/*Master Page Header*/
.masterHeader {
    width: 1200px;
    height: 108px;
    float: left;
    border-bottom: 1px solid #00694d;
    position: relative;
    clear: right;
}

    .masterHeader .onlinelogo {
        float: right;
    }

    .masterHeader .tolllogo {
        float: left;
        position: absolute;
        top: 40%;
        height: 70px;
        margin-top: -18px;
        padding-left: 50px;
    }

.LoadingImage {
    position: fixed;
    text-align: center;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999999;
    background-size: cover;
    background-color: #000000;
    opacity: 0.7;
}

.SpinnerImage {
    position: absolute;
    top: calc(50% - 64px);
    left: calc(50% - 64px);
}

.LoginHeader {
    height: 300px;
    text-align: center;
}

    .LoginHeader > img {
        padding-top: 35px;
        margin: 0px;
    }





.loginNotificationControl {
    text-align: center;
    margin: 10px auto 0px auto;
    max-width: 500px;
}

.loginNotificationControl .messageHeader {
    display: flex;
    align-items: center;
    background-color: #f3901d;
    border: 2px solid #f3901d;
    border-radius: 4px;
    padding: 10px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    height: auto;	
}

.loginNotificationControl .messageHeader .messageHeadingImage {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-right: 12px;
    margin-left: 0;
    padding-top: 0;
}

.loginNotificationControl .messageHeader .loginMessages {
	font-size: 18px;
	text-decoration: none;
	color: white;
}

.loginNotificationControl .messageHeader .notice-title {
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.5px;
    display: inline;
    margin: 2px 0px 2px 0px;
    float: left;
}

.loginNotificationControl .messageHeader .notice-message {
    flex: 1;
    text-align: left;
    font-weight: 550;
    font-size: 15px;
    color: #000000;
    text-decoration: none;
    display: inline;
    float: left;
}

.login {
    padding-top: 40px;
}

.loginControl {
    margin: 0 auto;
    text-align: left;
    width: 450px;
    color: #6e6f73;
}

    .loginControl .titleWelcome, .loginControl .logingTitle {
        font-size: 28px;
        font-weight: bold;
        color: #434343;
        margin-top: 20px;
        margin-bottom: 5px;
    }

    .loginControl .subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .loginControl .logingTitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .loginControl > div {
        font-size: 12px;
    }

        .loginControl > div > input {
            width: 200px;
            margin-bottom: 10px;
        }

        .loginControl > div > a {
            padding-bottom: 5px;
            line-height: 20px;
            text-decoration: none;
        }

    .loginControl .logingLabel {
        margin-bottom: 2px;
        font-size: 12px;
    }

    .loginControl .logingUsername {
        margin-bottom: 2px;
        font-size: 12px;
        display: inline-block;
    }

    .loginControl .companyPrefix {
        width: 100px;
        text-transform: uppercase;
    }

    .loginControl .Warning > span {
        top: 20%;
    }

    .loginControl .loginbutton {
        width: 67px;
        height: 30px;
        margin: 0px 0px 0px 10px;
        position: relative;
        top: -3px;
    }

    .loginControl .backbutton {
        width: 65px;
        height: 30px;
        margin: 0px 0px 0px 10px;
        position: relative;
        top: 10px;
    }

.loginIssues > div {
    font-size: 14px;
    padding: 5px 2px 10px 2px;
}

    .loginIssues > div > span {
        padding-right: 10px;
    }
/*Top menu color*/
.greenBackGround {
    background-color: #00694d;
    -webkit-padding-start: 0px;
    -webkit-margin-start: 0px;
    padding-left: 0em;
}


/*Main Page Content Area*/
.content {
    height: inherit;
    width: 1200px;
    float: left;
    margin: 0px 0px;
    font-weight: bold;
    font-size: 15px;
}


/*Site menu*/
.siteMenu {
    width: inherit;
    color: white;
    height: 50px;
    clear: right;
}

ul.siteMenu li {
    text-align: left;
    float: left;
    list-style: none;
    border-right: 1px solid white;
    padding: 7px 21px 8px 21px;
}
/*Site menu default text*/
ul.siteMenu a {
    text-decoration: none;
    color: white;
    font-weight: normal;
}
/*Menu hover color*/
li:hover {
    background-color: transparent;
}

ul.siteMenu .logout {
    border-right: 0px none;
    padding: 16px 23.5px 17px 17px;
}


/*Tabs*/
/* Tabs styling */
/*toptabs bottom bar*/
.toptabs {
    margin: 15px 0px 15px 0px;
    font-weight: normal;
    width: 100%;
    height: auto;
    padding-bottom: 3px;
    border-bottom: 3px solid #142c00;
    -webkit-margin-bottom-collapse: collapse;
    -webkit-margin-top-collapse: collapse;
}

    .toptabs span {
        color: white;
        text-align: center;
        padding: 10px 10px 3px 10px;
        margin-right: 5px;
        background-color: #00694d;
        color: white;
    }

    .toptabs > a:link {
        text-decoration: none;
    }

    .toptabs > a:visited > span {
        text-decoration: none;
        -webkit-margin-bottom-collapse: collapse;
        -webkit-margin-top-collapse: collapse;
    }


/*Main Page Content*/
.mainPageContent {
    margin-top: 40px;
    width: 100%;
    float: left;
}


/* Grey filled boxes with controls */
.sectionPanel {
    padding: 4px 2px 4px 0px;
    margin: 3px 3px 3px 0px;
    float: left; /*Do we need this bugger????*/
    background-color: #F3F3F4;
    width: 100%;
    font-size: 12px;
}

    .sectionPanel .left > div {
        min-height: 27px;
    }

    .sectionPanel span {
        width: 30%;
        float: left;
        padding-left: 10px;
        margin-top: 6px;
    }

    .sectionPanel input:not(.okFile) {
        border: 1px solid #BBB;
        font-size: 11px;
        height: 17px;
        vertical-align: middle;
        padding-left: 4px;
    }

    .sectionPanel textarea {
        border: 2px solid #BBB;
        font-size: 11px;
        padding-left: 4px;
        font-family: Arial;
    }

    .sectionPanel textarea, .textareaClone {
        max-height: 168px;
    }

    .sectionPanel input[type=checkbox],
    .sectionPanel input[type=image],
    .sectionPanel input[type=radio],
    .sectionRadioButtons input[type=radio] {
        float: left;
        display: block;
        border: none !important;
        height: auto;
        width: auto;
        padding-right: 10px;
        padding-left: 10px;
    }

    .sectionPanel select {
        border: 1px solid #BBB;
        font-size: 11px;
        min-height: 20px;
    }

    .sectionPanel label {
        font-weight: normal;
        font-size: 11px;
        line-height: 25px;
        width: 200px;
        display: block;
        float: left;
    }

    .sectionPanel legend {
        padding-left: 10px;
    }

    .sectionPanel table {
        width: 100%;
        text-align: left;
        padding-right: 5px;
    }

    .sectionPanel .left {
        width: 50%;
        float: left;
    }

.left label {
    width: 50%;
    float: left;
}

.sectionPanel .right {
    width: 50%;
    float: right;
}

.sectionPanel .whole {
    width: 100%;
    float: left;
}

    .sectionPanel .whole label {
        width: 300px;
    }

.sectionPanel .insuranceType > div {
    padding: 0px 5px;
    width: 30%;
    float: left;
}

.help {
    padding: 10px 0px;
}

    .help > span {
        padding: 0px 10px;
        width: 100%;
    }

    .help a {
        line-height: 20px;
        padding-left: 15px;
    }
/*ConsignmentPage Specific Styles*/

.HireEqtn .Type {
    width: 150px;
}

.HireEqtn .Description {
    width: 750px;
}

.IPEC span {
    width: auto;
    padding-right: 5px;
}

.CheckBoxPackGroup {
    border: none !important;
    border-width: 0px;
}

    .CheckBoxPackGroup th {
        font-size: 10px !important;
        padding: 0px !important;
        margin: 0px !important;
        text-align: center !important;
        line-height: 10px !important;
        height: 15px !important;
        background-color: #F3F3F4 !important;
        border: none !important;
        color: black !important;
    }

    .CheckBoxPackGroup td {
        width: 25px;
        padding: 0px !important;
        margin: 0px !important;
        text-align: left !important;
    }

    .CheckBoxPackGroup input[type=checkbox] {
        padding: 0px !important;
        margin: 0px !important;
        position: relative;
        left: 6px;
    }

.ParcelRadioButton label {
    width: auto;
}


.ThinButton {
    padding: 2px 10px 0px 10px;
    vertical-align: middle;
    float: right !important;
}

.TextBoxLeft {
    float: left;
}

.ThinSubItemsButton {
    padding: 2px 5px 0px 5px !important;
    vertical-align: middle;
    float: right !important;
}
/* Common datagrid */
.DataGrid {
    width: 100%;
    font-size: 12px;
    line-height: 12px;
    border-style: none;
    margin-bottom: 5px;
    border-collapse: collapse;
    border: none;
}

.DataGrid1 {
    line-height: 24px !important;
}

.DataGrid td {
    font-weight: normal;
    text-align: left;
    border: none;
}

.DataGrid .textonly > td {
    padding: 6px;
}

.DataGrid .numeric {
    text-align: right;
    padding-right: 20px;
}

.DataGrid .numericLeft {
    text-align: left;
    padding-left: 6px;
}

.DataGrid .quantity {
    width: 30px;
    padding-right: 20px;
}

.DataGrid .decimalinput {
    width: 45px;
}

.DataGrid .textInput {
    padding-left: 7px;
}

.DataGrid .statusicon {
    padding-left: 20px;
}

.DataGrid input[type=image] {
    border: none;
}

.DataGrid A {
    color: blue;
}

    .DataGrid A:Link {
        color: blue;
    }

    .DataGrid A:Visited {
        color: blue;
    }

.DataGrid th, .HeaderStyle > td {
    font-weight: normal;
    font-size: 11px;
    background-color: #666666;
    color: #ccc;
    line-height: 16px;
    border: 1px solid #ccc;
    height: 30px;
    text-align: left;
    padding-left: 5px;
    text-transform: uppercase;
}

    .DataGrid th A {
        text-decoration: none;
        color: #ffffff;
    }

        .DataGrid th A:Link {
            text-decoration: none;
            color: #ffffff;
        }

        .DataGrid th A:Visited {
            text-decoration: none;
            color: #ffffff;
        }

.DataGrid .FooterStyle, .FooterStyle {
    background-color: #666666;
    width: 100%;
    height: 20px;
}

.DataGrid .ItemStyle, .ItemStyle {
    background-color: #E8E8E8;
    text-transform: uppercase;
}

    .DataGrid .ItemStyle span {
        vertical-align: middle;
        font: normal normal normal;
        font-family: Verdana, Tahoma, Arial, sans-serif;
        font-size: 10px;
        text-transform: uppercase;
        line-height: 12px;
    }

.DataGrid .InvalidGridItemStyle {
    background-color: #ffffbc;
}

.DataGrid .AlternatingItemStyle {
    background-color: #FFFFFF;
    text-transform: uppercase;
}

    .DataGrid .AlternatingItemStyle span {
        vertical-align: middle;
        font: normal normal normal;
        font-family: Verdana, Tahoma, Arial, sans-serif;
        font-size: 10px;
        text-transform: uppercase;
        line-height: 12px;
    }

.DataGrid .Totals td {
    font-weight: bold;
}

.HeaderStyle > td > a:link {
    font-weight: normal;
    font-size: 11px;
    color: #ccc;
    text-decoration: none;
}

.PageStyle {
    text-decoration: none;
    color: #000000;
    font-size: 10px;
    line-height: 16px;
}

    .PageStyle A {
        color: #000000;
        font-weight: bold;
    }

        .PageStyle A:Link {
            color: #000000;
        }

        .PageStyle A:Visited {
            color: #000000;
        }


/*Page Common Styles*/
.PageBottomButtons {
    padding-top: 10px;
    clear: left;
    display: block;
}

    .PageBottomButtons > div {
        float: right;
    }

    .PageBottomButtons > input {
        margin-left: 0px !important;
    }

.topAlphabet a {
    padding: 5px;
    width: 20px;
    display: block;
    float: left;
    margin-right: 2px;
    text-align: center;
    color: white;
    font-weight: normal;
    font-size: 12px;
}

    .topAlphabet a:hover {
        background-color: #434343;
        font-weight: bold;
    }

.CheckBoxList {
}

    .CheckBoxList table {
        border-collapse: collapse;
        border: 1px solid #DDD;
        width: 260px;
    }

    .CheckBoxList th {
        padding: 3px;
        text-align: left;
        background-color: #00694d;
        font-weight: normal;
        color: white;
        border-bottom: 1px solid white;
    }

    .CheckBoxList td {
        font-weight: normal;
        padding: 3px;
        vertical-align: middle;
    }

    .CheckBoxList .Row {
        background-color: #D1DFDF;
    }

    .CheckBoxList .AltRow {
        background-color: #FFFFFF;
    }

    .CheckBoxList .InputCell {
        width: 30px;
    }

.SectionSubTitle {
    width: 100%;
    top: -3px;
    left: 1px;
    position: relative;
    background-color: red;
    padding: 4px 0px 4px 0px;
    font-size: 14px;
    font-weight: normal;
    background-color: #D1DFDF;
    text-indent: 6px;
}


/* check this style name has missing d */
.hiddenItems, .costCalculator .hiddenItems {
    visibility: hidden;
    display: none;
}

.Warning, .costCalculator .Warning {
    width: 100%;
    position: relative;
    display: block;
}

    .Warning li:hover {
        background-color: white;
    }

.WarningMessageText {
    color: green;
    font-size: 10px;
}

.errorMesageText {
    color: red;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
}

.successMessageText {
    color: green;
}

.Notes {
    font-size: 11px;
    font-weight: bold;
    display: block;
    clear: left;
    padding-bottom: 10px;
}

.pageSubBlock {
    background-color: #f3f3f4;
    width: 100%;
    overflow: hidden;
}

.FormInputLongEnabled {
    font-size: 10px;
    text-transform: uppercase;
    vertical-align: middle;
    width: 40%;
    height: 18%;
    text-align: left;
    margin: 2px;
}

.FormInputEnabled {
    margin: 2px;
    text-transform: uppercase;
}

.SpanWide span {
    width: 300px;
}

.LabelNoFloat label {
    float: none !important;
    display: inline;
}

.sectionButtons {
    background: none;
}

    .sectionButtons > span {
        padding-left: 0px;
        padding-right: 5px;
    }

.sectionPostButtonControls {
    padding: 4px 2px 4px 2px;
    margin: 3px;
    float: left; /*Do we need this bugger????*/
    background-color: #FFF;
    width: 100%;
    font-size: 12px;
}

    .sectionPostButtonControls > div {
        padding-bottom: 5px;
    }

        .sectionPostButtonControls > div > span {
            width: 150px;
        }

    .sectionPostButtonControls select {
        font-size: 11px;
    }


/*Pickup managment specific classes*/
.sectionRadioButtons {
    float: none;
}

    .sectionRadioButtons label {
        display: inline;
        width: auto;
        font-weight: bold;
        line-height: 20px;
    }

.sectionPanel .ddSelectDateRange {
    text-transform: uppercase;
    width: 20%;
    text-align: left;
    margin-top: 5px;
}

/*Library Pages*/
.libraryImport {
    font-size: 14px;
    padding: 10px 0px;
    margin-left: 0px;
    margin-bottom: 10px;
}

    .libraryImport > span, .libraryImport > div {
        padding-left: 10px;
    }

        .libraryImport > div > input {
            width: 300px;
            height: 20px;
            background-color: none;
            border-color: black;
        }

    .libraryImport .errorMesageText {
        position: relative;
        padding-bottom: 10px;
        width: 80%;
    }

/*Report Editor Classes*/
.ReportImage {
    padding-top: 50px;
    padding-left: 100px;
}

.LabelEditor > div > div > input {
    width: 40px;
}

.LabelEditor > div > div {
    padding: 2px 0px 2px 0px;
}

.LabelEditor .left > div > span {
    width: 100px;
    padding-left: 100px;
}
/*Autocomplete Controlls*/
.autocomplete_ListElement {
    height: 190px;
    text-align: left;
    color: WindowText;
    border: solid 1px buttonshadow;
    background-color: Window;
    list-style-type: none;
    padding: 0px;
    margin: 0px !important;
    overflow: auto;
}

.autocomplete_highlitedItem {
    color: black;
    padding: 2px 2px;
    font-weight: normal;
    font-size: 12px;
    text-transform: capitalize;
    background-color: #12A8A0 !important;
}

.autocomplete_listItem {
    text-align: left;
    color: WindowText;
    padding: 2px 2px;
    font-weight: normal;
    font-size: 12px;
    text-transform: capitalize;
}

.Autocomplete ul {
    list-style-type: none;
    margin: 0px;
    text-align: left !important;
    padding-left: 2px;
}

.Autocomplete .validator {
    color: red;
    max-width: 5px;
    display: inline-block;
}


/*Cost Calculator Control*/
.estDate {
    display: inline-block;
    float: right;
    padding-bottom: 5px;
}

.costCalculator {
    position: absolute;
    right: 15px;
    top: 205px;
    border: solid 1px #6D6E70;
    background-color: white;
    font-size: 12px;
    font-weight: normal;
    padding: 3px;
    z-index: 55;
}

    .costCalculator .cnrlCostHeader {
        cursor: all-scroll;
    }

    .costCalculator .freightCode {
        padding: 10px 0px 5px 10px;
    }

        .costCalculator .freightCode > select {
            min-width: 300px;
            clear: right;
            display: block;
        }

    .costCalculator .freightCodeLabels {
        padding: 0px 10px 5px 10px;
        font-weight: bold;
    }

    .costCalculator .costEstimate {
        padding: 5px 0px;
    }

.costEstimatePanel {
    width: 580px;
}

.costComparisonPanel {
    width: 300px;
}

.EstimateMain {
    width: 280px;
    clear: right;
    overflow: auto;
    float: left;
    padding: 5px 5px 10px 5px;
    clear: right;
}

    .EstimateMain div {
        padding: 3px 0px;
    }

    .EstimateMain .Location {
        text-transform: capitalize;
    }

    .EstimateMain select {
        width: 170px;
        height: 20px;
    }

    .EstimateMain > div > label, .EstimateMain .Autocomplete > span {
        min-width: 90px;
        display: inline-block;
    }

    .EstimateMain > div > input:not(input[type='checkbox']) {
        width: 167px;
    }

    .EstimateMain .clcCheckBox {
        padding-left: 90px;
        font-size: 11px;
    }

.CostResult {
    border: solid 1px #6D6E70;
    width: 150px;
    float: left;
    padding: 3px;
    font-weight: bold;
    font-size: 11px;
    margin-top: 7px;
}

    .CostResult .CostHeader {
        height: 30px;
    }

        .CostResult .CostHeader > label {
            margin-top: -7px;
            font-size: 12px;
        }

.CostBody > div {
    width: 100%;
    overflow: hidden;
    padding: 5px 0px 0px 3px;
}

    .CostBody > div > label {
        width: 101px;
        display: inline-block;
    }

    .CostBody > div > span {
        float: right;
        padding-right: 5px;
    }

.CostBody .lblSubHeading, CostBody .GST {
    float: left;
    padding-left: 5px;
}

.CostComparisonResult {
    border: solid 1px #6D6E70;
    width: 282px;
    float: left;
    padding: 3px;
    font-weight: bold;
    font-size: 11px;
    margin: 7px 5px 17px 5px;
}

    .CostComparisonResult .CostHeader {
        height: 30px;
    }

        .CostComparisonResult .CostHeader > label {
            margin-top: -7px;
            font-size: 12px;
        }

.ipecEstimates .IpecTitle {
    color: #F58220;
}

.ipecEstimates, .ipecEstimates th {
    padding-bottom: 10px;
}

    .ipecEstimates table {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
    }

    .ipecEstimates td {
        border: 1px solid #6D6E70;
        font-size: 11px;
        text-align: right;
        padding: 3px;
    }

    .ipecEstimates .IpecHeader {
        font-weight: bold;
        background-color: #F58220;
    }

    .ipecEstimates .itemNo {
        text-align: left;
    }

.costestbuttons {
    display: block;
    clear: both;
}
/*PopUp Controlls*/
.modalBackground {
    background-color: Black;
    filter: alpha(opacity=90);
    opacity: 0.8;
}

.popupContainer {
    border: 1px solid #6d6e70;
    padding: 3px 3px 0px 3px;
    background-color: white;
    -webkit-margin-start: 130px;
}

.popup {
    height: auto;
    background-color: white;
}

    .popup .popupcontent {
        padding: 6px;
        background-color: white;
    }

.popupcontent > div > span {
    width: auto;
    padding-right: 10px;
}

.popupcontent .errors {
    width: auto;
}

.popup .popupcontent td > a {
    font-size: 12px;
}

.popup table {
    border: 2px solid #D1DFDF;
}

.PopupPager td {
    text-align: center;
    padding: 6px 6px 6px 10px;
}

.PopupPager a {
    text-decoration: none;
    padding: 3px;
}

.PopupPager span {
    width: 20px;
    float: none;
    padding: 0px;
    margin: 0px;
}

.popupHeader {
    width: inherit;
    height: 48px;
    background-color: #00694d;
    position: relative;
}

    .popupHeader .popupTitle {
        position: absolute;
        color: white;
        top: 50%;
        margin-top: -8px;
        margin-left: 10px;
        font-size: 16px;
    }

.PopupItemStyle td {
    background-color: #f3f3f4;
    padding: 6px 3px 6px 3px;
    vertical-align: top;
    border-bottom: 1px solid #CCC;
}

.PopupAlternatingItemStyle td {
    background-color: #FFFFFF;
    padding: 6px 3px 6px 3px;
    vertical-align: top;
    border-bottom: 1px solid #CCC;
}

.PopupSearch {
    margin-bottom: 15px;
}

    .PopupSearch input[type=text] {
        width: 245px;
    }

    .PopupSearch input[type=image] {
        position: relative;
        top: -2px;
    }

    .PopupSearch > span > span {
        padding-right: 10px;
        width: auto;
    }

.popupDataEntry {
    width: 100%;
    float: left;
    display: block;
    font-weight: normal;
    padding: 10px 0px;
}

    .popupDataEntry > div {
        display: block;
        padding: 5px 0px;
    }

        .popupDataEntry > div > input[type=password], .popupDataEntry > div > input[type=text] {
            float: right;
            text-align: left;
            width: 50%;
        }

.popupButtons {
    display: block;
    width: 100%;
    text-align: right;
    background-color: white;
}

/*Track and Trace Section*/
.trackAndTrace > table {
    width: 100%;
    border-collapse: collapse;
}

    .trackAndTrace > table td, .trackAndTrace > table th {
        border: medium solid #D1D1D1;
        text-align: left;
        padding: 8px;
    }

.expanding {
    line-height: 15px;
    padding: 2px;
    margin: 0px 2px;
    white-space: pre-wrap;
    word-wrap: break-word;
    background-image: none;
    background-attachment: scroll;
    background-repeat: repeat;
    background-size: auto;
    background-origin: border-box;
    box-sizing: border-box;
    height: 200px;
}

.ModalWindowDisplayMeOnTopPlease {
    z-index: 10000000000000000001;
}

    .ModalWindowDisplayMeOnTopPlease .ui-widget-header {
        background-color: #00694d;
        font-size: 16px;
        border: 0;
        text-transform: uppercase
    }

    .ModalWindowDisplayMeOnTopPlease .ui-widget-content {
        background-image: none;
        background-color: #fff
    }

/*Error Page*/
.ErrorPage {
    position: relative;
    height: inherit;
    width: 100%;
    height: inherit;
}

    .ErrorPage > div {
        position: fixed;
        top: 50%;
        height: auto;
        padding-left: 50px;
    }

        .ErrorPage > div > img,
        .ErrorPage > div > label {
            float: left;
        }

        .ErrorPage > div > label {
            color: #434343;
            font-size: 24px;
            padding-left: 20px;
            margin-top: 10px;
            font-weight: bold;
        }


.PopupMsgBox {
    min-width: 300px;
    max-height: 600px;
    overflow: auto;
    border: 1px solid;
    background-color: white;
    -webkit-margin-start: 130px;
}

    .PopupMsgBox .Header {
        height: 26px;
        color: white;
    }

    .PopupMsgBox .WarningImage {
        position: relative;
        top: 3px;
    }

    .PopupMsgBox .Title {
    }

    .PopupMsgBox .CommandButton {
        float: right;
        font-size: 12px;
        position: relative;
        margin: 1px;
    }

    .PopupMsgBox .Content {
    }

        .PopupMsgBox .Content li {
            margin-right: 15px;
        }

.PopupError {
    border-color: red;
}

    .PopupError .Header {
        background-color: #FF9999;
    }

.PopupInfo {
    border-color: #0C7672;
}

    .PopupInfo .Header {
        background-color: #00694d;
    }

.ViewLinkColor {
    color: #00694d !important;
    font-weight: bolder !important;
}

.PopupPager table {
    width: auto;
}

.PopupPager > td > table {
    margin: auto;
}

    .PopupPager > td > table td {
        text-align: center;
        padding: 0;
    }

    .PopupPager > td > table a {
        text-decoration: none;
        padding: 3px;
    }

    .PopupPager > td > table span {
        width: 20px;
        float: none;
        padding: 0px;
        margin: 0px;
    }

.badge-file {
    position: absolute;
    right: 3px;
    top: -3px;
    min-width: 7px;
    border-radius: 2px;
    padding: 2px 4px;
    text-align: center;
    font-size: 14px;
    line-height: 12px;
    background-color: #c2deab;
    cursor: default;
}

div.validation span, .loginRequired {
    width: inherit;
    display: block;
    float: none;
    padding: 10px 20px;
    margin: 14px 4px;
}

    div.validation span.successMessages {
        background-color: #beb;
    }

    div.validation span.errorMessages {
        background-color: #ebb;
    }

div.leadline {
    padding-left: 10px;
    margin-top: 6px;
}

.loginRequired {
    color: #000;
    background-color: #beb;
}

.ui-widget-header {
    background: #00694d;
    border: 0;
    color: #fff;
    font-weight: normal;
}

.ui-dialog-titlebar-close {
    visibility: hidden;
}

.ui-autocomplete {
    z-index: 10000001;
    height: 190px !important;
    text-align: left !important;
    color: windowtext !important;
    border: 1px solid buttonshadow !important;
    list-style-type: none !important;
    padding: 0px !important;
    overflow: auto !important;
    margin: 0px !important;
    font-weight: normal !important;
    font-size: 12px !important;
    color: WindowText !important;
    padding: 2px 2px !important;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #12A8A0 !important;
}

.ModalWindow {
    z-index: 10000000000000000001;
}

    .ModalWindow .ui-widget-header {
        background-color: #00694d;
        font-size: 16px;
        border: 0;
        text-transform: uppercase;
        color:#EEEAD9;
    }

    .ModalWindow .ui-widget-content {
        background-image: none;
        background-color: #fff
    }

.FormInputShortEnabled {
    font-size: 10px;
    text-transform: uppercase;
    vertical-align: middle;
    width: 10%;
    height: 18%;
    text-align: left;
    margin: 2px;
}

.addresstabs {
    margin: 5px 0px 5px 0px;
    border-bottom: 1px solid #142c00;
    height: auto;
    font-size:13px;
    font-weight:normal;
}

.addresstabs span {
    background: #142c00;
    color: white;
    text-align: center;
    margin-top: 2px;
    padding: 5px 0px 5px 0px;
}

input[type="text"]::placeholder {
    font-size: 9px;
}

.infoDiv {
    background-color: #f8f9fa;
    border-left: 3px solid #00694d;
    border-right: 3px solid #00694d;
    border-top: 1px solid #00694d;
    border-bottom: 1px solid #00694d;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.infoSubject i {
    margin-right: 0px;
}

.infoSubject {
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
}

.infoMessage {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

/* Fix table alignment and borders */
.doc-upload-table {
    border-collapse: collapse;
    width: 100%;
}

.doc-upload-subheader {
    border: 1px solid #ccc;
    background-color: #d3d3d3;
    padding: 8px;
}

.doc-upload-instructions {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 12px 0;
    font-size: 12px;
}

.doc-upload-instructions ul {
    margin: 0;
    padding-left: 1.25em;
    list-style-type: disc;
    font-weight: normal;
    color: #333;
    flex: 1;
    min-width: 0;
}

/* Shrink-wrap so file inputs sit next to labels (not stretched across the cell). */
.doc-upload-file-inputs {
    width: auto;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0;
    line-height: normal;
}

.doc-upload-file-inputs td.doc-upload-file-label {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 0.5rem 0 0;
    line-height: 1;
}

.doc-upload-file-inputs td.doc-upload-file-control {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0;
    line-height: 1;
}

.doc-upload-file-inputs label {
    margin: 0;
    padding: 0;
}

.doc-upload-file-inputs input[type="file"] {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    width: auto;
    max-width: 100%;
}

.doc-upload-delete-btn {
    border: none;
    background: transparent;
    padding: 2px 4px;
    cursor: pointer;
    vertical-align: middle;
}

.doc-upload-delete-btn:hover {
    opacity: 0.85;
}

.doc-upload-delete-btn:focus {
    outline: 1px dotted #666;
}

/* Same pattern as OnlineAdmin Company.aspx + Dialog.css (modal confirm, not window.confirm) */
#dialog-confirm-delete-doc {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.4);
    padding-top: 15vh;
    text-align: center;
}

#dialog-confirm-delete-doc .dialog-box {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    width: 350px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#dialog-confirm-delete-doc .dialog-box button {
    margin: 10px;
    padding: 6px 15px;
    cursor: pointer;
}

#dialog-confirm-delete-doc .dialog-box button:hover {
    background-color: #00694d;
    color: #fff;
}

/* Header */
.doc-upload-table th {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: left;
}

/* Cells */
.doc-upload-table td {
    border: 1px solid #ccc;
    padding: 7px;
    vertical-align: top;
}