/*
  style.css contains a reset, font normalization and some base styles.

  credit is left where credit is due.
  additionally, much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/*
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
  font-family: Arial, Helvetica, Sans-Serif;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display:block;
}

nav ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }
/* END RESET CSS */

/* fonts.css from the YUI Library: developer.yahoo.com/yui/
   Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages

  There are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/
body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */

select, input, textarea, button { font:99% sans-serif; }

/* normalize monospace sizing
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/*
 * minimal base styles
 */

body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #444;
  /* set your base font here, to apply evenly
  /* font-family: Georgia, serif;  */
}

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */
h1,h2,h3,h4,h5,h6 { font-weight: bold; }

/* always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }

ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align: top; }

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre {
  padding: 15px;

  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }

/* webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red;
 -webkit-box-shadow: 0px 0px 5px red;
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink. */
::-moz-selection{ background: #FF9933; color:#fff; text-shadow: none; }
::selection { background:#FF9933; color:#fff; text-shadow: none; }

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }

/* make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/*
 * Non-semantic helper classes
 */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders
   www.webaim.org/techniques/css/invisiblecontent/
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
.visuallyhidden { position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX << j.mp/phayesclearfix */
.clearfix:after  { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }

 /* Primary Styles
    Author:
 */

/*
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }

  a, a:visited { color: #444 !important; text-decoration: underline; }

  a:after { content: " (" attr(href) ")"; }

  abbr:after { content: " (" attr(title) ")"; }

  .ir a:after { content: ""; }  /* Don't show links for images */

  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }

  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */

  tr, img { page-break-inside: avoid; }

  @page { margin: 0.5cm; }

  p, h2, h3 { orphans: 3; widows: 3; }

  h2, h3{ page-break-after: avoid; }
}

/*
 * Media queries for responsive design
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {

  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
     j.mp/textsizeadjust
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/* Standard Shop Forms CSS */

.shop-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2em;
}

.shop-table th {
  border: 0;
  padding: 0.6em 0.6em 0.6em 0.6em;
  margin: 0;
  color: white;
  background: #444444;
  text-align: left;
}

.shop-table td {
  border: 0;
  border-bottom: 1px #cccccc solid;
  padding: 0.6em 0.6em 0.6em 0.6em;
  margin: 0;
  color: black;
  vertical-align: top;
}

.shop-table .numeric {
  text-align:right;
}

.shop-table tr.footer {
  background: #cccccc;
}

.shop-table td p {
  margin: 0;
  padding: 0;
}

/* Form Errors */

#form_errors {
  border: 1px solid red;
  background: #FFEEEE;
  margin-bottom: 2em;
  padding: 1em;
}

#form_errors h2 {
  margin-top: 0.1em;
  color: red;
}

/* Form Field Errors */

.fieldWithErrors {
  display: inline;
}

.fieldWithErrors {
  border-left: 2px solid red;
  background: #FFEEEE;
}

/* Authentication -- Choose Account Form */

.shop-account-choices li {
  list-style-type: none;
}

/* Flashes */

.flash_error {
  border: 1px solid red;
  background: #FFEEEE;
  margin-bottom: 2em;
  padding: 1em;
}

.flash_notice {
  border: 1px solid green;
  background: #EEFFEE;
  margin-bottom: 2em;
  padding: 1em;
}

html {
    background-color: #909090;
}

body {
    min-height: 100%;
}

.nopad {
    padding: 0px;
    margin: 0px;
}

div#search {
    text-align: left;
    font-size: 15px;
    background-color: #FF9933;
    min-height: 25px;
    margin: 0px;
    padding: 0px;
    padding-top: 3px;
    padding-right: 5px;
    padding-left: 3px;
}

div#login_menu {
    text-align: right;
    font-size: 11px;
    min-height: 20px;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    padding-top: 3px;
    padding-right: 5px;
}

div#flash {
    height: 150px;
    max-height: 150px;
    overflow: hidden;
}

/* austroads style.css */
#content_div p {
    margin: 0px;
    padding: 5px;
}
.gt { border-top: 1px solid #999; }
.gr { border-right: 1px solid #999; }
.gb { border-bottom: 1px solid #999; }
.gl { border-left: 1px solid #999; }

.g {
 border-top: 1px solid #999;
 border-right: 1px solid #999;
 border-bottom: 1px solid #999;
 border-left: 1px solid #999;
}

td#content {
    background-color: #fff;
    height: 100%;
}

div#content_div {
    padding: 10px;
}

div#content_div h1, div#content_div h2 {
    font-size: 18px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

td#leftmenu ul.left_cart {
  padding-top: 25px;
  border-top-color: #EEE;
  border-top-style: solid;
  border-top-width: 1px; 
}

td#leftmenu li.left_cart {
  padding-top: 5px;
  text-align: center;
  font-size: .85em;
  border-top-color: #EEE;
  border-top-style: solid;
  border-top-width: 1px;
}

td#leftmenu ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

td#leftmenu ul li, td#leftmenu ul li ul li {
    margin: 0px;
    padding: 0px;
    height: 30px;
    text-align: auto;
    vertical-align: middle;
    width: 163px;
    background-color: #E7E7E7;
    border-bottom-color: #CDCDCD;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-collapse: separate;
    border-left-color: black;
    border-right-color: black;
    border-top-color: #CDCDCD;
    border-top-style: solid;
    border-top-width: 1px;
}

td#leftmenu ul li a, td#leftmenu ul li ul li a {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    line-height: normal;
    text-align: auto;
    vertical-align: middle;
    text-decoration: none;
    color: #000;
    padding-top: 8px;
    padding-bottom: 7px;
    padding-left: 6px;
    display: block;
    height: 30px;

}

td#leftmenu ul li:hover {
  background-color: #FF9933;
}

p.itemdesc {
    padding: 5px;
    padding-left: 10px;
}

table.login-details th {
padding: 0px 10px 5px 0px;
}

table.collection th {
padding-bottom: 10px
}

table.new-login-form {
  margin: 15px 0;
}

table.new-login-form td {
  padding: 3px;
}

table.new-login-form th {
  width: 200px;
  text-align: right;
  vertical-align: middle;
}

table#maintable {
    margin-left: auto;
    margin-right: auto;
}


ul#nav li {
	position: relative;
	}

li ul#collections {
	position: absolute;
	left: 162px; /* Set 1px less than menu width */
	top: 0;
	display: none;
        border: 1px solid #CDCDCD;
}

div.warning {
  color: #900000;
  padding: 10px 10px 10px 52px !important;
  margin-bottom: 1em;
  background: url(/images/messagebox_warning.png) #FFFF66;
  background-repeat: no-repeat;
  background-position: 10px 10px;
  min-height:32px;
  border: none;
  border-top: 2px solid #FFCC33;
  border-bottom: 2px solid #FFCC33;
  padding: 6px;
  margin-bottom: 1em;
}

div.warning h2 {
  color: darkred !important;
  margin-top: 0 !important;
}

/* Fix IE. Hide from IE Mac \*/
* html ul#nav li { float: left; height: 1%; }
* html ul#nav li a { height: 1%; }
/* End */

li:hover ul#collections, li.over ul#collections { display: block; } /* The magic */

/* Protofade */
#slider-container { width:734px; margin:0 auto 30px auto;border: }
#protofade { position:relative; margin:0; padding:0px; width:734px; height:180px; overflow:hidden; }
#slider-container { border: 1px solid #CCCCCC; }
#protofade li { position:absolute; top:0; left:0; margin:0; padding:0; background:none;}
/* End Protofade */

/* Tabrow */
/* Tabrow */
		.tabrow {
		    text-align: left;
		    list-style: none;
		    margin: 10px 0 20px;
		    padding: 0;
		    padding-left: 20px;
		    line-height: 24px;
		    height: 26px;
		    overflow: hidden;
		    font-size: 12px;
		    font-family: verdana;
		    position: relative;
		}
		.tabrow li {
		    border: 1px solid #AAA;
		    background: #D1D1D1;
		    background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
		    background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
		    background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
		    background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
		    background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
		    display: inline-block;
		    position: relative;
		    z-index: 0;
		    border-top-left-radius: 6px;
		    border-top-right-radius: 6px;
		    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
		    text-shadow: 0 1px #FFF;
		    margin: 0 -5px;
		    padding: 0 20px;
		}
		.tabrow a {
			  color: #555;
			  text-decoration: none;
		}
		.tabrow li.selected {
		    background: #FFF;
		    color: #333;
		    z-index: 2;
		    border-bottom-color: #FFF;
		}
		.tabrow:before {
		    position: absolute;
		    content: " ";
		    width: 100%;
		    bottom: 0;
		    left: 0;
		    border-bottom: 1px solid #AAA;
		    z-index: 1;
		}
		.tabrow li:before,
		.tabrow li:after {
		    border: 1px solid #AAA;
		    position: absolute;
		    bottom: -1px;
		    width: 5px;
		    height: 5px;
		    content: " ";
		}
		.tabrow li:before {
		    left: -6px;
		    border-bottom-right-radius: 6px;
		    border-width: 0 1px 1px 0;
		    box-shadow: 2px 2px 0 #D1D1D1;
		}
		.tabrow li:after {
		    right: -6px;
		    border-bottom-left-radius: 6px;
		    border-width: 0 0 1px 1px;
		    box-shadow: -2px 2px 0 #D1D1D1;
		}
		.tabrow li.selected:before {
		    box-shadow: 2px 2px 0 #FFF;
		}
		.tabrow li.selected:after {
		    box-shadow: -2px 2px 0 #FFF;
		}
/* End Tabrow */

/* Make sure flyout menu doesn't go behind tabs */
#collections {
  z-index: 100;
}

.form-table th {
  text-align: right;
  vertical-align: middle;
}

.form-table td {
  padding: 2px;
  padding-left: 5px;
}
