/* Start of CMSMS style sheet 'CM-cufon-css' */
/*****************
Copyright Clip Magic 2009 - main stylesheet for CM cufon template
******************/
html {
 /* filter: expression(document.execCommand("BackgroundImageCache", false, true)); */
}


* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: 'Myriad Web','Myriad Pro',Arial, Helvetica, sans-serif, 'Century Gothic', Verdana, Geneva;
   font-size: 75.01%;
   line-height: 2em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {

}

/*
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: transparent; 
   color: #3D9EFF; 
   font-weight: bold;
}

div#main a, div#main a:link, div#main a:active  {
 letter-spacing: 0.05em;
}


a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #0080FF;               
}

a:hover {
   text-decoration: none;
   color: #9744A7;
}

/*****************
basic layout 
*****************/
body {

   background-color: #000;
   color: #FFFFFF;
   margin: 0; 
   background: #000000 url('uploads/images/template/twgd/grayblackbg.gif') repeat-x top left;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       
   max-width: 900px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 600px;
   background-color: transparent;
   color: #333;

}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
  padding: 0 1em;
  overflow: visible;
  margin: 0;
  background-color: #000;
}

div#header h1 {
   color: #FFFFFF;
   font-family: Arial, Helvetica, sans-serif, 'Century Gothic', Verdana, Geneva;
   text-align: left;
}

div#header h1 a   {
   display: block;
   text-align: right;
   padding: 70px 1em 1em 0;
   background: #000000 url('uploads/images/template/twgd/starrybg.jpg') repeat-y top right;
/*   line-height: auto;*/
  color: #7FCB27;
   text-decoration:none; 
   outline: none;
}

div#header h1 a img {
  display: block;
  float: left;
  margin-top: -30px;
}
div#main {
   padding: 1em 0 20px 0;
   overflow: auto;
   background: #FFF url('uploads/images/template/twgd/greenwhitebg.gif') repeat-x bottom left;
   margin: 0; 
   min-height: 400px;

   /* 
  border-left: 7px solid #9744A7;
   border-right: 7px solid #9744A7;
*/

   border-bottom: 7px solid #7FCB27;

   border-right: 7px solid #7FCB27; 
   border-left: 7px solid #7FCB27;

}
div#spotlights {
   height:100px;
   overflow: hidden;
   background: #FFF url('uploads/images/template/twgd/spotlights.jpg') repeat-x top left;
   margin: 0;
   border-left: 7px solid #9744A7;
   border-right: 7px solid #9744A7;
}


div#plumright {
  float: right;
  margin: -1em -7px 0 0;
  padding:0;
  border:0;
  height: 250px;
  width:7px;
  background-color: #9744A7;
}


div#plumleft {
  float: left;
  margin: -1em 0 0 -7px;
  padding:0 0 0 0;
  border:0;
  height: 400px;
  width:7px;
  background-color: #9744A7;
}


div#footer {
   clear: both; 
   overflow:visible;
   font-size: 0.8em; 
   padding: 1em;     
   color: #F1F1F1;
   background-color: #333333;
}

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;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

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

div.right49 {
  float: right;
  width: 42%;
  text-align: right;
}

.left30 {
  width: 29%;
  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;
}

#homepage-ads {
   float:right;
   width:23%;
   background-color: #FFFFFF;
   margin: 0 25px 0 0;
  text-align:center;
  overflow:hidden;
 }
#homepage-ads>a>img {
  padding: 0.5em 0;
}

#footer-ads {
 text-align:center;
/* border: 3px double #7FCB27;*/
 padding: 0.5em 0.5em 1em 0.5em;
}

#featuredsite {
   float:right;
   width:90%;
   margin:0  5px 1em 0;
   padding:0;
   border: 10px solid black;
   background-color: #000 !important;
   color: #F1F1F1 ;
   text-align: center;
   overflow: hidden !important;
  
}
#featuredsite h2 {
  color: #F1F1F1 !important;
  background-color: #000 !important;
}

#featuredsite div.category_item,  #featuredsite div.category_item * {
   color: #7FCB27;
   text-align:center;
   overflow: hidden !important;
}
#featuredsite  img {
  display:block;
  text-align:center;
  margin: 0 auto;

}

#socialbookmarking {
 margin: 0.2em 1em 1em 0;
 text-align:right;
}


.clearboth {
  clear:both;

}


/********************
CONTENT STYLING
*********************/
div#main{
  clear: both;
  overflow: visible;
  color: #7f7f7f;
  background-color: #FFFFFF;
}

/* HEADINGS */
div#main h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0 auto;
}

div#main h2 {
  color: #9744A7;
   padding-left: 0.5em;
   padding-bottom: 0.5em;
   font-size: 1.4em;
   line-height: 1.3em;
   margin: 0;
   font-weight: bold;
   letter-spacing: 0.1em;
   background-color: #ffffff;

}

div#footer h2 {
 font-size: 1.2em;
}

* html #footer h2 {
 font-size: 1em;
}

h2.title {
  border: 0;
  padding: 1em 0;
}

div#main h3 {
	color: #7FCB27; 
	font-size: 1.3em; 
	text-align: left; 
	padding: 1em 0 0 1em;
}


div#main h4 {
   color: #333; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#main h5 {
   color: #333; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #92B70B; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p, li, table, ul, ol {
   font-size: 1em;
   margin: 0 3em 1.5em 3em; 
   padding: 0;
   text-align: justify;
}

#footer p {
  font-size:1em;
  text-align:left;
  margin:0;
  padding:0 0 0.3em 0;
}

.description {
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: 0;
  color: #7f7f7f;
  text-align: left;
  width: 60%;
}


blockquote {
  width: 80%;
  padding: 20px 0 0 20px;
  padding: 1em;
  margin: 0 auto;
  text-indent: 50px;
  background:transparent url(uploads/images/template/twgd/apostrophes-start.gif) no-repeat top left;
  font-weight: bold;
  }
  blockquote span {
    display: block;
    background-image: url(uploads/images/template/twgd/apostrophes-end.gif);
    background-repeat: no-repeat;
    padding-bottom: 10px;
    background-position: bottom right;
} 

cite {
  display: block;
  margin: 1em 0 1.5em 10%;
}

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#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,
div#main ol li {
   margin: 0 3em 0.25em 3em;
   text-align: justify;
}

/* 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;
}

div#main ul.bigcross {
	list-style-image: url(uploads/images/template/buffgreen/redcris-21x21.gif);
}

div#main ul.bigtick {
	list-style-image: url(uploads/images/template/buffgreen/greentick-21x21.gif);
}
/* END LISTS */


/* FORMS */

form {
 margin: 0 1em;
}
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;
        margin: 0 1em;
	border:1px solid silver;
	padding:0.5em
}
fieldset label {
                      display: block;
                      float: left;
                    width: 15em;
}


legend {
	/*color:silver;*/
	background:transparent;
   font-weight: bold;
	font-size:1.1em;
	margin-bottom:0.5em;
	padding:0.5em;
	width:auto;
}
textarea {
	margin: 0.5em 0;
	width:90%;
	height: 6em
}

.mmlogin {
  width: 13em;
  float: right;
  margin: 0 1em;
}

.mmlogin input, .mmlogin label {

  display: block;
  width: 9em;
}

div.chbx * {
 display:inline;
 white-space: nowrap;
 width:auto;
 padding-right: 2em;

}


/* Apply this class to text/select input fields with shorter labels 	to help alignment */
.short-label label {display:inline; width:10em; padding: 0.2em 0;}
.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}

#regtpl1 label {
   display: block;
   width: 150px;
}


/* Mailer Magic newsletter subscription form */


div.newslettersub  {
  width: 14px;
}



.error_message {
  font-weight: bold;
  color: #FF0000;

}

#footer form{
 text-align: left;
 margin:0;
 padding:0;
}


/*TABLES*/

table#fx {
  width: 90%;
  text-align: left;
}

table#fx td {
  vertical-align: top;
  padding: 0.2em;
}

table#fx td, table#fx th {
	text-align: left;
}


div.category_item img {
  padding: 0.5em 0;
  vertical-align: middle;
}

div#main u {
  text-decoration: none;
  border-bottom: 1px dotted;
}

/* COMPANY DIRECTORY */

.CompanyDirectoryItem {
  margin: 0.5em 0 1em 0;
}

/* CATALOGER */

.category_items {
  width: 80%;
  padding-left: 10%;
  float:left;
}

.item_images {
  text-align:center;
}

.item_thumbnails {
  padding: 0.5em;
}

.category_item {
  clear: both;
  margin: 1em;
  overflow: auto;
}
.cat-img {
 width: 25%;
 float:left;
}


.cat-text {
 width: 70%;
 float:left;

}

.category_item p {

}

/* BLOG */
/* line everything up with the rest of the content */
#BlogPostDetailSummary,#BlogPostDetailContent, ul#CommentList  {
  margin: 0 3em 1.5em 3em;
}


#BlogPostDetailDate span {
  font-style: italic;
}
#BlogPostDetailSummary {
  text-align: left;
  font-size: 1.1em;
}

#BlogPostDetailCategory, #BlogPostDetailDate,  #BlogPostDetailAuthor, #BlogPostDetailPrintLink, #BlogPostDetailReturnLink, .BlogSummaryCategory, .BlogSummaryAuthor,  .BlogSummaryContent, .BlogSummaryPostdate, .BlogSummaryLink, .BlogSummarySummary {
  margin: 0 3em 0 3em;
}

.BlogSummaryLink {
 font-size: 1.05em;
}

.BlogSummaryMorelink {
  margin: -1em 0 1em 3em;
}

.BlogSummarySummaryEnd {
  height: 1px;
  border-bottom:1px dashed #7FCB27;
  margin: 0 3em 0 6em;
}
#Comments {
  clear: both;
  border-top: 2px dashed #9744A7;
  margin: 1em 4em;
}

#Comments ul {
  list-style-type: none;
}

#Comments ul li {
  padding-bottom: 1em;
  border-bottom: 1px dashed #7FCB27;
}

table#CommentEntry {
  text-align: left;

}

#Comments ul li blockquote, #Comments ul li blockquote>span>p {
  margin-left: -1.1em;
  font-weight: normal;
  font-size: 1.1em;
}

#footer .BlogSummarySummary p {
  margin:0;
 padding: 0 0 0.3em 0;
 text-align:left;
  font-size:1em;
}



#footer .BlogSummaryLink, #footer .BlogSummarySummaryEnd {
  border:none;
}
/* End of 'CM-cufon-css' */

