/*
Theme Name: TheRP
Theme URI: http://therecoveringpolitician.com
Description: Branch of Atahualpa. 
Version: 1.1
Author: Justin Burnette
Tags: white, one-column, two-columns, three-columns, four-columns, fixed-width, flexible-width, custom-colors, custom-header, theme-options, left-sidebar, right-sidebar, threaded-comments, sticky-post, translation-ready
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
 ul, ol, dl, p, h1, h2, h3, h4, h5, h6 {
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 0;
	padding-bottom: 0; 	
	}

/* remove margins on sub-lists */
ul ul, ul ol, ol ul, ol ol {
	margin-top: 0;
	margin-bottom: 0;
	}

code, pre {
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
	}

pre {
	overflow: auto;
	word-wrap: normal;
	padding-bottom: 1.5em;
	overflow-y: hidden;
	width: 99%;
	}

abbr[title], acronym[title] {
	border-bottom: 1px dotted;
	}
	
hr {
	display: block;
	height: 2px;
	border: none;
	margin: 0.5em auto;
	color: #cccccc;
	background-color: #cccccc;
	}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.alignleft {
	float: left;
	}

.alignright {
	float: right;
	}

.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
}
	
.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
	}
	
.gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
	}

.sticky {
	font-weight: normal;
}

.bypostauthor {
	font-weight: normal;
}


.tagcloud { overflow: hidden; }

/* --- Main Header Follow Buttons ---- */
div.codeoverlay {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: right;
}
div.codeoverlay img { margin: 5px; }

/* --- Category Header ----
---------------------------*/
div#header_container {
width: 573px;
}
div#portrait_container {
float: left;
width: 168px;
height: 258px;
overflow: hidden;
}
div#portrait_container img {
height: 258px;
}
div#header_details_container {
float: right; 
padding: 5px 10px; 
border: 4px solid #eee; 
width: 365px; 
height: 129px;
background-color: #eee;
}
div#header_details_container h2 {
margin-top: 0; 
text-shadow: #ffffff 1px 1px 1px; 
font-size: 18px;
color: #0000ff;
}
div#header_sub_photos_container {
text-align: left; 
width: 390px; 
height: 113px;
float: right;
overflow: hidden;
}
div#header_sub_photos_container img {
width: 92px; 
margin-right: 5px; 
margin-top: 5px;
}


/* --- RIGHT DOUBLE WIDTH WIDGET AREA ---- */

#right-double  { padding: 0; margin: 0; width: 100%; vertical-align: top; }


/* --- NEW NAV ---- */

#newnav { background-color: #29394f; padding-left: 10px; }
#newnav li { 
	display: block; 
	float: left; 
	padding: 12px 25px; 
	font-family: 'myriad-pro-condensed', 'Arial Narrow'; 
	font-size: 22px; 
	font-weight: 300;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	position: relative;
}
#newnav li:hover { background-color: #5081a2; }
#newnav li a, #newnav li a:hover {
	color: #fff;
	text-decoration: none;
	font-weight: normal;
}
#newnav li a.active, #newnav li a.active:hover { color: #efddc2; font-weight: normal; }

/*-- sub menu --*/
#newnav li div.sub ul { 
	display: none; 
	width: 180px;
	overflow: hidden;
}
#newnav li div.sub {
	position: absolute;
	top: 50px;
	background-color: #5081a2;
	left: 0px;
/* 	width: 550px; */
}
#newnav li:hover div.sub ul, #newnav li div.sub:hover ul{
	display: block; 
	background-color: #5081a2;
}
#newnav li div.sub li { font-size: 17px; padding: 5px 10px; width: 160px; text-transform: none; float: none; overflow: hidden; }
#newnav li div.sub li a { font-weight: 400; }


	/* --- Category Header ----
---------------------------*/
div#header_container {
width: 573px;
}
div#portrait_container {
float: left;
width: 168px;
height: 258px;
overflow: hidden;
}
div#portrait_container img {
height: 258px;
}
div#header_details_container {
float: right; 
padding: 5px 10px; 
border: 4px solid #eee; 
width: 365px; 
height: 129px;
background-color: #eee;
}
div#header_details_container h2 {
margin-top: 0; 
text-shadow: #ffffff 1px 1px 1px; 
font-size: 18px;
color: #0000ff;
}
div#header_sub_photos_container {
text-align: left; 
width: 390px; 
height: 113px;
float: right;
overflow: hidden;
}
div#header_sub_photos_container img {
width: 92px; 
margin-right: 5px; 
margin-top: 5px;
}
div.textwidget img {
width: 150px;
}

#middle { overflow: hidden; }

div.header-image-container {
	position: relative; 
	margin: 0; 
	padding: 0; 
	height: 260px; 
	}

.rpi-headline h1 { font-size: 20px; text-transform: uppercase}
.rpi-post-bodycopy { padding-left: 15px; padding-right: 15px; margin-top: 25px; }
.rpi-post-bodycopy h1 { font-size: 20px; text-transform: uppercase;}
.rpi-post-bodycopy h2 { font-size: 14px; margin-bottom: 0;}
.rpi-post-bodycopy p { margin-top: 2px !important; margin-bottom: 8px; }


.popup-body {
	width: 600px;
	background: white;
	border-radius: 3px; 
	padding-top: 12px; padding-bottom: 12px;
}
.popup-body .b-close-x {
	position: absolute;
	text-align: center;
	background: black; 
	color: white; 
	right: -16px; top: -16px;
	display: block;
	padding: 7px;
	width: 15px; 
	border-radius: 50px;
	border: 2px solid white;
	box-shadow: 0 0 3px black;
	cursor: pointer;
	font-weight: bold;
}
.popup-body h3 { font-size: 16px; }
.popup-body .sas-logo { width: 100%; height: 92px; overflow: hidden; }
.popup-body .sas-logo img { max-width: 100%; height: auto; }