/* Start of CMSMS style sheet 'ddh css top left' */
/***************************************
Double Dan Horsemanship
Main style sheet
(c) 2009
***************************************/


/*****************
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: 'Century Gothic',Arial, Geneva, Helvetica, Verdana, sans-serif;
   font-size: 75.01%; /* set it ok for ie and ff */
   font-size: 0.9em;
   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: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #9C8C60; 
   font-weight: bold;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #9C8C60;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   color: #595841;
   margin:0 ; /* gives some air for the pagewrapper */
/*   background-color: #8D9686;*/
   background: #000000 url(assets/template/ddh-tl/grayblackbg.gif) repeat-x top left;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   max-width: 900px; /* IE wont understand these, so we will use javascript magick */
   min-width: 700px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 236px; /* adjust according your image size */   
   clear: both;
   margin-bottom: 0;
   background: #000000 url(assets/template/ddh-tl/DoubleDanLogo.gif) no-repeat 0px 10px;
}

div#header h1 {
   height: 236px;
   color: #B4C4BF;
   background: transparent url(assets/template/ddh-tl/FortheLoveofHorses.jpg) no-repeat top right;
}

div#header h1 a {
 display: block;
 height: 236px;
}

/*
div#header span#pageimage {
 display: block;
 height: 236px;
 overflow: hidden;
 float:right;
 text-align:right;
}
*/

div#header span#pageimage {
    display:block;
    float:right;
   width: 600px;
   height: 236px;
   background-color: transparent;
   margin: 0 0 0 0;
   overflow:hidden;
   text-align:right;
}

div#header h1 a {
   display: block; 
   height: 236px;          

  /* text-indent: -999em; */ /*  this hides the text */
   text-decoration:none; 
  /* line-height: 100px;*/
   outline: none;
   font-size: 0.6em;
}


div#header h1 a img#logo {
  border: 0;
  margin: 20px;

}
div#header h1 a img#siteName {
  display:block;
  border: 0;
  margin-top: -120px;
  margin-left: 120px;
}

span#tagline {
  display:block;
	font-family: 'Century Gothic', Verdana, Geneva, Arial, Helvetica, sans-serif;
  padding-left: 120px;
  margin-top: -10px;
  font-size: 1em;
  color: #9C8C60;
  font-weight: bold;
}



#header a, #header a:active, #header a:visited, #header a:hover {
  color: #8D9686;
  outline: none;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; 
   font-size: 90%;             
   margin: 0 0 0 0;              
   padding: 1em 0 1em 1em;
   color: #CDC390;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold;
 } 

 div#content {
   margin: 0 auto 2em 0; 
  background-color: #000000; 

}

div#search {
 float:right;
}

div#search * {
 display: inline;
}

div#main {
   float: right;
   width: 75%;
   margin-right: 0; 
   background-color: #000000;
   background-color: #CDC390 ;
   margin:0;
  /* padding: 1em;*/
   padding: 0;
   border: 2px solid #806942;
}

#main-tr {
  float: right;
  margin: -2px -2px 0 0;
  padding: 0;
}

#main-br {
  float: right;
  margin: 0 -2px -2px 0;
  padding: 0;
}

#main-col {
  padding: 0 1em 105px 1em;
}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 20%;    /* sidebar width, if you change this please also change #main margins */
   display: inline; /* FIX ie doublemargin bug */
   margin-left: 0;
  color: #CDC390;
  background: transparent url(assets/template/ddh-tl/cnrs/sidebar-fade.gif) no-repeat 0px 30px;
  overflow: hidden;
  min-height: 100px;
}

div#sidebar-tl {
 width: 95%;
 height: 30px;
 margin:0;
 padding:0;
 background: transparent url(assets/template/ddh-tl/cnrs/sidebar-tl.gif) no-repeat 0px 5px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 2%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
 
}




div#footer {
   clear: both; 
   overflow:visible;
   font-size: 0.8em; 
   padding: 1em;     
   color: #8D9686;
  /* background-color: #C1BDB0;*/
}

div#footer p {

   text-align: left;  
   margin: 0;
   padding:0 0 0.3em 0;
}




/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted #9F95FE;
   clear: both;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 44%;  /* 50% for both left and right might lead to rounding error on some browser */
  padding: 0 2%;
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

.left30 {
  width: 28%;
  float: left;
  padding: 0 1.5%;
  overflow: hidden;
  margin-right: 0.5em;
}

.left30 p, .left30 li {
  margin: 0;
  padding: 0.5em;
}

.left25 {
  width: 22.5%;
  float: left;
  padding: 0 1%;
  text-align: left;
}
.left25 p, .left25 li {
 margin: 0;
 padding: 0.3em;
  text-align: left;
}

#home-right30 {
 width: 176px;
 float:right;
 margin: 0 -1em 1em 1em;
}


#home-right30 * {
 padding: 2px;
}

table#hometable {
  width: 440px;
  text-align: center;
  margin: 0 auto;

}



.topads {
 padding:1%;
 
}

.topads img {
  height: 100px;
  margin: 1% auto;
 
}

#sidebarsponsors {
 margin: 0;
 padding:0;
 text-align:center;

}
.SidebarCompanyDirectoryItem {
 margin: 1em auto;
}

/********************
CONTENT STYLING
*********************/
div#content {
  margin-bottom:0;
}

/* HEADINGS */
div#content h1 {
  color: #8D9686;
   font-size: 1.8em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#main h1#pageTitle {
  margin-bottom: 2em;
}

div#content h2, div#footer h2 {
   color: #9C8C60;
   font-size: 1.3em; 
   text-align: left; 
   padding-bottom: 1px;
   margin: 1em 0 0.5em 0;
}

div#footer h2 {
  color: #D4E5F7;

}
div#content h3 {
   color: #9C8C60; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.8em 0;
}
div#content h4 {
   color: #9C8C60; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   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;
}

div#main p, div#main li, div#main table p {
   line-height: 1.8em;
}


#footer p {
  font-size:1em;
  text-align:left;
  margin:0;
  padding:0 0 0.3em 0;
}

blockquote {
   padding: 0.3em;
   margin: 1em 0;
   line-height: 1.2em;
   letter-spacing: 1px;
  font-family: "Times New Roman", Times, serif;
}

div#sidebar blockquote {
  margin: 2em 1em 1em 1em;
  border: 3px double #8D9686;
  padding: 0.3em;
  text-align: justify;
}

pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}


pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}


cite {
  display:block;
 text-indent: 3em;
 margin: 0 0 2em 0;
}



/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li {
  list-style-type: none;
  background: transparent url(images/cms/arrow-right-active.gif) no-repeat 0 8px;
  padding-left: 20px;
  padding-top: 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* UPLOADS TEMPLATE CSS */
table.uploadsSummaryTable {
  width: 90%;
}
table.uploadsSummaryTable td, table.uploadsSummaryTable th {
 vertical-align: top;
 padding: 0.3em;
}

table.uploadsSummaryTable th, table.uploadsSummaryTable td {
  /*width: 7em;*/
  padding: 0.3em;
}

table.uploadsSummaryTable td.itemName, table.uploadsSummaryTable th.itemName {
 width: 50%;
}

table.uploadsSummaryTable form input {
  display: inline;
}

table#postage {
  margin-bottom: 1.5em;
}
table#postage td {
 padding: 0.2em;
}

/* COMPANY DIRECTORY */


/* PRODUCTS */


/* FORMS */

form {

}

form .required label {
  color: #9B5F6F;
}

#log, #reg {
 width: 80%;
 margin: 1em 0;
 text-align: left;
}


fieldset {
  padding: 1em;
  border: 1px solid #8D9686;
 line-height: 1.5em; 
}
legend {
  font-weight: bold;
  color: #FFFFFF;
  background-color: #8D9686;
  padding: 0.3em;
}

legend a, legend a:active, legend a:visited {
  color: #AFBECD;
}

label {
  display: block; 
  width: 10em;
} 
.contactform div {
  width: 100%; 
  padding: 0.25em 0 0.25em 0;
}
.contactform div label {
  display: block; 
  width: 10em;
} 
.contactform div.required,div#reg div.required, div#log div.required {
  color: #AFBECD;
  font-weight: bold;
}
textarea {
display:block;
}

.prodLabel {
  display: block;
   float: left;
   width: 10em;
  font-weight: bold;
}

table.home-page table {
  background-color: #D0CEAA;
  margin:0;
  padding:0;
}

.home-page-table td img {
  display:block;
  text-align: center;
}

.home-page-table td { 
  width:172px;
  vertical-align:top;
  margin: 0px;
  padding: 0px;
  background-color: #D0CEAA;
  color: #000000;
  overflow:hidden;
}

.home-page-table td p {
  text-align:left;
} 

/* HORSE DIRECTORY MODULE */


.catlistitem {
  padding-left: 180px;
  min-height: 140px;
  overflow: visible;

}

#mainimage {
  width: 600px;
  height: 400px;
  overflow:hidden;
  padding: 1em;
  margin: 0 auto;
  text-align:center;
}

#imagegallery {
 padding: 1em;
}

.itemlabel {
 font-weight: bold;
 display: block;
 float: left;
 width: 20%;
}

.itemvalue {
 display: block;
 float: left;
 width: 70%;
 padding-left: 1em;
}

.itemnotes {
 clear:both;
}

.lineshead {
 clear:both;
 padding: 3em 0 0 0 ;
}

table#bloodlines {
 clear: both;
  border-collapse: collapse;
}

table#bloodlines td {
 border: 1px solid #806942;
 padding: 0.5em 0.2em;
 width: 25%;
}


/* 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;
}


/* Blogs */

.BlogSummary div {
  padding: 0.5em 0;
}

.captcha img {
  display:block;
}
/********* 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 {

/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
/* 
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(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {

/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/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 {zoom: 1;}*/

	.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 'ddh css top left' */

