﻿/*
Theme Name: Pigsense
Theme URI: http://www.mooandpig.com
Description: <a href="http://www.mooandpig.com">Pigsense</a> is a fast loading and search engine optimized Adsense Ready Wordpress Theme. Created by <a href="http://www.mooandpig.com">Charles</a>.
Author: <a href="http://www.mooandpig.com">Charles</a>
Author URI: http://www.mooandpig.com


/*-----------Block Level Elements--------------*/

*{
	margin:0;
	padding:0;
}

body {
	font: 62.5% Verdana, Arial, Helvetica, Sans-Serif;;
	margin: 0px;
	padding: 0px;
	background: #59a4e0 url('images/site_background.jpg') top repeat-x;
	font-size:11px;
        line-height: 20px;
}

body a, body a:visited {
	color: #5C82EF;
	text-decoration: none;
}

body a:hover {
	text-decoration: underline;
}

body p {
	padding: 5px 0px;
	margin: 5px 0px;
}

#page {
	width: 950px;
	margin: 0px auto;
	padding: 0 10px 0 10px;	
	
	background: url('images/page_background.png') top center repeat-y;

}

#header {
	width: 100%;
	height: 93px;
	background: url('images/topbanner.jpg') no-repeat;
	border-bottom: solid thin #8cb7d9;
}

#pagetitle {
	font-size: 3.0em;
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
}
#pagetitle a {
	color: #5C82EF;

}

#header h1 {
	font-size: 3.0em;
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	
}

#header h1 a {
	color: #5C82EF;
}

.description {
	font-family: Verdana, Arial, Helvetica, Sans-Serif;

}
#header #header_spacer {
 width: 310px;
 height: 93px;
 float:left;
}
#header #header_top {
	float:left;
	height:73px;
	width: 600px;
	text-align: right;
	font-size: 1.2em;
	color: #fff;

}

#header #header_bottom {
	float:left;
	width: 600px;
	text-align: left;
	font-size: 1.4em;
	color: #fff;

}

#subscribe {
	text-align: right;
}

#right{
	width: 100%;
	float: none !important;
	margin: 0px 0px 30px;
}

#wrapper {
	width: 100%;
	margin: 10px auto;
}

#body * {
	position: relative;
}
#content {
	line-height: 1.6em;
	width: 100%;
	float: left;

}



#footer {
	color: #fff;
	width: 100%;
	clear: both;
	background-color: #144067;
}

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

#footer_left {
	padding: 10px 0 10px 20px;
	text-align: left;
	float: left;
	width: 680px;
	line-height: 1.6em;
}

#footer_right {
	padding: 10px 20px 10px 0;
	text-align: right;
	float: right;
	width: 220px;
	margin-left: 0px;
}

.header_blogcontent{
display:none
}

/*-------------Headings-------------*/

h1, h2, h3, h4 {
	font-family: Georgia, Verdana, Arial, Helvetica, Sans-Serif;
	text-align:left;
	color: #144067;
}

h1 {
	font-size: 1.7em;
	line-height: 1.0em;

}

h2 {
	font-size: 1.5em;

}

h3 {
	font-size: 1.3em;

}

h4 {
	font-size: 1.1em;

}


/*-------------The Post-------------*/



.post h2, .post h2 a:hover, .post h2 a:visited, .post h2 a {
	/*font-size: 1.5em;  Changed for Onepage - might change back? */
	text-decoration: none;
	color: #3877b1;
	margin-top: 20px;
	line-height: 1.0em;
}

.post {
	font-size: 1.2em;
	margin-bottom: 30px;
	text-align: left;
}

.post p {
	padding: 5px 0px;
	margin: 5px 0px;
}

.post ul, .post ol {
	margin: 10px 0 10px 0;
	padding-left: 40px;
}

.post li {
	padding: 2px 0 2px 0;
}

.entry {
	margin-bottom: 10px;
	text-align: justify;
}

.entrytext .postmetadata {
	margin-top: 20px;
	text-align: justify;
}

.postmetadata {
	border-top: 1px dashed #ccc;
	padding-top: 2px;
	margin-bottom: 40px;
	text-align: right;
}

.postmetadata alt {
	border-top: 1px dashed #ccc;
	padding-top: 2px;
	margin-bottom: 40px;
	text-align: left;
}
 
 
.alignleft {
	float:left;
	text-align:left;
	position:relative; /*ADD*/	
}

.alignright {
	float:right;
	text-align:right;
	position:relative; /*ADD*/
	}

.pagetitle {
	font-size: 1.6em;
	margin-bottom: 20px;
}

blockquote {
	margin: 10px 0 10px 0;
	padding: 5px 10px 5px 10px;
	background: #D7E1FF;
	border-top: solid 1px #9DB7FF;
	border-bottom: solid 1px #9DB7FF;
}


code{
	font:1.2em 'Courier New',Courier,Fixed;
	display:block;
	overflow:auto;
	text-align:left;
	margin: 10px 0 10px 0;
	padding: 5px 10px 5px 10px;
	background: #D7E1FF;
	border-top: solid 1px #9DB7FF;
	border-bottom: solid 1px #9DB7FF;
}

a img {
	border: 0;
}


/*--------------Sidebar------------*/
#sidebar_left {
	padding-left: 10px;
}

#sidebar_right {
}

#sidebar_left ul {
	margin-bottom:5px;
}
#sidebar_right ul {
	margin-bottom:20px;
}

#sidebar_left a {
	color: #5C82EF;
}
#sidebar_right a {
	color: #5C82EF;
}

#sidebar_left ul h2 {
	padding-bottom: 10px;
	border-bottom: solid 1px #CFCFCF;
	font-size: 1.6em;
}

#sidebar_right ul h2 {
	padding-bottom: 10px;
	border-bottom: dashed 1px #CFCFCF;
	font-size: 1.3em;
	text-align: center;
}

#sidebar_left ul li {
	list-style:none;
	line-height:1.6em;
	font-size: 1.2em;
	border-bottom: solid 1px #CFCFCF;
	font-weight: bold;
	
}
#sidebar_right ul li {
	list-style:none;
	line-height:1.6em;
	font-size: 1.1em;
}

#sidebar_left ul ul {

}
#sidebar_right ul ul {

}

#sidebar_left ul ul li {
      list-style:none; 
      line-height:1.6em; 
      font-size: 1.0em; 
      border-bottom:0; 
	  font-weight: normal;
      margin-left: 10px;
}

#sidebar_right ul ul li {
	border-bottom: dashed 1px #CFCFCF;
}

#sidebar_left a:hover {
	text-decoration: underline;
}
#sidebar_right a:hover {
	text-decoration: none;
}

#sidebar_left ul ul li ul{ 
      	padding-left:20px; 
	margin-bottom:0;
 	font-weight: normal;
}

#sidebar_left ul ul li ul li{ 
      list-style:none; 
      line-height:1.6em; 
      font-size: 1.0em; 
      border-bottom:0; 
	  font-weight: normal;
      margin-left: -10px;
} 
  
#sidebar_right ul ul li ul{ 
      padding-left:20px; 
      margin-bottom:0; 
} 
  
#sidebar_right ul ul li ul li{ 
      list-style:none; 
      line-height:1.6em; 
      font-size: 1.1em; 
      border-bottom:0; 

}
#ishihara{
	background-image: url(images/ishihara.jpg);
	background-repeat: no-repeat;
	height: 90px;
	font-size: 1.8em;
	line-height: 1.8em;
	padding-left: 10px;
}
.ishitext {
	font-size: 1.8em;
	font-weight: bold;
	line-height: 1.7em;
}
#cat{
	background-image: url(images/catest.jpg);
	background-repeat: no-repeat;
	height: 90px;
	font-size: 1.8em;
	line-height: 1.8em;
	padding-left: 10px;
}
.cattext {
	font-size: 1.6em;
	font-weight: bold;
	line-height: 1.3em;
}

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

#comments {
	font-size: 1.6em;
	margin-bottom: 20px;
	border-bottom: 1px dashed #ccc;
	padding-bottom:20px;
}

#respond {
	font-size: 1.6em;
	margin-bottom: 5px;
}

ol.commentlist {
	list-style-type : none;
	font-size: 1.2em;
}

ol.commentlist li {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #ccc;
}

ol.commentlist li.alt {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #ccc;
}

#comment_title {
	margin-bottom: 5px;
}

#commentform {
	margin-bottom: 20px;
}

#commentform p {
	margin-bottom: 10px;
}

#commentform textarea {
	width:99%;
	padding:2px;
	font-size: 12px;
	background-color: #fff;
	border: 1px solid #ccc;
	}
	

/*--------------Search Form-------------*/

#search {
	margin-bottom: 20px;
	text-align: right;
}

#searchform {
	margin-bottom: 20px;
}

#searchform input {
	width: 180px;
	background: #fff;
}

/*-------------Calendar-----------------*/

#wp-calendar {
	width: 180px;
	text-align: left;
	margin-top: 5px;
}

#wp-calendar th {
	margin-top: 5px;
}

#wp-calendar caption {
	font-size: 1.2em;
	margin-top: 5px;
}

/*-------------Other------------------*/

hr {
	display: none;
}

#adsense_singlepost_top_square {
	float: left;
	margin-right: 10px;
}

#adsense_singlepost_bottom_square {
	margin-bottom: 30px;
}

#adsense_singlepost_top_banner {
	margin-bottom: 5px;
}

#adsense_singlepost_bottom_banner {
	margin-bottom: 30px;
}

#adsense_homepage_linkunit {
	margin-top: 10px;
	margin-bottom: 5px;

}

#adsense_homepage_banner {
	margin-bottom: 30px;
}

/*-------------Content CSS------------------*/

table.contenttable { 
	width: 100%; 
	padding: 0px; 
	border: none; 
	border: 1px solid #789DB3;
}
table.contenttable td {
	border: none; 
	background-color: #F0F0F0; 
}
table.contenttable tr.special td {
	border-bottom: 1px solid #ff0000;  
}

/*-------------Caption CSS------------------*/

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	/*background-color: #f3f3f3;*/
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 1px solid #ddd;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

img.centered, .aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;

	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}


/*------------- SUCKERFISH NAV --------------*/
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	width: 180px;
}
 
#nav a {
	display: block;
	/*width: 10em;
	font-size: 13px;*/
	color: #fff;
}
 
#nav li { /* all list items */
	/*float: left;*/

	/* width needed or else Opera goes nuts */
	background: #59a4e0;
	padding-left: 5px;
	background-image: url('images/arrow3.png');
	background-repeat: no-repeat;
	background-position:  97% 50%;
	border-bottom: solid 1px #CFCFCF;
}
#nav li a, #nav li a:hover {
	text-decoration: none;
}
#nav .current_page_item, #nav .current_page_parent {
	background-color: #3877b1;	
}
#nav li:hover{
	background-color: #042849;
	border-bottom: solid 1px #CFCFCF;
} 
#nav li ul { /* second-level lists */
	position: absolute;
	margin: 0 0 0 11em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li ul li {
	border-bottom: solid 1px #CFCFCF;
	}
 
#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 10em;
}
#nav li ul ul  li{ /* third-and-above-level lists */
	margin: -1em 0 0 10em;
	border-bottom: solid 1px #CFCFCF;
}
 
#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 { /* lists nested under hovered list items */
	left: auto;
	margin-top: -1em;
}


/*************** 3 COLUMN LAYOUT *****************/
	.colmask {
		position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	    clear:both;
	    float:left;
        width:100%;				/* width of whole page */
		overflow:hidden;		/* This chops off any overhanging divs */
	}
	/* holy grail 3 column settings */
	.holygrail {
	    background:#fff;    	/* Right column background colour */
	}
    .holygrail .colmid {
        float:left;
        width:200%;
        margin-left:-180px; 	/* Width of right column */
        position:relative;
        right:100%;
        background:#fff;    	/* Centre column background colour */
    }
    .holygrail .colleft {
        float:left;
        width:100%;
        margin-left:-50%;
        position:relative;
        left:360px;         	/* Left column width + right column width */
        background:#FFF;    	/* Left column background colour */
    }
    .holygrail .col1wrap {
        float:left;
	    width:50%;
	    position:relative;
	    right:180px;        	/* Width of left column */
	    padding-bottom:1em; 	/* Centre column bottom padding. Leave it out if it's zero */
	}
	.holygrail .col1 {
        margin:0 180px 0 190px;     	/* Centre column side padding:
                            	Left padding = left column width + centre column left padding width
                            	Right padding = right column width + centre column right padding width */
        position:relative;
		padding-top: 10px;
	    left:200%;
		overflow: show;
	}
    .holygrail .col2 {
        float:left;
        float:right;			/* This overrides the float:left above */
        width:180px;        	/* Width of left column content (left column width minus left and right padding) */
        position:relative;
        right:0px;         	/* Width of the left-had side padding on the left column */
		padding-top: 10px;
    }
    .holygrail .col3 {
        float:left;
        float:right;			/* This overrides the float:left above */
        width:170px;        	/* Width of right column content (right column width minus left and right padding) */
        margin-right:0px;  	/* Width of right column right-hand padding + left column left and right padding */
		margin-top: 280px;
        position:relative;
        left:50%;
		padding-top: 10px;
    }
	#toprightad {
	z-index:50;
	margin: 0px 0px 20px -140px;
	width: 300px;
	float: right;
	left: 169px;
	position:relative; /*ADD*/

	}
	/*************** 2 COLUMN LAYOUT *****************/    .holygrail .colmidtwo {        float:left;        width:200%;        margin-left: 0px; 	/* Width of right column */        position:relative;        right:100%;        background:#fff;    	/* Centre column background colour */    }    .holygrail .collefttwo{        float:left;        width:100%;        margin-left:-50%;        position:relative;        left:180px;         	/* Left column width + right column width */        background:#FFF;    	/* Left column background colour */    }	.holygrail .col1two {        margin:0 10px 0 190px;     	/* Centre column side padding:                            	Left padding = left column width + centre column left padding width                            	Right padding = right column width + centre column right padding width */        position:relative;		padding-top: 10px;	    left:200%;		overflow: show;	}		/*************** 1 COLUMN LAYOUT *****************/	.colmaskone {		position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */	    clear:both;	    float:left;        width:930px;				/* width of whole page */		overflow:hidden;		/* This chops off any overhanging divs */		margin-left: 10px;		padding-left: 10px;	}	/* holy grail 3 column settings */	.holygrailone {	    background:#fff;    	/* Right column background colour */	}
	
