/*  
Theme Name: Cory Permack
Description: Cory Permack by deBruynDesign
Version: 1.2.0
Author: Alan Chiu @ deBruynDesign
Author URI: http://www.debruyndesign.com/
*/

* {margin: 0; padding: 0;}

/* clearfix snippet */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}
a, img a{
	outline: none;
}

/********************************************************/
/*                  general layout                      */
/********************************************************/

body {
	background: #000;
	font-family: calibri, helvetica, sans-serif;
	font-size: 12px;
	color: #5c5c5c;
	}

a {
	text-decoration: none;
	color: #ff0000;
	font-size: 16px;
	}
	
a:hover { color: #5C5C5C; }
	
h1, h1 a {
	font-size: 18px;
	color: #ff0000;
	margin-bottom: 10px;
	text-decoration: none;
	font-family: trebuchet MS;
	letter-spacing: 1px;
	text-transform: uppercase;
	letter-spacing: 6px;
	font-weight: lighter;
	
	}

h2 {
	font-size: 15px;
	margin-bottom: 10px;
	color: #bfbfb5;
	}
	
h2 a {
	font-size: 16px;
	color: #0675AF;
	}
	
h3 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
	font-weight:bold;
	color: #FF0000;
	}

.left {float: left;}

.right { float: right; }
	
.center { text-align: center; }
	
.clear { clear: both; }

.mt10 { margin-top: 10px; }

.indent { margin-left: 40px; }



.indent2 { margin-left: 40px;
	
}



/********************************************************/
/*                container section                     */
/********************************************************/

#container {
	width: 100%;
	
	}

/********************************************************/
/*                  header section                      */
/********************************************************/

#header {
	background: #DFDDDE url("image/headerBG.jpg") no-repeat top center;
	width: 100%;
	}

#header_inner {
	background: url("image/cBG.jpg") repeat-x scroll 0 60px; 
	width: 1000px;
	height: 100px;
	position: relative;
	margin: auto;
	}

#header #logo { 
	border: none;
	margin-top: 20px;
	margin-left: 30px; 
	}

/********************************************************/
/*               navigation section                     */
/********************************************************/

#nav {
	width: 1000px;
	position: absolute;
	top: 37px;
	}
	
#nav ul {
	text-align: center;
	right: 30px;
	position: absolute;
	}
	
#nav li {
	text-decoration: none;
	display: inline;
	float: left;
	position: relative;
	}

#nav li a {
	display: block; 
	padding: 5px 10px 3px; 
	color: #000; 
	font-size: 12px;
	text-decoration: none; 
	}
	
#nav li a:hover {
	background: url("image/navBG.jpg") repeat-x bottom;
	}
	
	
	#nav li.current_page_item, a.selected {
	background: url("image/nav2BG.jpg") repeat-x bottom;
	}
	
#nav div li.current_page_item { background: none; }
	
#nav li.current_page_item ul li a {
	background: none;
	}
	
#nav ul ul { 
	display: none; 
	width: 500px;
	left: 0;
	}

#nav li:hover ul { display: inline; }
	
#nav ul ul li a:hover {
	color: #ff0000;
	background: none;
	}

#about, #gallery, #services, #clients {
	display:none;
	position: absolute;
	top: 25px;
	}

#about { left: 580px; }
	
#gallery { left: 630px; }
	
#services {
	left: 440px;
	width: 585px; 
	}
	
#clients { left: 786px; }
	
#nav .show a:hover { 
	background: none;
	color: #ff0000;
	}
	
#nav li.current_page_item a, #nav .show li.current_page_item a, #nav .reveal li.current_page_item a, #nav div.reveal li a:hover,#nav div.reveal li.current_page_item {
	background: none;
	color: #ff0000;
	}

#nav .reveal {
	display: block;
	opacity: 100;
	}

/********************************************************/
/*                  content section                     */
/********************************************************/

#content .blog img, #content .testimonials img { display: none; }

#content_wrapper {
	background: #DFDDDE url('image/bg-2.jpg') repeat-y center -100px;
	width: 100%;
	}

#content { 
	width: 1000px;
	padding-bottom: 20px;
	min-height: 200px;
	margin: auto;
	font-size: 14px;
	background: url('image/bg.jpg') no-repeat scroll 0 -100px;
	}
	
#content p { margin-bottom: 10px; }

/* Front Page */

#main object {
	position: absolute;
	top: 24px;
	left: 23px;
	z-index: 99;
	}

#main { position: relative; }
	
#main .frame {
	background: url("image/frame.png") no-repeat;
	width: 779px;
	height: 506px;
	position: relative;
	margin-left: 110px;
	}
	
#main .camera {
	background: url("image/camera.png") no-repeat;
	width: 27px;
	height: 22px;
	position: absolute;
	bottom: 55px;
	right: 40px;
	z-index: 100;
	}

/* Sub Pages */

#contentSub {
	margin-left: 100px;
	margin-right: 45px;
	width: 566px;
	float: left;
	min-height: 495px;
	position: relative;
	margin-bottom: 20px;
	}
	
#content div.services, #content div.blog, #content div.testimonials { 
	background: url("image/services.png") no-repeat right 0;
	margin-top: 40px; 
	}

.post {
	margin-bottom: 20px;

}
.post .aligncenter{
	max-width: 565px;
	height: inherit;
	margin-bottom: 20px;
}



.post .alignleft{
	max-width: 565px;
	height: inherit;
	margin-right: 20px;
	margin-bottom: 20px;
	float: left;	
}

.post img{
	max-width: 565px;
	height: inherit;
	margin-right: 20px;
	margin-bottom: 20px;
	float: left;	
}

.post .alignnone{
	max-width: 565px;
	height: inherit;
	margin-right: 20px;
	margin-bottom: 20px;
	float: left;	
}



	
.post p a {
	font-size: 15px;
	color: #ff0000;
	text-decoration: none;
	}



.post p a:hover {
	font-size: 15px;
	color: #5C5C5C;
	text-decoration: none;
	}
	
.singleNav {
	position: absolute;
	left: 0px;
	bottom: -18px;
	}
	
/********************************************************/
/*                 sidebar section                      */
/********************************************************/
	
#sidebar {
	background: url("image/sidebar.png") no-repeat;
	width: 199px;
	height: 445px;
	float: left;
	padding: 25px;
	margin-top: 15px;
	}
	
	#sidebar img{
	width: 200px;
	height:130px;
	padding-bottom:0px
}


#sidebar p{
		font-size: 14hpx;

	}	
	.red {
	color: #C80024;
	font-weight: lighter;
	}
	
#sidebar h3 { 
	color: #ff0000;
	margin-bottom: 10px;
	font-weight: lighter;
	}
	
	h4{
	color: #5C5C5C;
	padding-bottom: 5px;
}



#sidebar h4{
	color: #5C5C5C;
	padding-bottom: 5px;
}

#sidebar ul { margin-bottom: 10px; }

#sidebar li { 
list-style: none; 
max-width: 197px;


}

#sidebar a { 
	color: #000;
	text-decoration: none;
	font-size: 12px;
	}

#sidebar a:hover { 
	color: #ff0000;
	text-decoration: none;
	font-size: 12px;
	}
	
#sidebar .photogalleria img { width: 197px; height: 130px; border: none; }

.photogalleria li { list-style: none; }
	
#sidebar .gallery .gallery-item { margin-top: 0px; }

#sidebar .gallery .gallery-item img { margin-bottom: 0px; }

/********************************************************/
/*                  footer section                      */
/********************************************************/

#footer { 
	width: 100%;
	background: #000 url('image/fBG.jpg') repeat-x;
	height: 137px;
	position: relative;
	padding-top: 15px;
	}



#footer h2{ 
	color: #BFBFB5;
	font-size: 15px;
	font-family: calibri,helvetica,sans-serif;;
	}
	
	
#footer_inner {
	width: 940px;
	margin: auto;
	padding: 0 30px 20px;
	}
	
#footer a {
	font-size: 12px;
	color: #BFBFB5;
	text-decoration: none;
	}	
	
#f1 {
	width: 205px;
	padding: 0 20px;
	}
	
#f2 {
	width: 414px;
	padding: 0 25px;
	}
	
#f3 {
	width: 211px;
	padding-left: 20px;
	}
	
	
#footer_inner #f1.left img{

display:none ;
}	
.twitter {
	background: url("image/twitter.jpg") no-repeat;
	width: 15px;
	height: 15px;
	padding-left: 20px;
	padding-bottom:3px
	}

.flickr {
	background: url("image/flickr.jpg") no-repeat;
	width: 15px;
	height: 15px;
	padding-left: 20px;
		padding-bottom:3px
	}
	
.facebook {
	background: url("image/facebook.jpg") no-repeat;
	width: 15px;
	height: 15px;
	padding-left: 20px;
		padding-bottom:3px
	}
	
#social {margin-top: 10px;
padding-bottom: 10px; }

#social a { margin-right: 10px; }
	
/********************************************************/
/*                comment form section                  */
/********************************************************/

#comment {
	width: 650px;
	margin-top: 10px;
	margin-bottom: 10px;
	}
	
.nocomments { display: none; }




#outerdiv
{
width:860px;
height:567px;
overflow:hidden;
position:relative;
}

#inneriframe
{
position:absolute;
top:-175px;
left:-138px;
width:1280px;
height:1200px;
}

/*pictures don't show up because you added this  
    p img{
	display: none;
}   
*/
 .gallery-item {
float:left;
margin-top:10px;
text-align:center;
width:33%;
padding-bottom: 8px;
}


#simpleViewer{
	margin-left: -20px;
}

.post h1 a  {
	color:#FF0000;
font-family:trebuchet MS;
font-size:16px;
font-weight:lighter;
margin-bottom:10px;
text-decoration:none;
text-transform:uppercase;
letter-spacing: 2px;
}