body{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #FFF;
	text-decoration: none;
	margin: 0px;
	padding: 0px; /* this is the key! */
	background-image: url(../images/bg.jpg);
	background-repeat: repeat;
	
}
a:link, a:visited
{
color: #fff;
text-decoration:none;
}
a:hover
{
color: #fff;
text-decoration:underline;
}
#container {
	width: 970px;
	margin: 0 auto;
}

#header {
	width: 100%;
	height: 50px;
	padding:5px;
	top:0;
}
#logo {
	background-image: url(../images/logo_bg.png);
	background-repeat: no-repeat;
	float: left;
	height: 81px;
	width: 543px;
	padding-top: 15px;
}
#links {
	height: 80px;
	width: 974px;
	line-height: 34px;
	margin-top: 6px;
	float: left;
	background-image: url(../images/nav_bg.png);
	margin-bottom: 10px;
}
#content h1 {
	background-image: url(../images/h2_long.png);
	background-repeat: no-repeat;
	color: #FFF;
	margin: 0px;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 17px;
}


#content {
	margin-top:10px;
	float: left;
	width: 450px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
		
}
#content img {
	float: left;
	border: 1px solid #999;
	margin-right: 20px;
}


.wrap {
	padding: 10px;
}

#side {
	float: right;
	width: 245px;
	margin-top: 10px;
	margin-left:5px;
}
#side_left {
	float: left;
	width: 245px;
	margin-top: 10px;
	margin-right:10px;
}

.box {
	height: auto;
	
	
}
.heading {
	background-image: url(../images/h2_short.png);
	background-repeat: no-repeat;

}

.heading h1{
	color: #FFF;
	font-size: 12px;
	text-transform: uppercase;
	margin-top: 0px;
	height: 50px;
	line-height: 25px;
	margin-left: 10px;
	margin-bottom: 0px;
	width: 242px;
	padding-top: 15px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 15px;

}
#news h2 a{
	color: #fff;
	font-size: 10px;
	font-weight:bold;
	text-transform: uppercase;
	margin-top: 5px;
	margin-bottom: 5px;
}
#news h3{
	color: #fff;
	font-size: 10px;
	font-weight:normal;
	margin-top: 2px;
	margin-bottom: 5px;

}
#twitter {
	margin-top: 10px;
}
#twitter ul {
	margin: 0px;
	list-style-type: none;
}


#contact {
	margin-top: 10px;
	height: 250px;
}

#tags {
	margin-top: 10px;
}

.log_line {float:left; margin:0 0 10px 0; height:18px; width:272px; text-align:left; padding:0 0 0 13px}
.log_text {float:left; display:inline; width:100px}

/*
Slideshow
*/
#slider1 {
	width:970px; /* To be same as image width */
	height:350px; /* To be same as image height */
	position: relative;
	overflow: hidden;
	border:3px solid #000;
	margin-left: 0;
	margin-top: 0px;
	clear: both;
}

#slider1Content {
	width:970px; /* To be same as image width or wider */
	position: absolute;
	top: 0;
	list-style:none;
	margin:0;
	padding:0;
}
.slider1Image {
float: left;
position: relative;
display: none;
}
.slider1Image span {
	position: absolute;
	font: 10px/15px Arial, Helvetica, sans-serif;
	padding: 10px 13px;
	width:970px;
	background-color: #000;
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
	color: #fff;
	display: none;
	bottom:0px;
}
.clear {
	clear: both;
}
.slider1Image span strong {
    font-size: 14px;
}

#slider1 ul { list-style-type: none;	margin: 0;
	padding: 0;}

/*nav*/
#mainnav {
	background: #000000;
	margin: 0px 0 0;
	width: 970px;
	float: left;
	z-index: 9999;
}

#mainnav a, #subnav a {
	line-height: normal;
	outline: none;
}

#subnav ul {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

#subnav li {
	background: none;
	display: block;
	line-height: normal;
	margin: 0;
	padding: 2px 0;
}

#subnav li a {
	color: #FFF;
	display: block;
	margin: 0;
	outline: none;
	padding: 6px 5px 6px 0;
	text-decoration: none;
	background-image: url(images/arrow.gif);
	background-repeat: no-repeat;
	background-position: right 10px;
}

#subnav li a:hover,
#subnav li a:active,
#subnav li a:focus {
	background: url(../../Copy%20of%20thunderhatdesign/images/arrow-hover.gif) no-repeat right 10px;
	color: #204055;
	text-decoration: none;
}

#subnav li.active a {
	background: url(../../Copy%20of%20thunderhatdesign/images/arrow-hover.gif) no-repeat right 10px;
	color: #FFF;
	font-weight: bold;
}
#cssmenu {
	margin: 0; /* all lists */
	padding: 0;
}

#cssmenu ul {
	margin: 0; /* all lists */
	padding: 0;
}

#cssmenu li {
	float: left;
	display: block;
	padding: 0 1px 0 0;
	margin: 0;
	background: none;
}

#cssmenu li ul {
	width: 14em;
	position: absolute; /* second-level lists */
	z-index: 99;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	height: auto;
	w\idth: 15.9em;
}

#cssmenu li ul ul {
	margin: -2em 0 0 15em; /* third-and-above-level lists */
}

#cssmenu li li {
	padding: 0 0 0 0;
	margin: 0;
	width: 15.9em;
}

#cssmenu ul a {
	width: 14.8em;
	w\idth: 10.8em;
}

#cssmenu li:hover ul ul, #cssmenu li:hover ul ul ul,
#cssmenu li.sfhover ul ul, #cssmenu li.havechildsfhover ul ul, #cssmenu li.havechild-activesfhover ul ul, #cssmenu li.activesfhover ul ul,
#jcssmenu li.sfhover ul ul ul, #cssmenu li.havechildsfhover ul ul ul, #cssmenu li.havechild-activesfhover ul ul ul, #cssmenu li.activesfhover ul ul ul {
	left: -999em;
}

/* This "unhides" the sub-menus (left: -999em is what hides them) */
#cssmenu li:hover ul, #cssmenu li li:hover ul, #cssmenu li li li:hover ul,
#cssmenu li.sfhover ul, #cssmenu li.havechildsfhover ul, #cssmenu li.havechild-activesfhover ul, #cssmenu li.activesfhover ul,
#cssmenu li li.sfhover ul, #cssmenu li li.havesubchildsfhover ul, #cssmenu li li.havesubchild-activesfhover ul, #cssmenu li li.activesfhover ul,
#cssmenu li li li.sfhover ul, #cssmenu li li li.havesubchildsfhover ul, #cssmenu li li li.havesubchild-activesfhover ul, #cssmenu li li li.activesfhover ul {
	left: auto;
}

/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#cssmenu li a {
	background: url(../../images/arrow4.gif) no-repeat right 16px #000000;
	display: block;
	text-decoration: none;
	font-size: 98%;
	color: #FFF;
	font-weight: bold;
	text-transform: uppercase;
	padding-top: 20px;
	padding-right: 15px;
	padding-bottom: 11px;
	padding-left: 15px;
}

#cssmenu li a.first-item {
	border-left: none;
}

#cssmenu li a.last-item {
	border-right: none;
}

#cssmenu li a:hover,
#cssmenu li a:active,
#cssmenu li a:focus {
	background: url(../../images/arrow4-hover.gif) no-repeat right 16px;
	color: #FFFFFF;
}

#cssmenu li:hover a,
#cssmenu li.sfhover a,
#cssmenu li.havechildsfhover a,
#cssmenu li.havechild.activesfhover a {
	background: url(../../images/arrow4-hover.gif) no-repeat right 16px;
	color: #FFFFFF;
}

#cssmenu li.active a {
	color: #FFFFFF;
	background-color: #666;
	background-image: url(../../images/arrow4-hover.gif);
	background-repeat: no-repeat;
	background-position: right 16px;
}

#cssmenu li a.active:hover,
#cssmenu li a.active:active,
#cssmenu li a.active:focus {
	color: #FFFFFF;
}

#cssmenu li.havechild:hover a,
#cssmenu li.havechildsfhover a,
#cssmenu li.activesfhover a  {
	background: url(../../images/arrow4-hover.gif) no-repeat right 16px;
}

/* 2nd level and above */
#cssmenu li ul {
	border: 1px solid #2D2D2D;
	background-image: url(../../Copy%20of%20thunderhatdesign/images/trans-bg.png);
}

#cssmenu li ul ul {
	border: 1px solid #2D2D2D;
}

#cssmenu li ul li {
	border-bottom: 1px solid #2D2D2D;
	border-right: none;
	background: none;
}

#cssmenu li ul a {
	border-right: none;
	margin: 0;
	padding: 7px 10px;
	background: none !important;
	text-transform: none;
	font-weight: normal;
	font-size: 100%;
	white-space: nowrap;
	color: #CCCCCC !important;
	width: 14em;
}

#cssmenu li.havesubchild,
#cssmenu li.havesubchild-active {
	background: url(../../Copy%20of%20thunderhatdesign/css/img/arrow-1.gif) no-repeat 95% 50%;
}

#cssmenu li ul a:hover,
#cssmenu li ul a:active,
#cssmenu li ul a:focus,
#cssmenu ul li:hover,
#cssmenu ul li.sfhover,
#cssmenu ul li.havesubchildsfhover,
#cssmenu ul li.havesubchild.activesfhover,
#cssmenu ul ul li:hover,
#cssmenu ul ul li.sfhover,
#cssmenu ul ul li.havesubchildsfhover,
#cssmenu ul ul li.havesubchild.activesfhover {
	background: #BB2222 !important;
	color: #FFFFFF !important;
}

#cssmenu ul li a.active {
	background: none !important;
	color: #FFFFFF !important;
	font-weight: bold !important;
}

#cssmenu ul li a.active:hover,
#cssmenu ul li a.active:active,
#cssmenu ul li a.active:focus {
	color: #FFFFFF !important;
}

#tagcloud {
	width: 300px;
	background:#FFFFCC;
	color:#0066FF;
	padding: 10px;
	border: 1px solid #FFE7B6;
	text-align:center;
}
#tagcloud a:link, #tagcloud a:visited {
	text-decoration:none;
}
#tagcloud a:hover, #tagcloud a:active {
	text-decoration: underline;
	color: #000;
}
#tagcloud span {
	padding: 4px;
}
.smallest {
	font-size: x-small;
}
.small {
	font-size: small;
}
.medium {
	font-size:medium;
}
.large {
	font-size:large;
}
.largest {
	font-size:larger;
}

#footer {
	float:left;
	width:970px;
	color:#FFF;
	height:auto;
	padding:20px 0 20px 0;
	display:inline;
	clear: both;
	background-repeat: no-repeat;
	background-position: 50% 0;
	margin-top: 20px;
	background-image: url(../images/footer_bg.png);
	text-align:center;	
}
.foot_l {float:left; width:130px; height:auto; padding:10px 0 0 40px; background:url(../../Copy%20of%20thunderhatdesign/images/foot_l.jpg) 0 0 no-repeat; text-align:left; font-size:13px; /*border-left:#ec008c 1px solid*/}
.foot_r {float:left; width:227px; height:auto; padding:10px 0 0 33px; background:url(../../Copy%20of%20thunderhatdesign/images/foot_r.jpg) 0 0 no-repeat; text-align:left; font-size:13px}
.foot_t {float:left; width:208px; height:auto; padding:10px 0 0 37px; background:url(../../Copy%20of%20thunderhatdesign/images/foot_t.jpg) 0 0 no-repeat; text-align:left; font-size:13px}
.foot_c {float:left; width:191px; height:auto; padding:10px 0 0 34px; background:url(../../Copy%20of%20thunderhatdesign/images/foot_c.jpg) 0 0 no-repeat; text-align:left; font-size:13px}
#footer a {
	color:#FFF;
	text-decoration:none
}
#footer a:hover {
	color:#999
}
/*****Custom Classes*****/
.clearing { clear: both; }
.last { margin-bottom: 0; }
.screenReader { left: -9999px; position: absolute; top: -9999px; }

/*****Portfolio*****/
#portfolio div#container { margin: 20px auto 0; overflow: hidden; width: 672px; }

#portfolio ul#filter { float: left; font-size: 16px; list-style: none; margin-left: 0; width: 100%; }
#portfolio ul#filter li { 
	border-right: 1px solid #dedede;
	float: left;
	line-height: 16px;
	margin-right: 10px;
	padding-right: 10px;
}
#portfolio ul#filter li:last-child { border-right: none; margin-right: 0; padding-right: 0; }
#portfolio ul#filter a { color: #999; text-decoration: none; }
#portfolio ul#filter li.current a, #portfolio ul#filter a:hover { text-decoration: underline; }
#portfolio ul#filter li.current a { color: #333; font-weight: bold; }

#portfolio ul#portfolio1 { float: left; list-style: none; margin-left: 0; width: 672px; }
#portfolio ul#portfolio1 li { 
	border: 1px solid #dedede; 
	float: left; 
	margin: 0 10px 10px 0; 
	padding: 5px;
	width: 202px;
}
#portfolio ul#portfolio1 a { display: block; width: 100%; }
#portfolio ul#portfolio1 a:hover { text-decoration: none; }
#portfolio ul#portfolio1 img { border: 1px solid #dedede; display: block; padding-bottom: 5px; }
