html {
    /* min-width: 1030px !important; */
    padding-top: 0 !important;
}


/* HEADER  */

.global-header,
header {
    position: relative;
}

.header-upper {
    padding: 1.5em 0;
}

.header-upper .header-logo {
    background-image: url(img/the-coal-authority-logo.png) !important;
    height: 40px !important;
    width: 90%;
    background-size: contain;
    display: block!important;
    margin: 0 auto;
    float: none!important;
    background-position: center center;
}

@media only screen and (max-width: 767px) {
    .header-upper {
        padding: 0.8em 0;
    }
    span.basket {
        font-size: 95%;
    }
}

@media only screen and (max-width: 767px) {
    .header-upper .header-logo {
        height: 8vh!important;
    }
}

#header-left {}

#header-center {
    /* float: left; */
    margin-top: 6px;
    /* margin-left: 110px; */
}

#header-center .link {
    border-left: 1px solid #444444;
    padding-left: 0.5em;
    margin-left: 0.5em;
}

#header-center p {
    text-align: center;
}

#header-center span {
    padding-right: 0;
}

#header-right {
    display: block;
    width: 100%;
}

#header-right p {
    text-align: center;
    margin-bottom: 10px;
}

#header-contact {}


/* If you are not seeing the svg images for the social media links, check that websphere has had the image/svg MIME type added  */

.header-upper #header-right .header-contact li.facebook a,
.header-upper .header-contact li.facebook a {
    background-image: url("img/svg/facebook.svg") !important;
}

.header-upper .header-contact li.linkedin a {
    background-image: url("img/svg/linkedin.svg") !important;
}

.header-upper .header-contact li.twitter a {
    background-image: url("img/svg/twitter.svg") !important;
}

.header-upper .header-contact li.phone a {
    font-weight: 700 !important;
}

.header-upper .header-contact li {
    display: inline-block !important;
    /* float: right; */
}

.social {}

.twitter {}

.facebook {}

.linkedin {}

.external {}

.external_icon {}


/* NAVIGATION */

.menu {}

.menu-item {}


/* BREADCRUMB  */

.breadcrumbs {
    min-height: 2.5em !important;
    display: none;
}

.breadcrumbs .breadcrumb-container {
    padding-left: inherit;
}

.breadcrumbs .breadcrumb-container ul {
    display: block;
    float: left;
    line-height: 1;
    list-style: outside none none;
    margin: 0;
    overflow: visible !important;
    padding: 0;
    position: relative;
    width: 100%;
}

.breadcrumbs .breadcrumb-container ul li {
    float: left;
    position: relative;
    font-size: 0.8rem;
    margin: 0.5em 0 0.5em 0.5em;
}

.breadcrumbs .breadcrumb-container ul li a {
    font-weight: normal;
}

.breadcrumbs .breadcrumb-container ul li.crumb {}

.breadcrumbs .breadcrumb-container ul li.current {
    font-weight: bold;
}


/* MAIN CONTENT */

main {}

section {}

section.standard-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}


/* override for TCA style, as doesn't make sense with Public content */


/* TODO something odd going on here, haven't quite got width & font-size matching */

.row {
    /* adding padding from .columns to .row Otherwise would have had to go through & add .column to all jspx page elements  */
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    /* max-width: 1000px; */
    width: 100%;
}

@media only screen and (max-width: 767px) {
    .row {
        padding-left: 0;
        padding-right: 0;
    }
    #maincontentarea {
        padding-left: 0.9375em;
        padding-right: 0.9375em;
    }
}

.right-content {
    /* float: right; */
    width: 100%;
}

.left-content {
    /* float: left; */
    width: 100%;
}

aside {
    /* padding: 10px 0 0 0; */
    padding: 0;
}

aside .panel.callout {
    margin: 0;
}

.side-panels {
    /* width: 282px; */
    margin-bottom: 20px;
}

.standard-content p:first-of-type {
    font-size: inherit;
    font-weight: inherit;
}

#contextContent {
    margin: 0 0 1em;
}

.twoColumn {}

.panels .panel {
    /* float: left; */
    width: 49%;
    display: inline-block;
    height: 16rem;
}

:nth-child(odd).panel {
    margin-right: 2%
}

.panel li {
    list-style-type: none;
}

.panels .panel ul {
    margin-left: 0 !important;
}

.headerTab,
.headerTabFooter {
    clear: both;
}

.headerTab ul {
    list-style: none;
    margin-left: 0 !important;
}

.headerTab ul li {
    float: left;
    position: relative;
    top: 1px;
}

.headerTab ul li input {
    background-color: #fafafa !important;
}

.headerTab ul li input:focus {
    border-color: #ccc !important;
}

.headerTab ul li.active input {
    border-bottom: 1px solid #fafafa !important;
}

/* .headerTab button { * Moved to match screen.css styles
    float: left;
    top: 1px;
    background-color: #fafafa !important;
    color: rgba(0, 0, 0, 0.75);
    border: 1px solid #cccccc;
    font-weight: 400 !important;
} */



.headerTab button.active {
    border-bottom: 1px solid #fafafa !important;
}

.tabsWrapper {
    border: 1px solid #cccccc;
    padding: 1em;
    background-color: #fafafa;
}


/* .tabsWrapper .widthWrapper :nth-child(2).thirdWidth,
.tabsWrapper .widthWrapper :nth-child(3).thirdWidth {
    margin-left: 2rem;
} */


/* #enquirerDetails .widthWrapper :nth-child(2).thirdWidth,
.tabsWrapper .widthWrapper :nth-child(3).thirdWidth {
    margin-left: 2rem;
} */

.datapage\:subform\:accountDetailsTab\:content {
    clear: both;
}

.widthWrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.widthWrapper :nth-child(2).thirdWidth {
    margin: 0 20px;
}

@media only screen and (max-width: 600px) {
    .widthWrapper {
        display: block;
    }
    .widthWrapper :nth-child(2).thirdWidth {
        margin: 0;
    }
}


/* FOOTER */

footer {}

footer .footer-upper .row, footer .footer-middle .row, footer .footer-lower .row   {
    margin-left: auto;
    margin-right: auto;
}

footer .footer-upper ul#menu-footer-menu {
    float: left;
    display: block;
    width: 79%;
    padding-top: 3px;
}

footer .footer-middle {
    margin-bottom: 13px;
}

footer .footer-middle .footer-logo {
    display: inline-block;
    height: 28px;
    margin-bottom: 0;
    overflow: hidden;
    text-indent: -9999px;
    width: 220px;
    float: left;
    background: url("img/the-coal-authority-logo-footer.png") no-repeat scroll left top / 204px 28px rgba(0, 0, 0, 0);
}

footer .footer-lower {
    font-size: 90%;
    height: 52px;
}

footer .footer-lower address {
    display: block;
    float: left;
}

footer .footer-lower,
.footer-upper {
    margin-bottom: 16px;
}


/* HTML ELEMENTS */

iframe {
    border: 1px solid black;
    width: 100%;
    height: 500px;
}

table {
    width: 100%;
}

table.gridtable thead {
    background: #dddddd;
}

table.gridtable th,
table.gridtable td {
    text-align: left;
    vertical-align: middle;
    border-right: solid 1px #dddddd;
    border-left: solid 1px #dddddd;
}

table.gridtable td .labelAndField {
    margin: 0 !important;
}

table.gridtable td input {
    display: inline;
}

table tr.even {
    background: #f2f2f2;
}


/* COMMON CLASSES */

.boldText {
    font-weight: bold;
}

.clearBoth {
    clear: both;
}

.noMargin {
    margin: 0 !important;
}

.tooltip {
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
}

.screenRef {
    padding-top: 10px;
    font-size: .7em;
    text-align: left;
    clear: both;
}

.fullWidth {
    width: 100% !important;
}

.halfWidth {
    width: 50% !important;
}

.thirdWidth {
    display: inline-block;
    float: left;
    /* width: 285px !important; */
}

.displayInline {
    display: inline;
}

.displayInlineBlock,
.displayInline label,
.displayInline input {
    display: inline-block !important;
    line-height: 1.8rem;
}

.displayInline input {
    margin: 0 .5em;
}


/** Start of focus highlighting. */

input:focus,
li:focus,
label:focus,
.dijitButtonFocused,
select:focus,
textarea:focus,
button:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 0;
}

.mainButtons input:focus {
    background: #00629B;
}

.headerTab button:focus {
    outline-offset: -5px;
}

header .header-upper a:focus,
.breadcrumbs a:focus,
main a:focus,
footer a:focus,
.skip-link:focus,
a:focus>.orderSummaryExpediteColWidth {
    color: black;
    text-decoration: none;
    outline: 0px solid #ffdd00;
    background-color: #ffdd00;
    box-shadow: 0 -2px #ffdd00, 0 4px #0b0c0c;
}


/** Element specific change for command links in the journal table which showed wrapped styling without this. */

#datapage\:subform\:journalTab td>a.commandLink {
    display: inline-block;
}


/** End of focus highlighting */

button[disabled=disabled],
button:disabled {
    background: #444444 !important;
}

/* .button:not(.panel .button),
input[type=button]:focus,
input[type=submit]:focus {
    background: #00629B !important;
} */


/* SPECIFIC ELEMENTS */

#welcomeText {}

#welcomeText a {
    float: right;
}

.side-panels .callout form {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    padding-bottom: 1em;
}

.side-panels .callout form p.label {
    padding-top: 0.5em;
}

.side-panels .callout form input.button,
.side-panels .callout p.button {
    background-color: #BCEDFF;
    color: #00629B;
}

.side-panels .callout p.button a {
    color: #00629B !important;
    text-decoration: none !important;
}

.plain_text {
    padding-top: 1em;
}


/* FORM ELEMENTS */

input[type="text"] {
    width: 100%;
}

input[type="password"] {
    width: 50%;
}

@media only screen and (max-device-width: 768px) {
    input[type="password"] {
        width: 100%;
    }
}

input[type="file"] {
    height: auto;
    width: 50%;
}

input[type="checkbox"] {
    height: 22px;
    width: 22px;
    border: none;
    padding: 0;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
}

input[type="radio"] {
    height: auto;
    width: auto;
    border: none;
    padding: 0;
    -webkit-appearance: radio;
    -moz-appearance: radio;
}

input.nestedInputRadio {
    float: left;
    clear: both;
}

input.button {
    margin: 0 5px 0 5px;
    /* min-width: 195px; Turned off by Sean */
}

select {
    width: 50%;
    height: 2.5em;
    border: 2px solid #0b0c0c;
}

@media only screen and (max-width: 767px) {
    select {
        width: 100%;
    }
    input.button {
        margin: 0 auto 10px auto; /* Changed for cancel order buttons being too close */
        width: 100%;
    }

}

textarea {
    border: 2px solid #0b0c0c;
}

.labelAndField {
    margin-bottom: 1em;
}

.hideLabel label {
    display: none !important;
}

div.labelAndField input.readonly,
div.labelAndField textarea.readonly {
    overflow: auto;
    line-height: normal;
    color: #000;
    background: #EBEBE4;
    border: 2px solid #0b0c0c;
}


/* used for div around buttons */

.scisysButtons {
    min-height: 3rem;
    margin-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

div#buttonBar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 5px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.scisysButtons .mainButtons {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.mainButtons {
    float: right;
}

.mainButtons input.button {
    margin-left: 5px;
    margin-right: 0;
    margin-top: 5px;
    min-width: 90px;
}

.secondaryButtons {
    margin-top: 5px;
    min-width: 50%;
    width: 50%;
}

.secondaryButtons input.button,
.secondaryButtons input.button:focus {
    background-color: #e4e5e6 !important;
    color: #444444 !important;
}

.secondaryButtons input.button:hover {
    background-color: #dbddd4 !important;
    color: #444444 !important;
}

.secondaryButtons input.button {
    margin: 0 0 10px 0;
}

.secondaryButtons input.button:first-of-type {
    margin-left: 0;
    margin-right: 5px;
}

div.dijitDialogPaneContent div.scisysButtons {
    text-align: right;
}

.displayNone,
.dynamicDisplayNone {
    display: none !important;
}

div.nestedRadios,
div.nestedCheckboxes {
    padding: 1em;
}

div.nestedRadios label {
    margin-left: -1.2em;
    font-size: 1em;
}

div.nestedCheckboxes label {
    margin: .5em 0;
}

.largerBlueFont label {
    font-size: 1.2em !important;
    margin-left: -20px !important;
    color: #007abd;
}

div.nestedRadios label input,
div.nestedCheckboxes label input {
    margin: .4em .5em 0 0;
}

#formInfo {
    padding: 0.1em;
    margin-bottom: 1em;
    border: 1px solid #007ABD;
    color: #007ABD;
}

#formHelpInfo {
    padding: 0.1em;
    margin-bottom: 1em;
    border: 1px solid #007ABD;
    color: #007ABD;
}

.active.activevalid input[type="submit"] {
    cursor: pointer;
}

.inactive.inactivevalid input[type="submit"] {
    cursor: pointer;
}


/* CALENDAR CONTROL */

table.jscalendar-publicCalendar-body-style td:nth-child(1) {
    border-right: solid 1px #dddddd;
}

.formElement_DatePicker input[type=button] {
    background-color: #e4e5e6 !important;
    color: #444444 !important;
    min-width: 200px;
}


/*  DATE PICKER */

.formElement_DatePicker {}

.formElement_DatePicker input[type=text] {
    float: left;
    width: 50%;
}

@media only screen and (max-width: 767px) {
    .formElement_DatePicker input[type=text] {
        width: 100%;
    }
}

.formElement_DatePicker input[type=button] {}


/* HELP ELEMENTS */

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

.helpTextText {
    display: none;
}

.helpTextIcon {
    width: 16px;
    height: 16px;
    margin: 0 0.3em 0.1em 0.1em;
}


/* ERROR MESSAGES AND HIGHLIGHTING */

.messageKey {}

.debugStack {}

#mobile_errors, #standard_errors, #errors, #errorsCallout {
    border: 2px solid #f7e700;
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
}

#mobile_errors ul, #standard_errors ul, #errors ul {
    list-style-type: none;
    font-size: 0.875rem;
}

.mandatoryinfo {
    font-weight: 700;
}

.highlightError,
.highlightError label {
    color: #D60000 !important;
}


/* CONFIRM CANCEL - NOPOPUP */

.nonPopup>.scisysButtons input[type="submit"] {
    background-color: #dbddd4 !important;
    color: #444444 !important;
}

div.dijitDialogPaneContent div.scisysButtons input[type="submit"] {
    background-color: #dbddd4 !important;
    color: #444444 !important;
}


/* LOGIN FORM */

#login input[type="text"] {
    border: none;
}

#login input[type="password"] {
    border: none;
}


/* LOGIN FORM */

#login input[type="text"]:focus {
    border: solid 2px;
}

#login input[type="password"]:focus {
    border: solid 2px black!important;
}

#terms {
    margin-top: 0.3em;
}


/* ORDER SUMMARY SPECIFIC*/

#orderSummaryTotal {
    text-align: right;
}

#orderSummaryTotal input {
    width: 10em;
    display: inline !important;
    margin-left: 1em;
}

#orderSummaryTotal label {
    display: inline !important;
}


/* MAINTAIN MY DETAILS SPECIFIC - MRP155 */

#clientDetails {
    background-color: #fafafa;
    margin: 0 0 1em 0;
    padding: 0 0.5em 1em 0.5em;
}

#clientDetails select, #clientDetails input[type=text] {
    margin-bottom: 10px;
}

#enquirerDetails {
    background-color: #fafafa;
    margin: 0 0 1em 0;
    padding: 0 1em 1em 1em;
}

select#datapage\:subform\:title {
    margin-left: 0 !important;
}

input#datapage\:subform\:firstname {
    margin-left: 0 !important;
}

input#datapage\:subform\:surname {
    margin-left: 0 !important;
}

label#datapage\:subform\:enquirerTelephoneNumberLabel {
    clear: left !important;
}

label#datapage\:subform\:addressSearch\:addressLabel {
    clear: left !important;
}

/* label#datapage\:subform\:sendEmailNotificationLabel {
    float: left;
    margin-right: 1em;
} */

/* label#datapage\:subform\:creditAccountLabel {
    float: left;
    margin-right: 1em;
} */

/* label#datapage\:subform\:marketingPreferenceLabel {
    float: left;
    margin-right: 1em;
} */

/* label#datapage\:subform\:serviceEmailLabel {
    float: left;
    margin-right: 1em;
} */

.addressSearch a.commandLink {
    /* line-height: 3em; */
    margin-bottom: 10px;
    line-height: 1.4;
    display: block;
}


/* CLIENT HOME */

div#statusUpdate {
    margin-bottom: 1.5em;
}


/* WORLDPAY ICONS */

#worldPayLogos {
    float: left;
    width: 280px;
    margin-left: -1.0em;
    margin-top: 20px;
}

#worldPayLogos table {
    border: 0;
    width: 280px;
    margin-bottom: 0;
}

#worldPayLogos table tr,
#worldPayLogos table td {
    background-color: #fff;
    padding: 0;
}

#worldPayLogos table td {
    text-align: center;
}

#worldPayLogos img {
    margin-bottom: 0;
    margin-left: 14px;
}


/* CONTACT DETAILS - MRP111*/

label#datapage\:subform\:organisationCompanyNameLabel {
    clear: left !important;
}


/* MAINTAIN ACCOUNT USER - S00102*/

label#datapage\:subform\:accountUserDetails\:accountUserDetails\:emailLabel {
    clear: left !important;
}


/* ACCOUNT ACTIVATION */

input#datapage\:subform\:password {
    border: 1px solid #A5ACB2;
}

input#datapage\:subform\:confirmPassword {
    border: 1px solid #A5ACB2;
}


/* CHANGE PASSWORD */

input#datapage\:subform\:currentPassword {
    border: 1px solid #A5ACB2;
}

input#datapage\:subform\:newPassword {
    border: 1px solid #A5ACB2;
}


/* DIGITISE BOUNDARY */

input#datapage\:subform\:nextButton:disabled,
input#datapage\:subform\:saveboundaryButton:disabled {
    background: #444444 none repeat scroll 0 0 !important;
    outline: none !important;
    cursor: default;
}


/* DOJO OVERRIDES*/

.dijitDialog {
    border: 1px solid #cccccc;
    padding: 1em !important;
    background-color: #fafafa;
}


/* CREATE ACCOUNT USER - S00107 */

label#datapage\:subform\:emailLabel {
    clear: left !important;
}


/* OPENTIP TOOLTIPS */

.opentip-container {
    max-width: 495px !important;
}

.opentip-container .opentip .ot-content {
    color: white !important;
}

.rf-tb-itm {
    border-bottom: 3px solid transparent;
    padding: 0;
    font-size: 98%;
    color: #fff;
    line-height: normal;
    font-weight: 400;
    cursor: default;
    text-align: center;
    min-width: 175px;
    transition: all 0.3s ease;
}

.rf-tb-itm:hover {
    color: #fff;
    border-bottom: 3px solid #00aeef;
    background: #0f0f0f;
    text-decoration: none;
}

.rf-tb-itm div div a {
    color: #fff;
    text-decoration: none;
}

.rf-ddm-lst {
    background: #2e2e2e;
    /*margin-top: 6px;*/
    min-width: 175px !important;
    max-width: 175px !important;
}
/*
.nav-bar a {
    white-space: normal !important;
    font-weight: 400;
} */

.nav-bar a {
    white-space: normal !important;
    font-weight: 400;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.rf-ddm-itm,
.rf-ddm-itm-sel,
.rf-ddm-itm-unsel {
    padding: 0.65em 0.65em;
    font-size: 95%;
    color: #fff;
    line-height: normal;
    font-weight: 400;
    cursor: default;
    text-align: center;
    transition: all 0.3s ease;
}

.rf-ddm-itm-sel,
.rf-ddm-itm-unsel,
.rf-ddm-sel,
.rf-ddm-unsel,
.rf-ddm-lst-bg,
.rf-ddm-lst {
    border: none !important;
}

.rf-ddm-itm:hover {
    background: #0f0f0f;
    /*text-decoration: none;*/
    /*border: none;*/
}

.rf-ddm-lbl {
    height: 110%;
    width: 100%;
    padding: 0;
}

.rf-ddm-lbl-dec {
    padding-top: 0.8em;
}

.rich-menu-list-strut {
    display: none;
}

.home-page-menu div div {
    display: none;
}

.display-none {
    display: none;
}

#publicsignin {
    width: 111px;
    height: 48px;
    background: #BCEDFF;
    color: #00629B;
}

#publicguestsignin {
    /*width: 111px;*/
    height: 48px;
    background: #BCEDFF;
    color: #00629B;
}

#publicregisteredsignin {
    /*width: 111px;*/
    height: 48px;
    background: #BCEDFF;
    color: #00629B;
}

#selectableDocumentTable table {
    margin: 0;
    border: 0;
}

#selectableDocumentTable table tr:nth-of-type(even) {
    background: 0;
}

.columnCentered {
    text-align: center;
}

.columnLeft {
    text-align: left;
}

.infoMessagesClass {
    color: #007ABD;
    font-size: 100%;
}

.infoMessagesStyleClass {
    list-style: none;
    padding-top: 0.5625rem;
    padding-bottom: 0.5625rem;
    border: 0;
    margin-bottom: 0;
}

.selectColumnWidth {
    width: 5em;
}

.reportColumnWidth {
    /* width: 400px; */
}

.selectHelpWidth {
    /* width: 167px; */
}

.explainCostsWidth {
    /* width: 210px; */
}

.summaryDescColWidth {
    /* width: 200px; */
}

.orderSummaryhelptextToggle {
    text-decoration: none !important;
    width: 19px;
    padding-top: 1.3em;
    float: right;
}

.orderSummaryExpediteColWidth {
    width: 95px;
    display: table-cell;
    vertical-align: top;
    line-height: 1.125rem;
    padding-bottom: 8px;
}

.orderSummaryUploadDocColWidth {
    width: 86px;
}

.orderSummaryPlanCheckbox {
    padding-top: 1em;
    padding-left: 1.9em;
}

.orderSummaryDescInputBox {
    word-wrap: break-word;
    width: 200px
}

.orderSummaryExpediteNA {
    padding-left: 1.5em
}

.orderSummaryExpediteCheckBox {
    padding-left: 1.9em
}

.orderSummaryTypeWidth {
    word-wrap: break-word;
    width: 130px;
}

.orderSummaryTypeColWidth {
    width: 130px;
}

.orderSummaryItemColWidth {
    width: 55px;
}

.orderSummaryRefColWidth {
    width: 225px;
}

.orderSummaryAsterisk {
    float: left;
    text-align: left;
    margin-top: 0.4em;
    margin-bottom: 2em;
}

.orderConfirmationRefColWidth {
    width: 170px;
}

.orderConfirmationItemColWidth {
    width: 40px
}

.noPadding {
    margin-bottom: 0.5em;
}

.boxes {
    position: relative;
    top: 5px;
}

.popup-overlay {
    /*Hides pop-up when there is no "active" class*/
    visibility: hidden;
    position: absolute;
    background: #ffffff;
    border: 3px solid #666666;
    width: 18%;
    left: 43%;
}

.popup-overlay.active {
    /*displays pop-up when "active" class is present*/
    visibility: visible;
    text-align: center;
    background: #00629B;
    border: none;
    color: white;
    border-radius: 8px
}

.popup-content {
    /*Hides pop-up content when there is no "active" class */
    visibility: hidden;
}

.popup-content.active {
    /*Shows pop-up content when "active" class is present */
    visibility: visible;
}

.closeIcon {
    float: right;
    border-radius: 8px;
    margin-bottom: 0px;
}

.modalHelpText {
    padding-top: 2.5em;
    padding-bottom: 2em;
    padding-left: 1em;
    padding-right: 1em;
    text-align: left;
    font-weight: normal;
}

#expediteHelpText2 .modalHelpText {
    padding-bottom: 0em;
}

.orderSummaryRowAligment {
    line-height: 1.125rem;
    vertical-align: top;
    padding-top: 8px;
    padding-bottom: 8px;
}

.orderSummaryFeeRowAlignment {
    display: table-cell;
    line-height: 1.125rem;
    vertical-align: top;
    padding-top: 8px;
    padding-bottom: 10px;
    width: 110px;
}

.orderSummaryActionRowAlignment {
    display: table-cell;
    line-height: 1.125rem;
    vertical-align: top;
    padding-top: 8px;
}

.orderSummaryRemoveRowAlignment {
    display: table-cell;
    line-height: 1.125rem;
    vertical-align: top;
    padding-bottom: 3px;
}

.selectReportHelpLink {
    font-weight: bold;
}

#datapage\:subform\:marketingPreference {
    position: relative;
    /* top: -2px; */
}

#datapage\:subform\:createAccount {
    position: relative;
    /* top: 5px; */
}

#datapage\:subform\:contact_details_marketing_preferences h2 {
    font-size: 1.5rem;
}

.rootElementFontSize {
    font-size: 1rem;
}


/* CSS Menu Bar */

.nav-bar {
    min-height: 3.125em !important;
    font-size: 98%;
    border: none;
    /* height: 50px; Turned off April 2021 */
    background: #2e2e2e;
}

#navmenu {
    background: rgb(46, 46, 46);
}

#navmenu>form>ul {
    margin: 0;
}

@media only screen and (max-width: 767px) {
    #navmenu>form>ul {
        margin: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    #navmenu>form>ul>li {
        width: 25%;
    }
    .css-menu-header {
        background-color: #2e2e2e;
        color: #fff;
        border: none;
        cursor: pointer;
        text-decoration: none;
        font-weight: inherit;
        display: block;
        /* width: 10.9375rem; */
        width: 100%;
        min-height: 3rem;
    }
    .css-menu-content {
        display: none;
        position: absolute;
        background-color: #2e2e2e;
        min-width: 0!important;
        z-index: 1;
        margin: 0;
        font-size: 95%;
        list-style: none;
        top: 3.25em;
    }
    .css-menu-content a {
        color: #fff;
        padding: 0.5rem 5px 0.5rem 5px;
        text-decoration: none;
        display: block;
        font-weight: inherit;
        background: #222;
        /* font-size: 90%; */
    }
}

#navmenu>form>ul>li {
    padding: 0;
}

.css-menu-header {
    background-color: #2e2e2e;
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: inherit;
    display: inline-block;
    /* width: 10.9375rem; */
    width: 100%;
    min-height: 3rem;
}

.menuCentered {
    -ms-flex-item-align: center;
    align-self: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 auto;
    line-height: 1.2;
    font-size: 14px;
}

@media only screen and (max-width: 767px) {
    .css-menu {
        border-bottom: 0.1875rem solid transparent;
        /* Added to prevent the 'wobble' when hovering over items */
    }
}

.css-menu-header:focus {
    outline: 3px solid #00aeef;
    outline-offset: -3px;
}

.css-menu:hover {
    /* border-bottom: 0.1875rem solid #00aeef; */
    background: #0f0f0f;
}

.css-menu:focus-within {
    /* border-bottom: 0.1875rem solid #00aeef; */
    /* Turned off on reflow */
    background: #0f0f0f;
}

.css-menu {
    position: relative;
    display: inline-block;
    /* min-width: 10.9375rem !important; */
    text-align: center;
    padding: 0;
    width: 49%;
}

.css-menu-content {
    display: none;
    position: absolute;
    background-color: #2e2e2e;
    min-width: 10.9375rem !important;
    z-index: 1;
    margin: 0;
    font-size: 95%;
    list-style: none;
    top: 3.25em;
}

@media only screen and (max-width: 767px) {
    .css-menu-content {
        top: 3rem;
        min-width: 1px!important;
        width: 100%;
    }
}

.open .css-menu-content {
    display: block;
}

.css-menu-content a {
    color: #fff;
    padding: 0.5rem 5px 0.5rem 5px;
    text-decoration: none;
    display: block;
    font-weight: inherit;
    background: #222;
}

.css-menu-content a:hover,
.css-menu-content a:focus {
    background-color: #0f0f0f;
    color: #00aeef;
}

.css-menu-content a:focus {
    outline: 3px solid #00aeef;
    outline-offset: -3px;
}

.css-menu:hover .css-menu-content {
    display: block;
}

.css-menu:hover .css-menu-header,
.css-menu:focus-within .css-menu-header {
    background: #0f0f0f;
    text-decoration: none;
}

.css-menu-header:hover,
.css-menu-header:focus {
    background: #0f0f0f;
    text-decoration: none;
    color: #00aeef;
}

.skip-link {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: .875rem;
    line-height: 1.14286;
    display: block;
    padding: 10px 15px;
    background-color: white;
}

.skip-link:active,
.skip-link:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: inherit !important;
    overflow: visible !important;
    clip: auto !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    white-space: inherit !important;
    text-decoration: underline;
}

.skip-link:link,
.skip-link:visited,
.skip-link:hover,
.skip-link:active,
.skip-link:focus {
    color: black;
}

#standard_formErrors:focus, #mobile_formErrors:focus, #formErrors:focus {
    outline: none;
}

#formInfo:focus {
    outline: none;
}

.hidden-off-screen {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.upload-plan label {
    color: #444444 !important;
    font-weight: 400;
    font-size: 16px;
}

a.opens-in-new-window {
    position: relative;
}

a span.opens-in-new-window {
    display: block;
    position: absolute;
    top: -1.5em;
    width: 12em;
    border: 1px solid #00629B;
    background-color: #BCEDFF;
    color: #000;
    text-align: center;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5rem;
    z-index: 998;
}

.suppress-new-window {
    left: -10000px;
    width: 0;
    overflow: hidden;
}

.display-new-window {
    left: 1em;
    width: 25em;
}

div.css-menu-content span.display-new-window {
    top: 2.5em;
}

.basket {
    padding-right: 20px;
}

nav.pageNavigator {
    display: inline;
}

ul.pagination {
    list-style-type: none;
    display: inline;
}

ul.pagination li {
    list-style: none;
    display: inline;
    padding: 0 0.5em 0 0.5em;
    border-right: 1px solid;
}

ul.pagination li:last-child {
    border-right: none;
}

.allowOtherTitle {
    height: 150px;
}

.noMarginBottom {
    margin-bottom: 0em;
}

.fieldSet h3, .fieldSetH3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    color: #00629B;
    margin-bottom: 18px;
    padding-top: 30px;
}

a.accessible-tooltip {
    position: relative;
    display: block;
}

@media only screen and (min-device-width: 768px) {
    a.accessible-tooltip {
        display: inline;
        float: right;
        right: 20px;
    }
}

span.accessible-tooltip {
    /* display: block; */
    position: absolute;
    top: 0;
    background: #00629B;
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 400;
    padding: 1em;
    z-index: 20;
    width: 95vw;
    left: 50%;
    transform: translateX(-42.5%);
}

@media only screen and (min-device-width: 768px) {
    span.accessible-tooltip {
        width: 300px;
        top: 1.2em;
        left: 0;
        transform: translate(0,0);
    }
}

.suppress-tooltip {
    /* left: -10000px; */
    display: none;
    /* width: 0; */
    /* overflow: hidden; */
}

.display-tooltip {
    /* left: 0em; */
    /* width: 25em; */
    display: block;
}

fieldset.password-fieldset legend.legend {
    padding-bottom: 1em;
}

.terms-checkbox {
    float: left;
    margin-top: 0.2em;
}

.terms-label {
    padding-left: 2em;
}

legend {
    padding-bottom: 20px;
    box-sizing: border-box;
    /* IE9-11 & Edge 12-13 */
    display: table;
    /* IE8-11 */
    max-width: 100%;
    /* Patch for IE9-11 & Edge 12-13 */
    white-space: normal;
    /* IE8-11 */
}

.dijitButtonNode {
    width: 100px;
    line-height: 2em;
    background: #00629B;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 1em;
    font-weight: 600 !important;
    text-align: center;
}

.dijitButtonNode:hover {
    background: #007ABD;
}

.dijitButtonContents[aria-disabled="true"] {
    background: #444444 !important;
}

.link-text-on-image {
    color: darkslategrey;
    width: 100%!important;
    display: block!important;
    width: 100% !important;
    position: static !important;
    margin: 0 0 10px 0!important;
}

.link-text-on-image:hover {
    color: #003078;
}

.ui-dialog-titlebar {
    display: none;
}

.ui-button,
.ui-button:focus {
    background: #00629B;
    font-weight: 600 !important;
    color: #fff;
}

.ui-button:hover {
    background: #007ABD;
    color: #fff;
}

.ui-dialog-buttonpane {
    border: none
}

.ui-widget-overlay {
    background: #eee;
    opacity: 0.50;
    filter: Alpha(Opacity=50);
}

#selectedAddressHelpText:focus {
    outline: 0px;
}

body {
    overflow-x: hidden;
}

.checkBoxTable tbody tr td:last-of-type div {
    font-size: 90%;
    /* font-style: italic; */
}

@media only screen and (min-width: 768px) {
    .checkBoxTable tbody tr td:last-of-type div {
        display: inline;
        font-size: 100%;
    }
}

.checkBoxTable thead tr th:last-of-type {
    width: 110px;
}

div#dataTableId {
    width: 100%;
    overflow-x: scroll;
}

.labelAndField {
    width: 100%;
}

.labelAndField label {
    margin-bottom: 5px;
}

@media only screen and (max-width: 767px) {
    .labelAndField label {
        font-size: 0.8rem;
    }
}

/* Checkbox styling */

.labelAndField.checkboxLabelAndField {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.labelAndField.checkboxLabelAndField label {
    /* margin-bottom: 5px; */
    width: 85%;
    margin-left: 10px;
    margin-right: auto;
}

.labelAndField.checkboxLabelAndField input[type=checkbox] {
    top: -2px;
    position: relative;
}

/* @media only screen and (min-device-width: 768px) { */
.labelAndField.checkboxLabelAndField input[type=checkbox] {
    top: -2px;
}
/* } */

/* Media breakpoints for expansion to tablets and desktop computers */

@media only screen and (min-device-width: 768px) {
    section.standard-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        position: relative;
        padding-bottom: 50px;
    }
    .left-content {
        width: 65%;
    }
    .right-content {
        width: 30%;
    }
    .row {
        max-width: 1000px;
        margin: 0 auto;
    }
    .screenRef {
        position: absolute;
        bottom: 0;
    }
    .css-menu {
        width: 10.9375rem;
    }
    .header-upper .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .header-upper.header-logo {
        float: none;
        width: 292px;
    }
    #header-left,
    #header-center,
    #header-right {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        width: 33%;
    }
    #header-right p {
        text-align: right;
        margin: 0;
    }
    #header-center p {
        /*padding-left: 71px;*/
    }
    #header-center {
        /* width: 600px; */
    }
    .breadcrumbs {
        display: block;
    }
    .link-text-on-image {
        width: 49%!important;
        display: inline-block!important;
        vertical-align: top!important;
    }
    input[type="text"],
    textarea {
        width: 50%;
    }
    .secondaryButtons {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    /* .accessible-tooltip {
        float: right;
        display: inline;
        margin-right: 50px;
    } */
    .checkBoxTable thead tr th:last-of-type {
        width: 19%;
    }
    #header-right p a {
        text-indent: 0;
        width: auto !important;
        margin-left: 1em;
        color: #454a4c !important;
        text-decoration: underline;
        font-weight: 700;
        /* letter-spacing: 1px; */
        margin-top: 6px;
        display: block;
    }
    div#dataTableId {
        overflow-x: auto;
        overflow-y: hidden;
    }
    :nth-child(2).thirdWidth,
    :nth-child(3).thirdWidth {
        /* margin-left: 2.5rem */
    }
    .labelAndField {
        width: auto;
    }
    .scisysButtons {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        width: 100%;
    }
    .flex-grow {
        -webkit-box-flex: 2;
        -ms-flex: 2 1 auto;
        flex: 2 1 auto;
    }
}


/* Changes for Reflow - April 2021 */

div#header-right {}

div#header-left {
    width: 100%;
    display: block;
}

div#header-center {
    width: 100%;
    display: block;
}

div#header-right p {
    margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
    div#header-right {
        width: 23%;
    }
    div#header-left {
        width: 33%;
        /*     display: block; */
        height: 40px;
    }
    div#header-center {
        width: 43%;
        /*     display: block; */
    }
    div#header-right p {
        margin-bottom: 0;
    }
}

.css-menu>a {
    border-bottom: 0.1875rem solid transparent;
}

.css-menu:hover>a {
    border-bottom: 0.1875rem solid #00aeef;
}



/* Table change */

@media only screen and (max-width: 768px) {
    .plain_text.scroll_table {
        overflow-x: scroll;
    }

    input[type="file"] {
        height: auto;
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    #j_id_k > ul > li:nth-of-type(2) .css-menu-content {
        min-width: 100vw!important;
        left: -25vw!important;
    }
    #j_id_k > ul > li:nth-of-type(3) .css-menu-content {
        min-width: 100vw!important;
        left: -50vw!important;
    }
    #j_id_k > ul > li:nth-of-type(4) .css-menu-content {
        min-width: 100vw!important;
        right: 0!important;
    }
}

/* Table fixes */

.inferisContainer {
    display: block;
    width: 100%;
}

/* Fixing data tables on smaller screens */

.collapsibleTable thead th {
    vertical-align: middle;
} /* just to align on larger screens */

@media only screen and (max-width: 768px) {
    .collapsibleTable {
        border-collapse: collapse;
        border: 0;
    }

    /* This is ensure we maintain accessibility */
    .collapsibleTable thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
        margin-bottom: 0;
        display: block;
    }

    .collapsibleTable tr {
        /* border: 1px solid #ccc; */
    }

    .collapsibleTable tr:nth-of-type(odd) {
        /* background: #eee; */
    }

    .collapsibleTable td, .collapsibleTable tbody th {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding: 10px 10px 10px 50%;
        display: block;
        text-align: left;
    }

    .collapsibleTable td:before, .collapsibleTable tbody th:before {
        position: absolute;
        top: 10px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .orderSummaryPlanCheckbox {
        padding-top: 0;
        padding-left: 0;
    }

    /* Labels */

    .collapsibleTable td:nth-of-type(1):before {content: "Item"; }
    .collapsibleTable tbody th:before {content: "Type"; }
    .collapsibleTable td:nth-of-type(2):before {content: "Description"; }
    .collapsibleTable td:nth-of-type(3):before {content: "Your ref"; top: 20px; }
    .collapsibleTable td:nth-of-type(4):before {content: "Plan uploaded"; }
    .collapsibleTable td:nth-of-type(5):before {content: "Fee (inc VAT)"; }
    .collapsibleTable td:nth-of-type(6):before {content: "Action"; }
}

/* Fix scisysButtons */

@media only screen and (max-width: 767px) {
    .scisysButtons {
        display: block;
        width: 100%;
    }

    .scisysButtons * {
        display: block;
        width: 100%;
        margin: 0 0 5px 0;
    }

    .scisysButtons .mainButtons input.button {
        margin-left: 0;
        margin-top: 0;
    }
}

.checkBoxTable input[type="checkbox"] {
    margin: 0 auto;
}
.selectColumnWidth {
    text-align: center;
}

@media only screen and (max-device-width: 768px) {
    .checkBoxTable th span, .checkBoxTable td, .checkBoxTable th a, .reportColumnWidth, .checkBoxTable thead tr th:last-of-type {
        font-size: 13px;
    }
    .checkBoxTable th, .checkBoxTable td {
        vertical-align: top;
        padding-top: 10px;
    }
    .selectColumnWidth {
        width: 4em;
    }
    table thead tr th, table tr th {
        padding: 0.5625rem 0.325rem;
    }
    .scroll_table td input[type=checkbox] {
        margin: 0 auto;
        display: block;
    }
}

.plain_text.scroll_table table td, .plain_text.scroll_table table th {
    padding-left: 5px;
    padding-right: 5px;
}

#datapage\:subform\:contact_details_marketing_preferences

#datapage\:subform\:j_id_s_j\:tbody_element td {
    white-space: normal;
    vertical-align: center;
}

@media only screen and (max-device-width: 768px) {
    .collapsibleTable td:nth-of-type(3), .collapsibleTable td:nth-of-type(5), .collapsibleTable tbody > tr > th {
        background: #e9e9e9;
    }

    .collapsibleTable tbody tr td:nth-of-type(1) {
        background: #fff;
    }
}

@media only screen and (max-device-width: 768px) {
    .left-content {
        order: 2;
    }
    .right-content {
        order: 1;
    }
     .screenRef {
         order: 3;
     }
}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    .left-content {
        order: 1;
    }
    .right-content {
        order: 2;
    }
    .screenRef {
        order: 3;
    }
}

/*input[type=checkbox] {*/
/*    border: 2px solid #0b0c0c!important;*/
/*} Commented out by Sean as it had a typo - wouldn't have been working but didn't want to delete in case it turns out to be required.
*/

.homepage-quick-links--tutorials, .homepage-quick-links--updates {
    background-color: #f2f2f2;
    width: 49%;
    height: 140px;
    display: inline-block;
    margin-bottom: 28px;
    font-weight: normal;
    position: relative;
}

.homepage-quick-links--tutorials {
    background-image: url(/products/boundary.tutorials.jpg);
}

.homepage-quick-links--updates {
    background-image: url(/products/whats.new.jpg);
}

.homepage-quick-links {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 37px;
    text-decoration: none;
    text-align: left;
    line-height: 37px;
    position: absolute!important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:80%!important;
    display: block!important;
}

.homepage-quick-links:hover {
    font-weight: 400;
    text-decoration: none;
}

@media only screen
and (max-device-width: 1024px)
{
    .homepage-quick-links {
        font-size: 25px;
        line-height: 29px;
    }
}

/* Fix for iOS font size in tables */

* {
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
}
/* Fix for 400% display */

/*@media screen and (max-width: 475px) {*/
/*    .callout.panel h2 {*/
/*        font-size: 10px;*/
/*    }*/

/*    .callout.panel label, .callout.panel input, .callout.panel a {*/
/*        font-size: 10px;*/
/*        line-height: 14px;*/
/*    }*/

/*    .callout.panel input[type="checkbox"] {*/
/*        width: 16px;*/
/*        height: 16px;*/
/*    }*/

/*    #guest #publicguestsignin, #login #publicregisteredsignin {*/
/*        padding: 10px!important;*/
/*        width: 100%!important;*/
/*        display: block!important;*/
/*        height: auto!important;*/
/*    }*/

/*    .callout.panel {*/
/*        padding: 5px;*/
/*    }*/
/*}*/

/* fix for reports on 300% zoom */

@media screen and (max-width: 615px) {
    a.accessible-tooltip {
        display: block;
        width: 100%;
        float: none;
        clear: none;
        right: 0;
    }
        .header-upper .row {
            display: block;
            width: 100%;
        }

    .homepage-quick-links {
        font-size: 1.5em;
        line-height: 1em;
    }
}

@media screen and (orientation: landscape) and (max-width: 760px) {
    .header-upper .row {
        display: block;
        width: 100%;
    }
    .header-upper .header-logo {
        height: 16vh!important;
    }
    div#header-right {
        width: 100%;
    }
    div#header-right p {
        text-align: center;
    }
}
