﻿html {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**, *:before, *:after {
  -moz-box-sizing: inherit;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

* {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}*/

.dialog200 {
    min-width: 8em
}

html, body {
    height: 100%;
    font-family: GothamSL-Book, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

    body.adlineMaster {
        background-color: #fff;
        color: #000;
        font-family: GothamSL-Book, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        -webkit-font-smoothing: antialiased;
    }

#form1.adlineMaster {
    height: 100%;
}

.groupBoxClientImage {
    margin-top: 3em;
}

#wrapper {
    position: relative;
    min-height: 100%;
    vertical-align: bottom;
    margin: 0 auto;
    height: 100%;
    min-width: 800px;
}

.plaincontent {
    width: 99%; /*what was plaincontent originally? makes hscrollbar appear on page*/
}

/* height: 147px;  adds lines under the menu items in ffox/chrome depending on screen height / zoom etc */
/*/*#header {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    min-width: 800px;
}*/

/*#header-sign-in {
    width: 100%;
    height: 176px;
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    min-width: 800px;
}*/

#content {
    width: 100%;
    margin: 0 0 -2.1em;
    min-height: 100%;
}

#content-spacer-top {
    height: 3em;
}

#content-spacer-top-3 {
    height: 3em;
}

#content-spacer-top-8 {
    height: 8em;
}

#content-spacer-top-10 {
    height: 10em;
}

#content-spacer-top-12 {
    height: 12em;
}

#content-spacer-top-sign-in {
    height: 176px;
}

#content-spacer-bottom {
    height: 2em;
}

#divHelplineFooter {
    width: 100%;
    padding: 0.5em 0 0.5em 0;
    text-align: left;
    background: #353735;
    color: white;
}

.colourTextBox1 {
    padding: 0.75em 0.5em;
    color: #656968;
    border: 1px #00a58e solid;
    font-size: 1em;
    margin-bottom: 0.75em;
    max-width: 100%;
    box-sizing: border-box;
}

/* client selection */
.search-textbox2 {
    /* padding: 9px 8px 8px 8px; */
    padding: 0.4em 1em;
    color: #656968;
    font-size: 1em;
    vertical-align: top;
    border: solid 1px #49BEAD;
    border-radius: 3px;
    margin-bottom: 0.5rem; /* space under search box in booking search.*/
}

    .search-textbox2:hover, .search-textbox2:focus {
        background-color: #CCEDE8;
        color: #000;
        border: solid 1px #49BEAD;
    }

.search-textbox {
    padding: 7px 2px 6px 5px;
    color: #656968;
    border: 1px #49bead solid;
    font-size: 1em;
    vertical-align: top;
}

.adline-pennaLogoLarge {
    width: auto;
    height: 142px;
    display: block;
}

.spaceDownloadButton {
    margin-left: 200px
}

.fullWidth {
    width: 100%;
    margin: 0;
}

.width13 {
    width: 13em;
}

a.adline-download-button {
    border: 1px solid #49bead;
    background: #49bead;
    color: white;
    font-family: "Gotham", sans-serif;
    font-size: 1em;
    padding: 0.2em 0.4em;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}

    a.adline-download-button:hover, a.adline-download-button:hover {
        border: 1px solid #A8D159;
        background: #A8D159;
    }

.adline-button1 {
    border: 1px solid #33b7a3;
    color: White;
    font-size: large;
    background-color: #33b7a3;
    height: 2.5em;
    padding: 0.75em 0.5em;
    cursor: pointer;
    text-decoration: none;
}

    .adline-button1:focus, .adline-button1:hover {
        border: 1px solid #00a58e;
        outline: none;
        cursor: pointer;
        background-color: #00a58e; /* #288f7f; */
    }

.adline-button-green200 {
    border: 1px solid #00a58e;
    color: White;
    font-size: large;
    background-color: #00a58e;
    /*height: 40px;*/
    width: 200px;
    padding: 12px 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: normal;
    vertical-align: top;
    min-height: 5em;
}

    .adline-button-green200:focus, .adline-button-green200:hover {
        outline: none;
        cursor: pointer;
        background-color: #a2cd4d;
    }

.adline-button-green200s {
    border: 1px solid #00a58e;
    color: White;
    font-size: small;
    background-color: #7ab800;
    padding: 3px 20px;
    cursor: pointer;
    text-decoration: none;
    float: right
}

    .adline-button-green200s:focus, .adline-button-green200s:hover {
        outline: none;
        cursor: pointer;
        background-color: #a2cd4d;
    }

.adline-button-lightgrey200 {
    border: 1px solid #949d9e;
    color: White;
    font-size: large;
    background-color: #949d9e;
    /*height: 40px; test with multiline text - whitespace, v-align, min-height*/
    width: 200px;
    padding: 12px 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: normal;
    vertical-align: baseline;
    min-height: 5em;
}

    .adline-button-lightgrey200:focus, .adline-button-lightgrey200:hover {
        outline: none;
        cursor: pointer;
        background-color: #b4bbbb;
    }

.adline-button-midgrey200 {
    border: 1px solid #4d5357;
    color: White;
    font-size: large;
    background-color: #4d5357;
    /*height: 40px;*/
    width: 200px;
    padding: 12px 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: normal;
    vertical-align: top;
    min-height: 5em;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

    .adline-button-midgrey200:focus, .adline-button-midgrey200:hover {
        outline: none;
        cursor: pointer;
        background-color: #717579;
    }

.adline-button-aqua100 {
    border: 1px solid #00a58c;
    color: White;
    font-size: large;
    background-color: #00a58c;
    height: 32px;
    width: 100px;
    cursor: pointer;
    text-decoration: none;
}

    .adline-button-aqua100:focus, .adline-button-aqua100:hover {
        outline: none;
        cursor: pointer;
        background-color: #4dc0af;
    }

.adline-save-image {
    position: absolute;
    top: 6px;
    left: 2px;
}

.adline-button-aquaPad {
    border: 1px solid #00a58c;
    color: White;
    font-size: large;
    background-color: #00a58c;
    height: 32px;
    padding: 3px 16px;
    cursor: pointer;
    text-decoration: none;
}

    .adline-button-aquaPad:focus, .adline-button-aquaPad:hover {
        outline: none;
        cursor: pointer;
        background-color: #4dc0af;
    }

.adline-button-aqua200 {
    border: 1px solid #00a58c;
    color: White;
    font-size: large;
    background-color: #00a58c;
    /*height: 40px;*/
    width: 200px;
    padding: 12px 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: normal;
    vertical-align: top;
    /*min-height: 5em;*/ /* huge button? */
}

/* the po upload button is too narrow. if both classes on element then match here. */
.adline-button-aqua100.popup-button-r {
    width: 120px
}

.adline-button-aqua200:focus, .adline-button-aqua200:hover {
    outline: none;
    cursor: pointer;
    background-color: #4dc0af;
}

/* css sandpaper moans about this */
/*button::-moz-focus-inner {
    border: none;
}*/

.forgotPassword {
    color: #000;
}

/*#region menuitems*/
.dynamicMenuItem, .adline-staticMenuItem {
    color: #353735;
    font-size: 1em !important;
    padding: 2px 4px;
    height: 2em;
    background-color: #ccede8;
}

a.adline-staticMenuItem:hover {
    text-decoration: none; /* bootstrap underlines on needadvice */
}

.dmenuHover, .adline-menuHover {
    color: #fff;
    font-size: 1em !important;
    background-color: #00a58e; /*  #7ab800; */
}

.dynamicMenu, .menuSelected {
    color: white;
    font-size: 1em !important;
    background-color: #00a58e;
}

#Menu1 a[disabled="true"] {
    color: #ddd;
}

/*endregion*/

.topBar {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2em;
    margin: 0;
    background-color: #323532;
    font-size: 16px; /* bootstrap on need-advice will mess with body font size of 14 which then applies to the master page and it looks different to the others..*/
}

.barLeftElement {
    position: absolute;
    padding-left: 4em;
    padding-top: 0.5em;
    color: #fff;
}

.barRightElement {
    position: absolute;
    padding-top: 0.5em;
    padding-right: 4em;
    color: #fff;
    right: 0;
    top: 0;
}

.barButton {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    text-shadow: none;
    border: none;
}

    .barButton:hover {
        background-color: #49BEAD;
        border: 1px solid #00A58E;
    }

    .barButton:active {
        background-color: #49BEAD;
        border: 1px solid #008471;
    }

.headerImages {
    position: absolute;
    top: 2em;
    left: 0;
    right: 0;
    line-height: 1.3;
}

.headerMenu {
    position: absolute;
    top: 8em;
    left: 0;
    right: 0;
    font-size: 16px; /* bootstrap overrode this */
    line-height: 1.15em; /* bootstrap overrode */
}

/*.logoutBarButton {
    border: 1px #949d9e solid;
    display: inline-block;
    cursor: pointer;
    padding: 0;
}*/

/*.logoutBarButton:hover {
        background-color: #7ab800;
    }

    .logoutBarButton:active {
        background-color: #7ab800;
        border: 1px #fff solid;
    }*/

.adlineLeft {
    float: left;
    margin-left: 1em;
}

.adlineRight {
    float: right;
    margin-right: 1em;
}

.adlineSmallLogo {
    width: 100%;
    height: 100%;
    padding-top: 16px;
}

.whiteOnLightGrey {
    color: #fff;
    background-color: #949d9e;
}

.greyOnWhite {
    color: #353735;
    background-color: white;
}

.logInBackground {
    width: 600px;
    margin: 0 auto;
    padding-top: 2em;
}

.logoHolder {
    margin: 0 auto;
    padding: 1em 0;
    width: 558px;
}

.landingMessage {
    text-align: center;
    padding: 2em;
    max-width: 41.5em;
}

.booking-submitted {
    text-align: center;
    padding: 2em;
    max-width: 41.5em;
    margin: 0 auto;
}

    .booking-submitted a {
        color: #353735;
    }

        .booking-submitted a:visited {
            color: #353735;
        }

        .booking-submitted a:hover {
            color: #949d9e;
        }

        .booking-submitted a:active {
            color: #949d9e;
        }

.adline-invalid-holder > input {
    border: 1px solid red !important;
}

.adline-invalid-holder > textarea {
    border: 1px solid red !important;
}

div.adline-invalid-holder > .igte_AdlineEditWithButtons {
    border: 1px solid red !important;
}

div.adline-invalid-holder > .igdd_AdlineControlArea {
    border: 1px solid red !important;
}

.adline-invalid {
    border: 1px solid red !important;
}

.adline-invalid-holder > #wddMedia {
    border: 1px solid red !important;
}

.landingMessageHolder {
    margin: 0 auto;
    padding: 32px 0;
    width: 640px;
}

.adline-label {
    min-width: 100%;
    text-align: right;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.jobDetails-label {
    min-width: 100%;
    text-align: left;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.noSelect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.adline-hidden {
    visibility: hidden;
}

.adline-none {
    display: none;
}

.adline-readonly {
    background: #949d9e;
}

.adline-page-holder {
    padding-top: 32px;
    text-align: left;
    width: 100%;
    padding-bottom: 32px;
}

.adline-page {
    background-color: #fff;
    color: #353735;
    margin: 0;
    min-height: 400px;
    min-width: 800px;
}

.search-bookings-page {
    background-color: #fff;
    color: #353735;
    margin: 0;
    min-height: 400px;
    min-width: 1100px;
    padding: 0;
}

.new-order-page {
    padding: 0;
}

.asset-page {
    padding: 20px 0 0 0;
}

.adline-heading {
    background: #00A58E;
    color: white;
    width: 100%;
    font-style: normal;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    padding: 1em;
    box-sizing: border-box;
}

.adline-heading-holder {
    padding: 0;
    max-width: 95%
}

.tblBorder {
    background-color: #fff;
    color: #53682B;
    border-color: #53682B;
    border-style: solid;
    width: 100%;
    height: 10px;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

    .tblBorder > tr > td {
        padding: 0;
    }

.tblBackGround {
    border: thin #53682B solid;
    background-color: #fff;
    width: 100%;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
    color: #53682B;
    border-spacing: 0;
}

    .tblBackGround > tr > td {
        padding: 0;
    }

.tdc {
    text-align: center;
}

.tdr {
    text-align: right;
}

span.adline-search-datelist {
    padding-left: 2px;
}

    span.adline-search-datelist > .ui-state-default {
        border: 1px solid #ccede8;
        background: #ccede8 url("jquery-ui.penna-green/images/ui-bg_flat_65_d0eb8a_40x100.png") 50% 50% repeat-x;
        font-weight: normal;
        color: #949d9e;
    }

    span.adline-search-datelist > .ui-state-active {
        border: 1px solid #00a58e;
        background: #00a58e url("jquery-ui.penna-green/images/ui-bg_flat_75_7ab800_40x100.png") 50% 50% repeat-x;
        font-weight: normal;
        color: #fff;
    }

.adline-select-search-type {
    width: 150px !important;
    max-width: 150px !important;
}

#adline-BookingPopupClose {
    position: relative;
    top: 8px;
    right: 16px;
    z-index: 107;
    float: right;
}

.GroupBox {
    font-size: medium;
}

.adline-invoice-no {
    text-align: right;
    color: #353735;
    width: 100px;
}

.adline-asset-menu {
    width: 800px;
    /*margin: 0 auto;*/
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

    .adline-asset-menu > div {
        display: inline-block;
        vertical-align: top;
    }

        .adline-asset-menu > div > table {
            display: inline-block;
        }

#asset-library-image-grid > table.imageGridTable {
    border: none;
}

    #asset-library-image-grid > table.imageGridTable > tbody > tr {
        border: none;
    }

        #asset-library-image-grid > table.imageGridTable > tbody > tr > td {
            border: none;
        }

/* correct size of composites box. */
table.igdd_AdlineControlArea > tbody > tr > td {
    line-height: normal;
}

.adline-asset-container {
    position: relative;
    border: 1px solid #949d9e;
    background-color: #fff;
    -moz-box-shadow: 0 2px 7px #353735;
    -webkit-box-shadow: 0 2px 7px #353735;
    box-shadow: 0 2px 7px #353735;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/*  250px image with 3 lines for footer */
div.adline-asset-container250px3line {
    height: 335px;
}

.adline-asset-mainbody {
    margin-top: 0;
    height: 100%;
    padding-bottom: 0;
    /* padding-bottom: 30px;    30 for 3 line, 0 for 1 line? 0 for both? argh */
}

/*div.adline-asset-container250px3line > div.adline-asset-mainbody {
		padding-bottom: 0px;
	}*/

div.adline-asset-container250px3line > div.adline-asset-footer {
    height: 70px;
}

.adline-asset-container250px1line {
    height: 295px;
}

div.adline-asset-container100px1line {
    height: 145px;
}

    div.adline-asset-container100px1line td.adline-asset-image-holder {
        width: 100px;
        height: 100px;
    }

    div.adline-asset-container100px1line img {
        /*width: 100px;
        height: 100px;*/
        max-width: 100px;
        max-height: 100px;
    }

.adline-asset-mainbody,
.adline-asset-footer {
    padding: 5px;
    width: 100%;
}

.adline-asset-footer {
    text-align: left;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: whiteSmoke;
    border-top: 1px solid #ddd;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 30px;
    padding: 0px;
}

.adline-asset-footer-right {
    float: right;
    padding-right: 15px;
}

td.adline-asset-image-holder {
    vertical-align: middle;
    text-align: center;
    width: 250px;
    height: 250px;
}

table.adline-asset-image-holder {
    border: none;
    padding: 0;
    margin: 0;
    height: 100%;
}

.adline-asset-delete-button {
    border: 1px solid #00a58e;
    color: White;
    font-size: x-small;
    background-color: #7ab800;
    height: 16px;
    padding: 2px 2px;
    cursor: pointer;
    text-decoration: none;
}

.adline-asset-delete-button, .adline-asset-delete-button {
    border: 1px solid #00a58e;
    outline: none;
    cursor: pointer;
    background-color: #A8D159;
}

/*#region landingHA */
/* Highways Landing page */
#landing_HA {
    color: #fff;
    background-color: #000;
    background-image: url(/Images/highwayimage.JPG);
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    float: left;
    /*height: 380px;*/
    text-align: left;
    line-height: 100%;
}

    #landing_HA a {
        color: #fff;
        text-decoration: none;
    }

        #landing_HA a:visited {
            color: #fff;
            text-decoration: none;
        }
/*#endregion*/

.adline-logout-page {
    width: 300px;
    height: 80px;
    text-align: center;
    margin: 0 auto;
    background-color: transparent !important;
}

.adline-alt-page {
    width: 800px;
    height: 650px;
    text-align: left;
    margin: 0 auto;
    background-color: transparent !important;
}

.adline-logout-message {
    height: 80px;
    margin: 0 auto;
}

.adline-helpline-text {
    color: #353735;
}

.adline-button-holder {
    padding: 4px 0 4px 0px; /*  taking the padding off L - too much space with just 1 button was 100px*/
}

.makeButton250 > .popup-button-r {
    width: 250px;
}

.adline-button-holder {
    clear: both;
    padding-top: 4px;
    display: flex;
    padding-bottom: 32px
}

.adline-button-holder-horiz {
    /* padding: 4px; move to button so it does not take up space on invisible button. */
    display: inline-block;
}

    .adline-button-holder-horiz > .adline-button-green200 {
        width: 250px;
        padding: 4px;
    }

    .adline-button-holder-horiz > .adline-button-lightgrey200 {
        width: 250px;
        padding: 4px;
    }

    .adline-button-holder-horiz > .adline-button-midgrey200 {
        width: 250px;
        padding: 4px;
    }

    .adline-button-holder-horiz > .adline-button-aqua200 {
        width: 250px;
        padding: 4px;
    }

.adline-popup-spacer {
    height: 1px; /* 26px -> 1px so that the cancel button fits on screen. Was pushed off by approvers.  */
}

.back5 {
    margin-left: -5px;
}

.adline-popup-rejectomat {
    width: 100%;
}

.adline-popup-text {
    color: #4d5357;
    display: inline-block;
    padding-left: 16px;
}

.adline-approval-table {
    table-layout: fixed;
    color: #4d5357;
    font-family: "Gotham", sans-serif;
    -webkit-font-smoothing: antialiased;
    width: 900px;
    -ms-word-break: break-word;
    word-break: break-word;
}

    .adline-approval-table > tr > td.paddy {
        padding-bottom: 0.5rem
    }

.adline-approval-left-tdLabel {
    width: 215px;
}

.adline-approval-left-tdVal {
    width: 320px; /* needs to be larger than 220px as we now use gotham font. */
}

.adline-approval-right-tdLabel {
    width: 215px;
}

.adline-approval-right-tdVal {
    width: 150px;
}

/* far right column for approvers*/
.adline-appoval-rr {
    padding-left: 50px;
    width: 300px;
}

.adline-approval-align-right {
    text-align: right;
    width: 100%;
    display: inline-block;
}

.popup-button-r {
    /* float: right; */
    display: inline-block;
}

.popup-textbox {
    max-height: 40px;
}

.asset-link {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.approval-download-buttons {
    padding: 8px 0 8px 0
}

/* Get inputs to match wdd */
.adline-textinput {
    font-size: 10pt;
    padding: 4px 1px;
    line-height: 1.5; /* normalize makes it smaller and tail of g is chopped */
}

.req-star {
    color: red;
    font-weight: bold;
    font-size: 2em;
}

div.adline-toolbar {
    display: inline-block;
    vertical-align: top;
}

div.toolbar-label {
    color: #fff;
    background: #949d9e;
    padding: 7px 32px 7px 32px;
    font-family: "Gotham", sans-serif;
}

    div.toolbar-label span {
        -moz-user-select: none;
        -ms-user-select: none;
        -webkit-user-select: none;
        user-select: none;
    }

.adline-toolbar-date .igte_AdlineEditInContainer {
    padding: 8px !important;
}

.adline-toolbar .ui-button-text, .adline-toolbar .ui-selectmenu-text {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/* chrome autofill makes remembered inputs yellow */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -moz-box-shadow: 0 0 0 1000px white inset;
    box-shadow: 0 0 0 1000px white inset;
}

/*#region layout*/

.adline-table {
    table-layout: fixed;
    width: 800px;
}

.adline-td8l, .adline-td8r, .adline-td3l, .adline-td5l, .adline-td5r, .adline-td16, .adline-td16-required-l, .adline-td16-required-r, .adline-td24, .adline-td40 {
    white-space: nowrap;
    font-size: smaller;
}

.adline-td8r {
    text-align: right;
    width: 250px;
}

.adline-td8-required-l {
    width: 132px;
}

.adline-td8l {
    width: 12em;
}

.adline-td3l {
    width: 50px;
}

.adline-td5l {
    width: 100px;
}

.adline-td5r {
    text-align: right;
    width: 50px;
}

.adline-td16 {
    width: 250px;
}

.adline-td16-required-l {
    width: 250px;
}

.adline-td16-required-r {
    width: 16px;
}

.adline-td24 {
    width: 400px;
}

.adline-td40 {
    width: 650px;
}

.adline-tdspace {
    width: 99%;
}

.nav_link {
    font-size: 2rem; /* up to 3 if there is room */
    display: block;
    float: left;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: background-color 200ms ease;
    height: 175px;
    position: relative;
    width: 33.33%
}

/* media query width may include scrollbar, only go up a gear when we have room for scroll bar + gutters/padding */
@media only screen and (min-width: 884px) {
    .adline-page {
        margin: 0 16px;
    }

    /*.search-bookings-page {
        padding: 1em;
    }*/

    .new-order-page {
        padding: 16px;
    }

    .asset-page {
        padding: 20px 18px 18px 18px;
    }

    .adline-heading {
        width: 100%;
    }
}

@media only screen and (min-width: 1100px) {
    .adline-page {
        margin: 0 32px;
    }

    /*.search-bookings-page {
        padding: 1em;
    }*/

    .new-order-page {
        padding: 32px;
    }

    .asset-page {
        padding: 20px 32px 32px 32px;
    }

    .adline-table {
        table-layout: fixed;
        width: 960px;
    }

    .adline-heading-holder {
        padding: 1em 0;
        max-width: 980px;
    }

    .adline-td8l, .adline-td8r, .adline-td3l, .adline-td5l, .adline-td5r, .adline-td16, .adline-td16-required-l, .adline-td16-required-r, .adline-td24, .adline-td40 {
        white-space: nowrap;
        font-size: medium;
    }

    .adline-td8r {
        width: 250px;
    }

    .adline-td8-required-l {
        width: 157px;
    }

    .adline-td8l {
        width: 12em;
    }

    .adline-td3l {
        width: 50px;
    }

    .adline-td5r {
        text-align: right;
        width: 75px;
    }

    .adline-td16 {
        width: 300px;
    }

    .adline-td16-required-l {
        width: 400px;
    }

    .adline-td16-required-r {
        width: 16px;
    }

    .adline-td24 {
        width: 475px;
    }

    .adline-td40 {
        width: 783px;
    }

    .nav_link {
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 1200px) {
    .adline-table {
        width: 1024px;
        table-layout: fixed;
    }

    .adline-heading-holder {
        padding: 1em 0;
        max-width: 1048px;
    }

    .nav_link {
        font-size: 3rem;
    }
}
/*endregion*/

.clearOrderButton {
    float: right;
    /* invalid as we float it, which makes it display:float display: inline-block; */
    background: #CCEDE8 url("../Images/Delete.png") no-repeat center right;
    background-position-x: 115px;
    padding: 5px 40px 5px 10px;
    font-family: GothamSL-Book,sans-serif;
    color: #646464;
    border: none;
    font-size: 16px; /* bootstap makes it 10 on need advice, which means the image is not displayed*/
    font-weight: 400;
}

    .clearOrderButton:hover {
        background: #49BEAD url("../Images/Delete.png") no-repeat center right;
        background-position-x: 115px;
    }

/*button.clearOrderButton > span.ui-button-text {
        padding: 2px 10px;
        margin-top: -2px;
        font-size: 18px;
    }*/

.gridDownloadLink, .gridDownloadLink:hover, .gridDownloadLink:visited, .gridDownloadLink:focus {
    font-family: "Gotham", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: black;
    font-size: 13px;
}

.gridDisabledDownloadLink, .gridDisabledDownloadLink:hover, .gridDisabledDownloadLink:visited, .gridDisabledDownloadLink:focus {
    font-family: "Gotham", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #949d9e;
    font-size: 13px;
    text-decoration: none;
}

/* the next 3 are from wdg.css */
/* break word added for Sarah to see ref column */
.igg_Item > tr > td {
    height: 20px;
    line-height: 20px;
    padding: 1px 5px 1px 5px;
    text-align: left;
    vertical-align: middle;
    background-color: transparent; /* here */
    overflow-wrap: break-word;
}

.gridlink {
    text-decoration: underline !important;
    cursor: pointer;
}

.gridbutton {
    -moz-box-shadow: inset 0 1px 0 0 #fff;
    -webkit-box-shadow: inset 0 1px 0 0 #fff;
    box-shadow: inset 0 1px 0 0 #fff;
    background-color: #49bead;
    color: #000;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 0 solid #dcdcdc;
    display: inline-block;
    padding: 2px 5px;
    cursor: pointer
    /*font: 10px "Gotham", sans-serif;*/
}

    .gridbutton:hover {
        background-color: #00A58E;
    }

.hideTilLoaded {
    display: none;
}

.vidPreview {
    text-align: center;
    vertical-align: middle;
    line-height: 90px;
    width: 160px;
    height: 90px;
    float: left;
    cursor: pointer;
    color: #656968;
    border: solid 2px #656968;
}

    .vidPreview:hover {
        border: solid 2px #00a58e;
    }

div.adline-heading-holder:last-of-type {
    display: none
}

ul.pagination {
    display: inline-block;
    margin: 0;
    padding: 0;
}

    ul.pagination li {
        display: inline-block;
    }

        ul.pagination li a {
            border: 1px solid #ddd; /* Gray */
            color: black;
            float: left;
            padding: 8px 16px;
            text-decoration: none;
        }

.pagination li .active {
    background-color: #4CAF50;
    color: white;
}

ul.list li a {
    text-decoration: none;
    color: #000;
    padding: 1px;
    display: inline-block;
    min-width: 50%;
}

    ul.list li a:hover {
        background-color: #49BEAD;
        color: white;
    }

/*.pagination li a:hover:not(.active) {background-color: #ddd;}  invalid in js (sandpaper css js moans when it parses this*/

#rowsPerPageRadios {
    padding: 8px 15px 0 0;
}

    #rowsPerPageRadios .wrapRowsPerPage {
        display: inline-block;
    }

    #rowsPerPageRadios label {
        display: block;
        text-align: center;
        margin: 0 0.2em;
    }

    #rowsPerPageRadios input[type="radio"] {
        display: block;
        margin: 0.5em auto;
    }

.helpline {
    width: 100%;
    background-color: #353735;
    color: white;
    padding-top: 2px;
}

.clearfix {
}

    .clearfix::before, .clearfix::after {
        content: "";
        display: table;
        clear: both;
    }

.nav {
    width: 100%;
    height: 100%;
    line-height: 1.15;
    display: block;
    font-size: 1.8em;
    font-family: Gotham,sans-serif;
}

    .nav::after, .nav::before {
        box-sizing: inherit;
    }

/* moved up and media query added to change font size */
/*.nav_link {
    font-size: 3rem;
    display: block;
    float: left;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: background-color 200ms ease;
    height: 175px;
    position: relative;
    width: 33.33%
}*/

.nav_link::after, .nav_link::before {
    box-sizing: inherit;
}

.nav1 {
    background-color: #00a58e;
    cursor: pointer;
}

.nav2 {
    background-color: #61CABB;
    cursor: pointer;
}

.nav1:hover {
    background-color: #288f7f;
    cursor: pointer
}

.nav2:hover {
    background-color: #288f7f;
    cursor: pointer
}

.nav_text {
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    /*width: 100%  breaks alignment in ie8 */
}

.nav_hidden {
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    visibility: hidden;
}

.igdd_AdlineDropDownButton > img {
    display: block;
}

.tall-heading65 {
    background-color: #00a58e;
    color: white;
    padding: 55px 113px 55px 65px;
    font-family: Gotham, sans-serif;
    font-size: 32px;
    margin: 0;
    font-weight: 700;
    margin-top: 65px; /* ready to place order and new quote? */
    line-height: 1.3; /* messed up by bootstrap on need advice? */
    box-sizing: border-box; /* bs again */
}

.tall-heading {
    background-color: #00a58e;
    color: white;
    padding: 55px 113px 55px 65px;
    font-family: Gotham, sans-serif;
    font-size: 32px;
    margin: 0;
    font-weight: 700;
    margin-top: 80px; /* need advice */
    line-height: 1.3; /* messed up by bootstrap on need advice? */
    box-sizing: border-box; /* bs again */
}

.jobRow {
    line-height: 3em;
}

.igdd_AdlineControl {
    line-height: normal; /* we want high rows, but normal dropdowns in the rows.*/
}

.readyToPlaceOrderGutter {
    padding: 0 1em; /* creates the gutter so that headings such as Other Services don't take up 100%. divs inside need box-sizing:border-box to respect this */
}

.plainHeader {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10em;
    margin: 0;
}

.plainFooter {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2em;
    margin: 0;
    background-color: #323532;
}

/* same as barLeftText*/
/*.spanFooter {
    position: absolute;
    padding-left:4em;
    padding-top:0.5em;
    color:white;
}*/

/*.quote-column {
    width: 50%;
    padding: 10px 30px;
    float: left;
}*/

.quote-entry {
    display: inline-block;
}

.quote-row {
    line-height: 3em;
}

.igdd_Control {
    line-height: normal;
}

.req-star2 {
    color: red;
    font-weight: bold;
    font-size: 1.5em;
    padding-top: 0.5em;
}

#wdpInsertionDate {
    float: left;
}

#wddMedia {
    float: left;
}

/*!
 * icheck-bootstrap v3.0.1 (https://github.com/bantikyan/icheck-bootstrap)
 * Copyright 2018 Hovhannes Bantikyan.
 * Licensed under MIT (https://github.com/bantikyan/icheck-bootstrap/blob/master/LICENSE)
 * added icheck-penna
 */

[class*="icheck-"] {
    min-height: 22px;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    padding-left: 0;
}

.icheck-inline {
    display: inline-block;
}

    .icheck-inline + .icheck-inline {
        margin-left: .75rem;
        margin-top: 6px;
    }

[class*="icheck-"] > label {
    padding-left: 29px !important;
    min-height: 22px;
    line-height: 22px;
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

[class*="icheck-"] > input:first-child {
    position: absolute !important;
    opacity: 0;
    margin: 0;
}

    [class*="icheck-"] > input:first-child:disabled {
        cursor: default;
    }

    [class*="icheck-"] > input:first-child + label::before,
    [class*="icheck-"] > input:first-child + input[type="hidden"] + label::before {
        content: "";
        display: inline-block;
        position: absolute;
        width: 22px;
        height: 22px;
        border: 1px solid #D3CFC8;
        border-radius: 0;
        margin-left: -29px;
    }

    [class*="icheck-"] > input:first-child:checked + label::after,
    [class*="icheck-"] > input:first-child:checked + input[type="hidden"] + label::after {
    content: "";
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        width: 7px;
        height: 10px;
        border: solid 2px #fff;
        border-left: none;
        border-top: none;
        transform: translate(7.75px, 4.5px) rotate(45deg);
        -webkit-transform: translate(7.75px, 4.5px) rotate(45deg);
        -o-transform: translate(7.75px, 4.5px) rotate(45deg);
        -moz-transform: translate(7.75px, 4.5px) rotate(45deg);
        -ms-transform: translate(7.75px, 4.5px) rotate(45deg);
    }

[class*="icheck-"] > input[type="radio"]:first-child + label::before,
[class*="icheck-"] > input[type="radio"]:first-child + input[type="hidden"] + label::before {
    border-radius: 50%;
}

[class*="icheck-"] > input:first-child:not(:checked):not(:disabled):hover + label::before,
[class*="icheck-"] > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-width: 2px;
}

[class*="icheck-"] > input:first-child:disabled + label,
[class*="icheck-"] > input:first-child:disabled + input[type="hidden"] + label,
[class*="icheck-"] > input:first-child:disabled + label::before,
[class*="icheck-"] > input:first-child:disabled + input[type="hidden"] + label::before {
    pointer-events: none;
    cursor: default;
  filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.icheck-penna > input:first-child:not(:checked):not(:disabled):hover + label::before,
.icheck-penna > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-color: #00A58E;
}

/* jdm added in focus */
.icheck-penna > input:first-child:not(:checked):not(:disabled):focus + label::before,
.icheck-penna > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
    border-color: #00A58E;
}

/* when focused and checked it needs to stand out*/
.icheck-penna > input:first-child:checked:not(:disabled):focus + label::before,
.icheck-penna > input:first-child:checked:not(:disabled):focus + input[type="hidden"] + label::before {
    border-color: #fff;
    border-style: dotted;
}

.icheck-penna > input:first-child:checked + label::before,
.icheck-penna > input:first-child:checked + input[type="hidden"] + label::before {
    background-color: #00A58E;
    border-color: #00A58E;
}

.row-margin-top-1 {
    margin-top: 1em;
}

.addMedia {
    float: left;
    line-height: normal;
    height: 100%;
    padding: 0.15em;
    margin-left: 0.2em;
}

.routeToMarketLabel {
    padding-top: 0.5em;
}

.ratingBox {
    text-align: center;
    width: 200px;
    height: 600px;
    position: absolute;
    font-size: small;
    font-weight: 600;
}

.feedback-title {
    border-radius: 0;
    background: #cdf6ef;
    color: #288f7f;
    text-align: center;
    font-size: large;
}

.feedback-widget {
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    background: #cdf6ef;
    border: 6px solid rgb(255,255,255) rgba(255,255,255,1);
}

.feedback-textbox {
    margin: auto;
    display: block;
}

.feedback-buttonpane {
    border-top: 0;
    background: #cdf6ef;
    clear: both;
}

.feedback-buttonset {
    float: none;
    margin: auto;
    display: block;
    width: 85px;
}

.good-feedback-image {
    background: url('/images/good_popup.png') no-repeat center center;
    height: 200px;
}

.medium-feedback-image {
    background: url('/images/medium_popup.png') no-repeat center center;
    height: 200px;
}

.bad-feedback-image {
    background: url('/images/bad_popup.png') no-repeat center center;
    height: 200px;
}

.watermark-text {
    color: lightgray;
}

.collateralImage {
    max-width: 100%
}

.selectedVid {
    border: solid 2px #00a58e;
}

/* set the circle color of the checkboxes in search */
label.ui-checkboxradio-checked > span {
    color: #4f4f4f;
}

/* hide video bar?
div.adline-page div:nth-child(5) {
	display: none
}*/

/* social media font awesome. see w3schools*/
.ui-widget-content i.fab {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}

.ui-widget-content i.fa-facebook-square {
    background: #3B5998;
    color: white;
}

.ui-widget-content i.fa-google {
    background: #dd4b39;
    color: white;
}

.ui-widget-content i.fa-linkedin {
    background: #007bb5;
    color: white;
}

.ui-widget-content i.fa-instagram {
    background: #125688;
    color: white;
}

span.asset-library-checkbox > input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* misc stuff to get around the header policies, but we lost any sensible css layout a long time ago */
.auto-style1 {
    width: 248px;
}

.auto-style2 {
    width: 299px;
}

.auto-style3 {
    width: 247px
}

.auto-style4 {
    width: 779px
}

.auto-block {
    display: block;
}

.adline-clear-both {
    clear: both
}

.adline-pt20p {
    padding-top: 20px
}

.adline-pt16p {
    padding-top: 16px
}

.adline-z100 {
    z-index: 100
}

.adline-booking-details-div {
    float: right;
    padding: 2px 2px 0 0;
}

.adline-padding01em {
    padding: 0 1em
}

.adline-float-left {
    float: left
}

.adline-float-right {
    float: right
}

.adline-more-downloads {
    display: none;
    min-width: 200px
}

.adline-padding40p {
    padding: 4px 0
}

.adline-ffGotham {
    font-family: GothamSL-Book
}

.adline-rpp-radios {
    display: inline-block;
    float: right;
}

.adline-h10p {
    height: 10px
}

.sso {
    color: #000;
    float: right;
}