/* Start of CMSMS style sheet 'YTC Home' */
* {
  margin:0;
  padding:0;
}

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
}

div {
   font-size: 11px;
}

img {
   border: 0;
}

a,
a:link 
a:active {
   text-decoration: none;
   background-color: inherit; 
  /* color: #a52021;  */
   color: #a52021;
}

a:visited {
   text-decoration: none;
   background-color: inherit;
   color: #a52021;
}

a:hover {
   text-decoration: none;
   background-color: #ffffff;
   color: #a52021;
}

body {
   background: url(uploads/images/ytcbg1.jpg); background-repeat: repeat-x;
   background-color: #fff;
   color: #0c4c4c;
   margin:1em;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;
   max-width: 750px;
   min-width: 750px;
   background-color: #fff;
border: 0px solid #0c4c4c;
}

div#header {
   /* border-bottom: 4px solid #0c4c4c; */
   border-bottom: 4px solid #0c4c4c; border-left: 0px solid #ffffff; border-right: 0px solid #ffffff;
   font-size: 24px;
   margin-bottom:5px;
   padding-top: 0px;
   padding-left: 0px;
   padding-bottom: 5px;
}

div#header h1 {
   font-size: 32px;
   color: #ff6600;
   line-height:1em;
   margin:0;
   text-align:left;
   font-family: Arial, Helvetica, sans-serif;
   letter-spacing: 6px;
}
div#breadcrumbs {

padding-left: 10px;

font-size:10px;}

div#slogan {
   padding-left: 30px;
   font-size: 11px;
   color: #cccccc;
   font-family: Arial, Helvetica, sans-serif;
   letter-spacing: 6px;
}

div#search {
   width: 10px;  
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em 1em 1em;
   color: #666666;
}

div#search input {
   margin: 0px 0 0 0;
   color: #666666;
}

div#content {
   color: #0c4c4c;
   margin-left: 125px;
   margin-right: 145px;
   width: 450px; /* minus 6px due to ie6 */
}

div#leftsidebar {
   float: left; background-color: #0c4c4c;
   width: 120px; border-right: 1px solid #0c4c4c;
   display: inline;  /* FIX IE double margin bug */
   /* margin-left: 0; */
}

div#logos {
   margin-top: 40px;
   border-top: 1px dotted #cccccc;
   border-bottom: 1px dotted #cccccc;
   width: 100%;  
   text-align: center;font-size: 9px;

}

div#logos img {
   padding-top: 20px;
   padding-bottom: 20px;
}


div#rightsidebar {
   float: right;border-left: 1px solid #a52021;padding-left: 5px;
   width: 145px;
}

div#footer {
   clear: both;
   /* background-color: #0c4c4c; */
   background-color: #0c4c4c;
   color: #ffffff;
}

div#footer p {
   font-size: 0.8em;
   padding: 0.5em;
   text-align: center;
   margin: 0;
}

div#footer p a {
   color: #89817f;
   /* border-bottom:1px dotted #89817F; */
   border-bottom:1px dotted #564931;
   text-decoration: none;
}

div#footer p a:hover {
   color: #fff;
   /* background-color: #575352; */
   background-color: #3a3429;
   text-decoration: none;
   border-bottom:1px dotted #fff;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   /*padding-bottom: 1em;*/
   border-bottom: 1px dotted #c0c0c0;
   margin-top: 15px;
margin-bottom: 15px;
}

h1 {
   color: #0c4c4c; 
   font-size: 15px; 
   text-align: left; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;background-color:#0c4c4c;background: url(uploads/images/h1bg.jpg) no-repeat
}

h2 {
   color: #666666; 
   font-size: 14px; 
   text-align: left; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}

h3 {
   color: #ffffff; 
   font-size: 11px;
   line-height: 2em;
   margin: 0 0 0.25em 0.5em;
}

h4 {
   color: #666666; 
   font-size: 12px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

h5 {
   color: #a52021; 
   font-size: 11px;
   line-height: 1.3em;border-left: 10px solid #a52021;
   margin-left: 0px;padding-left: 10px;
   }
/* END HEADINGS */

/* TEXT */
p {
   /*font-size: 1em;*/
   margin: 0 0 0.8em 0; /* some air around p elements */
   line-height: 1.6em;
   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;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

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%;


}

/* 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#content ul,
div#content ol,
div#content dl {
   font-size: 11px;
   line-height: 1.6em;
   margin: 0 0 1.5em 0em;
}

div#content ul li,
div#content ol li {
  margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#content dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#content dl dd {
   margin: 0 0 1em 1em;
}

div#content dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
form {margin-top:0;margin-left: 5px;
   margin-right: 5px;
   width: 500px; background:#ffffff;
}
	form, td, th, li { font-size: 100%}
	form div {margin-bottom:0}
	fieldset div {
		margin-bottom:0.5em;
		margin-left:1em;
	}
	fieldset div div {
		margin-top:0.5em;
		margin-left:1em
	}
	fieldset {
		margin-bottom:1em;
		border:1px solid #F60;
		padding:0.5em
	}
	fieldset label {
		width:auto;
	}
	legend {
		color:#FFF;
		background:#f60;
		font-style:italic;
		font-size:1.2em;
		margin-bottom:0.5em;
		padding:0.2em;
		width:auto;
		border:1px solid #CCC
	}
	textarea {
		margin: 0.5em 0;
		width:98%;
		height: 6em
	}

	/* Apply this class to text/select input fields with shorter labels
		to help alignment */
	.short-label label {float:left; width:10em}
	.short-label fieldset div input,
	.short-label fieldset div select {width:16em}

	/* Pretty up your Captcha image output */
	.captcha {
		margin:0.5em 0;
		width:200px;
		text-align:center
	}
	.captcha img {border:1px solid #F60; margin-bottom:0.5em}
	.captcha input {width:196px; margin-top:0.5em}

	/* Just a bit more room for the Submit button */
	.submit {margin-top:0.5em}



/* END LISTS */
/* End of 'YTC Home' */

/* Start of CMSMS style sheet 'YTC Navigation' */
#menu_vert {
   padding-left: 0;
   margin-left: 0;
}

#menu_vert li {
   list-style: none;
   margin: 0;
   border-bottom: 1px solid #c0c0c0;
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration: none;
   font-weight: bold;font-size: 10.5px;align:center;
   display: block;
   padding: 0.8em 0.5em 0.8em 5px;
   /* color: #fcc425;  */
   color: #fcc425;
   min-height:1em;
}

/* second level */
div#menu_vert ul ul a {
   padding: 0.5em 0.5em 0.5em 1.5em;
   background: url(uploads/Acorn/menu_sub1.gif) no-repeat 5% 51%;
   border-top: 1px dotted #c0c0c0;font-weight: normal;color: #fcc425;

}

/* third level */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 2.5em;
   background: url(uploads/Acorn/menu_sub2.gif) no-repeat 12% 51%;
   border: none;
}

/* hover first level */
div#menu_vert ul a:hover {
   background: #f3f3f3 url(uploads/Acorn/menu_arrows2.gif) no-repeat 96% 51%;
}

/* hover second level */
div#menu_vert ul ul a:hover {
  background: #f3f3f3 url(uploads/Acorn/menu_sub1.gif) no-repeat 5% 51%;
}

/* hover third level */
div#menu_vert ul ul ul a:hover {
  background: #f3f3f3 url(uploads/Acorn/menu_sub2.gif) no-repeat 12% 51%;
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}

/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none;
}
/* End of 'YTC Navigation' */

/* Start of CMSMS style sheet 'YTC News' */
.NewsSummary {
    padding: 0em 0em 1em 0em;
    margin: 0 0em 1em 0em;
    border-bottom: 1px solid #ccc; 
}

.NewsSummaryPostdate {
   font-size: 9px;
   font-style: italic;
   padding-top: 6px;
   padding-bottom: 4px;
}

.NewsSummaryLink {
   font-weight: bold;
   color: #666666;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
}

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
   line-height: 1.6em;  font-size: 9px;
   color: #666666;
}

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
   font-size: 8px;
   font-style: italic;
   padding-top: 4px;
   padding-bottom: 4px;
}

#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 {h4}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}

/* End of 'YTC News' */

