/*
Theme Name: Politipedia Twenty Eleven Child Theme
Description: Additional styling and PHP for Politipedia
Author: Scott Cutts
Template: twentyeleven
*/

@import url("../twentyeleven/style.css");


/* Home Page
----------------------------------------------- */
#homePage { height: 620px;
}

.page-id-6 #primary { 
	height: 620px;
}

.page-id-6 #secondary { 
	position: relative;
	display: block;
	top: 50px;
	left: 60px;
	z-index: 1;
}

.page-id-6 .defaultSidebar { 
	display: none !important;
}

#recently_updated_widget-2 {
	position: relative;
	left: 15px;
	top: 10px;
}

.entry-content { max-width: 0px;
	min-width: 0px;
}

.page-id-6 { 
	min-width: 700px;
}

.hentry { border: none; }


/* Content Positioning & Changes
----------------------------------------------- */
body, input, textarea {
	color: #7F7F7F;
	font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 450;
}

#nav-below {
	display: none;
}

.entry-summary {
	max-width: 700px;
}

.entry-content {
	position: relative;
}

#branding hgroup {
	max-height: 18px; 
}

.entry-content { max-width: 600px;
	min-width: 600px;
}

.hentry { max-width: 600px;
	min-width: 600px;
}

.page { 
	min-width: 1000px;
}

#page {
	margin: 0em auto;
}

.page-template-showcase-php #main .widget-area {
	margin: 0 0 0 0;
}

.post { max-width: 600px;
	min-width: 600px;
}

.single-post {
	min-width: 1000px;
}

/* Image borders */
#content .gallery .gallery-icon img {
	border: 0px solid #ddd;
}

#nav-single {
	width: 100%;
}

#comments {
	display:none;
}

/* Header
----------------------------------------------- */
#headerImage { background: #7a000D;
	height: 126px;
}

#branding {
	z-index: 2;
	background: #222;	
}

#branding img {
	width: 350px;
	height: 124px;
}

#site-title a {
	display:none;
}

#site-description {
	display:none;
}

.search #secondary {
	display:none;
}

/* Menu
----------------------------------------------- */
.menu-header-menu-container { position: relative;
	left: 60px;
	width: 1000px;
}

#access {
	margin: 0 auto 3px;
	height: 35px;
	font-family: Tahoma;
	font-weight: bold;
}

#access a {
	line-height: 2.7em;
}

#access ul ul {
	top: 2.7em;
}

#access ul ul a {
	background: #222;
	color: #eee;
	font-weight: bold;
}

/* changes bg color of drop-down menus that have the mouse over them */
#access li:hover > a,#access ul ul :hover > a,#access a:focus {
	background: #7a000D; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(white, #7a000D);
	background: -o-linear-gradient(white, #7a000D);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#7a000D)); /* e5e5e5 Older webkit syntax */
	background: -webkit-linear-gradient(white, #7a000D);
	color: white; /* changes text color when moused over */
}

#branding #searchform {
	top: 8.0em;
	right: 2.0%;
	background: #FFF;
}

#homeSearch #searchform {
	position: absolute;
	height: 18px;
	top: 200px;
	left: 210px;
	width: 600px;
	background: #FFF;
}

#homeSearch #s {
	width: 600px;
}

#homeSearch #s:focus {
  	background-color: #FFF;
	width: 600px;
}
 
/* Fixes bug on iPhone and iPad with links not being clickable 
----------------------------------------------- */
.page { z-index: 1;
}

/* Fixes bug on iPhone and iPad with sidebar jumping to the bottom of the page
----------------------------------------------- */
@media (max-width: 800px) {
	/* keep the sidebar - this edit is for right sidebar only */
         #page {
	   min-width: 500px;
         }
	.right-sidebar #main #content {
		margin: 0 20% 0 8%;
		width: 70%;
	}
	.right-sidebar #main #secondary {
		float: right;
		margin: 0 2% 0 0%;
		width: 24%;
	}
}

/* Slideshow
----------------------------------------------- */

.slideshow {
	position: relative;
	left: -10px;
	top: -597px;
	z-index: 0;
	width: 700px;
	height: 330px;
}


/* Previews
----------------------------------------------- */
#previews {
	position: relative;
	left: -8px;
	top: -600px;
	width: 770px;
	height: 180px;
}

#previewArticles {
	position: relative;
	border: 1px solid #7a000D;
	border-top-style: none;
	top: -30px;
	width: 700px;
	height: 180px;
}

.previewArticle {
	position: relative;
	float: left;
	width: 320px;
	height: 180px;
	padding: 12px;
	padding-top: 30px;
	padding-bottom: 30px;
	font-size: small;
	text-align:left;
}

#secondPreviewArticle {
	top: -20px;
}

#previewArticleImg { height: 115px;
	width: 150px;
	padding: 5px;
}

.previewArticleLink {
	width: 320px;
	height: 125px;
	z-index: 1;
}

.previewArticleLink a:hover {
	text-decoration: none;
 }

.previewArticleTitle {
	position: relative;
	top: -125px;
	left: 165px;
	width: 145px;
	height: 90px;
	font-size: 13px;
	font-weight: bold;
	text-align: left;
	color: #6f6f6f;
}

.previewArticleDescription {
	position: relative;
	top: -125px;
	left: 165px;
	width: 145px;
	height: 90px;
}

.maisButton {position: relative;
	top: 1px;
	z-index: 1;
}


/* Index Pages
----------------------------------------------- */
.indexList {
	font-size:20px;
	width: 1000px;
}

.indexLink {
	padding-right: 5px;
}


.timelineLink {
	display: block;
	font-size: 15px;
	float: left;
	padding-right: 10px;
	padding-bottom: 7px;
}

.index {display: none;	
}

.indexInner {
	display:none;
}

.indexTitle { font-size: 15px;
	font-weight: bold;
	color: #222;
}

.tableLink {color: white;
}

.tableLink:hover {color: #aaa;
	text-decoration: none;
}


/* Footer
----------------------------------------------- */

#site-generator {
	display:none;
}

/*#footer-top {
	background: #7a000D;
	height: 5px;
}*/

#footer-middle {
	background: #7a000D;
	height: 40px;
	font-family: Tahoma;
	font-size: 10pt;
	font-weight: 400px;
	color: #eee;
	font-weight: bold;
}

#footer-bottom {
	background: #222;
	color: #eee;
	height: 20px;
	font-family: Tahoma;
	font-size: 7pt;
	font-weight: bold;
	text-align: center;
	padding-top: 5px;
}

#menu-footer-menu {
	padding-top: 12px;
	position: relative;
	left: 880px;
	z-index: 1;
}

#menu-footer-menu li {
	display: inline;
	list-style-type: none;
	padding-right: 20px;
}

#menu-footer-menu a {
	color: #eee;
}

#menu-footer-menu a:hover {
	color: #eee;
	text-decoration: none;
}