@font-face {
  font-family: "Gill Sans Regular";
  src: url("_lib/_fonts/GillSans.eot"); /* EOT file for IE */ 
}
@font-face {
  font-family: "Gill Sans Regular";
  src: url("_lib/_fonts/gillsans.ttf");/* TTF file for CSS3 browsers */  
}

body,td,th {
	font-family: "Gill Sans Regular", Arial, Helvetica, sans-serif;
	color: #82827e;
	font-size:11px;
	margin: 0;
	padding: 0;
}
input {
	font-family: "Gill Sans Regular", Arial, Helvetica, sans-serif;
	color: #82827e;
	font-size:11px;
	letter-spacing:0.05em;
}
input[type="submit" i]{
	width: 296px;
	font-family: "Gill Sans Regular", Arial, Helvetica, sans-serif;
	margin: 0px 0px 0px 0px!important;
	width:300px!important;
	padding: 6px 0px 3px 0px;
	color: #fff;
	background-color: #a39a06!important;
	font-size:11px;
	letter-spacing:0.25em;
	text-transform: uppercase;
}


/* The container */
.containercheck {
    display: block;
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
	margin-top: 12px;
    cursor: pointer;
    font-size: 11px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.containercheck input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 12px;
    width: 12px;
    background-color: #fff;
}

/* On mouse-over, add a grey background color */
.containercheck:hover input ~ .checkmark {
    background-color: #a39a06;
}

/* When the checkbox is checked, add a blue background */
.containercheck input:checked ~ .checkmark {
    background-color: #a39a06;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.containercheck input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.containercheck .checkmark:after {
    left: 3px;
    top: 1px;
    width: 3px;
    height: 6px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}









a {
	color: #82827e;
	text-decoration:none;

}
a:hover {
	color: #82827e;
	text-decoration:underline;
}



/*body {
	background-color: #373635;
}
div#container {
width:916px; height:570px; overflow:hidden;

position:absolute;
left: 50%;
top: 50%;
margin-top: -285px; 
margin-left: -458px; 
}*/




	* {
		margin:0;
		padding:0;
		}

	html, body {
		height:100%;
		}

	body {
		background-color: #373635;
		text-align:center; /* horizontal centering for IE Win quirks */
		}

	#distance { 
		width:1px;
		height:50%;
		margin-bottom:-255px; /* half of container's height */
		float:left;
		}

	#container {
		margin:0 auto;
		position:relative; /* puts container in front of distance */
		text-align:left;
		width:916px; height:570px;
		clear:left;
		}

img#toplogo {
width:300px; height:30px; display:block; padding-bottom:6px; float:left;
}
div.hrSep {
width:916px; height:1px; background-color:#63605d; overflow:hidden; margin:8px 0px 8px 0px; padding:0px;
}
div.hrSepTwo {
width:916px; height:1px; background-color:#63605d; overflow:hidden; margin:0px 0px 0px 0px; padding:0px;
}
div.hrSepThree {
width:900px; height:1px; background-color:#63605d; overflow:hidden; margin:0px 0px 0px 0px; padding:0px;
}
div.hr3 {
width:600px; height:1px; background-color:#63605d; overflow:hidden; margin:8px 0px 8px 0px; padding:0px; text-align: center;
}

div#CustomerName {
	float:right; text-transform:uppercase; letter-spacing:0.1em;
}




div#topMenu {
	width:916px;
}



div#topMenu a {
	float:left; display:block; width:298px; border:1px solid #63605d; color:#82827e; text-decoration:none; padding:5px 0px 5px 0px; text-transform:uppercase; text-align:center; letter-spacing:0.1em; margin-right:8px; font-size:11px;
}
div#topMenu a.removeSpaceRight {
margin-right:0px;
}
div#topMenu a:hover {
	border:1px solid #63605d; color:#c8c8c2;
}
div#topMenu a.active {
	border:1px solid #63605d; color:#c8c8c2;
}




div#mainContent {
	height:418px; width:916px; overflow:hidden;
}
h1 {
	font-weight:normal; font-size:11px; padding:12px 0px 16px 0px; margin:0px 0px 0px 0px; letter-spacing:0.1em; text-transform:uppercase;
}
h2 {
	font-weight:normal; font-size:11px; padding:0px 0px 0px 0px; margin:0px 0px 0px 0px; letter-spacing:0.1em;
}
p {
	padding:0px 0px 14px 0px; margin:0px 0px 0px 0px; letter-spacing:0.05em;
}
div.textFieldThreehundred {
width:298px; height:22px; border:1px solid #63605d; margin:2px 0px 8px 0px;
}
div.textFieldThreehundred input {
border:0px none; margin:3px 0px 0px 3px; width:290px; background-color:#373635;
}

div.textFieldFifty {
width:48px; height:22px; border:1px solid #63605d; margin:2px 0px 8px 0px;
}
div.textFieldFifty input {
border:0px none; margin:3px 0px 0px 3px; width:40px; background-color:#373635;
}

div.textFieldOnehundredFortySix {
width:144px; height:22px; border:1px solid #63605d; margin:2px 0px 8px 0px;
}
div.textFieldOnehundredFortySix input {
border:0px none; margin:3px 0px 0px 3px; width:136px; background-color:#373635;
}

div.textFieldOnehundredEightyFour {
width:182px; height:22px; border:1px solid #63605d; margin:2px 0px 8px 0px;
}
div.textFieldOnehundredEightyFour input {
border:0px none; margin:3px 0px 0px 3px; width:174px; background-color:#373635;
}
div.textFieldThreehundred_empty {
width:301px; height:22px; margin:2px 0px 8px 0px; padding-top: 14px;
}


div.bookImage {
width:300px; margin-right:8px; margin-top:12px; float:left;
}
div.bookImage img {
margin-bottom:12px;
}
div.mobileBookTitle{
display:none;
}
div.mobileQuantity{
display:none;
}
div.bookQuantityAndTitle {
width:294px; margin-top:13px; float:left;
}
div.bookInfoContainer {
width:290px; margin-top:12px; float:left;
}
div.bookInfoContainer div.leftC {
float:left; padding-right:30px; line-height:16px; letter-spacing:0.05em;
}
div.bookInfoContainer div.rightC {
float:left; padding-right:30px; line-height:16px; letter-spacing:0.05em;
}

#TableOrderSum1 {
width:454px; 
float:left;  
margin-top:12px; 
height:270px; 
}

#TableOrderSum2 {
width:454px; 
margin-right:8px; 
float:left; 
height:270px;
}

.OrderButtonsText {
width:608px; margin-right:8px; float:left; letter-spacing:0.05em; padding-top:6px;
}

table.orderSummary {
width:454px;
}
table.orderSummary th, table.orderSummary td {
letter-spacing:0.05em;
}
table.orderSummary th {
font-weight:normal; padding-bottom:12px;
}
table.orderSummary td {
padding-bottom:2px;
}
.cTc {
	text-align:center;
}
.cTr {
	text-align:right;
}
table.orderSummary td div.hrSep {
width:454px; height:1px; background-color:#63605d; overflow:hidden; margin:8px 0px 8px 0px; padding:0px;
}


table.orderSummaryCustomer {
}
table.orderSummaryCustomer td {
letter-spacing:0.05em; padding-bottom:2px;
}
table.orderSummaryCustomer td.colOne {
width:156px;
}
.extraUnder {
color:#c8c8c2; text-decoration:underline;
}

/* cleearfix after */

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

.clearfix {display: inline-block;}  /* for IE/Mac */

.divRegTable{
	display: table;
	width: 100%;
}
.divRegTableRow {
	display: table-row;
}
.divRegTableHeading {
	display: table-header-group;
}
.divRegTableCell, .divTableHead {
	display: table-cell;
	padding-right: 8px; 
	padding-top: 1px;
/*	float:left;*/
}
.divRegTableCell2{
	display: table-cell;
/*	padding-right: 8px; 
	padding-top: 2px;*/
	width:50%;
/*	float:left;*/
}
.divRegTableCell2a{
	display: table-cell;
	padding-right: 8px; 
/*	padding-top: 2px;*/
	width:50%;
/*	float:left;*/
}
.divRegTableHeading {
	display: table-header-group;
	font-weight: bold;
}
.divRegTableFoot {
	display: table-footer-group;
	font-weight: bold;
}
.divRegTableBody {
	display: table-row-group;
}



.divTable{
	display: table;
	width: 257px;
}
.divTableRow {
	display: table-row;
}
.divTableHeading {
	display: table-header-group;
}
.divTableCell, .divTableHead {
	display: table-cell;
	padding-right: 8px; 
	padding-top: 0px;
	letter-spacing:0.1em;
/*	float:left;*/
}

.divTableHeading {
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}
/* scrollstuff */
#bookScroll {
/* Typical fixed height and fixed width example */
width: 916px;
height: 365px;
overflow: auto;
/* IE overflow fix, position must be relative or absolute*/
margin-top:0px;
margin-bottom:8px;
}

#centeredcontent {
	width: 427px;
	height: 250px;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -213px; 
	/* Half the width of the DIV tag which is 50 pixels */
	margin-top: -125px; 
	/* Half the height of the DIV tag which is also 50 pixels */
}

function submitenter(myfield,e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;

if (keycode == 13)
   {
   myfield.form.submit();
   return false;
   }
else
   return true;
}

/*max-device-width--*/
@media only screen and (max-width: 900px) {
	html, body {
  overflow-x:hidden ;
   overflow-y: scroll !important;

} 
	
	#container {
		margin:0 auto;
		position:relative; /* puts container in front of distance */
		text-align:left;
		width:300px; height:100%;
		clear:left;
		}
    div#topMenu {
        width:100%;
    }
	div#topMenu a {
	float:left; display:block; width:298px; border:1px solid #63605d; color:#82827e; text-decoration:none; padding:5px 0px 5px 0px; text-transform:uppercase; text-align:center; letter-spacing:0.1em; margin-right:8px; font-size:11px; margin-top:2px; margin-bottom:2px;
}
	div#mainContent {
	height:100%; width:300px; 
	overflow:visible; 
	padding-top:10px;
}
	div.hrSep {
	/*width:300px; height:1px; background-color:#63605d; overflow:hidden; margin:8px 0px 8px 0px; padding:0px;*/
	display:none;
	}
	div.hrSepTwo {
	width:300px; height:1px; background-color:#63605d; overflow:hidden; margin:0px 0px 0px 0px; padding:0px;
	}
	div.hrSepThree {
	width:295px; height:1px; background-color:#63605d; overflow:hidden; margin:0px 0px 0px 0px; padding:0px;
	}

div#CustomerName {
	padding-bottom:8px;
}

.divRegTableCell, .divTableHead {
	width:100%;
	display: table-cell;

	padding-top: 0px;
	float:left;
	}

.divTableCell, .divTableHead {
	width:100%;
	display: table-cell;
	padding-right: 0px;

	padding-top: 0px;
	float:left;
	}
div.textFieldThreehundred_empty {
width: 100%;
	height:4px;
	margin:0px;
	padding:0px;
}	
div#loggis {
	margin-top: -10px;

	}

	#distance { 
		width:1px;
		height:20px;
		margin-bottom:0px; /* half of container's height */
		float:left;
		}
		
/* scrollstuff */
#bookScroll {
/* Typical fixed height and fixed width example */
width: 300px;
height: 100%;
overflow: visible;
/* IE overflow fix, position must be relative or absolute*/
margin-top:0px;
margin-bottom:8px;
}

#TableOrderSum1 {
width:296px; 
float:left;  
margin-top:12px; 
height:200px; 
}

#TableOrderSum2 {
style="width:296px; 
margin-right:0px; 
float:left; 
height:230px;"
}

.OrderButtonsText {
width:300px; margin-right:0px; float:left; letter-spacing:0.05em; padding-top:2px;padding-bottom:2px;
}

table.orderSummary {
width:300px;
}

div.bookImage {
width:100%; margin-top:12px; float:left;
}
div.bookImage img {
margin-bottom:12px;
}
div.mobileBookTitle{
display:block; letter-spacing:0.1em; padding-top:8px;
}
.tubby{
display:none;
}
div.mobileQuantity{
display:block; letter-spacing:0.1em; padding-top:8px;
}

div.bookInfoContainer {
width:100%; margin-top:12px; float:left; padding-bottom:8px;
}
div.bookInfoContainer div.leftC {
line-height:16px; letter-spacing:0.05em;
}
div.bookInfoContainer div.rightC {
line-height:16px; letter-spacing:0.05em;
}	
	
}

