/*
Theme Name: Owen Fitzpatrick Custom Theme
Theme URI: http://www.owenfitzpatrick.ie
Description: This is a custom WordPress theme designed by Hidden Depth.
Version: 1.0
Author: Hidden Depth
Author URI: http://www.hiddendepth.ie
Tags: blue and navy, custom header, fixed width, two columns, sidebar, widgets

	Owen Fitzpatrick v.1
	 http://www.hiddendepth.ie

	This theme was designed and built by Hidden Depth,
	whose blog you will find at http://www.hiddendepth.ie/blog


*/

html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, code, img, 
small, strong, dl, dt, dd, ol, ul, li,
fieldset, form, label {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1.5;
        font-family: helvetica, arial, sans-serif;
        background: #ffffff;
}
ol, ul {
	list-style: none;
}

h1 {
	font-size: 30px;
	line-height: 0.2em;
}

h2 {
 font-size: 27px;

}

h2 a {
 font-size: inherit;
}

h1,h2,h3,h4,h5 {
 margin-bottom: 1em;
}

p {
color:  #4e4e4e;
 font-size: 14px;
 margin-bottom: 1.2em;
}

a:link {
	color: #15317a;
	text-decoration: none;
}

a:visited {
	text-decoration: none;
	color: #0f90da;
}

a:hover {
 text-decoration: underline;
 color:#0f90da;
}

input {
  background: #696969;
  border: 1px solid #c3c3c3;
  color: #cbcbcb;
 padding: 3px;
 font-size: 10px;
}

input:focus, input:hover, textarea:focus, textarea:hover, a.more-link:hover {
 background: #ededed;
 color: #4e4e4e;
}

label {
margin: 1em 0;
display: inline;
}

pre {
 margin: 2em 0;
}


#header ul li.current_page_item a{
 color: white;
}

/* Main Styles */

#main_container {
  	font-size:1.2em;
	height:auto;
    margin-left:auto;
    margin-right:auto;
    width:1200px;
}

#wrap {
	margin-left:auto;
	margin-right:auto;
	width:1010px;
}


#shrtfeature {
	clear: left;
	background-color:#1e1a19;
	background-repeat:no-repeat;
	height:60px;
	margin-left:auto;
	margin-right:auto;
    -moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;
	-webkit-border-top-right-radius:10px;
    padding-left:2em;
	padding-top:1em;
	width:980px;
}

/* Navigation Style */

.dropdown { float:right; position:relative; margin-right:30px; font-family: arial, sans-serif;  font-size:10px; color:#ffffff; }

/* Basic List Styling (First/Base Level) */

.dropdown ul {padding:0; margin:0; list-style: none; }

.dropdown ul li {width:90px; float:left; position:relative; z-index: 999; margin-right:4px;}

.dropdown ul li a { display:block; text-decoration:none; background-color:#143179; background-repeat: no-repeat; text-align:center; color:#fff; padding: 8px 0px 7px 0; }

.dropdown ul li a:hover {color:#ffffff; background-color:#0f90da; background-repeat: no-repeat; text-align:center; padding-left: 2px; }

.dropdown ul li .current {color:#ffffff; font-weight:bold; font-size:11px ; background-color: #0f90da;}

/* Second Level Drop Down Menu */

.dropdown ul li ul {display: none;}

.dropdown ul li:hover ul { font-size:10px; display:block; position:absolute; top:28px; min-width:150px; left:0;}

.dropdown ul li:hover ul li a {display:block; background:#0f90da; color:#ffffff; width:90px; text-align: center; padding: 8px 0 10px 0;}

.dropdown ul li:hover ul li a:hover {display:block; background:#143179; color:#ffffff;}

/* Third Level Drop Down Menu */

.dropdown ul li:hover ul li ul {display: none;}

.dropdown ul li:hover ul li:hover ul { display:block; position:absolute; left:145px; top:0; }

#footer {
	background-image: url(images/footer.jpg);
	background-repeat: no-repeat;
	height:100px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width:1090px;
}

#footer p {
	color: #ffffff;
}

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

#header ul {
overflow: hidden;
padding-left: 0;
}

#nav {
	background-repeat: no-repeat;
	width: auto;
}

.nav2 {
	background-color: #ffffff;
	margin-top: 100px;
	padding-bottom: 60px;
}

.nav2 ul li {
	height:120px;
}

.nav2, .nav3 p {
	text-align:center;
}

.nav3 {
	background-color: #ffffff;
	float: right;
	margin-top: 0px;
	padding-bottom: 60px;
}

.nav3 ul {
	list-style-type: none;
}

.nav3 li {
	border-top: solid 1px #DCDDDE;
	border-bottom: solid 1px #ffffff;
	list-style-type: none;
	margin-left: 0px;
	padding: 8px 0px;
}

.nav3 a {
	color: #175386;
	font-weight: bold;
	padding: 8px 0px 8px 10px;
}

#navbar {
	background-image: url(images/navbar.jpg);
	background-repeat: no-repeat;
	height: 44px;
	margin-left:auto;
	margin-right:auto;
	width:1074px;
}



/* Search Box */

#search {
height:  66px;
float: right;
margin-right:40px;
top:  170px;
background: url(img/searchIcon.png) no-repeat;

}

#search img#searchIcon {
	
}

#search a img {
float: right;
}

#search input#s {
	width:  130px;
}

#rss {
	float: right;
	margin-right: 4px;
	margin-top: 8px;
}
/* Main Content */


#main {
margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	width: 1000px;
}

#main #primary {

 float: left;
width: 700px;
}

#main #sidebar {
float: right;
width: 280px;
}


/* Each Post Item */

#main #primary .post-item, 
#page_content {
 background: #fafafa url(img/postBG.jpg) repeat-x; border: 1px solid white;
border-right: 1px solid #dfdfdf;
border-bottom: 1px solid #dfdfdf;
 margin-bottom: 28px;
 overflow: hidden;
padding-right: 40px;
padding-left: 30px;
padding-bottom: 20px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
position: relative;
}

#primary h2 {

letter-spacing: 1px;
font-weight: normal;
padding-right: .5em;
line-height: 32px;
margin-bottom: .2em;
}

.post-item img {
 float: left;
 margin: 20px 20px 30px 0;
 padding: 3px;
 border: 1px solid #a8a8a8;
 max-width: 200px;
}

.post-item div.numComments {
float: right;
width: 43px;
height: 38px;
text-align: center;
line-height: 38px;
background: url(img/numComments.png) no-repeat;
}
.post-item h2 {
 float: left;
 padding-top: 20px;
 margin-bottom: 0;

}

.post-item h2 a {
 font-size: 27px;
}

.post-item h2 a:hover {
 color:#000;
}

.post-item p {
 font-style: italic;
 margin-bottom: 1.2em;
 margin-left: 20px;
font-size: .8em;
}

.single .post-item p {
 margin-left: 0;
}

.post-item p.meta {
 background: green;
 color: white;
 font-size: 11px;
 font-style: normal;
 padding: 4px;
 text-align: center;
 margin-left: 440px;
 margin-top: 20px;
 margin-bottom: 1.6em;
width: 200px;
min-width: 200px;
height: 15px;
line-height: 15px;
border-top: 1px solid #750d0d;
border-left: 1px solid #750d0d;
border-right: 1px solid #000;
border-bottom: 1px solid #000;

}


.post-item .content {
	clear: left;
}

a.more-link {
 background: #e1e1e1;
 padding: 6px;
 color: #696969;
border: 1px solid #a4a4a4;
font-size: .9em;
height: 15px;
line-height: 15px;
width: 70px;
min-width: 70px;
text-align: center;


}


/* Previous and Next posts Button */

#morePrev a {
 background-color:#4e4e4e;
 padding: 8px;
 color: white;
 font-size: 12px;
 line-height: 12px;
 font-style: italic;
 float: right;
 border: 1px solid white;
 border-left: none;
 border-bottom: none;

 }

/* sidebar */

.secondaryBox, .widget {
 background: #fafafa url(img/postBG.jpg) repeat-x;
 border: 1px solid white;
 -moz-border-radius: 5px;
 -webkit-border-radius: 5px;
border-right: 1px solid #dfdfdf;
border-bottom: 1px solid #dfdfdf;
padding: 8%; 
margin-bottom: 28px;
 overflow: hidden;
 -moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
 
}

.secondaryBox h3, .widget h2 {
 background: #5b5b5b;
margin: 4% 0;
 color: white;
border: 1px solid white;
border-right: 1px solid #dfdfdf;
border-bottom: 1px solid #dfdfdf;
 font-size: 12px;
 padding: 3px 0 2px 8px;
  font-weight: normal;
}


.secondaryBox ul#popPosts li {
 float: left;
 padding: 0 7px;

}

.secondaryBox ul#popPosts li img {
 border: 1px solid white;
}



.widget ul li {
padding: 3px 0 3px;
line-height: 22px;


border-top: 1px solid #ececec;
border-bottom: 1px solid white;

}

.widget ul li.first {
border-top: none;
}

.widget a {
 font-size: 12px;
}

.widget li span {
 font-size: .7em;
 padding-left: 13px;
margin-left: 13px;
color: gray;
}


/* Twitter Photos */

.prevNext {
 margin-top: 1em;
float: right;
}


/* Post Styles */

body.single div.tutorial_image  {
background: #e3e3e3;
text-align: center;
border: 1px solid white;
padding: 20px;
margin: 1em 0;
}

.single div.tutorial_image img{
 border: none;
text-align: center;
border: 1px solid white;
background: #6a6a6a;
padding: 1px;
margin: auto;
margin: 0;
float: none;
}
body.single div.post-item p {
font-style: normal;

}

.single div.post-item ul {
 margin: 1em 0;
 color: #7e7e7e;
}
.single div.post-item ul li {
padding-left: 1em;
margin-left: 2em;
list-style: disc;
line-height: 2em;

}




#sidebar ul li:first-child {
border-top: none;
}

#sidebar ul li:last-child {
border-bottom: none;
}

/* Better to use jQuery for this */

.first-child {

}

.last-child {
border-bottom: none;
}


/* Page */

#page_content h2 a {
 color: black;
}

#page_content h2 {
 margin: 1em 0;
}

#page_content h3 {
 margin: 1em 0;
}

#page_content {
 padding-bottom: 20px;
}

pre {
 margin: 2em 0;
overflow: auto;
}



/* Comments Template */

#comments_template {
 margin-top: 2em;
 background: #ededed;
 border: 1px solid white;
 border-right: 1px solid #dfdfdf;
border-bottom: 1px solid #dfdfdf;
 clear: both;  
margin-bottom: 28px;
 overflow: hidden;
padding-right: 40px;
padding-left: 30px;
padding-top: 30px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
position: relative;
}

#comments_template input {
 background: white;
margin-right: 10px;
}

#comments_template li {
clear: left;
border-bottom: 1px solid #d3d3d3;
border-top: 1px solid white;
padding: 2em 0;
overflow: hidden; 

}

#comments_template li:first-child {
border-top: none;
}

#comments_template li:last-child {
 border-bottom: none;
}

#comments_template .avatar {
 float: left;
 margin-right: 25px;
 background: #afafaf;
 border: 1px solid white;
border-right: none;
border-bottom: none;
 padding: 4px;
}

.main_comment {
 background: white;
 margin-left: 133px;
 padding: 15px;
position: relative;
}

.main_comment span.arrow {
 width: 0;
 height: 0;
 line-height: 0;
 border-bottom: 25px solid #ededed;
 border-right: 20px solid white;
 position: absolute;
 top: 10px;
 left: -20px;
}


#header {
	background-image: url(images/header.jpg);
	background-repeat:no-repeat;
	height:98px;
	margin-left:auto;
	margin-right: auto;
	width:1094px;
}



#cse-search-box {
	float: right;
	margin-right: 50px;
	margin-top: 20px;
}

.clearfix {
	clear: left;
	clear: right;
	clear: both;
}

#left_foot {
	float: left;
	margin-left: 30px;
	padding-top: 20px;
	text-align: left;
}

#right_foot {
	float: right;
	padding-top: 20px;
	margin-right: 40px;
	text-align: right;
}

#clock {
	background-color: #143179;
	float: left;
	margin-left: 14px;
	margin-top: 6px;
}

#content {
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	width: 1000px;
}

#slogan {
	font-style: italic;
	line-height: 0.2em;
}

#designed {
	padding-top: 62px;
}

#designed a {
	color:#ffffff;
}
#designed a:hover {
	color:#yellow;
}
#designed a:visited:hover {
	color:#yellow;
}