/*
Theme Name: Midnight Communications
Description: Midnight Communications Theme
Version: 1.0
Author: 021 creative
Author URI: http://www.021creative.com/
*/

body {
	font-size: 85.5%; /* Resets 1em to 10px */
	font-family: Arial,Helvetica,sans-serif;
	background: #000008 url(http://www.021creative.com/MIDNIGHT/wp-content/themes/Midnight/images/starry-bg.jpg) no-repeat center top;
	color: #333;
	margin:0px 0 0 0;padding:0;
	text-align: left;
	}

a:link {
	color:#24247c;
}

a:visited {
	color:#24247c;
}

a:hover { 
	color: #a7a7a7;
}

a:active {
	color:#a7a7a7;
}



/*------------ Basic layout outline ------------ */

#page{
	line-height: 20px;
	width: 901px;
	margin-left: auto;
	margin-right: auto;
}

.wrap-middle{
	padding:20px 0px 0px 0px;
	float:left;
	width: 901px; 
	background:#ffffff url(images/content-bg.gif) repeat-y top left;
	border-top:2px solid #cfcfcf;

}



/*-------------Header------------ */

.site-banner {
	width: 100%;
	float:left;
	background:#fff;
	position:relative;
}

#logo  {
	display:block;
	float:left;
}

#tel{
float:right;
}

#banner-image {
}


/*featured block below logo*/

.top-right-splash{
	width: 716px;
	float:left;
	height: 188px;
	background:#e5e5e5 url(images/top-right-splash.gif) no-repeat top left;
}

.top-left-splash{
	height: 188px;
	background:#e5e5e5;
	float:left;
	overflow:hidden;
}


.featured-story{
	float:right;
	width: 530px; 
	padding-right: 15px;	
	font-size:11px;
	padding-top: 10px;
}

.featured-story h2.link{
        font-size: 20px;
}

.featured-story .post-thumbnail{
	float:left;
	margin-left: 0px; 
	margin-right:8px;
	margin-top:14px;
}

.featured-story .top-tools{
	border-color:#cdcdcd;
}


#about-us{
	float:left;
	width: 110px;
	padding: 10px 0px 0 10px;
	color:#b9bbbd;
	font-size:11px; 
}

.blue-text{
	text-transform:uppercase;
	font-family:century gothic;
	color:#0aa0d0;
	font-size: 15px;
}

div.formBuilderCaptcha input {
margin-top:10px;
width:120px;
}

/* --------Sidebar------------*/

#sidebar-right{
	float:right;
	padding: 0px;
	width:339px;
	padding:0 0 0 12px;
	overflow:hidden;
	min-height:550px;
}

#sidebar-right a:visited {
    color:#000000;
}
#sidebar-right a:hover {
    color:#24247C;
}

/*sidebar-searchbox*/

.search-box form{
	margin:0;
	padding:0;
}

.search-box{
	height: 26px;
	padding: 0;
	margin-bottom: 20px;
}

 input.search-field{ 
 	float: left;
	border:1px solid #dedfe0;
	margin:0;
	padding: 4px 0px 1px 4px;
	height:18px;background: #ffffff;
	width: 250px;
}
 
 input.search-go { 
 	float:left;
	border:0;
	margin:0;
	padding:0;
	margin-left: 5px;
	height: 25px;
	width: 60px;
	background: url(images/search.gif) no-repeat top left;
	cursor: pointer;
}
 
#quoterotator{
	width:325px;
	color:#000;

}

#quoterotator blockquote {
	padding:0px;
	margin-left: 0px;
	margin-bottom:0px;
	font-size:1.2em;
	width:325px;
}

#quoterotator p.quote-author{
	font-weight:bold;
}

.side-box{
	float:left;
	margin-bottom: 5px;
	width: 100%;
	color:#000;
}

.side-box h3 {
	border-top:1px solid #DBDCDE;
color:#000000;
font-family:arial;
font-size:0.9em;
font-weight:bold;
letter-spacing:0;
margin-bottom:5px;
margin-right:12px;
padding-top:5px;
text-decoration:none;
}

li.pagenav h3{
color:#000;
font-family:arial;
font-size:1em;
font-weight:bold;
letter-spacing:0;
margin-bottom:5px;
margin-right:12px;
padding-top:5px;
text-decoration:none;
}

li.pagenav {
list-style-type:none;
margin-left:-40px;
}

li.pagenav ul li{
list-style-type:none;
margin-left:-39px;
}

li.pagenav ul li a:hover, li.pagenav ul li a:active {
color:#fff;
text-decoration:underline;
}

li.pagenav ul li a, li.pagenav ul li a:visited{
text-decoration:none;
}

.side-box h3.widgettitle a li{
padding-left:0px;

}

ul.subpages li a{
margin:0px;
line-height:1.4em;

}
.side-box h3 img,.side-box-rss h3 img {
float:right
}
.side-box a.rss{
	margin-left: 20px;
	padding-left: 30px;
	margin-right: 30px;
	background:url(images/rss.gif) no-repeat center left;
	display:inline-block;
	line-height: 28px;
        text-decoration: none;
}

.side-box a.email{
	padding-left: 30px;
	background:url(images/email.gif) no-repeat center left;
	display:inline-block;
	line-height: 28px;
        text-decoration: none;
}


.side-box ul{
	margin:0 0 15px 0;
	padding:0;
	list-style:none;
	margin-right: 11px;
}

.side-box ul ul {
	margin-right: 0;
	text-indent: 5px;
}

.side-box ul ul ul{
	margin-right: 0;
	text-indent: 10px;
}

.side-box li a:visited{
	color:#7e7f81;
}

.side-box li a{
	color:#000;
	display:block;
	line-height: 28px;
	padding:0 0 0 0px;
	list-style:none;
	text-decoration: none;
	font-size: 12px;
}


.side-box li a:hover{
	color:#24247c;
}



.side-box .divide{
	width: 169px;
	float:left;
}

.side-box-rss {
	float:left;
	margin:0px 0px 40px 0px;
	padding:0px 0px 5px 0px;
	width: 100%;
	color:#000;

}

.side-box-rss h3 {
border-top:1px solid #DBDCDE;
border-bottom:1px solid #DBDCDE;
color:#000000;
font-family:arial;
font-size:0.9em;
font-weight:bold;
letter-spacing:0;
margin-bottom:5px;
margin-right:12px;
padding-left:3px;
padding-top:5px;
padding-bottom:15px;
}

.side-box li a.twitter-link {
	color:#000;
}


.side-box ul.sections{
	margin: 0px;
}

.side-box ul.sections li  {
	float:left; 
	width:158px;
	margin-top: 0px;
	margin-right: 11px;
}


* html .side-box li a{
	height: 28px;
} 



/* --------Main Content------------*/

#content{
	float:left;
	padding: 0px;
	width: 519px;
	padding: 0 15px 0 15px;
	overflow:hidden;
}

.post{
	width: 499px;
	padding-top: 7px;
	margin-bottom: 25px;
	color:#333;
	float:left;
}


.post-thumbnail{
	float:right;
	margin-top: 20px; 
	margin-left: 5px;
	border:1px solid #d5d5d5;
	padding: 3px;
}

.post-thumbnail img{
	vertical-align:bottom;
	width: 125px; 
	height: 90px;
}

a.post-edit-link {
clear:left;
color:#24247c;
}

.entry{
	margin:0;
	padding:0;
}

.entry p{
	margin:10px 0;
}



.top-tools{
	clear:both;
	font-size: 12px;
	width: 100%;
	padding: 5px 0; 
	border-bottom: 1px solid #e3e3e4;
	color:#bcbdc1;
}

.top-tools span{
	color:#979799;
}


.tools a:visited {
	color:#6e6f71;
}

.tools a{
	text-decoration:none;
	color:#6e6f71;
}

.tools  span{
	color:#bcbdc1;
	text-transform:uppercase;
	font-size:11px;
}

.tools{
	font-size: 12px;
	float:left;
	border-top: 1px solid #e3e3e4;
	border-bottom: 1px solid #e3e3e4;
	line-height: 28px;
	width: 100%;
}


.no-border{
	border-bottom: 0;
}


.list-items {
	margin:0;
	padding:0;
	list-style:none;
	width: 350px;
	float:left;
}

.share{
	width: 110px; 
	float:right;
}


.list-items li a:visited{
	color:#7e7f81;
}

.list-items li a{
	color:#7e7f81;
	display:block;
	line-height: 28px;
	padding:0 0 0 3px;
	list-style:none;
	text-decoration: none;
	font-size: 12px;
	border-top: 1px solid #dbdcde;
}

.list-items li a:hover{
	background:#e5e5e5;
	color:#1fa5de;
}


* html .list-items li a{
	height: 28px;
} 



/* ---------------Comments----------------*/

.commentlist{
	margin:0;
	padding:0;
}

.comment{
	background:#F1F1F1;
	margin-bottom: 5px;
	display:block;
	padding: 10px;
}

.comment .avatar{
	float:right;
	border:1px solid #e5e5e5;
	padding:1px;
}

.alt{
	background: #F1F1F1;
}

.admin{
	background:#E1F3FD;
}

#respond{
	margin-top: 18px;
}

 
 textarea{
 	width: 500px;
}
 


/* --------Others------------*/

img{
	border:none;
}




blockquote p{
	background:#E1F3FD;
	padding:20px;
	margin:0;
}


.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
}


.float-left{
	float:left;
}

.float-right{
	float:right;
}


.clear-fix{
	height:0px;
	line-height: 0px;
}



/*post navigation */

.older-newer a:visited{
	color:#77787b;
}

.older-newer a:hover{
	color:#1fa5de;
}

.older-newer a{
	font-weight: bold;
	text-decoration:none;
	font-size: 12px;
	color:#77787b;
}

.older-left a{
	float:left;
	display:block;
	padding: 5px 0 4px 20px;
	background:url(images/older-left.gif) no-repeat center left;
}

.newer-right a{
	float:right;
	display:block;
	padding: 5px 20px 4px 0px;
	background:url(images/newer-right.gif) no-repeat center right;
}






/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will 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 */



/* --------Footer------------*/

#footer{
	background-color:#59595B;
	padding: 25px 0 10px 0;
	float:left;
	width: 100%;
	text-align:center;
		color:#fff;
}

#footer p{
	color:#fff;
	margin-bottom: 0;
    font-size:0.8em;
	
}

#footer ul{
	list-style:none;
	margin:0;
	padding:0;
}

#footer li{
	display:inline;
}

#footer li a{
	margin-right: 10px;
}

#footer a:visited{
	color:#fff;
	text-decoration:none;
}

#footer a:hover{
	color:#fff;
}

#footer a{
	color:#fff;
	text-decoration:none;
}

.footerpages{
        border-bottom: 1px solid #666666;
        padding-bottom: 10px;
        margin-bottom: 10px;
	    font-size: 0.8em;
}

/*------------ Navigation tabs ----------*/

#menu-top {
clear:left;
height:44px;
width:905px;
}

#navtabs { 
    list-style: none; 
    padding: 0; 
    height: 44px; 
    font-family:Verdana;
	font-size:1.em;
    font-weight: bold; 
	margin: 0px;
} 
 
#navtabs li { 
    float: left; 
    background: #24247c url(images/tab.jpg) no-repeat left top; 
    padding: 10px 0 0 0px; 
    margin: 0px 3.5px 0px 0px; 
	height:34px;
	width:97px;
	text-align:center;
	line-height:1.2em;
} 
 
#navtabs li a { 
   /* background: #24247c url(images/tabright.png) no-repeat top right; */
    padding: 14px 0px 8px 0; 
	margin-top:5px;
	text-decoration:none;
	color:#fff;
	font-weight:normal;
	font-size:0.9em;
} 
 
#navtabs li.current_page_item { 
    background: #a7a7a7 url(images/tab_active.jpg) no-repeat left top; 
	text-decoration:none;
	text-align:center;
} 
 
#navtabs li.current_page_item a { 
  /*  background: #a7a7a7 url(images/tabright_active.png) no-repeat right top; */
    color: #24247c; 
}

/*-------------cufon -------------*/

.cufon-loading h1 { /* for Cufon.replace('h1') */
	visibility: hidden !important;
}

.cufon-active h1 { /* for Cufon.replace('h1') */
	font-size: 2em;
	display:inline;
	line-height:0.9em;
	font-weight:normal;
}

.cufon-active h2 { /* for Cufon.replace('h1') */
	font-size: 1.7em;
	letter-spacing:0px;
	display:inline;
	font-weight:normal;
}

.cufon-active h1 a, .cufon-active h2 a{ 
	text-decoration:none;
}

.cufon-loading blockquote { /* for Cufon.replace('h1') */
	visibility: hidden !important;
}


h1{
	margin: 0px 0px 25px 0px; 
	color:#24247c;
}

h2{
	margin:0;
	padding:0;
	font-weight:normal;
	color:#24247c;
}

h3{
	margin: 0px 0px 15px 0px;
}

h4{
	margin: 0px 0px 15px 0px;
}

.intro-paragraph{
	font-size:20px;
	font-weight:normal;
	line-height:1.2em;
}