/*  
Theme Name: rocksolutions
Theme URI: http://www.web-works.biz/
Description: Purpose-made template for Rock Solutions Ltd
Template: rocksolutions
Version: 2.0
Author: Pete Hawkins
Author URI: http://www.web-works.biz/	
*/

/*** General Format ***/
body  {
	font: 100% Arial, sans-serif;
	background:#b3b3b3;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #333;
}
#containertmp { 
	width: 1050px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #b3b3b3;
	margin: 20px auto 0  auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
#header { 
	/*background: #b3b3b3 url(images/doublelogo.png) no-repeat left; */
	background: #b3b3b3 url(images/rocksolutionslogo.png) no-repeat left; 
	padding: 0 0 50px 25px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	border-top:solid 5pt #666;
	height:80px;
} 

#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	
}
.hide {visibility:hidden;}

#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 175px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	padding: 15px 0px 15px 0px; /* padding keeps the content of the div away from the edges */
	margin:0;
}
#content {
	margin-top: 45px;
	margin-right: 310px;
	margin-bottom: 0;
	margin-left: 210px;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 0px;

} 
#widecontent {
	margin-top: 45px;
	margin-right: 80px;
	margin-bottom: 0;
	margin-left: 210px;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 0px;

}
#content p {
	margin: 10px 20px;
	padding: 0 10px 0 45px;
	font-size:18px;
	color:#333;
	line-height: 28px;
	 }

#content h1 {
  margin: 10px 30px;
  font-size:24px;
  font-weight:700;
color:#333;
  }

#content h2
  {
	  margin: 10px 30px;
	  font-size:18px;
  font-weight: 700;
  color: #333;
  }
#content h3
  {
	  margin: 30px 30px;
	  font-size:16px;
  	font-weight: 700;
  	color:#333;  }
	#widecontent p {
		margin: 10px 20px;
		padding: 0 10px 0 45px;
		font-size:18px;
		color:#333;
		line-height: 28px;
		 }

	#widecontent h1 {
	  margin: 10px 30px;
	  font-size:24px;
	  font-weight:700;
	color:#333;
	  }

	#widecontent h2
	  {
		  margin: 10px 30px;
		  font-size:18px;
	  font-weight: 700;
	  color: #333;
	  }
	#widecontent h3
	  {
		  margin: 30px 30px;
		  font-size:16px;
	  	font-weight: 700;
	  	color:#333;  }
address {
	
	
	font-size:16px;
	font-style:normal;
	color:#000;
	font-weight:600;
	padding: 3px 0 0 80px;
	
}


#footer { 
	padding: 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	margin-bottom:20px;
	
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	text-align:center;
	font-size:12px;
	color:#000;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-top: 0;
	margin-right: 0px;
	margin-bottom: 0;
	margin-left: 8px;
	border-right-width: 4px;
	border-bottom-width: 4px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #666;
	border-bottom-color: #666;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.gallery img
{
	background: #fff;
	border-color: #aaa #ccc #ddd #bbb;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	padding: 2px;
	vertical-align: top;
	width: 100px;
	height: 75px;
}
.gallery li
{
	background: #eee;
	border-color: #ddd #bbb #aaa #ccc;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	display: inline;
	float: left;
	margin: 3px;
	padding: 5px;
	position: relative;
}
#nav{
font: bold 12px arial;
width: 1050px;
}

#nav ul{
margin: 0;
padding: 0;
list-style-type: none;
}

/*Top level list items*/
#nav ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
#nav ul li a{
font: normal 14px Arial, Helvetica, sans-serif;
font-weight:500;
height: 2em;
width: auto; /*width of sub menus*/
background:url(images/button-back.png);
color:#000;
padding: 10px 24px 0 23px;
margin: 0;
display: block;
border-top-width: 0;
border: 1px solid black;
text-decoration: none;
text-align:center;
}


* html #nav ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

#nav ul li a:link, #nav ul li a:visited{
color: black;
}

#nav ul li a:hover{
background:url(images/button-back.png);/*tab link background during hover state*/
color: #240862;

}

/*** Container Format ***/

	
/*1st sub level menu*/
#nav ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}

/*Side Menu */

.sidemenu ul{
margin: 0;
padding: 30px 0 0 0;
list-style-type: none;
}

.sidemenu ul li a {
font:Arial, Helvetica, sans-serif;
font-size:14px;
font-weight:500;
height: 1.6em;
width: auto; /*width of sub menus*/
background:url(images/button-back.png);
color:#000;
padding: 6px 0px 0px 0px;
margin: 0;
display: block;
border-top-width: 0;
border: 1px solid black;
text-decoration: none;
text-align:center;
}

.sidemenu ul li a:hover{ /*sub menus hover style*/
color: #240862;
}



#content ul
{
padding-left: 15px;
display: block;

}

#content ul li{
margin-left: 45px;
list-style-type: square;
}

#content ul ul li{
padding-left: 15px;
}


#content ol{
list-style-position: inside;
padding-left: 15px;
padding-top: 2px;
margin-bottom: 10px;
}

#content p
{
padding-left: 10px;
}

/*** Footer Format ***/

#footer
{
clear:both;
background: #fff; 
color: #000;
padding: 5px 1em 5px 1em;
font-weight: normal;
}

#footer p
{
display: block;
margin-top: 8px;
margin-bottom: 2px;
text-align:center;
}

#footer a:link {
color: #000;
text-decoration: none;
border: none;
font-weight: bold;
}
#footer a:hover {
color: #000;
text-decoration: none;
border: none;
}

#footer a:visited:hover {
color: #000;
text-decoration: none;
border: none;
}

#footer a:visited {
color: #000;
text-decoration: none;
border: none;
font-weight: bold;
}

#footer img {
padding: 0px 5px 0px 5px;
}

#icons {
	display: inline;
	margin-top: -35px;
	float: right;
	text-align: right;
}


/*** Left Sidebar Format ***/

#sidebarleft
{
color: #000;
margin-bottom: 10px;
margin-top: 0px;
background: none;
padding: 0 5px  0 0px;
margin-left: 2px;

}

#sidebarleft ul
{
list-type:none;
}

#sidebarleft li
{

padding-bottom: 8px;
padding-top: 0px;
}

#sidebarleft ul li
{
display: block;
padding-left: 10px;
margin-left: 0px;
margin-right: 0px;
margin-top: -6px;
padding-bottom: 2px;
padding-top: 6px;
line-height: 15px;

}

#sidebarleft ul li ul li{
display: block;
padding-left: 10px;
margin-left: 0px;
margin-right: 0px;
padding-bottom: 2px;
}

#sidebarleft ul li li{
display: block;
padding-left: 10px;
margin-left: 0px;
margin-right: 0px;
padding-bottom: 2px;
}

#sidebarleft a:link {
color: #000;
text-decoration: none;
border: none;
font-weight: 400;
}

#sidebarleft a:hover {
color: #240862;
text-decoration: none;
border: none;
}

#sidebarleft a:visited:hover {
color: #000;
text-decoration: none;
border: none;
}

#sidebarleft a:visited {
color: #000;
text-decoration: none;
border: none;
font-weight: 400;
}

#sidebarleft h2 {
font-family: Arial, sans-serif; 
color: #F7F7F7;
text-align: center;
padding: 2px 8px 2px 8px;
margin-top:8px;
background: transparent url(./images/sidebar_top.png) top no-repeat;
}

#sidebarleft p
{
padding: 3px;
}

/*** Right Sidebar Format ***/

#sidebarright
{
color: #000;
background: none;
padding: 0 0 0 5px;
margin-top: 35px;
float:right;

}

#sidebarright li
{
list-style:none;
padding-bottom: 8px;
}

#sidebar ul
{
list-style: none;
}

#sidebarright ul li
{
display: block;
padding-left: 10px;
margin-left: 5px;
margin-right: 3px;
padding-bottom: 2px;
list-style:none;
}

#sidebarright li ul li
{
display: block;
padding-left: 10px;
margin-left: 5px;
margin-right: 3px;
padding-bottom: 2px;
}

#sidebarright ul li ul li{
padding-left: 10px;
padding-bottom: 2px;
margin-right: 3px;
}

#sidebarright a:link {
color: #86939D;
text-decoration: none;
font-weight: bold;
border: none;
}

#sidebarright a:hover {
color: #86939D;
text-decoration: underline;
border: none;
}

#sidebarright a:visited:hover {
color: #86939D;
text-decoration: underline;
border: none;
}

#sidebarright a:visited {
color: #86939D;
font-weight: bold;
text-decoration: none;
border: none;
}

#sidebarright h2 {
font-family: Arial, sans-serif; 
color: #000;
padding: 2px 8px 2px 8px;
margin-top:8px;
}

#sidebarleft p
{
padding: 3px;
}


#content h2 { margin: 0 0 .5em 1/px0; }



/*** Paragraph Format ***/

p
{
margin-bottom: 12px;
margin-top: 12px;
}

/*** BlockQuote Format ***/

blockquote
{
margin: 0px 0px 0px 30px;
padding: 0px 25px 0px 20px;
color: #333;

}


/*** PostMeta Format ***/

.postmetadata
{
display:block;
margin: 7px 11px 7px 0px;
border: 1px solid #AAB7BF;
padding: 5px 8px 8px 35px;
text-align: left;
background: #DEE5E8;
color:#333333;
}

#content .postmetadata
{
padding-left: 2px;
}

.postmetadata a:link
{
border: none;
color: #D11200;
font-weight: normal;
}

.postmetadata a:hover
{
border: none;
color: #D11200;
font-weight: normal;
text-decoration: none;
}

.postmetadata a:visited:hover
{
border: none;
color: #D11200;
font-weight: normal;
}

.postmetadata a:visited
{
border: none;
color: #D11200;
font-weight: normal;
}

/*** All Links Format ***/

a:link
{
color: #E31C00;
text-decoration: none;
font-weight: bold;
}

a:hover
{
text-decoration: none;
}

a:visited
{
color: #E31C00;
text-decoration: none;
font-weight: normal;
}

a:visited:hover
{
text-decoration: none;
}

a img 
{
border:none;
background:none;
padding:5px;
}

#feed, #feed img a:link, #feed img a:visited
{
border: none;
}


/*** Comments Format ***/

.commentlist
{
font-family: Arial, sans-serif; 
padding-left: 40px;
padding-right: 15px;
background: #fff;
color: #000;
}

.commentlist li
{
margin: 8px 10px 8px 15px;
padding-left: 12px;
list-style: none;
background: #DEE5E8;
margin-bottom: 2px;
border: 1px solid #B7C4C9;
}

li.alt
{
background: #fff;
border: 1px solid #B4BFC4;
}

.commentlist cite
{
padding: 2px 3px 1px 3px;
}

.commentlist p
{
padding: 5px 5px 2px 3px;
margin-bottom: 5px;
}

.commentlist a:link
{
border: none;
text-decoration: none;
font-weight: bold;
color: #83939D;
}

.commentlist a:visited
{
border: none;
text-decoration: none;
font-weight: bold;
color: #83939D;
}

.commentlist a:hover
{
border: none;
text-decoration: none;
font-weight: bold;
color: #83939D;
}

.commentlist a:visited:hover
{
border: none;
text-decoration: none;
font-weight: bold;
color: #83939D;
}

.commentmetadata a:link, .commentmetadata a:hover, .commentmetadata a:visited
{
text-decoration: none;
color: #83939D;
}

#comment
{
width:80%;
}

/*** Headings Format ***/

h1
{
font-size: 36px;
color: #666666;
}

h2
{
font-family: Arial, sans-serif; 
display: block;
font-size: 16px;
font-weight: bold;
padding: 5px 0 0 0;
margin: 5px 0 6px 0;
text-align: left;
}

h3
{
font-family: Arial, sans-serif; 
display: block;
font-size: 14px;
font-weight: bold;
padding: 5px 0 0 0;
margin: 5px 0 6px 0;
text-align: left;
}


.posttitle a:link
{
font-size: 26px;
color: #466781;
font-weight: bold;
}

.posttitle a:visited
{
font-size: 26px;
color: #466781;
font-weight: bold;
}

.posttitle a:hover
{
font-size: 26px;
color: #466781;
font-weight: bold;
text-decoration: none;
}

.posttitle a:visited:hover
{
text-decoration: none;
}

h4
{
font-family: Arial, sans-serif; 
margin-top: 15px;
font-size: 13px;
font-weight: bold;
padding: 5px 0 0 0;
margin: 5px 0 6px 0;
text-align: left;
}

h5
{
font-family: Arial, sans-serif; 
margin-top: 15px;
font-size: 12px;
font-weight: bold;
padding: 5px 0 0 0;
margin: 5px 0 6px 0;
text-align: left;
}

/*** Misc Format ***/

.date
{
font-size: 12px;
float: right;
text-transform: uppercase;
padding: 0px 5px 3px 0px;
margin-top: 0px;
text-align: center;
color: #466781;

}

.entry
{
margin-bottom: 5px;
font-family: Arial, sans-serif; 
}
                         /*Contained Floats Fix*/
.post
{
display: block;
overflow:hidden;
width:98%;
}
                     /*Code*/
code
{
display: block;
margin: 10px 30px 0 30px;
padding: 2px 10px 5px 10px;
border-top: 4px solid #798288;
color: #666666;
background: #efefef;
}

/*#searchform {
margin-left: 5px;
	}*/

/*** Navigation Format ***/

#navigation 
{
margin-left:auto;
margin-right:auto;
width: 980px;
overflow: hidden;
height: 30px;
line-height:2.4em;
background: #C14C00 url(./images/navon.gif) repeat-x;
margin-bottom: 0;
font-family: Arial, Sans-Serif;
}


.button
{
margin-bottom: -4px;
}


/*** Calendar Format ***/

#wp-calendar 
{
empty-cells: show;
margin: 10px auto 0;
width: 160px;
}

#wp-calendar #next a 
{
padding-right: 10px;
text-align: right;
}

#wp-calendar #prev a 
{
padding-left: 10px;
text-align: left;
}

#wp-calendar td 
{
padding: 2px 0;
text-align: center;
}

#wp-calendar th 
{
/*padding: 3px 0;*/
text-align: center;
}

#wp-calendar caption 
{
text-align: center;
width: 100%;
text-transform: uppercase;
font-weight: bold;
}

img 
{	
border:none;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

.navigation {
display: block;
text-align: center;
margin-top: 10px;
margin-bottom: 0;
}

.wp-smiley
{
padding: 0;
}

.textwidget
{
margin: 2px 5px 2px 5px;
}
