/* Start of CMSMS style sheet 'artfencing : navigation' */
/********************
MENU
*********************/

/****** top ******/
#top_menu {
  padding-left: 30px;
}

#top_menu ul {
  list-style: none;
  float: left;
}

#top_menu li {
  float: left; 
  padding: 5px 10px 2px 10px;
  font-size: 9px;
  border-left: 1px solid #ccc;
}

#top_menu a {  color: #777; }
#top_menu a:hover {  color: #474747; }


/****** main ******/
#menu_vert_l a,
#menu_vert_r a {
  font-size: 11px;
}


/* third level has some padding to have it stand out */
div#menu_vert_l ul ul ul,
div#menu_vert_r ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert_l li,
#menu_vert_r li  {
  list-style: none;
  margin-top: 2px;
  display: block;
  line-height: 140%;
}

#menu_vert_l ul ul li,
#menu_vert_r ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert_l li a, html #menu_vert_r li a { height: 1%; } 
* html #menu_vert_l li hr,html #menu_vert_r li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert_l a,
div#menu_vert_r a {
   padding: 5px 0 5px 20px;
   text-decoration:none;
   display: block; 
   color: #c0c0c0; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}

div#sidebar_left div#menu_vert_l a { 
  padding-left: 20px; 
}

div#sidebar_right div#menu_vert_r a { 
  padding-right: 20px; 
  text-align: right;
}

/* next level links, more padding and smaller font */
div#sidebar_left div#menu_vert_l ul ul a,
div#sidebar_right div#menu_vert_r ul ul a {
  padding: 0;
  font-size: 10px;
}

div#sidebar_left div#menu_vert_l ul ul a {
  margin-left: 30px; 
  background: url(uploads/artfencing/btn2_normal.gif) no-repeat left bottom; 
}

div#sidebar_right div#menu_vert_r ul ul a {
  margin-right: 30px; 
  background: url(uploads/artfencing/btn2_normal.gif) no-repeat right bottom; 
}

div#sidebar_left div#menu_vert_l ul ul a:hover {
  color: #b5a81c;
  background: url(uploads/artfencing/btn2_normal.gif) no-repeat left bottom;
}

div#sidebar_right div#menu_vert_r ul ul a:hover {
  color: #b5a81c;
  background: url(uploads/artfencing/btn2_normal.gif) no-repeat right bottom;
}

/* third level links, more padding */
div#menu_vert_l ul ul ul a,
div#menu_vert_r ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(uploads/artfencing/dash.gif) no-repeat 2.8em center; 
}

/* hover state for all links */
div#sidebar_left div#menu_vert_l a:hover {
  color: #c0c0c0;
  background: url(uploads/artfencing/btn_hover.gif) no-repeat 16px 0;
}

div#sidebar_right div#menu_vert_r a:hover {
  color: #c0c0c0;
  background: url(uploads/artfencing/btn_hover.gif) no-repeat 3px 0;
}

/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#sidebar_left div#menu_vert_l ul h3, 
div#sidebar_left div#menu_vert_l li a.activeparent, 
div#sidebar_left div#menu_vert_l a.activeparent:hover,
div#sidebar_right div#menu_vert_r ul h3, 
div#sidebar_right div#menu_vert_r li a.activeparent, 
div#sidebar_right div#menu_vert_r a.activeparent:hover {
  font-size: 10px;
  font-weight: bold;
  text-decoration:none;
  display: block; 
  color: #4d4d4d; 
  min-height:1em; /* Fixes IE7 whitespace bug */ 
  padding: 5px 0;
}

div#sidebar_left div#menu_vert_l ul h3, 
div#sidebar_left div#menu_vert_l li a.activeparent, 
div#sidebar_left div#menu_vert_l a.activeparent:hover  {
  padding-right: 10px;
  text-align: right;
  background: url(uploads/artfencing/btn_l_active.jpg) no-repeat left top;
}

div#sidebar_right div#menu_vert_r ul h3, 
div#sidebar_right div#menu_vert_r li a.activeparent, 
div#sidebar_right div#menu_vert_r a.activeparent:hover  {
  padding-left: 10px;
  text-align: left;
  background: url(uploads/artfencing/btn_r_active.jpg) no-repeat right top;
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#sidebar_left div#menu_vert_l ul ul h3,
div#sidebar_right div#menu_vert_r ul ul h3 {
  padding: 0;
  color: #b5a81c;    
}

div#sidebar_left div#menu_vert_l ul ul h3 {
  margin-left: 30px;
  text-align: left;
  background: url(uploads/artfencing/btn2_hover.gif) no-repeat left bottom;
}

div#sidebar_right div#menu_vert_r ul ul h3 {
  margin-right: 30px;
  text-align: right;
  background: url(uploads/artfencing/btn2_hover.gif) no-repeat right bottom;
}
/* End of 'artfencing : navigation' */

/* Start of CMSMS style sheet 'artfencing : News' */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  background: #FFE9AF; 
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
    padding: 0.5em 0.5em 1em; /* padding for the news article summary */
    margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #ccc; 
}

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* End of 'artfencing : News' */

/* Start of CMSMS style sheet 'artfencing : layout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
   color: #b5a81c; 
  outline: none;
}

a:visited {
   text-decoration: none;
   color: #b5a81c; 
}


/* remove underline on hover and change color */
a:hover {
   /*text-decoration: underline;*/
   color: #686111; 
}

/*****************
basic layout 
*****************/
body {
  margin:0; 
  color: #474747;
  background: url(uploads/artfencing/body_bg.png) repeat-x left top #fff;
}

div#pagewrapper {
  width: 960px;
  margin: 0 auto;       
}

div#header {
   height: 191px;  
   background: url(uploads/artfencing/top.png) no-repeat left top;
position: relative;
}

div#header h1 a {
  position: absolute;
  display: block;
  top:40px;
  left: 50px;
  width: 560px;
  height: 110px;           
  text-indent: -999em; 
  text-decoration:none;
}

/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#content {
  width: 960px;
  float: left;
  background: url(uploads/artfencing/pagewrapper_bg.png) repeat-y left top;  
}


div#main {
  width: 540px;
  margin: 0 10px;
  float: left;
}

div#main h2 {
  color: #222;
  background: url(uploads/artfencing/main_header.png) no-repeat left top;   
}

div#main_02 h2 {
  background: none;
}

div#main_02 a {
  color: #990000;
}

div#main_02 a:hover {
  text-decoration: underline;
}

/******** main box ********/
div#main_01, div#main_02, div#main_03 {
  /*width: 732px;*/
}

div#main_01 {
  height: 14px;
  margin-top: 5px;
  background: url(uploads/artfencing/main_01.png) no-repeat left top; 
  font-size: 0; /* my FIX!! */
}

div#main_02, div#main_auctions_02 {
  padding: 0 10px 5px 10px;
  background: url(uploads/artfencing/main_02.png) repeat-y left top; 
}

div#main_02 h4 {
  margin-bottom: 10px;
  padding-bottom: 4px;
  color: #b5a81c; 
  font-size: 1em;
  line-height: 1em;
  border-bottom: 1px solid #3e3a0a;
}

div#main_03, div#main_auctions_03  {
  height: 14px;
  margin-bottom: 5px;
  background: url(uploads/artfencing/main_03.png) no-repeat left top; 
}

div#main_auctions {
  margin-top: 5px;
  position: relative;
}

div#main_auctions div#cart_img {
  position: absolute;
  top: 0;
  right: 8px;
  width: 100px;
  height: 113px;
  background: url(uploads/artfencing/cart_big.png) no-repeat left top;  
  behavior: url(uploads/artfencing/iepngfix.htc);
}

div#main_auctions_01 {
  height: 26px;
  background: url(uploads/artfencing/main_01.png) no-repeat left bottom;
  font-size: 0; /* my FIX!! */
}

div#main_auctions_02 {
  padding: 0 15px 5px 15px;
}

div#main_auctions_02 h3,
div#main_02 h3 {
  margin-bottom: 20px;
  padding-top: 10px;
  color: #990000; 
  font-size: 1.3em;
  line-height: 1em;
}

div#main_auctions_02 p {
  margin-right: 90px;
}

div#main_auctions_02 .enter_btn a {
  display: block;
  width: 141px;
  height: 28px;
  line-height: 28px;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #990000;
  background: url(uploads/artfencing/enter_btn.png) no-repeat left center;
}

/******** promotions box ********/
div#promotions, div#delivery {
  float: left;
  display: inline;
}

div#promotions {
  width: 312px;
}

div#promotions h3, div#delivery h3 {
  padding-left: 15px;
  line-height: 56px;
  font-size: 1em;
  font-variant: small-caps;
  behavior: url(uploads/artfencing/iepngfix.htc);
}

div#promotions h3 {
  width: 297px;
  color: #b5a81c; 
  background: url(uploads/artfencing/promotions_01.png) no-repeat left top; 
}

div#promotions_02 {
  padding: 0 15px 5px 15px;
  background: url(uploads/artfencing/promotions_02.png) repeat-y left top; 
}

div#promotions_03 {
  height: 12px;
  background: url(uploads/artfencing/promotions_03.png) no-repeat left top; 
}

/******** delivery box ********/
div#delivery {
  width: 222px;
  margin-left: 6px;  
}

div#delivery h3 {
  width: 207px;
  color: #c0c0c0; 
  background: url(uploads/artfencing/delivery_01.png) no-repeat left top; 
}

div#delivery_02 {
  padding: 0 15px 5px 15px;
  background: url(uploads/artfencing/delivery_02.png) repeat-y left top; 
}

div#delivery_03 {
  height: 12px;
  background: url(uploads/artfencing/delivery_03.png) no-repeat left top; 
}

div#sidebar_left, div#sidebar_right {
   float: left;
   width: 200px;     
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#sidebar_left h2, div#sidebar_right h2 {
  font-variant: normal;
  color: #000;
}

div#sidebar_left h2 { background: url(uploads/artfencing/sidebar_left_header.png) no-repeat left top; }
div#sidebar_right h2 { background: url(uploads/artfencing/sidebar_right_header.png) no-repeat left top; }


/******** contact box ********/
div#sidebar_right div#contact_box {
  width: 182px;
  margin-top: 30px;
  text-align: center;
  background: url(uploads/artfencing/contact_02.png) no-repeat left bottom;
}

div#sidebar_right div#contact_box h3 {
  height: 41px;
  line-height: 41px; 
  font-size: 1em;
  text-align: center;
  background: url(uploads/artfencing/contact_01.png) no-repeat left top;
}

div#sidebar_right div#contact_box ul {
  padding: 6px;
  list-style: none;
  font-size: 0.9em;
}

div#sidebar_right div#contact_box ul li {
  padding: 3px 0;
}

div#sidebar_right div#contact_box a {
  color: #990000;
}

div#footer {
  height: 50px;
  clear: both;       /* keep footer below content and menu */
  color: #b5a81c;
  background: url(uploads/artfencing/footer.png) no-repeat left top;
}

div#footer p {
   font-size: 10px;
   padding-top: 15px; 
   text-align: center; 
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

div#footer img {
  margin-bottom: -8px;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
  padding: 5px 0;
}

div.right49 a {
  font-size: 10px;
}

div.right49 a:hover {
  color: #f0f0f0;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
#sidebar h2,
#content h2 {
	font-size: 1.1em; 
	text-align: left; 
	padding-left: 18px;
        line-height: 41px;
  font-variant: small-caps;
}

/*div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}*/

div#content h4 {
   /*color: #294B5F; */
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 1em 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */

/**** TABLES ****/
th {
  padding: 2px 5px;
  color: #f0f0f0;  
  text-align: left;
  border: 1px solid #e9e9e9;
  background: #555;
}

td {
  padding: 2px 5px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.size_tables th {
  padding: 5px;  
}

.size_tables td {
  padding: 3px;
  text-align: center;
}

.size_tables td strong {
  text-align: left;
}

.size_tables_yellow td {
  background: #fffca8;
}

.prices_table th {
  padding: 20px 0 5px 0;
  font-weight: bold;
  text-align: center;
  background: #f0f0f0;  
  color: #555
}

.prices_table th span {
  color: #0066cc;
}

.prices_table td {
vertical-align: top;
}
/* End of 'artfencing : layout' */

/* Start of CMSMS style sheet 'artfencing : Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(uploads/artfencing/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(uploads/artfencing/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(uploads/artfencing/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'artfencing : Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'artfencing : news' */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  background: #FFE9AF; 
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
    padding: 0.5em 0.5em 1em; /* padding for the news article summary */
    margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    border: none;
}

.NewsSummaryPostdate, #NewsPostDetailDate  {
  font-size: 9px;
  font-weight: normal;
  float: right;
  color: #7d7d7d;
}

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.NewsSummarySummary, .NewsSummaryContent {
  font-size: 10px;
  line-height: 140%;
}

.NewsSummarySummary img, .NewsSummaryContent img, #NewsPostDetailContent img {
  padding: 0 10px 10px 0;
  float: left;
}

.NewsSummaryMorelink { 
  font-size: 9px;
  margin-top: 5px;
  clear: both;
}

#NewsPostDetailSummary {
   line-height: 150%;
}

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent, #NewsPostDetailContent p {
  margin: 15px 0;
  line-height: 150%;
  color: #c0c0c0;
}

#NewsPostDetailPrintLink {
  float: right;
  font-size: 9px;
}

#NewsPostDetailReturnLink {
  float: left;
  font-size: 9px;
}

/* to add specific style to the below divs, uncomment them. */
/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* End of 'artfencing : news' */

