/* Essentials */
*{margin:0;padding:0}
body{font:14px Arial,Helvetica,sans-serif}
html,body{height:100%}
p{margin:10px 0 10px 0}
h4{font-weight:normal}
a{outline:none;cursor:pointer}
a:active{outline:none}
a span{display:none}
img{border:0}
table{width:100%;border-collapse:collapse}

/* Main containers */
#header,#main,#footer{width:100%;clear:both;position:relative}
#top_content,#wrapper,#bottom_content{width:930px;margin:0 auto}

/* Header */
#header,#top_content,#top_tile{height:197px}
#top_tile{width:100%;background-position:0 146px;background-repeat:repeat-x}
#header{background-position:top center;background-repeat:no-repeat;border-bottom-width:3px;border-bottom-style:solid}
#top_content{position:relative}

#cart_button,#cart_summary,#cart_wrap{height:42px;float:left;background-color:#FFF}
#cart_bar{width:247px;font-size:13px;position:absolute;right:20px;top:0;z-index:100;background-color:#FFF}
#cart_bar a{text-decoration:none}
#cart_button{width:58px;margin:0 10px}
#cart_button.active{background-position:0 42px}
#cart_bar,#cart_wrap,#cart_summary{-moz-border-radius:0 0 10px 10px;-webkit-border-bottom-left-radius:10px;-webkit-border-bottom-right-radius:10px}
#cart_summary{width:167px;height:100%;margin-left:2px;padding-top:3px;height:39px}
.cart_cell{height:18px;line-height:18px;float:left;width:72px;white-space:nowrap}

#cart_wrap,#cart_details{clear:both;z-index:10;background-color:#FFF;width:247px}
#cart_details{display:none}
#cart_details p{padding:0 10px}

#header_search_form{position:absolute;bottom:70px;right:20px;z-index:10}
#header_search_form *{float:left}
#header_search{height:20px;line-height:20px;font-size:16px}

#top_menu_wrap{height:30px;position:absolute;bottom:0;left:0;width:100%}
#top_menu{margin:auto}

/* Middle */
#content,#sidebar{float:right}

#main{margin-top:20px;margin-bottom:20px}
#wrapper{width:890px;overflow:auto}
#content{width:700px;margin-left:10px;overflow:hidden;min-height:1px}
#widecontent{width:890px;overflow:hidden}
#sidebar{width:180px}
#ajax_bar{display:none;text-align:center;padding:5px;height:20px;line-height:20px;font-weight:bold;margin-bottom:10px}

#sidebar .clickmenu{margin-bottom:10px}
#sidebar .clickmenu,.sidebar_heading{margin-left:10px}

#sidebar #login_form{margin-left:10px}
#sidebar #login_form form{margin-bottom:10px}
#sidebar #login_form input{margin-bottom:10px}

#login_password{display:none}

/* Footer */
#footer_spacer{height:30px}
#footer,#bottom_content,#bottom_tile{height:30px}
#footer{background-position:top center;background-repeat:no-repeat;z-index:100}
#bottom_tile{position:fixed;bottom:0;width:100%;background-repeat:repeat-x;background-position:bottom left}

#footer_menu{float:right;margin-right:10px}

/* Form table */
.formtable{width:100%;margin-bottom:10px;clear:both}
.formtable td{padding:3px 0 3px 0}
.formtable tr td:first-child{text-align:right;white-space:nowrap;padding-right:5px;font-size:12px;font-weight:bold;width:15%}
.formtable .text1{font-size:12px;font-weight:bold;}
.formtable .text2{font-size:12px;}

/* Generated Stuff */
.generated_button{height:26px;display:block}
.generated_button input{height:26px}

.light_generated_button{height:22px;display:block}
.light_generated_button input{height:22px}

/* CKEditor */
.cke_editor a span{display:inline}

/* Autocomplete */
.ac_results{padding:0;background-color:#FFF;overflow:hidden;z-index:99999;border:1px solid #EAEAEA}
.ac_results ul{width:100%;list-style-position:outside;list-style: none;padding:0;margin:0}
.ac_results li{margin:0;padding:2px 5px;cursor: pointer;display: block;font:menu;font-size:12px;line-height:16px;overflow:hidden}
.ac_loading{background:white url(../img/ajax.gif) right center no-repeat}

/* Re-usable layout classes */
.rounded_box{border:1px solid #EAEAEA;overflow:auto;margin-bottom:10px;padding:20px;-moz-border-radius:9px;-webkit-border-radius:9px}
.error_control{overflow:hidden;padding:0 !important;width:698px}
.error_control h1{padding:10px;font-size:22px}
.error_control .pagetab_menu{margin-left:-20px}
.p4udude,.p4udude img{float:left}
.error_message{height:164px;width:504px;float:left;color:#FFF;-moz-border-radius:0 0 9px 0;-webkit-border-bottom-right-radius:9px}
.error_message a{color:#FFF}
.error_message p{margin:12px 20px}
.error_message h3{margin:12px 20px}
.error_message .generated_button{margin:0 20px}

/* Various helpful classes */
.hidden{display:none}
.clearing{clear:both}
.left{float:left !important}
.right{float:right !important}
.center{text-align:center}
.leftalign{text-align:left !important}
.rightalign{text-align:right !important}
.centerMargin{margin:0 auto;}
.noborder{border:none !important}

/* Menu Tab */
.pagetab_menu{background:url(../img/store/tab_strip.png) bottom left no-repeat;width:694px;height:37px}
.pagetab_menu div{height:37px}
.pagetab{float:left}
.pagetab a{text-decoration:none}
.pagetab div{padding-top:13px}
.pagetab_left{background:url(../img/store/tab_left.png) top left no-repeat;width:17px;float:left}
.pagetab_middle{background:url(../img/store/tab_middle.png) repeat-x;text-align:center;float:left}
.pagetab_right{background:url(../img/store/tab_right.png) top left no-repeat;width:17px;float:left}

.pagetab_left_inactive{width:17px;float:left}
.pagetab_right_inactive{width:17px;float:left}
.pagetab_inactive{margin:0 8px 0 8px;text-align:center;float:left}