/*
Theme Name: Ernaehrungsgewissen Blogtheme
Theme URI: http://ernaehrungsgewissen.at
Author: Andreas Wiesenhofer
Author URI: http://andreaswiesenhofer.com/
Description: 
Version: 1.4
License: Copyrighted
License URI: 
Tags: 

*/

/* =Structure
-------------------------------------------------------------- */

#page {
	display: block;
	width: 930px;
	margin: 0 auto;
}
#primary {
	float: left;
	width: 610px;
	margin-right: 10px;
}
#content {
	padding: 0;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 270px;
	padding-right: 40px;
	padding-top: 10px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	background: #eee;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption,
.wp-caption img {
	max-width: 590px; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}

div.gallery {width:600px;}
.gallery-caption {
}
dl.gallery-item {width:140px;
height:140px;padding:0;margin:0px 10px 0px 0px;}
dt.gallery-icon {padding:0;margin:0;}
.gallery-icon a {padding:0;margin:0;}

.gallery-icon  a img{
	
	padding:0;
	width:140px;
	height:140px;
}
.wp-smiley {
	margin: 0;
}

.wp-caption,
.wp-caption img {
	margin-left:0;
	padding-left:0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


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

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
	width: 280px;
	padding: 10px;
	margin:0 0 10px 0;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

.widget-title {
	padding: 0px;
	margin: 0px;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
}

/* Meins
-------------------------------------------------------------- */
@font-face { font-family: "MyriadPro-SemiBoldCond"; src: url('myriad-pro-semibold-condensed.otf') format("opentype"); } 
 
 html {
	overflow-y: scroll; 
}

 	body {
        padding-top: 60px;
        padding-bottom: 40px;
        font-size: 14px;
        font-family: Georgia;
      }
      
a {
	color:rgb(51,153,153);
	text-decoration: none;
}

a:hover {
	color: rgb(51,153,153);
	text-decoration: underline;
}
      
.home_btn {
	width: 280px;
	height: 69px;
	margin-right: 10px;
	padding: 10px;
	padding-top: 15px;
	font-family: "MyriadPro-SemiBoldCond", "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:32px;	
	line-height: 28px;
	text-transform: uppercase;
	font-weight: bold;
	display:block;
	float: left;
	background:aqua;
	text-decoration: none;
	color: white;
}

.home_btn:hover {
	color: white;
	text-decoration: none;
}

.home_tr {
	background: rgb(204,51,204) url(http://www.theresrathmanner.at/img1.jpg) no-repeat;
	background-position: 0px -178px;
	font-family: Georgia;
	text-transform: lowercase;
	font-size: 29px;
	text-indent: -2000px;
}

.home_macht {
	background: #ffcc00 url(http://www.theresrathmanner.at/img2.jpg) no-repeat;
	background-position: 0px -178px;
	text-indent: -2000px;
}

.home_geg {
	background: #0099cc url(http://www.theresrathmanner.at/img3.jpg) no-repeat;
	background-position: 0px -178px;
	text-indent: -2000px;
}

.entry-title  {
	font-size: 32px;
	margin: 0;
	padding-top: 10px;
	color: rgb(51,153,153);
}


.entry-title a:hover {
	text-decoration: none;
}

.entry-date {
	font-weight: bold;
}

.entry-meta a, .entry-meta a:hover {
	color:black;
	font-weight: bold;
	text-decoration: none;
}

article {
	margin-top: 10px;
	margin-bottom: 50px;
}

.entry-header, .entry-summary, .entry-content {
	padding: 0 10px 0 10px;
}

/*sidebar widgets*/

#popularposts {
	background-color: rgb(102,153,153);
	height:256px;
}

.widget-title, .pop_title, .cat-item, .widget_categories li, .widget_archive ul li, .footer-btn {
	font-family: "MyriadPro-SemiBoldCond", "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif; 
}

.widget-title {
	font-size: 32px;
	font-weight: bold; 
	text-transform:uppercase;
}

.popularpost-item a, .popularpost-item a:hover, .cat-item, .widget_categories li, .widget_archive ul li {
	font-size: 16px;
	color: black;
	text-decoration: none;
}

.widget_archive ul, .widget_categories ul, .widget_popularposts ul  {
	list-style: none;
	margin: 0;
	padding: 0; 
}

.widget_archive li, .widget_categories li, .widget_popularposts li {
	display: block;
	border-bottom: 1px solid rgba(0,0,0,0.9);
	margin-top: 5px;
	margin-bottom: 10px;
}

.widget_popularposts li {
	margin-top:20px;
}

.widget_popularposts li:first-of-type {

}

.widget_archive li:hover, .widget_categories li:hover, .widget_popularposts li:hover {
	background: rgba(255,255,255,0.5);
}

.widget_archive li a:hover, .widget_categories li a:hover, .widget_popularposts li a:hover, .widget_archive li a, .widget_categories li a, .widget_popularposts li a {
	color: black;
	text-decoration: none;
}

.widget_archive li a {
	text-transform:uppercase;
}

.widget_categories li a div.description {
	font-family: Georgia;
	font-size: 14px;
	text-transform: none;
	padding-bottom: 5px;
}

.popularpost-item a img {
	width: 110px;
	height: 50px;
	float: left;
	display: block;
	margin-top:1px;
}

.popularpost-item a .noimage {
	width: 110px;
	height: 50px;
	float: left;
	display: block;
	background: rgba(0,0,0,0.5);
	margin-top:1px;
}

.popularpost-item a {
	height:50px;
}

.popularpost-item a div.pop_title {
	width: 160px;
	height: 50px;
	float: right;
	margin-top: 1px;
	line-height:16px;
}

span.pop_head {text-transform: uppercase;}
span.pop_date {font-family:Georgia,serif;font-size:14px;white-space:nowrap;}
.clearfix:after { 
   content: " ";
   display: block; 
   height: 0; 
   clear: both;
}

.widget_categories {
	background: rgb(153,204,204);
}

.widget_archive {
	background: rgb(102,153,153);
}

.widget_search {
	background: rgb(51,153,153);
}

.widget_rssfeed {
	background: rgb(51,153,153);
}

.widget_blogstart {
	background: rgb(51,153,153);
}

.widget_rssfeed a, .widget_blogstart a {
	color:black;
}

input#s, input#searchsubmit {
	font-family: "MyriadPro-SemiBoldCond", "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:16px;	
	text-transform: uppercase;
}

input#s { /*search text-box*/
	background: transparent;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	border-bottom: 1px solid black;
}

input#s:hover, input#s:active, input#s:focus {
	border: 0;
	border-bottom: 1px solid black;
	background: rgba(255,255,255,0.5);
}

input#searchsubmit { /*search button*/
	background:black;
	color:white;
	border:0;
	cursor: pointer;
	padding-top: 5px;
	height: 24px;
}

/*nav - pagination */

#nav-below {
 padding: 0;
 margin: 0;
}

.nav-next {
margin-left: 0;
margin-right: -5px;	
}

.nav-previous a, .nav-next a {
	font-family: "MyriadPro-SemiBoldCond", "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:16px;	
	text-transform: uppercase;
	text-decoration: none;
	color: white;
	display: block;
	height: 35px;
	width: 280px;
	padding:10px;
	background: rgba(102,102,102,1);
}

.nav-previous a:hover, .nav-next a:hover {
	text-decoration: none;
	background: #ffcc00;
}

.footer-btn {
		text-align: center;
		float: left;
		display: block;
		width: 125px;
		height: 20px;
		font-size:20px;
		margin-bottom: 40px;
		margin-right: 10px;
		padding: 10px;
		color: white;
		background-color:rgb(102,102,102);
		line-height: 22px;
		vertical-align: middle;
}

.footer-btn:hover {
	text-decoration: none;
	color: white;
	background: rgb(51,153,153);
}

#comments {
	background: rgb(51,153,153);
	padding: 10px;
	margin-top: 10px;
	font-family: "MyriadPro-SemiBoldCond", "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:white;
}

#comments a, #comments a:hover {
	color:black;
}


footer.entry-meta {
	border-top: 1px solid rgb(102,153,153); 
	text-align: right;
	width: 590px;
	margin-left: 10px;
	line-height: 20px;
}