﻿html {
    height: 100%;
}

body {
    background-color: #FFFFFF;
    height: 100%;
}

.secondary-header {
    background-color: #282828;
    border-top: 3px solid #ff7800;
    height: 38px;
}

.secondary-header ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.bannerwrapper {
    height: 98px;
}

.banner img {
    float: left;
    margin-right: 40px;
}

.menu {
    float: right;
    margin-top: 31px;
    margin-bottom: 31px;
}

.menu li {
    display: inline-block;
    padding-right: 48px;
}

.menu li a {
    color: #282828;
    font-family: "Barlow Condensed";
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0px;
    font-style: normal;
    text-transform: uppercase;
}

.menu li a:hover {
    color: #ff7800;
}

#content, .content {
    padding-top: 60px;
    padding-bottom: 60px;
    height: auto !important;
    min-height: 100%;
    min-height: -moz-calc(100% - 500px);
    min-height: -webkit-calc(100% - 500px);
    min-height: calc(100% - 500px);
    /* padding-top: 500px; */
    overflow-x: hidden;
}

.col1 {
    width: 340px;
    float: left;
}

.col2 {
    width: 340px;
    float: right;
}

.helpline {
    background-color: #f9f9fb;
    padding: 20px;
    margin-top: 60px;
}

footer {
    padding: 20px 30px;
    background-color: #282828;
    color: rgba(255, 255, 255, 0.6);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

.row {
    margin: 0px;
}

.errormsg {
    padding: 10px;
    background-color: Red;
    width: 80%;
    margin: 20px auto;
    text-align: center;
    color: White;
    font-size: 1.2em;
    font-weight: bold;
}

.confirmationmsg {
    padding: 10px;
    background-color: #ff7800;
    width: 80%;
    margin: 20px auto;
    text-align: center;
    color: White;
    font-size: 1.2em;
    font-weight: bold;
}

div.warningmsg {
    padding: 10px;
    background-color: #ff7800;
    width: 80%;
    margin: 20px auto;
    text-align: center;
    color: White;
    font-size: 1.2em;
    font-weight: bold;
}

ul#tasklist li {
    float: left;
    display: inline;
    position: relative;
    display: block;
    margin: 0;
    text-transform: uppercase;
    font-size: 13px;
    padding: 0 6px 0 32px;
    background-color: #ff7800;
    color: White;
}

ul#tasklist li.tl-complete {
    background-color: #282828;
}

ul#tasklist li a {
    color: White;
}

ul#tasklist li:before {
    position: absolute;
    display: inline-block;
    border-top: 22px solid transparent;
    border-left: 22px solid #eee;
    border-bottom: 22px solid transparent;
    border-left-color: #ff7800;
    right: -22px;
    top: 0px;
    content: '';
    z-index: 2;
}

ul#tasklist li.tl-complete:before {
    border-left-color: #282828;
}

ul#tasklist li:after {
    position: absolute;
    display: inline-block;
    border-top: 26px solid transparent;
    border-left: 26px solid #eee;
    border-bottom: 26px solid transparent;
    border-left-color: white;
    right: -26px;
    top: -4px;
    content: '';
    z-index: 1;
}

ul#tasklist li:last-child:before, ul#tasklist li:last-child:after {
    display: none;
}

ul#tasklist li:first-child {
    padding: 0 6px;
}

label.error {
    display: block;
    color: red;
    font-style: italic;
    font-weight: normal;
    font-size: 0.8em;
}

input.error {
    border: 1px dotted red;
}

input.inputtiny {
    width: 40px;
}

input.inputsmall {
    width: 100px;
}

input.inputmedium {
    width: 200px;
}

/* line 183, ../sass/main.scss */
input.inputlarge {
    width: 300px;
}

.ui-widget-overlay {
    z-index: 1000;
}

.ui-dialog {
    z-index: 1001;
}

.buttonbar {
    margin: 20px;
    text-align: center;
}

.primarybutton {
    padding: 5px 40px;
    color: Black;
}

.paymentoption {
    display: none;
    margin: 20px;
}

.page-title-bar {
    background: #282828;
    height: 280px;
    display: flex;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
}

.page-title-bar > h1 {
    color: #FFFFFF;
    font-family: "Barlow Condensed";
    font-size: 54px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0px;
    margin: 0 auto;
    text-transform: uppercase;
}

.form-group label {
    color: #212934;
    font-family: "Barlow Condensed";
    font-size: 18px;
    font-weight: 600;
    line-height: 1.36;
    letter-spacing: 0px;
    font-style: normal;
}

#navbarMainMenu {
    float: right;
}

.navbar-brand {
    float: left;
}

.navbar-nav {
    margin-top: 15px;
}

.navbar-toggler {
    margin-top: 15px;
    float: right;
}

.navbar-light .navbar-nav .nav-link {
    color: #282828;
    font-family: "Barlow Condensed";
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0px;
    font-style: normal;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #ff7800;
}

#top-nav {
    margin-top: 0 !important;
}

.navbar-light #top-nav .nav-link {
    color: #FFFFFF;
}

.navbar-light #top-nav .nav-link:hover {
    color: #ff7800;
}

th {
    background: #ff7800;
    color: #FFFFFF;
    padding: 5px;
    text-align: left;
}

tr:nth-child(even) {
    background: #DDDDDD;
}

.secondary-header .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

@media (max-width: 1026px) {
    .page-title-bar {
        height: auto;
        min-height: calc(240px - 10px);
    }

    #navbarMainMenu {
        float: right;
        width: 100%;
    }

    .nav-item {
        text-align: center;
    }

    ul#tasklist li {
        width: calc(100% - 22px);
    }

    ul#tasklist li:first-child {
        padding: 0 6px 0 32px;
    }

    table.responsivetable, table.responsivetable thead, table.responsivetable tbody, table.responsivetable th, table.responsivetable td, table.responsivetable tr {
        display: block;
        border: none;
    }

    table.responsivetable thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.responsivetable tr {
        margin-bottom: 10px;
    }

    table.responsivetable tr:last-child td {
        padding-bottom: 6px;
    }

    table.responsivetable td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #C40000;
        position: relative;
        padding-left: 70px;
        text-transform: none;
        padding-bottom: 6px;
        padding-top: 6px;
    }

    table.responsivetable td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        left: 6px;
        width: 60px;
        padding-right: 10px;
        white-space: nowrap;
    }

    table#horsesearchresults td:nth-of-type(1):before {
        content: "Name";
    }

    table#horsesearchresults td:nth-of-type(2):before {
        content: "DOB";
    }

    table#horsesearchresults td:nth-of-type(3):before {
        content: "Sire";
    }

    table#horsesearchresults td:nth-of-type(4):before {
        content: "Dam";
    }

    table#horsesearchresults td:nth-of-type(5):before {
        content: "Brand";
    }

    table#suppliers.responsivetable td {
        padding-left: 110px;
    }

    table#suppliers td:nth-of-type(1):before {
        content: "Supplier Name";
    }

    table#suppliers td:nth-of-type(2):before {
        content: "Contact";
    }

    tables#uppliers td:nth-of-type(3):before {
        content: "Share";
    }

    table#suppliers td:nth-of-type(4):before {
        content: "GST";
    }

    table#suppliers td:nth-of-type(5):before {
        content: "Proceeds To";
    }

    table#details.responsivetable td {
        padding-left: 110px;
    }

    table#saleentryhorses td:nth-of-type(1):before {
        content: "Name";
    }

    table#saleentryhorses td:nth-of-type(2):before {
        content: "Colour";
    }

    table#saleentryhorses td:nth-of-type(3):before {
        content: "Sex";
    }

    table#saleentryhorses td:nth-of-type(4):before {
        content: "DOB";
    }

    table#saleentryhorses td:nth-of-type(5):before {
        content: "Sire";
    }

    table#saleentryhorses td:nth-of-type(6):before {
        content: "Dam";
    }

    table#saleentryhorses td:nth-of-type(7):before {
        content: "Share";
    }

    table#saleentryhorses td:nth-of-type(8):before {
        content: "Action";
    }
}

ul {
    list-style: none;
}

.navbar-nav > li > a {
    color: #FFF;
}

.h2, h2 {
    font-size: 28px !important;
}

.navbar-nav > li > a:focus, .navbar-nav > li > a:hover {
    background-color: transparent;
    /* color: #006060; */
    text-decoration: none;
    border-bottom: 2px solid;
    margin-bottom: -2px;
    padding-bottom: 6px;
}

#content {
    min-height: 100%;
    min-height: -moz-calc(100% - 484px);
    min-height: -webkit-calc(100% - 484px);
    min-height: calc(100% - 484px);
    height: auto !important;
}

/* Header */

#header .a.top-banner {
    right: 25px;
    top: 35px;
}

.header_quick_links .label {
    margin-right: 0;
}

main {
    display: block;
}

label {
    /*display:block;*/
    font-weight: normal;
}

fieldset.form {
    margin-bottom: 5px;
    border: 0px;
}

label {
    float: left;
    margin-right: 10px;
}

.form label {
    float: left;
    vertical-align: top;
    width: 225px;
}

label.error {
    float: none;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    color: red;
}

label {
    float: left;
}

input, select, textarea {
    display: block;
    vertical-align: top;
    margin-bottom: 5px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 6px;
    border: 2px solid #bdc3c7;
    padding: 1px 0px;
}

.form input[type=file] {
    border: none;
}

input[type=checkbox], input[type=radio] {
    display: inline-block;
}

input[type=checkbox] + label, input[type=radio] + label {
    float: none;
    width: auto;
    margin: 0 0 5px -15px;
}

#bidprice-format, #edit-submit {
    display: inline-block;
    margin-right: 5px;
}

nav.mainmenu, main {
    max-width: 1200px;
    margin: 0 auto;
}

nav.mainmenu a {
    display: inline-block;
    margin-right: 1em;
}

.mobilenav {
    display: none;
}

.mobileMenuButton {
    text-align: center;
    display: none;
}

#btnMobileMenu {
    padding: 9px 10px;
    background-color: #333;
    background-image: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    border-radius: 4px;
}

#btnMobileMenu:hover {
    cursor: pointer;
}

.icon-bar {
    background-color: #FFF;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}

.icon-bar + .icon-bar {
    margin-top: 4px;
}

.login {
    float: right;
}

.login span {
    text-transform: uppercase;
}

.errormsg, .warningmsg {
    border-style: solid;
    border-width: 2px;
    font-weight: bold;
    padding: 10px;
    margin: 0 auto;
    text-align: center;
}

.errormsg {
    color: red;
    border-color: red;
}

.warningmsg {
    color: orangered;
    border-color: orangered;
}

.mediathumb {
    height: 100px;
    margin: 10px;
}

.mediapreview {
    margin: 0;
}

/* Home Page */

.sectionContainer {
    text-align: center;
    background-color: #0065AD;
    border-radius: 5px;
    padding: 25px 10px;
}

.sectionContainer h2 {
    color: #FFF;
    text-align: left;
    text-transform: uppercase;
}

section.sectionContainer section {
    height: 280px;
    width: 220px;
    text-align: left;
    display: inline-block;
    vertical-align: top;
    margin: 0 5px;
    border-radius: 5px;
    background-color: #FFF;
    position: relative;
}

section.sectionContainer section div.section-image {
    display: block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 7px;
    overflow: hidden;
}

section.sectionContainer section div.section-text {
    color: #0065AD;
    text-transform: uppercase;
    border-bottom: 1px solid #0065AD;
    font-size: 15px;
    padding: 10px;
    line-height: 1em;
    text-align: center;
}

section.sectionContainer section div.section-link {
    /* position: absolute;
    bottom: 25px;*/
    display: block;
    padding: 0 10px;
    text-align: center;
}

section.sectionContainer section div.section-link a {
    display: block;
    height: auto;
    margin: 15px auto;
    padding: 10px;
    width: 140px;
}

section.sectionContainer section div.section-link p {
    margin: 15px auto;
    padding: 10px;
}

section.timer {
    background-color: #FFF;
    padding: 10px;
}

.clock-div {
    display: inline-block;
    vertical-align: middle;
    width: 650px;
}

.sale-banner h1 {
    color: #ff7800;
    text-align: center;
    margin: 0 0 0.6em 0;
    text-transform: capitalize;
}

.sale-banner h2 {
    /* text-transform: capitalize; */
}

div#closingSoon {
    display: none;
    font-size: 60px;
    font-weight: 300;
    line-height: 80px;
    color: #D32123;
    padding: 10px 15px 0 15px;
    text-align: center;
}

.auction-date {
    display: inline-block;
    margin-left: 35px;
    vertical-align: middle;
    width: 260px;
}

.auction-date h2 {
    color: #ff7800;
    text-align: right;
}

.auction-date h2 {
    color: #ff7800;
    line-height: 1.4em;
    margin: 0 0 0.3em 0;
    text-align: left;
    text-transform: none;
}

.action {
    margin: 10px 0 0 25px;
    text-align: left;
    display: inline-block;
    vertical-align: top;
}

table#horsedetails-main #hd-comments {
    width: 100%;
}

div.apg_row {
    margin-bottom: 5px;
}

div.apg_row div.first {
    display: inline-block;
    vertical-align: top;
    width: 225px;
}

div.apg_row div.second {
    display: inline-block;
    vertical-align: top;
}

div.small_row {
    margin-bottom: 5px;
}

div.small_row div.first {
    display: inline-block;
    margin-right: 5px;
    text-align: right;
    vertical-align: middle;
    width: 90px;
}

div.small_row div.second {
    display: inline-block;
    vertical-align: middle;
}

.lotdetail, .lotaudio {
    background: #FFF;
    display: inline-block;
    padding: 10px;
    vertical-align: middle;
    width: 50%;
}

.lotmedia, .lotVideo {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    padding-left: 10px;
    width: 50%;
    text-align: center;
}

.lotVideo {
    max-height: 185px;
}

.bx-wrapper img, .bx-wrapper video {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

p.opening {
    color: #0e539e;
    font-style: italic;
}

#footer .powered {
    display: none;
}

/* Bidding page */
div.section {
    margin: 0 0 2em 0;
}

main.middle-content {
    margin: 25px auto 0;
    text-align: left;
    max-width: 1200px;
    zoom: 1;
    background-color: #FFF;
}

main.middle-content .full #main {
    margin: 0;
    overflow: auto;
    padding: 0.8em 25px 0.8em 25px;
}

a.mini img {
    margin-top: -4px;
    padding-right: 0;
}

.lotreports {
    display: block;
    margin-bottom: 25px;
    width: 100%;
}

.lotdescription {
    display: inline-block;
    vertical-align: top;
    width: 720px;
}

.lotlocation, .vendor-contact {
    display: inline-block;
    margin-left: 40px;
    vertical-align: top;
    width: 360px;
}

section.bidding-header {
    display: block;
    background: #FFF;
    text-align: center;
    width: 95%;
    border: 1px solid #FFF;
    margin: 0 auto 25px;
    padding: 5px 25px;
}

section.bidding-header div {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.3em;
}

section.bidding-header-mobile {
    display: none;
}

section.bidding h2 {
    font-weight: bold;
}

.col-bidding-header-1 {
    float: left;
}

.col-bidding-header-2 {
    color: #333;
    text-align: center;
    font-size: 210%;
    font-weight: bold;
}

.col-bidding-header-3 {
    float: right;
}

.statusline {
    background-color: #ff7800;
    position: relative;
    overflow: hidden;
    padding: 5px;
}

.statusline h3 {
    font-size: 12px;
    font-weight: normal;
    margin: 0;
    color: #FFFFFF;
    text-transform: uppercase;
}

.biddingwidget {
    margin: 0 0 0.8em 0;
}

.highbidder {
    background-color: orange;
    font-size: 10px;
    font-weight: bold;
    margin: 5px;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 5px;
    display: inline-block;
}

.outbid {
    background-color: #FF0000;
    font-size: 10px;
    font-weight: bold;
    margin: 5px;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 5px;
    display: inline-block;
}

.currentbid, .bidsplaced, .auctionends {
    display: inline-block;
    margin-right: 10px;
    font-size: 17px;
}

.currentbid {
    color: #FFFFFF;
    margin-right: 10px;
    font-weight: bold;
}

.currentbid div {
    background-color: #FFFFFF;
    color: #c00;
    padding: 5px;
}

.bidsplaced {
    background-color: #ff7800;
    padding: 0 6px;
    border-left: 1px solid #ff7800;
    border-right: 1px solid #ff7800;
}

.bidsplaced div, .auctionends div {
    padding: 5px;
}

#bidsplaced, #auctionends {
    color: #FFFFFF;
}

.month {
    font-size: 15px;
    text-transform: uppercase;
}

#bidstatusline span {
    background-color: #CC0000;
    font-size: 10px;
    font-weight: bold;
    margin: 5px;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 5px;
    display: inline-block;
}

#bidstatusline span.reserve {
    background-color: #61813e;
    color: #FFFFFF;
    margin: 5px;
    padding: 5px;
    text-transform: uppercase;
    padding: 5px;
    display: inline-block;
}

#bidstatusline span.noreserve {
    background-color: #006400;
    color: #FFFFFF;
    margin: 5px;
    padding: 5px;
    text-transform: uppercase;
    padding: 5px;
    display: inline-block;
}

p.widthdrawn {
    color: #F00;
    font-weight: bold;
}

div.particulars, div.breeding {
    display: block;
    margin: 0 0 0.8em 0;
    vertical-align: top;
    width: 100%;
}

div.particulars table, div.breeding table {
    width: 100%;
}

.particulars th, .breeding th {
    width: 175px;
}

.particulars td p {
    margin: 0;
}

td#location {
    text-transform: uppercase;
}

div#audio div.contact {
  margin: 1.8em 0;
}

div#audio audio {
    display: inline-block;
    vertical-align: middle;
}

div#audio img {
    display: block;
    vertical-align: middle;
    width: 100px;
}

div#vendorLocation {
    margin-bottom: 10px;
}

.biddingGrey {
    background-color: #E8E8E8;
    display: flex;
    padding: 10px;
}

.biddingWhite {
    background-color: #FFF;
    display: flex;
    padding: 10px;
}

section.enquiries {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 340px);
}

section.lotlocation {
    display: inline-block;
    margin-left: 40px;
    vertical-align: top;
    width: 300px;
}

/* Index page */
table.viewsale, table.confirmhorse, table.saleentry {
    margin-bottom: 20px;
    width: 100%;
}

table.incompletesaleentries {
    width: 920px;
    margin: 0 auto;
    margin-bottom: 20px;
}

table.viewsale th:nth-child(1) {
    width: 40px;
}

table.viewsale th:nth-child(2) {
    width: 50px;
}

table.viewsale th:nth-child(3) {
    width: 60px;
}

table.viewsale th:nth-child(4) {
    width: 40px;
}

table.viewsale th:nth-child(5) {
    width: 130px;
}

table.viewsale th:nth-child(6) {
    width: 130px;
}

table.viewsale th:nth-child(7) {
    width: 130px;
}

table.viewsale th:nth-child(8) {
    width: 130px;
}

table.viewsale th:nth-child(9) {
    width: 150px;
}

table.viewsale td, table.confirmhorse td, table.incompletesaleentries td, table.saleentry td {
    vertical-align: top !important;
    padding: 15px 2px !important;
}

div.widthdrawn {
    color: #D32123;
    font-weight: bold;
}

td.widthdrawn a {
    color: #D32123;
    font-weight: bold;
}

tfoot th {
    padding: 4px 20px 4px 4px !important;
}

/* Footer */
#footer div.bloodstock {
    text-align: center;
}

#footer div.bloodstock img {
    margin: 0 10px;
    width: 180px;
    vertical-align: middle;
}

#footer div.ing_dig_logo {
    padding: 0 10px;
}

#broodmaredetails-foaldetails input[type=radio] {
    display: inline-block;
}

#broodmaredetails-foaldetails input[type=radio] + label {
    margin-left: 0;
    width: auto;
    margin-right: 15px;
}

#broodmaredetailsform input {
    display: inline-block
}

.ui-dialog {
    background: white;
}

/* paymentpage */

section.paymentpage .cataloguing {
    color: #0067ab;
    font-style: italic;
    margin-top: 0.6em;
    text-align: center;
}

div.cat-cataloguepreview {
    border: 1px solid #0067ab;
    display: inline-block;
    margin-bottom: 25px;
    vertical-align: top;
    width: 49%
}

div.cat-cataloguepreview:nth-child(odd) {
    margin-left: 1%;
}

div.cat-cataloguepreview h2 {
    background-color: #0067ab;
    color: #FFF;
    padding: 5px;
}

div.cat-cataloguepreview div {
    margin-bottom: 5px;
    padding: 5px;
}

div.cat-cataloguepreview div.cat-horsename name {
    display: block;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.as-agent {
    margin-left: 225px;
}

.paymentpage table {
    float: none;
    margin: 0 0 0.8em 0;
}

/* Terms & Conditions */

section#terms {
    padding: 5px;
    max-height: 200px;
    overflow-y: scroll;
}

section#terms ol {
    counter-reset: item;
    padding: 0;
}

section#terms li {
    display: block;
    margin-bottom: 2px;
}

section#terms ol.menu li:before {
    content: counters(item, ".") " ";
    counter-increment: item;
}

section#terms ol.submenu {
    list-style-type: lower-alpha;
    padding-left: 20px;
}

section#terms ol.submenu li {
    display: list-item;
}

section#terms ol.submenu li:before {
    content: none;
}

section#terms ol.submenu ol {
    list-style-type: lower-roman;
}

section#terms ol.nomenu {
    list-style-type: none;
}

section#terms ol.nomenu li:before {
    content: none;
}

/* Bidding Approval */

section#biddingapprovalpage input[type="checkbox"] + label, input[type="radio"] + label {
    margin: 0;
}

iframe#saleconditions {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow-y: scroll;
}

.dlgbuyercoding-disclosures {
    display: none;
}

@media (min-width: 1400px) {
    .col-xxl-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .offset-xxl-1 {
        margin-left: 8.333333%;
    }
}

@media only screen and (min-width: 1026px) {
    #header, #content, #footer {
        margin: 0 auto;
        text-align: left;
        /*width: 990px;*/
        zoom: 1;
        background-color: #FFF;
    }
}

@media only screen and (max-width: 1026px) {
    body {
        background: #FFF;
    }

    #content {
        min-height: 100%;
        min-height: -moz-calc(100% - 175px);
        min-height: -webkit-calc(100% - 175px);
        min-height: calc(100% - 175px);
    }

    .social-wrapper {
        min-height: 41px;
    }

    .navbar-nav > li {
        float: left;
    }

    .nav {
        padding: 0;
        width: 100%;
    }

    .sectionContainer {
        padding: 25px 5px;
    }

    .sale-banner {
        display: block;
        margin: 0 0 25px;
        width: 100%;
    }

    .clock-div {
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    .auction-date {
        display: block;
        margin: 10px auto 0;
        width: 100%;
    }

    .auction-date h2 {
        text-align: center;
    }

    .auction-date br {
        display: none;
    }

    section.sectionContainer section {
        margin-bottom: 25px;
    }

    textarea {
        width: 95%;
    }

    div#bottom_banner {
        display: none;
    }

    #footer div.bloodstock {
        display: none;
    }

    #footer .logo {
        display: none;
    }

    #footer .powered {
        display: block;
    }

    #footer .ing_dig_logo p {
        color: #0067ab;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
        text-align: center;
    }

    #footer .ing_dig_logo p:nth-child(2) {
        display: none;
    }

    table.responsivetable, table.responsivetable thead, table.responsivetable tbody, table.responsivetable th, table.responsivetable td, table.responsivetable tr {
        display: block;
        border: none;
    }

    table.responsivetable thead tr, table.responsivetable tfoot tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table.responsivetable tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    table.responsivetable tr:last-child td {
        padding-bottom: 6px;
    }

    table.responsivetable td {
        /* Behave  like a "row" */
        background-color: #FFF;
        border: none;
        border-bottom: 1px solid #dbdad8;
        position: relative;
        padding-left: 70px;
        text-transform: none;
        padding-bottom: 6px;
        padding-top: 6px;
    }

    table#logintable.responsivetable td {
        padding-left: 80px;
    }

    table#logintable.responsivetable td input[type='text'], table#logintable.responsivetable td input[type='password'] {
        max-width: 200px;
    }

    table.responsivetable td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        left: 6px;
        width: 60px;
        padding-right: 10px;
        white-space: nowrap;
    }

    table#logintable tr:nth-of-type(1) {
        display: none;
    }

    table.viewsale td:nth-of-type(3), table.viewsale td:nth-of-type(4), table.viewsale td:nth-of-type(10), table.viewsale td:nth-of-type(11) {
        display: none;
    }

    table#logintable td:nth-of-type(1):before {
        content: "Bidder Id";
    }

    table#logintable td:nth-of-type(2):before {
        content: "Password";
    }

    table.viewsale.responsivetable td {
        padding-left: 115px !important;
    }

    table.viewsale td:nth-of-type(1):before {
        content: "Lot";
    }

    table.viewsale td:nth-of-type(2):before {
        content: "Category";
    }

    table.viewsale td:nth-of-type(3):before {
        content: "Colour";
    }

    table.viewsale td:nth-of-type(4):before {
        content: "Media";
    }

    table.viewsale td:nth-of-type(5):before {
        content: "Sex";
    }

    table.viewsale td:nth-of-type(6):before {
        content: "Name";
    }

    table.viewsale td:nth-of-type(7):before {
        content: "Sire";
    }

    table.viewsale td:nth-of-type(8):before {
        content: "Dam";
    }

    table.viewsale td:nth-of-type(9):before {
        content: "On Account Of";
    }

    table.viewsale td:nth-of-type(10):before {
        content: "State";
    }

    table.viewsale td:nth-of-type(11):before {
        content: "In Foal To";
    }

    table.viewsale td:nth-of-type(12):before {
        content: "Bid";
    }

    table.viewsale td:nth-of-type(13):before {
        content: "Time Left";
    }

    table.viewsale td#viesaleLast div {
        width: 160px;
    }

    table.viewsale tr:nth-child(even) {
        background: #FFF;
    }

    table.confirmhorse.responsivetable td {
        padding-left: 85px !important;
    }

    table.confirmhorse td:nth-of-type(1):before {
        content: "Name";
    }

    table.confirmhorse td:nth-of-type(2):before {
        content: "DOB";
    }

    table.confirmhorse td:nth-of-type(3):before {
        content: "Sire";
    }

    table.confirmhorse td:nth-of-type(4):before {
        content: "Dam";
    }

    table.confirmhorse td:nth-of-type(5):before {
        content: "Microchip";
    }

    table.saleentry td:nth-of-type(1):before {
        content: "Name";
    }

    table.saleentry td:nth-of-type(2):before {
        content: "Colour";
    }

    table.saleentry td:nth-of-type(3):before {
        content: "Sex";
    }

    table.saleentry td:nth-of-type(4):before {
        content: "DOB";
    }

    table.saleentry td:nth-of-type(5):before {
        content: "Sire";
    }

    table.saleentry td:nth-of-type(6):before {
        content: "Dam";
    }

    table.saleentry td:nth-of-type(7):before {
        content: "Supplier";
    }

    table.saleentry td:nth-of-type(8):before {
        content: "Sesson";
    }

    table.saleentry td:nth-of-type(9):before {
        content: "Action";
    }

    table.responsivetable.saleentry td {
        padding-left: 85px !important;
    }

    .as-agent {
        margin-left: 0;
    }

    /* Conditions page */
    section.conditionspage iframe {
        display: block;
        margin: 0 auto;
        width: 95%;
    }

    section.conditionspage label {
        margin-left: 0;
    }

    /* Review page */

    div.cat-cataloguepreview {
        display: block;
        width: auto;
    }

    div.cat-cataloguepreview:nth-child(2n+1) {
        margin-left: 0;
    }

    div.cat-cataloguepreview h2 {
        margin: 0;
    }

    /* Bidding Page */

    section.bidding-header-mobile {
        display: block;
        background: #FFF;
        text-align: center;
        width: 95%;
        margin: 0 auto 25px;
        padding: 5px;
        overflow: hidden;
    }

    section.bidding-header-mobile div {
        display: inline-block;
        line-height: 1.3em;
        text-align: center;
    }

    section.bidding-header {
        display: none;
    }

    .col-xs-1, .col-xs-3 {
        width: 35px;
    }

    .col-xs-2 {
        width: 100%;
    }

    main#middle-content {
        width: auto;
    }

    .lotreports {
        float: none;
        width: auto;
    }

    .lotreports a {
        display: block;
    }

    .biddingGrey, .biddingWhite {
        display: block
    }

    .lotdetail, .lotaudio {
        margin: 0;
    }

    .lotdescription, .lotdetail, .lotmedia {
        display: block;
        float: none;
        width: auto;
    }

    .lotmedia {
        float: none;
        margin-top: 10px;
        text-align: center;
    }

    .lotaudio, .lotVideo {
        display: block;
        width: 100%;
    }

    .mediapreview {
        width: 95%;
    }

    .lotlocation {
        margin: 0 auto;
        text-align: left;
    }

    ul#tasklist li {
        width: auto;
        text-align: left;
    }

    section.enquiries {
        display: block;
        margin-bottom: 10px;
        width: auto;
    }

    section.lotlocation {
        display: block;
        margin: 0;
        width: auto;
    }

    /* Registration Form*/
    #registrationpage .form label {
        display: block;
        float: none;
        width: auto;
    }

    #registrationpage .form input[type='text'] {
        width: 100%;
    }

    #registrationpage #previous label {
        display: inline-block;
    }

    iframe {
        width: 250px;
    }
}