﻿body 
{
    font-family:Verdana,Arial;
    color:#333;
    font-size:13px;
    background: #D2D2D1 url('../img/background.body.jpg') repeat-y top center;
}
h1
{
    font-size:1.5em;
}
h2
{
    font-size:1.2em;
    margin-bottom:0.5em;
}
h3
{
    font-size:1.1em;
    margin:5px 0 3px 0;
}
h4
{
    font-size:12px;
}
p
{
    margin-bottom:1em;
}
button
{
       cursor:pointer;
}
#container
{
    width:1000px;
    margin:0 auto;
    overflow:auto;
    background-color:#fff;
}
#banner
{
    margin:20px 0;
}
#container h1 
{
    font-size: 20px;
    color: #005D9B;
    border-bottom: 1px solid #B2D1E6;
    margin: 10px 0 10px 0;
    padding-bottom: 10px;
    font-weight: normal;
    font-family: "Trebuchet MS", Arial, sans-serif;
}
#content
{
    width:980px;
    margin:0 auto;
    margin-bottom:100px;
    overflow:hidden;
}
#col1
{
    float:left;
    width:690px;
}
#col2
{
    float:right;
    width:260px;
}
#menu
{
    height: 28px;
    border-bottom: 1px dotted #B2D1E6;
    background: url(../img/background.navigation.jpg) top repeat-x;
    position: relative;
    z-index: 10;
}
#nav li
{
    position: relative;
    display: inline;
    float: left;
    height: 29px;
    z-index: 1000;
}
#nav li a
{
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    height: 24px;
    line-height: 24px;
    color: white;
    text-align: center;
    text-decoration: none;
    margin-bottom: 4px;
    border-bottom: 4px solid white;
}
#nav a:hover
{
    border-bottom: 4px solid #0067ab;
    background: #DFECF4;
    color:#0067ab;
}
#wink_player
{
    float:left;
    width:512px;
    margin-bottom:10px;
    overflow:hidden;
    position:relative;
}
#wink
{
    font-size:0px; 
    line-height:0px;  
    border:solid #000000 1px; 
    float:left;
    
}
#currentlot
{
    float:left;
    margin-left:20px;
    width:150px;
}
#mobile-currentlot {
  display: none;
}
#lot-number
{
    font-size:20px;
    margin-bottom:6px;
}
#lot-description
{
    font-size:1em;
    margin-bottom:6px;
}
#lot-name
{
    font-size:0.8em;
    margin-bottom:6px;
}
#lot-sire
{
    font-size:0.8em;
    margin-bottom:6px;
}
#lot-dam
{
    font-size:0.8em;
    margin-bottom:6px;
}
#lot-dob
{
    font-size:0.8em;
    margin-bottom:6px;
}
#lot-vendor
{
    font-size:0.8em;
    margin-bottom:6px;
}
#pedigreelink
{
    font-size:0.8em;
} 
#bid-currentbid
{
    font-size:20px;
    margin-bottom:4px;
}
#bid-currentincrement
{
    font-size:20px;
    margin-bottom:10px;
}
#bid-askingprice
{
    font-size:20px;
    margin-bottom:10px;
}
#button-bid
{
   height:40px;
   width:260px;
   cursor:pointer;
   color:Red;
   font-weight:bold;
   font-size:16px;
}
#form-bidamount
{
    margin-top:10px;
}
#msg-fromsalering
{
    width:642px;
    border:solid 2px red;
    padding:5px;
    margin-top:10px;
    min-height:1em;
}
#msg-lastlot
{
    width:642px;
    border:solid 2px #696969;
    padding:5px;
    margin-top:10px;
    min-height:1em;
}
#msg-chathistory
{
    width:250px;
    height:12em;
    border:solid 1px blue;
    overflow:auto;
    padding:2px;
    font-size:12px;
    margin-bottom:6px;
}
#chattext
{
    padding:2px;
    width:250px;
    border:solid 1px blue;
    margin-bottom:6px;
}
#msg-refreshtime
{
    font-size:0.75em;
    color:#aaaaaa;
}
#msg-trace
{
    font-size:0.75em;
    color:#aaaaaa;
}
#stats
{
    margin:10px 0 10px 0;
}
#stats th
{
    font-size:12px;
    color:#aa3300;
    font-weight:normal;
}
#stats th, #stats td
{
    padding:2px 4px;
}
.msgred
{
    color:Red;
}
.msggreen
{
    color:Green;
}
.chat-notice
{
    color:blue;
    margin-bottom:4px;
}
.chat-salering
{
    color:Maroon;
    margin-bottom:4px;
}
.chat-you
{
    color:Teal;
    margin-bottom:4px;
}

/* Forms */

input#userid
{
	width: 100px;
}
input#password
{
	width: 100px;
}
input#password2
{
	width: 100px;
}

/* Log in form */

legend
{
    font-size:1.2em;
    color:#0168AC;
    font-weight:bold;
}
#loginpage
{
    width:680px;
    overflow:auto;
    margin:0 auto;
    padding:20px 0 0 0;
    font-size:0.8em;
}
#registrationform
{
    text-align:center;
    float:left;
	margin: 0 auto;
	padding: 10px;
	width:300px;
	font-size:10pt;
	border:solid 1px #7BB0D4;
	min-height:220px !important;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    border-radius: 10px; 
}
#registrationform form input,textarea
{
	margin:5px 0 0;
}
#registrationform form label
{ 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 100px; 
	margin: 5px 5px 0 0;
	text-align: right; 
}
#registrationform form fieldset
{
	padding: 10px;        /* padding in fieldset support spotty in IE */
	margin: 0;
}
#loginform
{
    text-align:center;
    float:right;
	margin: 0 auto;
	padding: 10px;
	width:300px;
	font-size:10pt;
	border:solid 1px #7BB0D4;
	min-height:220px !important;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    border-radius: 10px; 
}
#loginform form input,textarea
{
	margin:5px 0 0;
}
#loginform form label
{ 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 100px; 
	margin: 5px 5px 0 0;
	text-align: right; 
}
#loginform form fieldset
{
	padding: 10px;        /* padding in fieldset support spotty in IE */
	margin: 0;
}

 /* Registration Form */
 
#registrationpage
{
    width:680px;
    margin:0 auto;
	border:none;
}
#registrationpage table
{
	border:none;
}

#registrationpage td
{
    padding:4px 0;
	font-size:10pt;
	border:none;
}


 /* Registration Form */
 
#biddingapprovalpage
{
    padding:0;
    font-size:0.8em;
}
#approvaldetails
{    
    float:left;
	margin: 0 auto;
	padding: 10px;
	width:410px;
	font-size:10pt;
}
#referencedetails
{
    float:right;
	margin: 0 auto;
	padding: 10px;
	width:410px;
	font-size:10pt;
}
#biddingapprovalpage form input,textarea
{
	margin:5px 0 0;
}
#biddingapprovalpage form label
{ 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 200px; 
	margin: 5px 5px 0 0;
	white-space: nowrap;
}
#biddingapprovalpage form fieldset
{
	padding: 10px;        /* padding in fieldset support spotty in IE */
	margin: 0;
}

/* Forgotten Password Form */

#forgottenpasswordpage
{
    width:680px;
    overflow:auto;
    margin:0 auto;
    padding:40px 0 100px 0;
    font-size:0.8em;
}
#forgottenpasswordform
{
	margin: 0 auto;
	padding: 10px;
	width:500px;
	font-size:10pt;
	border:solid 1px #7BB0D4;
	min-height:220px !important;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    border-radius: 10px; 
}
#forgottenpasswordform form input,textarea,select
{
	margin:5px 0 0;
}
#forgottenpasswordform form label
{ 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 100px; 
	margin: 5px 5px 0 0;
	text-align: right; 
}
#forgottenpasswordform form fieldset
{
	padding: 10px;        /* padding in fieldset support spotty in IE */
	margin: 0;
}
#forgottenpasswordform p
{
	text-align:left;
}
.required
{
    font-weight:bolder;
}
.required:after
{
    content:"*";
    color:Red;
}
table, th, td
{
    border:solid 1px #E6E6E6;
    text-align:left;
    vertical-align:top;
    font-size:0.9em;
}
th
{
    font-weight:bold;
}
#frmbuyercoding td
{
    border:none;
    padding:5px;
}
#dlgbuyercoding-comment
{
    width:550px;
    height:60px;
}
#commsstatus
{
    float:right;
    width:259px;
    margin:10px 0 0 0;
    padding:6px;
    font-size:12px;
}
#msg-commsstatus
{
    float:right;
    padding-left:10px;
}
#commslight div
{
    border:solid 1px #ffffff;
    width:15px;
    height:15px;
    float:left;
    filter:alpha(opacity=30);
    opacity:0.3;
}
#commslight1{background-color:#63be7b;}
#commslight2{background-color:#8fca7d;}
#commslight3{background-color:#bcd780;}
#commslight4{background-color:#e8e482;}
#commslight5{background-color:#ffd981;}
#commslight6{background-color:#fcb47a;}
#commslight7{background-color:#fa8f73;}
#commslight8{background-color:#f8696b;}

table.sales
{
	font: 13px verdana !important;
	border-color: #E6E6E6;
	border-style: solid;
	vertical-align: top;
	text-align: left;
	word-wrap: break-word;
	border-collapse: collapse;
	border-spacing: 0pt;
	border-width: 0pt 0pt 1px 1px;
}
table.sales thead
{
	display: table-header-group;
	vertical-align: middle;
	border-color: inherit;
}
table.sales th
{
	border-width: 1px 1px 0pt 0pt;
	margin: 0pt;
	padding: 4px;
	color: #999999;
}
table.sales td
{
	border-width: 1px 1px 0pt 0pt;
	margin: 0pt;
	padding: 4px;
	border-color: #E6E6E6;
	border-style: solid;
	vertical-align: top;
	text-align: left;
	word-wrap: break-word;
}
	
.no-close .ui-dialog-titlebar-close {
  display: none;
}

.bidderapproval th, .bidderapproval td {
    border:0;
    padding:10px;
}

.warningmsg {
  color: #DD0000;
}

#registrationpage form label {
  display: block;
  margin: 5px 5px 0 0;
  text-align: left;
}

#registrationpage form input[type=text], #registrationpage form input[type=email], #registrationpage form select {
  margin: 5px 0 0;
  padding: 5px 0;
  width: 100%;
}

#registrationpage form select{
}

@media only screen and (max-width: 1024px) {
  #container {
    max-width: 100%;
  }

  #content {
    max-width: calc(100% - 20px);
    padding: 10px;
  }
}

@media only screen and (max-width: 768px) {
  #col1 {
    display: block;
    float: none;
    margin: 10px;
    width: calc(100% - 20px);
  }

  #col2 {
    display: block;
    float: none;
    margin: 10px;
    width: calc(100% - 20px);
  }

  /* Bidding Approval Page */
  #approvaldetails {
    display: inline-block;
    float: none;
    padding: 0;
    vertical-align: top;
    width: 50%;
  }

  #referencedetails {
    display: inline-block;
    float: none;
    padding: 0;
    vertical-align: top;
    width: 50%;
  }

  #lot-name, #lot-sire, #lot-dam, #lot-dob, #lot-vendor, #pedigreelink {
    font-size: 1em;
  }

  #chattext, #msg-chathistory {
    width: 100%;
  }

  table, th, td {
    font-size: 1em;
  }
}

@media only screen and (max-width: 768px) and (max-height: 576px) {
  /* Login page */
  #loginpage {
    max-width: 100%;
    text-align: center;
  }

  /* Registration Page */
  #registrationpage {
    width: 100%;
  }

  #registrationform, #loginform {
    float: none;
    margin: 10px;
  }

  #registrationpage label {
    display: block;
    width: 100%;
  }

  #registrationpage input[type=text], #registrationpage input[type=email] {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }

  /* Forgot Password page*/
  #forgottenpasswordpage {
    max-width: 100%;
  }

  /* Bidding Approval Page */
  #approvaldetails {
    display: block;
    margin: 10px 0;
    width: 100%;
  }

  #biddingapprovalpage form label {
    display: block;
    float: none;
    width: auto;
  }

  #biddingapprovalpage form input[type=text], #biddingapprovalpage form textarea, #biddingapprovalpage form select {
    display: block;
    margin-bottom: 10px;
    padding: 5px;
    width: 100%;
  }

  #referencedetails {
    display: block;
    margin: 10px 0;
    width: 100%;
  }

  /* Options Page */
  #optionspage form label {
    display: block;
    width: auto;
  }

  #optionspage form input[type=password] {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }

  /* Bidding Page */
  #wink_player {
    float: none;
    width: 100%;
    display: none;
  }

  #wink_player iframe {
    width: 100% !important;
  }

  #currentlot {
    margin: 0;
    width: 100%;
   }

  #msg-fromsalering {
    width: calc(100% - 14px);
  }

  #msg-lastlot {
    width: calc(100% - 14px);
  }

  #video-text {
    display: none;
  }

  /*#currentlot, #video-text {
    display: none;
  }*/

  #mobile-currentlot {
    display: none;
    /*display: block;
    margin: 0;
    width: 100%;*/
  }
}

@media only screen and (max-width: 576px) {
  /* Responsive Tables */
  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;
    position: relative;
    text-transform: none;
    padding-bottom: 6px;
    padding-left: 85px;
    width: calc(100% - 85px) !important;
    }

  table.responsivetable td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 4px;
    left: 6px;
    width: 80px;
    padding-right: 10px;
    white-space: nowrap;
  }

  table.responsivetable.sales td:nth-of-type(1):before {
    content: "Sale";
  }

  table.responsivetable.sales td:nth-of-type(2):before {
    content: "Venue";
  }

  table.responsivetable.sales td:nth-of-type(3):before {
    content: "Date";
  }

  table.responsivetable.sales td:nth-of-type(4):before {
    content: "Bidding limit";
  }

  table.responsivetable.sales td:nth-of-type(5):before {
    content: "Bid Live";
  }

  /* Login page */
  #loginpage {
    max-width: 100%;
  }

  #registrationform, #loginform {
    float: none;
    margin: 10px;
  }

  #registrationform form label {
    float: none;
    text-align: left;
    width: 100%;
  }

    #registrationform form input, textarea {
      display: block;
      float: none;
      margin-bottom: 10px;
      width: 100%;
    }

    #loginform form label {
      float: none;
      text-align: left;
      width: 100%;
    }

    #loginform form input[type=text], #loginform form input[type=password], textarea {
      display: block;
      float: none;
      margin-bottom: 10px;
      width: 100%;
    }

    /* Forgot Password page*/
    #forgottenpasswordpage {
      max-width: 100%;
    }

  #forgottenpasswordform {
    max-width: 80%;
  }

  /* Registration Page */
  #registrationpage {
    max-width: 100%;
  }

  #registrationpage label {
    display: block;
    width: 100%;
  }

    #registrationpage input[type=text], #registrationpage input[type=email] {
      display: block;
      margin-bottom: 10px;
      width: 100%;
    }

  /* Bidding Approval Page */
  #approvaldetails {
    display: block;
    margin: 10px 0;
    width: 100%;
  }

  #biddingapprovalpage form label {
    display: block;
    float: none;
    width: auto;
  }

  #biddingapprovalpage form input[type=text], textarea, select {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }

  #referencedetails {
    display: block;
    margin: 10px 0;
    width: 100%;
  }

  /* Options Page */
  #optionspage form label {
    display: block;
    width: auto;
  }

  #optionspage form input[type=password] {
    display: block;
    margin-bottom: 10px;
    width: 100%;
  }

  /* Bidding Page */
  #wink_player {
    float: none;
    width: 100%;
    display: none;
  }

  #wink_player iframe {
    width: 100% !important;
  }

  #video-text {
    display: none;
  }

  /*#currentlot, #video-text {
    display: none;
  }*/

  #mobile-currentlot {
    display: none;
    /*display: block;
    margin: 0;
    width: 100%;*/
  }

  #msg-fromsalering {
    width: calc(100% - 14px);
  }

  #msg-lastlot {
    width: calc(100% - 14px);
  }

  #commsstatus {
    float: none;
    margin-bottom: 20px;
    width: 100%;
  }

  #chattext, #msg-chathistory {
    width: 100%;
  }
}