body {
    background: #fff;
}


/*--- [ LAYOUT STYLES ] --------------------------------------------*/
#container {
    position: relative;
    width: 970px;
    margin: 0px auto;
}

.filter {
    float: left;
    margin: 0 10px 0 0;
}

    .filter > .left {
        float: left;
        width: 120px;
        padding-top: 3px;
    }

    .filter > .right {
        float: left;
        width: 160px;
    }

        .filter > .right input {
            width: 150px;
        }

    .filter > .rightDate {
        width: 80px;
    }

    .filter > .leftDate {
        width: 80px;
    }

.over {
    margin-top: 14px;
}

.buttonsReports {
    margin-top: 14px;
    margin-right: 0px;
    width: 263px;
    text-align: right;
}

.filter_bulkKeywordRemoval {
}

    .filter_bulkKeywordRemoval > .left {
        width: 72px;
    }

    .filter_bulkKeywordRemoval > .right {
        width: 180px;
    }

.filter_bulkKeywordAddition {
    margin-left: 35px;
    margin-bottom: 8px;
}

    .filter_bulkKeywordAddition > .left {
        width: 185px;
    }

    .filter_bulkKeywordAddition > .right {
        width: 200px;
    }

#headerMain {
    border: solid 0px #900;
    margin: 5px 0px;
}

#navigation {
    border: solid 1px #f00;
    margin: 5px 0px;
}

#content {
    border: solid 0px #300;
    margin: 5px 0px;
}

.timesheetLeftCol {
    float: left;
    width: 100px;
    font-weight: bold;
    font-size: 100%;
    margin: 3px 0 0 0;
}

.timesheetRightCol {
    margin: 0 0 5px 0;
    font-size: 100%;
}

.settingLeftCol {
    margin: 0 0 5px 0;
    float: left;
    width: 200px;
    font-weight: bold;
    font-size: 100%;
}

.settingRightCol {
    margin: 0 0 5px 0;
    font-size: 100%;
}

br {
    clear: left;
}


th {
    font-size: 8pt;
    font-weight: bold;
}

#siteTitle {
    margin: 20px 0 5px 280px;
    border: solid 0px #300;
    width: 450px;
    height: 30px;
    padding: 10px 0 0 0;
}

#siteLogo {
    float: left;
}

#navBar {
    clear: both;
}

.messageText {
    color: black;
}

.messageTextBold {
    color: black;
    font-weight: bold;
}

.warningText {
    color: Red;
}

.hidden {
    display: none!important;
}

.searchCriteria {
    padding: 5px 8px 5px 0px;
    border: solid 0px;
}

.searchButtonContainer {
}

    .searchButtonContainer input {
        width: 60px;
    }

.selectMediaTitlesSelectAll {
    padding-left: 25px;
}

.loginLeftCol {
    float: left;
    width: 80px;
}

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

span.checkbox input {
    width: auto;
    margin-left: -3px;
}

.note {
    font-size: 8pt;
}

.reportNote {
    margin: 4px 0 0 5px;
    font-size: 7pt;
    clear: both;
}

.verticalCentre {
    vertical-align: middle;
}

.fileMessage {
    margin: 4px 0 0 20px;
}

.GridValidator {
    background-color: white;
    border: solid 1px #5a5984;
    padding: 3px;
}

.fileUpload {
    padding: 10px;
}

    .fileUpload .colLeft {
        float: left;
        width: 150px;
        margin-bottom: 10px;
    }

    .fileUpload .colRight {
        float: left;
        margin-bottom: 10px;
    }

    .fileUpload .uploadClose {
        margin-top: 20px;
    }


/* navigation */

#navigation {
    display: block;
    width: 970px;
    font-size: 9pt;
    font-family: Tahoma;
    font-weight: bold;
    border: solid 0px #00f;
    clear: both;
}

    #navigation ul {
        display: inline;
        list-style-type: none;
        padding: 0;
    }

    #navigation li {
        background: #c00;
        float: left;
        margin: 0 3px 0 0;
        text-align: center;
    }

    #navigation a {
        min-width: 90px;
        height: 16px;
        padding: 1px 4px 2px 4px;
        margin: 0;
    }

    #navigation li.twolines a {
        width: 60px;
        height: 30px;
        padding: 5px 0 2px 4px;
        margin: 0;
    }

    html > body #navigation li.twolines a {
        width: 60px;
        height: 30px;
        padding: 5px 0 2px 4px;
        margin: 0;
    }

    #navigation a {
        position: relative;
        color: #fff;
        background: #99BCDA;
        text-decoration: none;
        vertical-align: bottom;
        float: left;
    }

        #navigation a:hover, #navigation a:active {
            position: relative; /*background: #585880; WEIRD PROBLEM HERE - IF LEFT IN, GRID ON BATCH UPDATE PAGE DISAPPEARS*/
            text-decoration: none;
        }

        #navigation a.active {
            position: relative;
            color: #fff;
            background: #336;
            text-decoration: none;
            float: left;
        }

            #navigation a.active:hover {
                position: relative;
                background: #336;
                text-decoration: none;
            }

.tab {
    border-right: gray 1px solid;
    border-top: gray 0px solid;
    border-left: gray 1px solid;
    border-bottom: gray 1px solid;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 950px;
    float: left;
    position: relative;
    top: -1px;
}

.smallText {
    font-size: 8pt;
}

.mainLeftCol {
    width: 190px;
    float: left;
}

.mainLeftColKeyword {
    width: 90px;
    float: left;
}

.noteText {
    font-size: 7pt;
}

.noteTextSpace {
    font-size: 7pt;
    padding-bottom: 6px;
}

input, select {
    font-size: 8pt;
}

label {
    font-size: 8pt;
    font-weight: bold;
}

#mediaPageHeader label {
    font-size: 10pt;
}

/*--- [ standard form ] -----------------------------------------*/
.form {
    width: 800px;
    margin: 0 0 10px 0;
}

    .form label {
        width: 100px;
        margin: 0;
        font-size: 100%;
        font-weight: bold;
        color: #000;
        border: solid 0px #0ff;
        float: left;
        clear: left;
    }

    .form input, .form select, .form textarea {
        margin: 0 0 5px 0;
        width: 500px;
    }

    .form .webDateChooser {
        margin: 0 0 5px 0;
        border: solid 1px #b1b1b1;
    }

    .form .radEditorWrap {
        margin: 0 0 5px 0;
    }

    .form textarea {
        font-family: Trebuchet MS;
        font-size: 90%;
    }

    .form br {
        clear: left;
    }

    .form fieldset {
        margin: 10px 0;
    }

        .form fieldset label {
            font-weight: normal;
            float: none;
        }

        .form fieldset legend, .form fieldset legend label {
            font-weight: bold;
        }

        .form fieldset table {
            margin: 0 0 10px 5px;
        }

        .form fieldset input {
            margin: 5px 5px 0 0;
        }

    .form .button {
        font-size: 90%;
        font-weight: bold;
        color: #000;
        border: solid 1px #ccc;
        background: #ccc;
    }

    .form span input {
        width: 15px;
    }

    .form .validator {
        float: left;
        clear: both;
        padding: 0 0 0 100px;
        margin: -5px 0 10px 0;
    }


.emailContactSettings {
}

    .emailContactSettings p {
        margin-top: 5px !important;
    }

    .emailContactSettings li {
        margin-top: 0px;
        border: none;
        padding-bottom: 5px;
    }

    .emailContactSettings input {
        width: 250px;
    }

    .emailContactSettings input {
        width: expression(this.type=="checkbox"?'15px':'');
    }
        /* Applies to IE 5+ */
        .emailContactSettings input[type="checkbox"] {
            width: 15px;
        }
    /* Applies to FF */

    .emailContactSettings .emailFields {
    }

        .emailContactSettings .emailFields .defaultEmailsCheck {
            float: left;
            margin-right: 10px;
            width: 150px;
        }

        .emailContactSettings .emailFields .defaultEmailsTick {
            float: left;
            margin-right: 10px;
            width: 20px;
        }

            .emailContactSettings .emailFields .defaultEmailsTick input {
                margin: -3px 0 0 0;
            }

        .emailContactSettings .emailFields .defaultEmailsList {
            float: left;
        }

            .emailContactSettings .emailFields .defaultEmailsList input {
                margin: -3px 0 0 0;
            }

        .emailContactSettings .emailFields .alternateEmailAddress {
            float: left;
            margin-right: 10px;
            width: 150px;
        }

        .emailContactSettings .emailFields .alternateEmailTick {
            float: left;
            margin-right: 10px;
            width: 20px;
        }

            .emailContactSettings .emailFields .alternateEmailTick input {
                margin: -3px 0 0 0;
            }

        .emailContactSettings .emailFields .validator {
            padding-left: 0px;
            float: none;
        }

/*.emailFields .validator {padding-left:0px; float:none;}
.emailFields .lineup {margin-left:23px;}
.emailFields label {width:135px;}
.emailFields .defaultEmailsCheck {float:left; margin-right:10px; width:180px;}
.emailFields .defaultEmailsList {float:left;}
.emailFields .alternateEmailAddress {float:left; width:180px;} */

.form a.button {
    padding: 2px;
    font-size: 90%;
    font-weight: bold;
    color: #000;
    border: solid 1px #ccc;
    background: #ccc;
    text-decoration: none;
}

    .form a.button:visited {
        text-decoration: none;
    }

    .form a.button:hover {
        text-decoration: none;
    }

    .form a.button:active {
        text-decoration: none;
    }

/*--- [ News/Offer Details form delta ] ---*/

.newsDateFrom {
    float: left;
}

.newsDateTo {
    float: left;
    margin: 0 0 0 30px;
}

    .newsDateTo label {
        width: 70px;
    }

label.newsDateLabel {
    width: 400px;
    float: left;
    margin: 8px 0 4px 0;
}

.newsOfferDetailsForm .newsDateDetail {
    float: left;
    margin: 0 5px 0 5px;
}

.newsOfferDetailsForm .newsDateDetailLeft {
    float: left;
    margin: 0 5px 0 100px;
}

.newsOfferDetailsForm .newsApprovedWrap {
    margin: 20px 0 0 0;
    clear: both;
}

    .newsOfferDetailsForm .newsApprovedWrap input {
        margin-top: -2px;
    }

.newsApproved, .runningNewsOffer {
    float: left;
}

    .runningNewsOffer label {
        width: 145px;
        margin: 0 0 0 40px;
    }

.newsSubmitted {
    float: left;
    margin: 0 0 0 40px;
}

    .newsSubmitted label {
        width: 125px;
    }

.newsOfferDetailsForm label.newsOfferMediaList {
    margin: 10px 0 0 0;
    width: 400px;
}

.newsOfferButtonWrap {
    margin-top: 10px;
}

.newMediaTitleWrap {
    width: 690px;
    margin-top: 5px;
}

.newsOfferDetailsForm fieldset input {
    width: 20px;
}

    .newsOfferDetailsForm fieldset input.checkboxButton {
        width: 70px;
        float: right;
    }

.newsOfferDetailsForm .mediaTitlesWrap {
    height: 465px;
    overflow: auto;
    margin: 0 0 10px 0;
}

    .newsOfferDetailsForm .mediaTitlesWrap .publicNewsOffers {
        padding: 8px 8px 0px 8px;
    }

        .newsOfferDetailsForm .mediaTitlesWrap .publicNewsOffers input {
            width: 15px;
        }

        .newsOfferDetailsForm .mediaTitlesWrap .publicNewsOffers .publicNewsOffersLinks {
            margin-top: 10px
        }

            .newsOfferDetailsForm .mediaTitlesWrap .publicNewsOffers .publicNewsOffersLinks small {
                display: block;
                margin-bottom: 10px;
            }

.newsOfferDetailsForm .clickThroughSelect input {
    width: 15px;
    float: left;
    margin: 3px 0 0 0;
}

.newsOfferDetailsForm .clickThroughSelect label {
    width: 600px;
    float: left;
    clear: none;
    margin: 6px 0 0 5px;
}

.newsOfferDetailsForm .clickThroughSelect p {
    clear: both;
    margin: 0 0 0 20px;
}

.newsOfferDetailsForm .clickThroughSelect .clickThruInput {
    width: 500px;
    margin: 10px 0 0 20px;
}

.newsOfferDetailsForm .clickThroughSelect .clickThroughSelectInner {
    margin: 0 0 0 10px;
}

.newsOfferButtonWrap input.button {
    width: 100px;
}

.newsOfferUploadButtonWrap input.button {
    width: 100px;
}

.newsOfferDetailsForm .emailSettings fieldset {
    padding: 5px 5px 10px 10px;
}

    .newsOfferDetailsForm .emailSettings fieldset input {
        width: 250px;
    }

    .newsOfferDetailsForm .emailSettings fieldset input {
        width: expression(this.type=="checkbox"?'15px':'');
    }
        /* Applies to IE 5+ */
        .newsOfferDetailsForm .emailSettings fieldset input[type="checkbox"] {
            width: 15px;
        }
/* Applies to FF */


label.fileUploadLabel {
    width: 400px;
    margin: 10px 0 5px 0px;
}

.newsOfferUpload {
    padding: 5px 0 0 10px;
}

.newUpload {
    width: 745px;
    padding: 5px 0 0 0;
}

.fileListContainer {
    height: 480px;
    overflow: auto;
}

.mediaTitleDetailsForm label {
    width: 800px;
    margin: 0 0 10px 0;
}

.mediaTitleDetailsForm .newsOffersWrap {
    height: 425px;
    overflow: auto;
    margin: 0 0 10px 0;
}

.mediaTitleDetailsForm .mediaList {
    padding-left: 10px;
}

.offenderList {
    border: solid 1px red;
    width: 940px;
    margin: 10px 0 0 0;
    padding: 5px;
    background-color: #FFA4A4;
}

    .offenderList a {
        font-size: 90%;
        margin: 0 0 0 20px;
        clear: both;
    }

    .offenderList div {
        color: Black;
        margin: 5px 0 0 0;
    }

/* Batch Add Media Pack Form */
.addMediaPackForm {
    margin-top: 10px;
}

    .addMediaPackForm .uploadButton {
        width: auto;
    }


/* GENERAL TAB */
#divGeneralLeft {
    float: left;
    width: 350px;
}

#divGeneralRight {
    float: left;
    width: 530px;
}

/* CONTACT DETAILS TAB */
#divContactDetailsLeft {
    float: left;
    margin: 0 10px 0 0;
}

    #divContactDetailsLeft label {
        float: left;
        width: 140px;
        margin: 2px 0 0 0;
    }

    #divContactDetailsLeft input, divContactDetailsLeft select {
        float: left;
        width: 250px;
        margin: 2px 0 0 0;
    }

#divContactDetailsRight {
    float: left;
    margin: 0 10px 0 0;
}

    #divContactDetailsRight label {
        float: left;
        width: 165px;
        margin: 2px 0 0 0;
    }

    #divContactDetailsRight input {
        float: left;
        width: 250px;
        margin: 2px 0 0 0;
    }

    #divContactDetailsRight select {
        float: left;
        width: 256px;
        margin: 6px 0 0 0;
    }

/* CIRCULATION TAB */
#divCirculationLeft {
    float: left;
    margin: 0 10px 0 0;
}

    #divCirculationLeft label {
        float: left;
        width: 350px;
        margin: 8px 0 0 0;
    }

    #divCirculationLeft input, divCirculationLeft select {
        float: left;
        width: 250px;
        margin: 2px 0 0 0;
    }

#divCirculationRight {
    float: left;
    margin: 0 10px 10px 0;
}

    #divCirculationRight label {
        float: left;
        width: 100%;
        margin: 8px 0 0 0;
    }

    #divCirculationRight input, #divCirculationRight select {
        float: left;
        width: 250px;
        margin: 2px 0 0 0;
    }

    #divCirculationRight table input {
        width: 100%;
    }

    #divCirculationRight .narrow {
        width: 70px;
    }

#divWebTraffic{
    margin-top:10px;
}

#divWebTraffic label {
    width: 195px!important;
}

#divWebTraffic input {
    width: 210px;
}

#divEventDetails label {
    width: 185px;
}

#divEventDetails input {
    width: 260px;
}

#divEventDetails select {
    width: 100px;
    margin: 2px 0 0 -3px;
    padding-left: 0px;
}

#divAudienceDetails label {
    width: 155px;
}

#divAudienceDetails input {
    width: 290px;
}

/* Product and Services: a two-column table of tick boxes (box first, then the name) rather
   than a scrolling list with the boxes pushed out to the right. */
#divProductsAndServices {
    width: 450px;
    margin: 4px 0 0 0;
}

    #divProductsAndServices table.wmProductList {
        width: 100%;
        border-collapse: collapse;
        border: 1px solid var(--wm-line);
        border-radius: var(--wm-radius);
    }

    #divProductsAndServices table.wmProductList td {
        position: relative;
        width: 50%;
        padding: 0;
        border-bottom: 1px solid var(--wm-line-soft);
    }

    #divProductsAndServices table.wmProductList tr:last-child td {
        border-bottom: none;
    }

    #divProductsAndServices table.wmProductList td + td {
        border-left: 1px solid var(--wm-line-soft);
    }

    /* The box is pinned to the middle of its cell, so it lines up with the name whatever
       older rules do to inputs and labels on this page. */
    #divProductsAndServices table.wmProductList input {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        margin: 0;
    }

    /* The label fills the cell, so the whole cell is clickable, not just the box. */
    #divProductsAndServices table.wmProductList label {
        display: block;
        float: none;
        width: auto;
        margin: 0;
        padding: 7px 8px 7px 34px;
        cursor: pointer;
    }

    #divProductsAndServices table.wmProductList td:hover {
        background: var(--wm-primary-soft);
    }


/* RATES TAB */
#divRatesLeft {
    float: left;
    margin: 0 10px 0 0;
}

    #divRatesLeft label {
        float: left;
        width: 100px;
        margin: 8px 0 0 0;
    }

    #divRatesLeft input, #divRatesLeft select {
        float: left;
        width: 100%;
        margin: 4px 0 0 0px;
    }

    #divRatesLeft span input {
        float: left;
        width: 15px;
        margin: 4px 0 0 3px;
    }


#divRatesRight {
    float: left;
    margin: 0 10px 0 0;
}

    #divRatesRight label {
        float: left;
        width: 105px;
        margin: 8px 3px 0 0;
    }

    #divRatesRight input, #divRatesRight select {
        float: left;
        width: 250px;
        margin: 5px 0 0 0;
    }


#divRatesLeft .SCCCol {
    width: 62px;
    margin-right: 3px;
}

#divRatesLeft .QtrCol {
    width: 62px;
    margin-right: 3px;
}

#divRatesLeft .HalfCol {
    width: 62px;
    margin-right: 3px;
}

#divRatesLeft .FullCol {
    width: 62px;
    margin-right: 3px;
}

#divRatesLeft .DblCol {
    width: 62px;
}

#divRatesLeft .SCCColLabel {
    width: 62px;
    margin-right: 9px;
}

#divRatesLeft .QtrColLabel {
    width: 62px;
    margin-right: 9px;
}

#divRatesLeft .HalfColLabel {
    width: 62px;
    margin-right: 9px;
}

#divRatesLeft .FullColLabel {
    width: 62px;
    margin-right: 9px;
}

#divRatesLeft .DblColLabel {
    width: 62px;
}

#divRatesLeft input.small {
    width: 62px;
    margin-right: 3px;
}

#divRatesLeft label.small {
    width: 62px;
    margin-right: 9px;
}

#divRatesLeft input.jobDurationInput {
    margin-top: 10px;
    width: 350px;
}

/* PRODUCTION INFORMATION TAB */
#divProductionLeft {
    float: left;
    margin: 0 10px 0 0;
}

    #divProductionLeft label {
        float: left;
        width: 152px;
        margin: 8px 0 0 0px;
    }

    #divProductionLeft input {
        float: left;
        width: 244px;
        margin: 2px 0 0 0px;
    }

    #divProductionLeft select {
        float: left;
        width: 250px;
        margin: 2px 0 0 0;
    }

#divProductionRight {
    float: left;
    margin: 0 5px 0 0;
}

    #divProductionRight label {
        float: left;
        width: 160px;
        margin: 8px 0 0 0;
    }

    #divProductionRight input, #divProductionRight select {
        float: left;
        width: 300px;
        margin: 2px 0 0 0;
    }

#divProductionLeft .dimensionLabel {
    padding-left: 10px;
}

#divProductionLeft .dimension {
    padding-left: 10px;
    width: 50px;
}

/* PAID OPTIONS TAB */
#divPaidOptionsLeft {
    float: left;
    margin: 0 10px 0 0;
}

    #divPaidOptionsLeft label {
        float: left;
        width: 200px;
        margin: 8px 0 0 0;
    }

    #divPaidOptionsLeft input, divPaidOptionsLeft select {
        float: left;
        margin: 2px 0 0 0px;
    }

#divPaidOptionsRight {
    float: left;
    margin: 0 5px 0 0;
}

    #divPaidOptionsRight label {
        float: left;
        width: 160px;
        margin: 8px 0 0 0;
    }

    #divPaidOptionsRight input, #divPaidOptionsRight select {
        float: left;
        width: 300px;
        margin: 2px 0 0 0px;
    }

#divPaidOptionsLeft .inputbox {
    width: 543px;
    margin-left: 4px;
}

/* SUPPLEMENTS TAB */
#divSupplementsLeft {
    float: left;
    margin: 0 10px 0 0;
}

    #divSupplementsLeft label {
        float: left;
        width: 200px;
        margin: 8px 0 0 0;
    }

    #divSupplementsLeft input, divSupplementsLeft select {
        float: left;
        margin: 2px 0 0 0px;
    }

#divSupplementsRight {
    float: left;
    margin: 0 5px 0 0;
}

    #divSupplementsRight label {
        float: left;
        width: 160px;
        margin: 8px 0 0 0;
    }

    #divSupplementsRight input, #divSupplementsRight select {
        float: left;
        width: 300px;
        margin: 2px 0 0 0px;
    }

#userNotes label {
    float: left;
    width: 150px;
    margin: 5px 5px 0 0;
}

#userNotes input {
    float: left;
    width: 200px;
    margin: 5px 5px 0 0;
}

#MarketSectors input, #LocationPriority input {
    width: 100%;
}

#ReportList li {
    margin: 0 0 8px -30px;
    list-style-type: none;
}

.jicregStep {
    margin-left: 20px;
}

.jicregProgress {
    text-align: center;
    margin: 0 0 0 10px;
    height: 40px;
    width: 250px;
    vertical-align: middle;
}

.progress {
    border: solid 1px black;
    padding: 10px;
    background-color: #bbb;
    position: absolute;
    z-index: 100;
    width: 160px;
    text-align: center;
    left: 400px;
    top: 200px;
}

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

/* MEDIA LOGINS PAGE */

.mediaTitleChooser {
    background-color: White;
    padding: 10px;
    width: 950px;
    border: solid 1px black;
}

.mediaTitleChooserInner {
    min-height: 350px;
}

.mediaTitleChooser div.selectTitleResults {
    overflow: auto;
    height: 450px;
    border: solid 1px #dfdcd1;
}

.mediaTitleChooser .bottom {
    float: right;
    text-align: right;
    padding-top: 5px;
}

.mediaTitleChooser .note {
    float: left;
    padding-top: 5px;
}

.mediaLoginForm {
    width: 900px;
    margin: 0 0 10px 0;
}

    .mediaLoginForm label {
        width: 110px;
        margin: 0;
        font-size: 80%;
        font-weight: bold;
        color: #000;
        border: solid 0px #0ff;
        float: left;
        clear: both;
    }

        .mediaLoginForm label.checkbox {
            width: 200px;
        }

    .mediaLoginForm .lblNotes {
        width: 60px;
    }

    .mediaLoginForm .lblMediaTitles {
        width: 500px;
    }

    .mediaLoginForm input, .mediaLoginForm select {
        margin: 0 0 10px 0;
        width: 275px;
    }

    .mediaLoginForm textarea {
        margin: 0 0 10px 0;
        width: 400px;
        height: 250px;
    }

    .mediaLoginForm textarea {
        font-family: Trebuchet MS;
        font-size: 90%;
    }

    .mediaLoginForm br {
        clear: both;
    }

    .mediaLoginForm .left {
        float: left;
    }

    .mediaLoginForm .right {
        float: left;
        padding: 0 0 0 30px;
    }

    .mediaLoginForm .validator {
        float: left;
        clear: both;
        padding: 0 0 0 110px;
        margin: -10px 0 5px 0;
    }

.selectAll {
    width: 935px;
    text-align: right;
    padding: 0 0 5px 0;
}

.floatRight {
    float: right;
}

.floatLeft {
    float: left;
}

.mediaLoginButtons {
    padding-top: 10px;
    width: 640px;
}

    .mediaLoginButtons .save, .mediaLoginButtons .cancel {
        float: left;
        margin-right: 5px;
    }

.mediaLoginList {
    width: 700px;
}

    .mediaLoginList .newButton {
        float: right;
        margin: 5px 7px 0 0;
    }

    .mediaLoginList .impersonateUserLink {
        float:left; 
        margin: 5px 0 0 7px;
    }

.mediaTitleSearch {
    margin-bottom: 5px;
}

    .mediaTitleSearch input {
        margin-right: 25px;
    }

    .mediaTitleSearch .button {
        margin-right: 0px;
    }

.mediaLoginForm .webDateChooser {
    float: left;
    border: solid 1px;
    margin: 0 5px 0 0;
}

.mediaLoginForm .accountActiveLabel {
    float: left;
    width: 200px;
}

.mediaLoginForm .andLabel {
    float: left;
    width: 30px;
    clear: none;
}

.mediaLoginForm .maxLeaders {
    width: 40px;
}

/* MANAGE NEWS/OFFERS PAGE */

.newNewsOffer {
    width: 200px;
    margin-top: 5px;
    padding-right: 5px;
    float: right;
}

/* MAINTAINANCE PAGE */

.homePageMessage table {
    border-collapse: collapse;
}

.homePageMessage td {
    vertical-align: top;
    border: solid 1px #c0c0c0;
}

    .homePageMessage td td td {
        vertical-align: top;
        border: solid 0px green;
    }

.homePageMessage th {
    vertical-align: top;
    text-align: left;
}

    .homePageMessage th.thDateTo, .homePageMessage th.thDateFrom, .homePageMessage th.thEnabled {
        width: 70px;
    }

.homePageMessage .webDateChooser {
    margin: 0 0 5px 0;
    border: solid 1px #b1b1b1;
}

/* BATCH UPDATE PAGE */
.gridWrap {
    position: relative;
    top: 25px;
    left: 0px;
}

    .gridWrap a {
        position: absolute;
        top: 5px;
        right: 50px;
        z-index: 1000;
        font-size: 8pt;
    }

.selectMediaTitleDialog {
    margin: 10px 10px 10px 10px;
    width: 600px;
}

.newsOfferLink {
    font-size: 75%;
}

.inlineMsgSave {
    width: 100%;
    box-sizing: border-box; /* width: 100% plus padding and border overflowed the container */
    background: #effeb9;
    padding: 8px;
    border: #9ac601 2px solid;
    margin: 10px 0;
}

.newsOfferTab {
    Margin: 5px 5px 5px 5px;
    line-height: normal;
}

    .newsOfferTab .newsOfferFilters {
        margin: 0 0 10px 0;
    }

        .newsOfferTab .newsOfferFilters label {
            display: inline-block;
            height: 15px;
        }

        .newsOfferTab .newsOfferFilters .OrgFilter {
            width: 170px;
        }

        .newsOfferTab .newsOfferFilters .resetButton {
            width: 54px;
        }

        .newsOfferTab .newsOfferFilters .filterDiv {
            float: left;
            margin-right: 15px;
        }

        .newsOfferTab .newsOfferFilters .filterDivLabel {
            float: left;
            margin-right: 5px;
        }

            .newsOfferTab .newsOfferFilters .filterDivLabel .firstLabel {
                height: 11px;
            }

.newsOfferHeader {
    line-height: normal;
    margin-top: 10px;
    margin-bottom: 5px;
    height: 30px;
}

    .newsOfferHeader .newsOfferHeaderTitle {
        float: left;
        width: 300px;
    }

#ctl00_body_Tabstd2 {
    color: Red;
}

.gridTitle {
    margin-bottom: 5px;
}

.gridBottomLink {
    margin-top: 5px;
}

.searchActivityReports {
}

    .searchActivityReports tr {
        height: 25px;
    }


.mt-0 {
    margin-top: 0;
}

.mt-5 {
    margin-top: 5px;
}

.mt-6 {
    margin-top: 6px;
}

.mt-15 {
    margin-top: 15px;
}

.m-t-xsmall {
    margin-top: 5px;
}

.m-t-small {
    margin-top: 10px;
}

.m-b-xsmall {
    margin-bottom: 5px;
}

.m-b-small {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-5 {
    margin-right: 5px;
}

/*utilities*/
.clearLeft {
    clear: left;
}

.gridDialogButtonColumn {
    width: 26px;
}

.gridDialogButton {
    font-size: 90%;
    font-weight: bold;
    color: #000;
    border: solid 1px #ccc;
    background: #eee;
    border-radius: 3px;
    padding: 3px 6px;
    text-decoration: none;
    text-align: center;
}

/* fixes bug in webdatagrid where edited cell is floated off page if contained within a floated element - also where undo button width is huge*/
.wdgLayoutFix {
    position: relative
}

    .wdgLayoutFix .igg_UndoButton {
        width: unset !important;
    }

/*style TinyMceEditor*/
.tox-toolbar__primary {
    background-color: #CFE2FB !important; /* uses !important or override .mce-panel background-color/image */
    background-image: none !important;
}

.advertisingOptions + .tox {
    height:450px!important;
}


.keywordPopover {
    position: fixed;
    width: 400px;
    top: calc(50% - 400px);
    left: calc(50% - 200px);
    background-color: white;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    box-shadow: 0px 1px 5px #b3b3b3;
    padding: 15px;
}

.keywordPopover__title{
    margin-bottom:20px;
    font-weight: bold;
}

.keywordPopover__content {
    height: 500px;
    border: 1px solid #d3d3d3;
    padding:10px;
    margin-bottom: 15px;
    overflow-y: scroll;
}
.keywordPopover__okButton {
    float:right;
    background-color: #1A73E8;
    border-radius: 3px;
    color:#fff;
    padding:5px 15px;
    font-size:10px;
    cursor:pointer;
}


.wdgRowSubmitButton {
    /*margin-top: -22px !important;
    font-weight: bold !important;
    font-size: large;
    z-index: 100;
    color: blue !important;*/
    width: 25px !important;
    height: 19px;
    cursor: pointer !important;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #F8F7F4;
    border-color: #b6b6b6 !important;
    border-width: 1pt;
    border-style: solid;
    font-weight: bold;
}
    .wdgRowSubmitButton a {
        background-image: url("../ig_res/Windows7/images/addnewrow_image.gif");
        background-image: url("../ig_res/Windows7/images/addnewrow_image.gif");
        background-repeat: no-repeat;
        background-position: left 8px bottom 5px;
    }



/*style updated grid*/

.igg_Windows7Header {
    background-image: none;
    width: 31px;
    cursor: pointer;
}

.igg_Windows7RowSelector {
    width: 26px;
    cursor: pointer;
}

tbody.igg_Windows7Item > tr > td {
    padding: 3px 5px 3px 5px;
}

.igg_Windows7HeaderCaption {
    padding: 3px 5px 3px 5px;
}

tr.igg_Windows7AddNewRow > td {
    padding-left: 6px;
}

.igg_Windows7AddNewRowSelectorCssClass {
    cursor: default;
}

.igg_Windows7AddNewRow .gridDialogButtonColumn {
    text-align: center;
}
    .igg_Windows7AddNewRow td:nth-of-type(6).gridDialogButtonColumn:after {
        content: "...";
        cursor:pointer;
    }










/* Disabled LinkButtons. controlRenderingCompatibilityVersion is 3.5, so these
   render as <a disabled="disabled"> rather than a span, and would otherwise take
   the theme's link colour and hover state as though still clickable. */
a[disabled] {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

a[disabled]:hover {
    color: #999;
    text-decoration: none;
}


/*==================================================================
  MODERN UI LAYER
  ------------------------------------------------------------------
  Restyles the existing markup; no page was rewritten to make it
  work. Everything is in this one block so it can be reviewed - or
  reverted - on its own.

  Two things to know before editing:

  * ASP.NET injects App_Themes/SmokeAndGlass/SmokeAndGlass.css AFTER
    this file, so rules that need to beat the theme are prefixed with
    `html` to win on specificity rather than on order.
  * That theme file has no cache-busting query string, so a browser
    can hold a stale copy for months. Anything that must be right on
    the day belongs here, in style.css?version=n.

  Colours are defined once below. Change them there.
  ==================================================================*/

:root {
    --wm-ink: #27313f; /* body text */
    --wm-ink-soft: #5b6878; /* captions, table headers, help text */
    --wm-line: #dae1e9; /* input borders, table outlines */
    --wm-line-soft: #edf0f4; /* row separators */
    --wm-surface: #ffffff;
    --wm-surface-sunk: #f5f7fa; /* table headers, zebra striping */
    --wm-primary: #2f5d94; /* brand blue */
    --wm-primary-dark: #234a78;
    --wm-primary-soft: #e9f0f8; /* hover wash */
    --wm-link: #1f5b9e;
    --wm-accent: #e2620f; /* the orange from the logo - used sparingly */
    --wm-danger: #c0392b;
    --wm-success: #2f7a3f;
    --wm-radius: 4px;
}


/*--- [ typography ] -----------------------------------------------*/

html body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--wm-ink);
    background: var(--wm-surface);
    -webkit-font-smoothing: antialiased;
}

/* Segoe UI sets about 13% narrower than the Verdana it replaces, so the
   larger sizes below still fit the fixed pixel widths this file is full of. */
html input, html select, html textarea, html button, html label, html th {
    font-family: inherit;
}

html h1, html h2, html h3, html h4, html h5, html h6 {
    font-family: inherit;
    color: var(--wm-ink);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

html h1 { font-size: 21px; margin: 4px 0 16px 0; }
html h2 { font-size: 17px; margin: 4px 0 14px 0; }
html h3 { font-size: 15px; margin: 4px 0 10px 0; }
html h4 { font-size: 13.5px; margin: 4px 0 8px 0; }

html label { font-size: 12.5px; font-weight: 600; color: var(--wm-ink); }
html .note, html .noteText, html .reportNote, html small { font-size: 11.5px; color: var(--wm-ink-soft); }
html .smallText { font-size: 12px; }

/* Underlined-by-default links made the lists very noisy - there is an
   underline on every media title and every Clone. Underline on hover. */
html a, html a:link, html a:visited { color: var(--wm-link); text-decoration: none; }
html a:hover, html a:active { color: var(--wm-primary-dark); text-decoration: underline; }


/*--- [ page frame ] -----------------------------------------------*/

#container {
    width: auto;
    max-width: 1180px;
    min-width: 980px; /* the widest fixed-width panel inside is 950px + padding */
    padding: 0 24px 40px 24px;
}

#headerMain {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 18px 0 14px 0;
}

#siteLogo { float: none; flex: 0 0 auto; margin-right: 18px; }
#siteLogo img { display: block; }

#siteTitle {
    float: none;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}

    #siteTitle h1 {
        margin: 0;
        font-size: 19px;
        font-weight: 600;
        color: var(--wm-ink);
    }

/* Environment marker. Live shows no badge at all, so an unbadged header
   is the signal that you are on the real thing. */
.envBadge {
    display: inline-block;
    margin-left: 12px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--wm-accent);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.5;
}

    .envBadge.envBadgeDev { background: #6b7683; }

#navBar { margin: 0; }

#content { margin: 0; }


/*--- [ navigation ] -----------------------------------------------*/

#navigation {
    width: auto;
    margin: 0 0 22px 0;
    padding: 0;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid var(--wm-primary);
    overflow: hidden; /* contains the floated list items */
}

    #navigation ul { display: block; margin: 0; padding: 0; overflow: hidden; }

    #navigation li { background: transparent; margin: 0 2px 0 0; }

    #navigation a {
        min-width: 0;
        height: auto;
        margin: 0;
        padding: 8px 11px;
        background: var(--wm-surface-sunk);
        color: #47566a;
        border: 1px solid var(--wm-line);
        border-bottom: none;
        border-radius: var(--wm-radius) var(--wm-radius) 0 0;
    }

        #navigation a:hover, #navigation a:active {
            background: var(--wm-primary-soft);
            color: var(--wm-primary-dark);
            text-decoration: none;
        }

        /* Set by Site.master.vb from the current request path. Nothing used
           to apply this class, so the nav never showed where you were. */
        #navigation a.active, #navigation a.active:hover {
            background: var(--wm-primary);
            border-color: var(--wm-primary);
            color: #fff;
            text-decoration: none;
        }


/*--- [ buttons ] --------------------------------------------------*/

/* The SmokeAndGlass skin used to set BackColor/BorderColor/ForeColor on
   every asp:Button, which arrived as inline style and beat any stylesheet.
   Those attributes have been removed from the skin so this can do the work. */
html input[type="submit"],
html input[type="button"],
html input[type="reset"],
html button {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--wm-ink);
    background: #fff;
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    padding: 6px 14px;
    min-width: max-content; /* several pages set an explicit Width on a Button; without this the padding above clips the caption */
    line-height: 1.3;
    cursor: pointer;
    box-shadow: 0 1px 1px rgba(20, 32, 48, .04);
}

    html input[type="submit"]:hover,
    html input[type="button"]:hover,
    html input[type="reset"]:hover,
    html button:hover {
        background: var(--wm-primary-soft);
        border-color: #b9c7d8;
        color: var(--wm-primary-dark);
    }

    html input[type="submit"]:focus,
    html input[type="button"]:focus,
    html button:focus {
        outline: none;
        border-color: var(--wm-primary);
        box-shadow: 0 0 0 3px rgba(47, 93, 148, .18);
    }

/* For the one obvious action on a screen.

   The element names are carried through all of these rather than relying on
   .btnPrimary alone, because the base rule above is selected by attribute -
   input[type="submit"] counts for as much as a class does, so a bare
   html .btnPrimary loses to it and the button stays white. */
html input[type="submit"].btnPrimary,
html input[type="button"].btnPrimary,
html button.btnPrimary,
html a.btnPrimary {
    color: #fff;
    background: var(--wm-primary);
    border-color: var(--wm-primary);
}

    html input[type="submit"].btnPrimary:hover,
    html input[type="button"].btnPrimary:hover,
    html button.btnPrimary:hover,
    html a.btnPrimary:hover {
        color: #fff;
        background: var(--wm-primary-dark);
        border-color: var(--wm-primary-dark);
        text-decoration: none;
    }

/* Disabled comes last so that it wins over the primary treatment too. */
html input[type="submit"][disabled],
html input[type="button"][disabled],
html button[disabled],
html input[type="submit"].btnPrimary[disabled],
html input[type="button"].btnPrimary[disabled],
html button.btnPrimary[disabled] {
    color: #9aa5b1;
    background: #f2f4f7;
    border-color: var(--wm-line);
    cursor: not-allowed;
    box-shadow: none;
}


/*--- [ form controls ] --------------------------------------------*/

/* border-box matters here: this stylesheet sets an explicit pixel width on
   a great many inputs, and without it the padding below would push every
   one of them wider than its column. */
html input[type="text"],
html input[type="password"],
html input[type="email"],
html input[type="search"],
html input[type="tel"],
html input[type="url"],
html input[type="number"],
html textarea,
html select {
    box-sizing: border-box;
    font-size: 12.5px;
    color: var(--wm-ink);
    background: #fff;
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    padding: 5px 7px;
}

html select { padding: 4px 6px; }

html input[type="text"]:focus,
html input[type="password"]:focus,
html textarea:focus,
html select:focus {
    outline: none;
    border-color: var(--wm-primary);
    box-shadow: 0 0 0 3px rgba(47, 93, 148, .15);
}

/* width:auto is not cosmetic, it is load-bearing.

   asp:CheckBox and asp:RadioButton used to be wrapped in a <span> by ASP.NET,
   because the old skin set BorderColor and Font-Names on them and a styled
   checkbox gets a wrapper to carry the style. Several rules in this file are
   written against that wrapper - .form span input { width: 15px } among them.
   Taking the styling out of the skin took the wrapper away with it, and
   .form input { width: 500px } then applied to the box itself: the Approved
   checkbox on News/Offer Details became 500px wide and pushed the rest of its
   row onto the next line.

   Sizing by input type instead does not depend on a wrapper that may or may
   not be emitted. */
html input[type="checkbox"], html input[type="radio"] {
    width: auto;
    accent-color: var(--wm-primary);
}

html fieldset {
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    padding: 12px 14px;
}

html legend { padding: 0 6px; color: var(--wm-ink-soft); font-weight: 600; font-size: 12px; }


/*--- [ grids ] ----------------------------------------------------*/

/* Applied by the skin to every asp:GridView and asp:DataGrid, which is
   what draws nearly every list in the CMS. */
html .wmGrid {
    border-collapse: collapse;
    border: 1px solid var(--wm-line);
    background: #fff;
    font-size: 12.5px;
    line-height: 1.35;
}

    html .wmGrid th, html .wmGrid td {
        padding: 7px 10px;
        text-align: left;
        vertical-align: middle;
        border: none;
    }

    html .wmGrid th {
        background: var(--wm-surface-sunk);
        border-bottom: 1px solid var(--wm-line);
        color: var(--wm-ink-soft);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        white-space: nowrap;
    }

        html .wmGrid th a, html .wmGrid th a:link, html .wmGrid th a:visited {
            color: var(--wm-ink-soft);
            text-decoration: none;
        }

        html .wmGrid th a:hover { color: var(--wm-primary); text-decoration: none; }

    html .wmGrid tbody tr td { border-top: 1px solid var(--wm-line-soft); }

    html .wmGrid tbody tr:first-child td { border-top: none; }

    html .wmGrid tbody tr:nth-child(even) td { background: #fbfcfd; }

    html .wmGrid tbody tr:hover td { background: var(--wm-primary-soft); }

    /* Paging row. It is a tr like any other, so it has to opt out of the
       hover and zebra rules above. */
    html .wmGrid tr.wmGridPager td,
    html .wmGrid tbody tr.wmGridPager:hover td,
    html .wmGrid tbody tr.wmGridPager:nth-child(even) td {
        background: var(--wm-surface-sunk);
        border-top: 1px solid var(--wm-line);
        padding: 6px 10px;
    }

    html .wmGrid tr.wmGridPager a, html .wmGrid tr.wmGridPager span {
        display: inline-block;
        min-width: 20px;
        padding: 2px 6px;
        margin-right: 2px;
        text-align: center;
        border-radius: 3px;
    }

    html .wmGrid tr.wmGridPager span { background: var(--wm-primary); color: #fff; font-weight: 600; }

    html .wmGrid tr.wmGridPager a:hover { background: #fff; text-decoration: none; }


/*--- [ login ] ----------------------------------------------------*/

/* The login screen is the only page with no navigation and a single centred
   card, so a left-aligned header reads as lopsided there. Everywhere else the
   header stays left, lined up with the nav and the content beneath it.

   :has() keys this off the login control being on the page, which avoids
   giving Site.master a body class it would otherwise have no use for. Browsers
   without it simply leave the header where it is. */
html body:has(.wmLogin) #headerMain { justify-content: center; }

html body:has(.wmLogin) #siteTitle { flex: 0 0 auto; }

html .wmLogin {
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--wm-line);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(20, 32, 48, .07), 0 8px 24px rgba(20, 32, 48, .06);
}

    html .wmLogin td { padding: 6px 8px; }

    html .wmLogin .wmLoginTitle {
        background: transparent;
        border: none;
        padding: 18px 8px 10px 8px;
        color: var(--wm-ink);
        font-size: 16px;
        font-weight: 600;
    }

    html .wmLogin input[type="text"], html .wmLogin input[type="password"] { width: 210px; }


/*--- [ messages and validation ] ----------------------------------*/

html .inlineMsgSave {
    box-sizing: border-box;
    background: #eef8e6;
    border: 1px solid #b7d99a;
    border-left: 4px solid var(--wm-success);
    border-radius: var(--wm-radius);
    color: #2c4a1f;
    padding: 10px 14px;
    margin: 0 0 16px 0;
}

html .warningText {
    box-sizing: border-box;
    background: #fdf1f0;
    border: 1px solid #f0c3bd;
    border-left: 4px solid var(--wm-danger);
    border-radius: var(--wm-radius);
    color: #8c2d22;
    padding: 10px 14px;
    margin: 0 0 16px 0;
}

html .messageText, html .messageTextBold {
    box-sizing: border-box;
    background: var(--wm-primary-soft);
    border: 1px solid #c5d8ea;
    border-left: 4px solid var(--wm-primary);
    border-radius: var(--wm-radius);
    color: #1d3b5c;
    padding: 10px 14px;
    margin: 0 0 16px 0;
}

html .inlineMsgSave p, html .warningText p, html .messageText p, html .messageTextBold p { margin: 0; }

/* The InLineMessage panel renders even with nothing in it, and would
   otherwise show as an empty coloured bar. */
html .inlineMsgSave:empty, html .warningText:empty, html .messageText:empty, html .messageTextBold:empty { display: none; }

/* warningText is also used for small inline cautions such as the
   "4 minutes" note on Search Activity, where a full banner is wrong. */
html span.warningText, html small .warningText {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--wm-danger);
    font-weight: 600;
}

html .validator, html .GridValidator { color: var(--wm-danger); font-size: 11.5px; font-weight: 600; }

html .GridValidator {
    background: #fdf1f0;
    border: 1px solid #f0c3bd;
    border-radius: 3px;
    padding: 4px 7px;
}

html .offenderList {
    background: #fdf1f0;
    border: 1px solid #f0c3bd;
    border-left: 4px solid var(--wm-danger);
    border-radius: var(--wm-radius);
    color: #8c2d22;
}


/*--- [ tabs ] -----------------------------------------------------*/

/* Colour and corners only. The width, float and the one pixel of negative top
   offset that tucks this panel under the tab strip are all doing real work -
   dropping them collapsed the General Information panel on MediaTitle.aspx to
   a 33px box floating off to the right. Padding is left alone too: some of
   what sits inside these panels is 940px wide, and this is 950. */
html .tab {
    border-color: var(--wm-line);
    border-radius: 0 var(--wm-radius) var(--wm-radius) var(--wm-radius);
    background: #fff;
}


/*--- [ Infragistics grids ] ---------------------------------------*/

/* The WebDataGrids on the Media Title editor (Search Key Words, Market Sectors, Location
   Priority, Sales Notes, Media Packs, the rates and column widths, ...) restyled to match the
   .wmGrid tables: a pale header band with small capitals, soft lines between rows and a blue
   wash on hover. They ship their own stylesheet from ig_res and keep all their behaviour -
   editing in place, the add row along the bottom - so this only overrides how they look. */
html .igg_Windows7Control {
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    color: var(--wm-ink);
}

    html .igg_Windows7Control td, html .igg_Windows7Control th { font-family: inherit; }

    /* ig_shared.css sets the rows in 10px Verdana. */
    html .igg_Windows7Control .ig_Windows7Item {
        font-family: inherit;
        font-size: 12px;
    }

    /* Header band. */
    html .igg_Windows7Control tr.igg_Windows7Header,
    html .igg_Windows7Control th.ig_Windows7Header {
        background: var(--wm-surface-sunk) none;
    }

    html .igg_Windows7Control th.igg_Windows7HeaderCaption {
        height: auto;
        padding: 9px 8px 8px 8px;
        background: var(--wm-surface-sunk) none;
        border: none;
        border-bottom: 1px solid var(--wm-line);
        color: var(--wm-ink-soft);
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        vertical-align: bottom;
    }

    /* The narrow column on the left of each row. background-color only, so the arrow the
       grid puts on the selected row still shows. */
    html .igg_Windows7Control th.igg_Windows7RowSelector {
        background-color: #fff;
        border: none;
        border-right: 1px solid var(--wm-line-soft);
        border-bottom: 1px solid var(--wm-line-soft);
    }

    html .igg_Windows7Control th.igg_Windows7HeaderRowSelector {
        background: var(--wm-surface-sunk) none;
        border-bottom: 1px solid var(--wm-line);
    }

    /* Rows. */
    html .igg_Windows7Control tbody.igg_Windows7Item > tr > td {
        padding: 6px 8px;
        background-color: #fff;
        border-bottom: 1px solid var(--wm-line-soft);
        color: var(--wm-ink);
    }

    html .igg_Windows7Control tbody.igg_Windows7Item > tr.igg_Windows7Alt > td { background-color: #fbfcfd; }

    html .igg_Windows7Control tbody.igg_Windows7Item > tr:hover > td,
    html .igg_Windows7Control tbody.igg_Windows7Item > tr:hover > th.igg_Windows7RowSelector {
        background-color: var(--wm-primary-soft);
    }

    html .igg_Windows7Control .igg_Windows7SelectedCell {
        background-image: none;
        background-color: var(--wm-primary-soft);
    }

    html .igg_Windows7Control .igg_Windows7EditCell { border: 1px solid var(--wm-primary) !important; }

    /* The add row along the bottom: a pale strip with a blue + where the yellow one was. */
    html .igg_Windows7Control tr.igg_Windows7Footer,
    html .igg_Windows7Control tr.igg_Windows7Footer > td {
        background: #fff none;
        border-top: none;
    }

    html .igg_Windows7Control tr.igg_Windows7AddNewRow > td,
    html .igg_Windows7Control th.igg_Windows7AddNewRowSelectorCssClass,
    html .igg_Windows7Control .igg_Windows7AddNewRowScrollbarIntersection {
        background-color: var(--wm-surface-sunk);
        border: none;
        border-top: 1px solid var(--wm-line);
        border-right: 1px solid var(--wm-line-soft);
        font-family: inherit;
        font-size: 12px;
    }

    html .igg_Windows7Control .igg_Windows7AddNewRowSelectorImageCssClass {
        background-image: none;
        text-align: center;
        font-size: 0;
    }

        html .igg_Windows7Control .igg_Windows7AddNewRowSelectorImageCssClass::after {
            content: "+";
            color: var(--wm-primary);
            font-size: 16px;
            font-weight: 700;
            line-height: 1;
        }

    html .igg_Windows7Control tr.igg_Windows7AddNewRow:hover > td,
    html .igg_Windows7Control tr.igg_Windows7AddNewRow:hover > th {
        background-color: var(--wm-primary-soft);
    }

    /* Tall enough for the drop-down and date editors that open in it. */
    html .igg_Windows7Control tr.igg_Windows7AddNewRow > td,
    html .igg_Windows7Control tr.igg_Windows7AddNewRow > th {
        height: 32px;
    }

    /* The add row while it is being filled in (scripts/GridTools.js). */
    html .igg_Windows7Control tr.wmGridAddingRow > td,
    html .igg_Windows7Control tr.wmGridAddingRow > th {
        background-color: #fff8e6;
        border-top: 2px solid #e8b95c;
    }

    /* Changes waiting for Save, coloured like the JicReg lists: added rows green, removed
       rows red and struck through. (Removed rows stay on show until Save, as before.) */
    html .igg_Windows7Control tbody.igg_Windows7Item > tr.igg_Windows7AddedRow > td {
        background-color: #eef6ee;
        color: var(--wm-ink);
        font-style: normal;
    }

    html .igg_Windows7Control tbody.igg_Windows7Item > tr.igg_Windows7DeletedRow > td {
        background-color: #fbeeee;
        color: var(--wm-ink-soft);
        font-style: normal;
        text-decoration: line-through;
    }

    /* The row you've clicked: a light wash. The row rules above paint every cell, which
       hid the grid's own selection colour, so these come after them. */
    html .igg_Windows7Control tbody.igg_Windows7Item > tr > td.igg_Windows7SelectedCell {
        background-color: var(--wm-primary-soft);
    }

    /* Rows ticked for "Remove selected" (scripts/GridTools.js): a stronger blue, with a bar
       down the left, so it's clear which will go. */
    html .igg_Windows7Control tbody.igg_Windows7Item > tr.wmGridTicked > td,
    html .igg_Windows7Control tbody.igg_Windows7Item > tr.wmGridTicked > th.igg_Windows7RowSelector {
        background-color: #d3e2f4;
    }

    html .igg_Windows7Control tbody.igg_Windows7Item > tr.wmGridTicked > th.igg_Windows7RowSelector {
        box-shadow: inset 3px 0 0 var(--wm-primary);
    }

    /* The tick box sits in the row's narrow left-hand column, in place of the grid's arrow. */
    html .igg_Windows7Control tbody.igg_Windows7Item > tr > th.igg_Windows7RowSelector {
        background-image: none;
        text-align: center;
        vertical-align: middle;
        padding: 0 4px;
    }

    html .igg_Windows7Control input.wmGridTick {
        margin: 0;
        cursor: pointer;
        vertical-align: middle;
    }

/* The bar under each grid: "+ Add ...", "Remove selected", and while adding, Add / Cancel
   (scripts/GridTools.js). */
html .wmGridTools {
    clear: both; /* a few grids are floated */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 0 0 14px 0;
    padding-top: 8px; /* padding, not margin: clearing a floated grid swallows a top margin */
}

    html .wmGridTools .wmGridToolsGroup {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    html .wmGridTools button {
        padding: 5px 12px;
        font-size: 12px;
    }

    html .wmGridTools button.wmGridAdd { color: var(--wm-primary); }

    html .wmGridTools .wmGridToolsSpacer { flex: 1; }

    html .wmGridTools .wmGridHint {
        font-size: 12px;
        color: var(--wm-ink-soft);
    }

    html .wmGridTools .wmGridHintWarn { color: #9a6200; font-weight: 600; }

    html .wmGridTools .wmGridNote { flex-basis: 100%; }

    html .wmGridTools a[href*="clearGrid"] { margin: 0 !important; }

/* The button the grids show after an edit, to undo it. */
html input.igg_Windows7UndoButton {
    padding: 3px 10px;
    background: #fff none;
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    font: inherit;
    font-size: 12px;
    color: var(--wm-ink);
    cursor: pointer;
}

/* Tick boxes in the grids are pictures the grid swaps when clicked, so replacing the picture
   restyles them without touching how they work. Browsers that ignore this show the old ones. */
html img[src$="ig_checkbox_off.gif"] {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Crect x='.5' y='.5' width='13' height='13' rx='3' fill='%23fff' stroke='%23aab6c4'/%3E%3C/svg%3E");
}

html img[src$="ig_checkbox_on.gif"] {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Crect width='14' height='14' rx='3' fill='%232f5d94'/%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* "Partial" is what the add row shows before a box has been set either way. */
html img[src$="ig_checkbox_partial.gif"] {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Crect x='.5' y='.5' width='13' height='13' rx='3' fill='%23fff' stroke='%23c5ced8' stroke-dasharray='2 1.5'/%3E%3C/svg%3E");
}

/* "Delete All Search Keywords", "Delete All Market Sectors" and the like under the grids.
   !important because each link carries its own inline margin and font size. */
html a[href*="clearGrid"] {
    display: inline-block;
    margin: 8px 0 4px 0 !important;
    font-size: 12px !important;
    color: var(--wm-danger);
}

/* The date boxes with a calendar button (WebDateChooser): wide enough for a whole date,
   and bordered like the other boxes. Their width comes from a generated class, hence !important. */
html table.igdc_Windows7EditWithButtons {
    width: 116px !important;
    font-family: inherit; /* the generated class sets bold Verdana */
    font-weight: normal;
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    background: #fff;
    overflow: hidden;
}

    html table.igdc_Windows7EditWithButtons input.igdc_Windows7EditInContainer {
        box-sizing: border-box;
        padding: 4px 4px 4px 7px;
        border: none;
        font: inherit;
        font-size: 12.5px;
        font-weight: normal;
        color: var(--wm-ink);
        background: transparent;
    }

    html table.igdc_Windows7EditWithButtons img.igdc_Windows7Button {
        padding: 0 4px;
        cursor: pointer;
    }


/*--- [ TinyMCE ] --------------------------------------------------*/

html .tox.tox-tinymce { border-radius: var(--wm-radius); border-color: var(--wm-line); }


/*--- [ link buttons styled as buttons ] ---------------------------*/

/* asp:LinkButton renders an <a>, so a few of the CMS's primary actions -
   Search and Clear on Media Titles, for instance - were a pair of bare
   links with a single collapsed space between them. */
html a.btnLink {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--wm-ink);
    background: #fff;
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    box-shadow: 0 1px 1px rgba(20, 32, 48, .04);
    text-decoration: none;
}

    html a.btnLink:hover {
        background: var(--wm-primary-soft);
        border-color: #b9c7d8;
        color: var(--wm-primary-dark);
        text-decoration: none;
    }

html a.btnLinkPrimary {
    color: #fff;
    background: var(--wm-primary);
    border-color: var(--wm-primary);
}

    html a.btnLinkPrimary:hover {
        color: #fff;
        background: var(--wm-primary-dark);
        border-color: var(--wm-primary-dark);
        text-decoration: none;
    }

/* Disabled LinkButtons render as <a disabled="disabled"> because
   controlRenderingCompatibilityVersion is 3.5, so they need saying twice. */
html a.btnLink[disabled], html a.btnLink[disabled]:hover {
    color: #9aa5b1;
    background: #f2f4f7;
    border-color: var(--wm-line);
    cursor: not-allowed;
    box-shadow: none;
    text-decoration: none;
}


/*--- [ Search Activity Data: date range ] -------------------------*/

html .activityDates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 4px 0 8px 0;
}

    html .activityDates label { margin: 0; }

    /* The browser's own date picker, styled to match the other inputs. */
    html .activityDates input[type="date"] {
        box-sizing: border-box;
        font: inherit;
        font-size: 12.5px;
        color: var(--wm-ink);
        background: #fff;
        border: 1px solid var(--wm-line);
        border-radius: var(--wm-radius);
        padding: 4px 7px;
    }

        html .activityDates input[type="date"]:focus {
            outline: none;
            border-color: var(--wm-primary);
            box-shadow: 0 0 0 3px rgba(47, 93, 148, .15);
        }

html .activityQuickPicks { margin-left: 6px; }

    html .activityQuickPicks .activityQuickPicksLabel {
        margin-right: 6px;
        font-size: 12px;
        color: var(--wm-ink-soft);
    }

    html .activityQuickPicks a {
        display: inline-block;
        margin-right: 4px;
        padding: 3px 10px;
        font-size: 12px;
        background: var(--wm-surface-sunk);
        border: 1px solid var(--wm-line);
        border-radius: 999px;
        text-decoration: none;
    }

        html .activityQuickPicks a:hover {
            background: var(--wm-primary-soft);
            border-color: #b9c7d8;
            text-decoration: none;
        }


/*--- [ login page notice ] ----------------------------------------*/

/* JicReg Districts and Locations lists (Media Title > Site Audience). New entries show in
   green until saved; entries marked for removal are struck through until saved. */
html .jicregList {
    width: 470px;
    margin: 4px 0 14px 0;
}

    html .jicregList table.wmGrid { width: 100%; }

    /* On Site Audience they sit in a column narrower than 470px; fill it rather than overhang. */
    html #divCirculationRight .jicregList { width: auto; }

    html .jicregList td.jicregAction {
        width: 1%;
        text-align: right;
        white-space: nowrap;
    }

    html .jicregList button.jicregRemove {
        padding: 2px 10px;
        font-size: 12px;
        font-weight: 500;
    }

    html .jicregList tr.jicregPending td { background: #eef6ee; }

    html .jicregList td.jicregNote {
        font-style: italic;
        color: var(--wm-success);
    }

    html .jicregList tr.jicregRemoved td {
        background: #fbeeee;
        color: var(--wm-ink-soft);
        text-decoration: line-through;
    }

    html .jicregList tr.jicregRemoved td.jicregAction { text-decoration: none; }

    html .jicregList tr.jicregEmpty td {
        color: var(--wm-ink-soft);
        font-style: italic;
    }

    html .jicregList .jicregAdd {
        display: flex;
        gap: 8px;
        align-items: center;
        margin-top: 8px;
    }

        html .jicregList .jicregAdd input[type="text"] { width: 140px; }

/*--- [ Media Title editor: tabs and the Save / Cancel / Print bar ] ---*/

/* Smaller and red-edged variants of the link buttons. */
html a.btnLinkSmall {
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 4px;
}

html a.btnLinkDanger {
    color: var(--wm-danger);
    border-color: #e6c2be;
}

    html a.btnLinkDanger:hover {
        color: #fff;
        background: var(--wm-danger);
        border-color: var(--wm-danger);
    }

/* The bar of buttons: at the top it sits to the right of the title, ID and type; at the
   bottom it runs under the editor, with Delete set apart on the left. */
html .wmActionBar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 0;
}

    html .wmActionBar a.btnLink:first-child { margin-left: 0; }

html .wmActionBarTop {
    clear: both;
    justify-content: flex-end;
    width: 962px;
    padding-top: 10px;
}

html .wmActionBarBottom {
    clear: both;
    width: 962px;
    padding: 12px 0 4px 0;
}

    html .wmActionBar .wmActionSpacer { flex: 1; }

    html .wmActionBar .wmActionPrint {
        display: inline-flex;
        align-items: center;
        margin-left: 14px;
        padding-left: 14px;
        border-left: 1px solid var(--wm-line);
    }

    html .wmActionBar .wmActionLabel {
        font-size: 12px;
        color: var(--wm-ink-soft);
    }

/* The old Infragistics tab strips (Media Title editor, Manage News/Offers) drew Windows XP
   tab pictures on a grey band. Restyled as flat tabs with an underline, like the rest of
   the CMS. The control is unchanged; this only overrides its own styles, hence !important. */
html table.igtab_Windows7Control_Outer {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--wm-line) !important;
    margin-top: 10px;
}

    html table.igtab_Windows7Control_Outer td[class*="_Top_Rounded"] {
        background: transparent none !important;
        border: none !important;
        border-bottom: 2px solid transparent !important;
        padding: 9px 14px 8px 14px !important;
        height: auto !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: var(--wm-ink-soft) !important;
        white-space: nowrap;
    }

    html table.igtab_Windows7Control_Outer td[class*="HoverTab_Top_Rounded"] {
        color: var(--wm-primary) !important;
        background: var(--wm-primary-soft) !important;
        border-radius: var(--wm-radius) var(--wm-radius) 0 0;
    }

    html table.igtab_Windows7Control_Outer td[class*="SelectedTab_Top_Rounded"] {
        color: var(--wm-primary) !important;
        background: transparent !important;
        border-bottom-color: var(--wm-primary) !important;
    }

    /* The thin cells that drew each tab's right-hand curve. */
    html table.igtab_Windows7Control_Outer td[class*="_Top_Edge"] {
        width: 2px !important;
        padding: 0 !important;
        border-bottom: none !important;
        font-size: 0 !important;
    }

/* On the Media Title editor the tabs sit on a pale band, and the selected one is a raised
   white tab joined to the panel below, so it is obvious which section is open. The panels
   (.tab) sit one pixel up under the strip; the selected tab is drawn over the panel's top
   border there, which is what joins them. */
html table#igtabctl00_body_fv_uwtMain {
    background: var(--wm-surface-sunk) !important;
    border: 1px solid var(--wm-line) !important;
    border-bottom: none !important;
    border-radius: var(--wm-radius) var(--wm-radius) 0 0;
    padding: 6px 6px 0 6px;
}

    /* :not(_Top_Edge) - the thin curve cells carry the _Top_Rounded class as well. */
    html table#igtabctl00_body_fv_uwtMain td[class*="_Top_Rounded"]:not([class*="_Top_Edge"]) {
        border: 1px solid transparent !important;
        border-bottom: none !important;
        border-radius: var(--wm-radius) var(--wm-radius) 0 0;
        padding: 8px 14px 9px 14px !important;
    }

    html table#igtabctl00_body_fv_uwtMain td[class*="SelectedTab_Top_Rounded"]:not([class*="_Top_Edge"]) {
        position: relative;
        z-index: 1;
        color: var(--wm-ink) !important;
        background: #fff !important;
        border-color: var(--wm-line) !important;
        border-top: 3px solid var(--wm-primary) !important;
        padding-top: 6px !important;
        box-shadow: 0 -2px 4px rgba(20, 32, 48, .06);
    }

html .tab { border-top: 1px solid var(--wm-line); }

/* Site Audience tab (#divCirculation): even space above each field's heading. */
html #divCirculation #divCirculationLeft > span > label,
html #divCirculation #divCirculationLeft label[for$="radPublishersStatement"],
html #divCirculation #divCirculationLeft label[for$="radTargetMarket"],
html #divCirculation label[for$="radOtherKeyStats"],
html #divCirculation label[for$="radCirculationTabNotes"] {
    display: inline-block;
    margin-top: 14px;
    font-weight: 600;
}

/* The web statistics (Page Views, Unique Users, Visits, ...): each group of figure, audit
   body and audit month as a small card with its labels and boxes lined up. */
html #divWebTraffic > div {
    display: grid;
    grid-template-columns: 175px 1fr;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 10px 0;
    padding: 10px 12px !important;
    border: 1px solid var(--wm-line);
    border-radius: var(--wm-radius);
    background: var(--wm-surface-sunk);
}

    html #divWebTraffic > div > br { display: none; }

    html #divWebTraffic > div > label {
        float: none;
        width: auto;
        margin: 0;
        font-weight: 600;
    }

    html #divWebTraffic > div > input[type="text"] {
        width: 100%;
        max-width: 260px;
        margin: 0;
    }

        html #divWebTraffic > div > input.narrow { max-width: 120px; }

    /* Other Key Stats: its heading and editor run the full width of the card. */
    html #divWebTraffic > div > label[for$="radOtherKeyStats"],
    html #divWebTraffic > div > .tox {
        grid-column: 1 / -1;
    }

    html #divWebTraffic > div > label[for$="radOtherKeyStats"] { margin-top: 6px; }

    html #divWebTraffic > div > .tox { width: 100% !important; }

    /* Validation messages sit under their box, and take no room until they are showing. */
    html #divWebTraffic > div > span { grid-column: 2; font-size: 12px; }

        html #divWebTraffic > div > span[style*="visibility:hidden"] { display: none; }

/* Every Media Title editor panel gets the same room inside. Still 962px wide overall; the
   few things that were wider than the space left (the full-width editors, the Sales Notes
   grid) are held to it. */
html .tab { padding: 14px 12px; width: 936px; }

    html .tab .tox.tox-tinymce { max-width: 100%; }

/* Contact Details, Rates, Production Information and Paid Options lay their fields out as
   a floated label, a floated box and a line break. Labels are centred on their box, rows
   are evenly spaced, and tick boxes sit level with their label. */
html :is(#divContactDetailsLeft, #divContactDetailsRight, #divRatesLeft, #divRatesRight,
         #divProductionLeft, #divProductionRight, #divPaidOptionsLeft, #divPaidOptionsRight) label {
    display: flex;
    align-items: center;
    min-height: 28px;
    margin: 8px 0 0 0;
    line-height: 1.3;
}

/* :not([class*="ig"]) leaves alone the boxes inside the grids' cell editors and the date
   boxes, which belong to the Infragistics controls. */
html :is(#divContactDetailsLeft, #divContactDetailsRight, #divRatesLeft, #divRatesRight,
         #divProductionLeft, #divProductionRight, #divPaidOptionsLeft, #divPaidOptionsRight)
     :is(input[type="text"], select):not([class*="ig"]) {
    margin-top: 8px;
}

html :is(#divContactDetailsLeft, #divContactDetailsRight, #divRatesRight,
         #divProductionLeft, #divProductionRight, #divPaidOptionsLeft, #divPaidOptionsRight)
     input[type="checkbox"] {
    margin: 15px 0 0 0;
}

/* Contact Details: space above "Data Contact Details", "Main Contact Details" and so on. */
html #divContactDetails strong {
    margin: 10px 0 0 0;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--wm-line-soft);
    font-size: 13px;
}

html #divContactDetails .noteText { margin-top: 6px; }

/* Rates. The big text boxes have their heading above them and use the column's full width;
   before, each heading was squeezed into a 105px strip beside a narrow editor. */
html #divRatesLeft { width: 463px; margin-right: 28px; } /* fixed, so full-width editors can't widen it */

html #divRatesRight { width: 440px; margin-right: 0; } /* 463 + 28 + 440 fits the 936px panel */

    html :is(#divRatesLeft, #divRatesRight)
         :is(label[id$="LabelSpecialRecruitmentAdPackages"], label[id$="LabelInternetOptions"],
             label[id$="LabelPremiumPositions"], label[id$="LabelRateChangeNotes"],
             label[id$="LabelAdvertisingOptions"], label[id$="LabelProductionAndArtwork"]) {
        float: none;
        display: block;
        width: auto;
        min-height: 0;
        margin: 18px 0 6px 0;
    }

    html #divRatesRight > div:first-child > label:first-child { margin-top: 0; }

    html :is(#divRatesLeft, #divRatesRight) .tox.tox-tinymce { width: 100% !important; }

    /* The floated wrappers round the Last Checked and Date Next Rate Change date boxes. */
    html #divRatesRight > div[style*="float"]:not(.noteText) {
        padding-top: 0 !important;
        margin-top: 5px;
    }

    html #divRatesRight div.noteText { padding: 14px 0 0 8px !important; }

/* Circulation & Readership: the Circulation/Certification and Group rows (Number, Body,
   Date From, Date To) fit their column, with Body taking whatever room the others leave. */
html :is(table[id$="TableCirculationCertification"], table[id$="TableGroupCirculationCertification"]) {
    width: 100%;
    border-spacing: 0;
}

    /* > tbody > tr > td: the date boxes are tables too, and their cells must be left alone. */
    html :is(table[id$="TableCirculationCertification"], table[id$="TableGroupCirculationCertification"]) > tbody > tr > td { padding: 0 6px 0 0; }

    html :is(table[id$="TableCirculationCertification"], table[id$="TableGroupCirculationCertification"]) > tbody > tr > td:first-child > input { width: 56px !important; }

    html :is(table[id$="TableCirculationCertification"], table[id$="TableGroupCirculationCertification"]) > tbody > tr > td:nth-child(2) { width: 100%; }

        html :is(table[id$="TableCirculationCertification"], table[id$="TableGroupCirculationCertification"]) > tbody > tr > td:nth-child(2) > input { width: 100% !important; }

    html :is(table[id$="TableCirculationCertification"], table[id$="TableGroupCirculationCertification"]) table.igdc_Windows7EditWithButtons { width: 106px !important; }

/* Production Information: the Page Dimensions table, styled like the grids. */
html table[id$="TablePageDimensions"] {
    margin-top: 14px;
    border-collapse: collapse;
    border: 1px solid var(--wm-line);
    background: #fff;
}

    html table[id$="TablePageDimensions"] th {
        padding: 8px 10px 7px 10px;
        background: var(--wm-surface-sunk);
        border-bottom: 1px solid var(--wm-line);
        color: var(--wm-ink-soft);
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: .05em;
        text-align: left;
        text-transform: uppercase;
    }

    html table[id$="TablePageDimensions"] td {
        padding: 4px 10px;
        border-top: 1px solid var(--wm-line-soft);
    }

    html #divProductionLeft table[id$="TablePageDimensions"] label {
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    html #divProductionLeft table[id$="TablePageDimensions"] input.dimension {
        float: none;
        width: 70px;
        margin: 0;
        padding-left: 7px;
    }

/* Paid Options: the "..." pick-a-file buttons beside the file name boxes. */
html #divPaidOptionsLeft input[type="button"] { margin: 8px 0 0 6px !important; }

/* Sales Notes: the contract dates along the top, lined up. */
html #divSalesNotes > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 12px 0 !important;
}

    html #divSalesNotes > div:first-child > div {
        float: none !important;
        margin: 0 !important;
    }

    html #divSalesNotes > div:first-child > div:nth-child(3) { margin-left: 22px !important; }

/* General Information tab (#divGeneral): room between the two columns and between fields,
   labels lined up, and the three status tick boxes grouped in a card. */

html #divGeneralLeft { width: 330px; margin-right: 40px; }

    html #divGeneralLeft > div,
    html #divGeneralLeft > div[id$="pnlCountry"] {
        margin: 0 0 18px 0 !important;
    }

    html #divGeneralLeft label[for$="txtUpdatedOn"],
    html #divGeneralLeft label[for$="ddlCountry"],
    html #divGeneralRight label[for$="JicRegPaperIDTextBox"] {
        display: inline-block;
        width: 130px;
    }

    html #divGeneralLeft label[for$="AlternativeTitleTextBox"] + br { display: none; }

    html #divGeneralLeft .noteText {
        display: block;
        margin: 2px 0 6px 0;
    }

    html #divGeneralLeft textarea[id$="AlternativeTitleTextBox"] {
        box-sizing: border-box;
        width: 100% !important;
    }

html #divGeneralRight > div[id$="pnlJicRegAlternativeMediaTitle"] { margin-bottom: 18px; }

    html #divGeneralRight > div[id$="pnlJicRegAlternativeMediaTitle"] > br { display: none; }

    /* Search Key Words: the heading, then the paste box and copy link beside it, then the grid. */
    html #divGeneralRight label[for$="wdgKeywords"] {
        float: none !important;
        display: inline-block;
        margin: 0 10px 8px 0;
    }

        html #divGeneralRight label[for$="wdgKeywords"] + div {
            float: none !important;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            margin: 0 0 8px 0 !important;
            font-size: 12px !important;
        }

        html #divGeneralRight label[for$="wdgKeywords"] ~ br { display: none; }

    html #PasteKeywordsTarget {
        display: inline-block;
        min-width: 170px;
        padding: 4px 8px !important;
        background: #fff;
        border: 1px dashed #b9c7d8 !important;
        border-radius: var(--wm-radius);
        color: var(--wm-ink-soft);
    }

        html #PasteKeywordsTarget:focus {
            outline: none;
            border-style: solid !important;
            border-color: var(--wm-primary) !important;
            color: var(--wm-ink);
        }

    /* New Year, Overview, Post to Web Site. */
    html #divGeneralRight > div:last-child {
        display: grid;
        grid-template-columns: 150px auto;
        justify-content: start;
        align-items: center;
        gap: 10px 12px;
        box-sizing: border-box;
        width: 521px; /* the same as the Search Key Words grid above */
        margin: 22px 0 0 0 !important;
        padding: 12px 16px;
        border: 1px solid var(--wm-line);
        border-radius: var(--wm-radius);
        background: var(--wm-surface-sunk);
    }

        html #divGeneralRight > div:last-child > br { display: none; }

        html #divGeneralRight > div:last-child > label {
            float: none !important;
            width: auto !important;
            margin: 0;
        }

        html #divGeneralRight > div:last-child > input { margin: 0; }

/* Other Key Services on the Media Title editor (scripts/KeyServicesList.js). The text box
   behind the list stays on the page, hidden, because it is what gets saved. */
html textarea.keyServicesSource { display: none; }

html .keyServicesEditor { width: 450px; margin: 4px 0 6px 0; }

    html .keyServicesEditor .wmHelp {
        margin: 0 0 6px 0;
        color: var(--wm-ink-soft);
    }

    html .keyServicesEditor ul.keyServicesItems {
        margin: 0 0 8px 0;
        padding: 0;
        list-style: none;
        border: 1px solid var(--wm-line);
        border-radius: var(--wm-radius);
    }

        html .keyServicesEditor ul.keyServicesItems li {
            display: flex;
            gap: 8px;
            align-items: center;
            padding: 5px 8px;
            border-bottom: 1px solid var(--wm-line-soft);
        }

            html .keyServicesEditor ul.keyServicesItems li:last-child { border-bottom: none; }

        html .keyServicesEditor .keyServiceName { flex: 1; }

        html .keyServicesEditor .keyServiceActions {
            display: flex;
            gap: 6px;
            align-items: center;
            white-space: nowrap;
        }

            html .keyServicesEditor .keyServiceActions button {
                padding: 2px 8px;
                font-size: 11.5px;
                font-weight: 500;
            }

        html .keyServicesEditor li.keyServicePromote { background: #eef6ee; }

        html .keyServicesEditor .keyServicePending {
            font-style: italic;
            color: var(--wm-success);
            white-space: normal;
        }

        html .keyServicesEditor li.keyServicesEmpty {
            color: var(--wm-ink-soft);
            font-style: italic;
        }

    html .keyServicesEditor .keyServicesNote {
        margin: 0 0 8px 0;
        color: var(--wm-success);
    }

    html .keyServicesEditor .keyServicesAdd {
        display: flex;
        gap: 8px;
        align-items: center;
    }

        html .keyServicesEditor .keyServicesAdd input[type="text"] { flex: 1; }

/* Maintenance > Product and Services (controls/ProductAndServicesEdit.ascx). */
html .wmProductsEdit { max-width: 720px; }

    html .wmProductsEdit .wmHelp {
        margin: 0 0 14px 0;
        color: var(--wm-ink-soft);
    }

    html .wmProductsEdit table.wmGrid { width: 100%; margin-bottom: 14px; }

    html .wmProductsEdit td.wmActions {
        width: 1%;
        white-space: nowrap;
        text-align: right;
    }

    html .wmProductsEdit .wmAddRow {
        display: flex;
        gap: 8px;
        align-items: center;
    }

        html .wmProductsEdit .wmAddRow label { margin: 0; font-weight: 600; }

    /* The delete confirmation: a warning box with the count, then the buttons. */
    html .wmProductsEdit .wmConfirm { margin-bottom: 14px; }

        html .wmProductsEdit .wmConfirm p + p { margin-top: 10px; }

html input[type="submit"].btnDanger {
    color: #fff;
    background: var(--wm-danger);
    border-color: var(--wm-danger);
}

    html input[type="submit"].btnDanger:hover {
        background: #a93226;
        border-color: #a93226;
        color: #fff;
    }

/* Shown above the login box when a Media Login account is used at the CMS. */
html .wmLoginNotice {
    max-width: 440px;
    margin: 40px auto -20px auto;
}
