/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
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;
}

.upload{
width:160px;
float:left;
padding:10px;
border:1px solid #ccc;
margin:5px;
}

.upload img{
float:left;
padding-right:4px;
}

.upload a{
display:block;
color:#fff;
background-color:#B7CB39;
padding:3px;
text-transform:uppercase;
text-decoration:none;
}

.upload a:hover{
background-color:#fff;
color:#B7CB39;
border:1px solid #B7CB39;
padding:2px;
}

.row{
clear:both;
}

th{
padding:3px;
text-align:right;
background-color:#ccc;
width:100px;
}

td{
text-align:right;
background-color:#EDF3D2;
}

input.radio{
margin-right:12px;
}

#select2{
float:left;
}

#leftcol{
width:280px;
float:left;
}

#rightcol{
width:287px;
float:right;
}

#hometop{
margin-bottom:10px;
height:220px;
}

.category_listing_item{
width:280px;
float:left;
padding-right:10px;
padding-bottom:10px;
}

.category_listing .even{
clear:both;
}

.category_listing_item .price{
font-weight:bold;
color:#CC0000;
clear:both;
}

p.price{
margin:0;
}

.category_listing_item h4{
border-bottom:1px solid #18507C;
}

.category_listing_item img{
float:left;
padding-right:5px;
padding-bottom:5px;
}

.category_item{
width:160px;
height:130px;
float:left;
margin:5px;
text-align:center;
position:relative;
padding:5px;
}

.category_item a{
display:block;
text-decoration:none;
}

.catnav{
clear:both;
}

.CompanyDirectoryItem, .eventslist{
margin:10px 10px 10px 0;
border:1px #ccc solid;
padding:5px;
}

.eventslist dd{
padding:5px;
}

dd p{
margin:0;
padding:0;
}



.summary, .catlink{
background-color: #fff;
padding:5px 5px 5px 0;
color:#18507C !important;
font-weight: bold;
font-size:14px;
}

.catlink{
position: absolute;
bottom:0;
width:100%;
}

.catlink a:hover{
background-color:#B30738;

}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   line-height: 1.3em;
}

/*
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: #18507C; 
}


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

/*****************
basic layout 
*****************/
body {
   background: #fff url(/uploads/images/bg.jpg) top left repeat-x;
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
width:894px;
   background: #fff url(/uploads/images/2pxblock.png) left top repeat-y;
border-right:2px solid #b30738;
}


/*** 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 {
   height: 50px;
   background:  url(/uploads/images/topbg.gif) no-repeat left top;         
   position:relative;
}

div#header h1 {
/* you can set your own image here */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
color:#fff;
font-weight:normal;
font-size:14px;
position:absolute;
bottom:5px;
right:10px;
letter-spacing:7px;
text-transform:uppercase;
font-weight:bold;
}

/* position for the search box */
div#search {
display:block;
   width: 577px;    /* enough width for the search input box */
   text-align: left;
margin-bottom:10px;
background-color:#B30738;
padding:3px 0 3px 10px;
overflow:auto;
}

div#search form{
float:right;
padding-right:10px;
}

#cntnt01searchinput{
width:120px;
}

div#breadcrumbs {
   font-size: 90%;            
color:#fff;
float:left;
line-height:20px;
}

div#breadcrumbs a{
color:#fff;
}

div#breadcrumbs h2{
clear: none;
color:#fff;
display:inline;
font-size:14px;
background-color:transparent;
}

div#breadcrumbs span.lastitem { 
   font-weight:bold; 
font-size:100%;
}

div#content {
   margin:0  auto;   /* some air above and under menu and content */

}

div#mainleft{
width:607px;
float:left;
}

#coverimage{
float:right;
text-align:right;
}

div#leftcontent{
padding:10px;
overflow:hide;
}

div#leftcontent div#subnav ul{
padding-left:40px;
}

div#logo{
background-color:#fff;
height:168px;
}

div.category_items{
float:left;
}

div#sidebar {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 287px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
padding-bottom:10px;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #b30738; /* same bg color as in header */
line-height:50px;
text-align:center;
font-size:16px;
padding-right:10px;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

.footertitle{
color:#B7CB39;
}

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

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

/********************
CONTENT STYLING
*********************/


/* HEADINGS */
h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
h2 {
	color: #fff;
background-color:#B30738;
 
	font-size: 1.5em; 
	text-align: left; 
padding: 5px;

}


h3 {
border-bottom:1px solid #B7CB39;
color:#B30738;
font-size:1.3em;
line-height:1.3em;
margin:0 0 0.5em;
padding:5px;
}
h4 {
   color: #B30738; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h5 {
   color: #B30738; 
   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;
}

#latestissue{
padding: 0 10px;
width:256px;
}

#latestissue h2{
margin-bottom:10px;
} 

#latestissue img{
width:255px;
}

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

ul.category{
float:left;
list-style-type:none;
padding-left:40px;
}

ul.category li{

}

ul.category li a{
display:block;
/*
background-color:#B7CB39;
color:#fff;*/
padding:5px;
text-decoration: none;
margin-bottom:3px;
}

ul.category li a:hover{
background-color:#B30738;
color:#fff;
}

/* 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 */
/* End of 'Layout: Left sidebar + 1 column' */

