/*  
Theme Name: WordPress NIC
Theme URI: http://www.northerninsulation.com/
Description: Northern Insulation Theme By Orbit Internet.
Version: 1.0
Author: Bill Westhead
Author URI: http://www.orbit-internet.com/

*/


/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/

* {
	font-size: 11px;
	font-family: Verdana, Arial, sans-serif;
}

html, body {
	margin: 0px;
	padding: 0px;
}

body {
	background: url(images/main_bg.jpg);
	background-image: url(images/main_bg.jpg);
	background-repeat: repeat-x;
background-color: #cccccc;
	text-align: left;
}

div#pageStruct {
	margin-top: 0px;
	margin-right: auto;
	margin-left: 0px;
	margin-bottom: 20px;
	width: 1000px;
	min-width: 990px;
	height: auto;
	min-height: 560px;
}

div#mainContent {
	text-align: left;
	float: left;
	height: auto;
	min-height: 560px;
/*	background: #ad882f; */
	background-color: #ffffff;
	border-right: 1px solid #ffffff;
}

div#mainContent * {
	color: #333333;
}

div#pageContent {
	float: left;
	background: #ffffff;
	background-color: #ffffff;
	width: 590px;
	height: auto;
	min-height: 560px;
	margin: 0px;
	padding: 0px;
	margin-right: -5px;
}

div#pageContent p, div#pageContent h1, div#pageContent h2, div#pageContent h3, div#pageContent small {
	padding-left: 25px;
	text-align: justify;
}

div#pageContent table { margin: 25px; }

div#topNav {
	background: url(images/navbar_bg.jpg);
	background-image: url(images/navbar_bg.jpg);
	background-repeat: repeat-x;
	width: 100%;
	height: 31px;
	border-top: 1px solid #ffffff;
	border-bottom: 3px solid #cc9933;
}

div#topNav * {
	text-align: center;
}

div#topNav table tr td {
	border-top: 3px solid #cc9933;
	border-bottom: 1px solid #ffffff;
	vertical-align: middle;
}

div#topNav * a {
	color: #ffffff;
	font-weight: bold;
}

div#homeBanner {
	width: 685px;
	height: 160px;
	margin-left: 40px;
	margin-top: 15px;
	background: url(images/banner_bg.jpg);
	background-image: url(images/banner_bg.jpg);
}

div#homeBanner * {
	background: transparent;
	color: #ffffff;
}

div#homeBanner img, div#homeBanner p {
	float: left;
	margin: 10px;
}

div#homeBanner img {
	border: 1px solid #ffffff;
}

div.panelOrange, div.panelGrey {
	width: 185px;
	height: 200px;
	padding-top: 1px;
}

div.panelOrange {
/*	background: url(images/panel_o_bg.jpg);
	background-image: url(images/panel_o_bg.jpg);
	background-repeat: no-repeat; */
}

div.panelGrey {
/*	background: url(images/panel_g_bg.jpg);
	background-image: url(images/panel_g_bg.jpg);
	background-repeat: no-repeat; */
}

div.panelOrange p, div.panelGrey p {
	text-align: left;
	padding-right: 5px;
	padding-left: 5px !important;
}

div.panelTop {
	margin-top: 0px;
	margin-bottom: 10px;
}

div.panelMiddle {
	margin-top: 10px;
	margin-bottom: 10px;
}

div.panelBottom {
	margin-top: 10px;
	margin-bottom: 0px;
}

p#footerLinks {
clear: both;
margin: 0px;
padding: 5px;
	text-align: center;
background-color: #ffffff;
}

div#footBreak {
	float: left;
	background: none;
	background: url(images/navbar_bg.jpg) !important;
	background-image: url(images/navbar_bg.jpg) !important;
	background-repeat: repeat-x;
	width: 100%;
	height: 31px;
	margin: 0px;
}

/* Right Sidebar */

div#rightSidebar {
	width: 200px;
	height: 100%;
	float: right;
	border-top: 2px solid #ffffff;
	background: url(images/latest_news_header.jpg);
	background-image: url(images/latest_news_header.jpg);
}

div#rightSidebar * {
	color: #ffffff;
}

div#rightSidebar p, div#rightSidebar h2 {
	margin: 1em;
	padding: 0em;
}

div#casestudies {
	height: auto;
	min-height: 220px;
	color: #ffffff;
	background: #ad882f;
	background-color: #ad882f;
margin-bottom: -10px;
}

/* Footer */

div#footer {
	text-align: left;
	width: 100%;
	margin-top: 0px;
	margin-right: auto;
	margin-left: 0px;
	min-width: 990px;
	height: auto;
	background: #ffffff;
	background-color: #ffffff;
	padding-top: 7px;
	padding-bottom: 7px;
}

div#footer img {
	border: 0px solid #ffffff;
	margin-top: 40px;
}

ul.breadcrumb {
	margin-top: 0.5em;
	margin-left: 2em;
	padding: 0px;
}

ul.breadcrumb li {
	display: inline;
}

/* Global Classes and tags */

div {
	padding: 0px;
}

p, h1, h2 {
	margin-right: 2em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	text-indent: 0px;
}

a {
	text-decoration: none;
	color: #666666;
	font-weight: bold;
}

a:hover, div#topNav * a:hover {
	text-decoration: underline;
}

.right {
	float: right;
}

/*menu */

#nav {
            margin-left: 4px;
            margin: 0px;
            list-style: none;
            padding: 0;
            border: 1px solid #cc9933;
            border-width: 0px 0px 0px 1px;
/*            background-image: url(images/navbar_bg.jpg); */
}

#nav ul {
            margin: 0;
            padding: 0;
            height: 1em;
}

#toolbar form {
            margin: 0;
            padding: 0.1em 2em 0.1em 0em;
            height: 1em;
}

#toolbar input {
            margin: 1px;
}

#nav a {
            display: block;
            color: #fff;
            text-decoration: none;
            padding: 0.1em 1.0em;
            /* background-image: url(images/navbar_separator.jpg); */
            background-position: right middle;
            background-repeat: no-repeat;
            background-color: none;
            height: 20px;
            padding-top: 7px;
            white-space: no-wrap;
text-align: left;
}


#nav li {
            float: left;
            padding: 0;
            background: none;
            border: 1px solid #ad882f;
            border-width: 0px 0;
}

#nav li ul {
            position: absolute;
            left: -999em;
            height: auto;
            background: #333333;
/*            background-image: url(images/navbar_bg.jpg); */
            width: 17.4em;
            w\idth: 15.9em;
            font-weight: normal;
            border: 1px solid #333333;
            margin: 0;
            list-style: none;
}

#nav li li {
            padding-right: 1em;
            width: 15.4em;
            border: 0px;
}

#nav li ul a {
            white-space: no-wrap;
            width: 17em;
            w\idth: 14em;
background-image: none;
}

#nav li ul ul {
            margin: -1.75em 0 0 8em;
}
 
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
            left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
            left: auto;
}

#nav li:hover, #nav li.sfhover {
            text-decoration: underline;
            color: #ffffff;
}

/* end menu */