/*
Theme Name:     Frank-advice-staging
Description:    Child Theme for the Frank-master theme
Author:         Markus Angermeier
Author URI:     http: //kosmar.de/
Template:       Frank-master
*/

@import url("../Frank-master/style.css");

div[id^="advice-"] script + div:before {
	content: 'Anzeige';
	display: inline-block;
	width: 100%;
	font-family: sans-serif;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1px;
	font-size: 10px;
	line-height: 1em;
}

#advice-logo {
	position: relative;
	display: block;
	float: right;
	overflow: hidden;
	z-index: 1;
}

#advice-boards {
	width: 100%;
	padding-bottom: 5px;
	text-align: center;
	background-color: transparent;
}

#advice-hpa {
	position: absolute;
	right: -310px;
	width: 300px;
	text-align: left;
	z-index: 3000000;
}

#advice-mobile-middle, #advice-mobile-bottom {
	width: 100%;
	text-align: center;
}

@media (max-width: 969px)
 {
 		#advice-hpa {
	 		display: none;
	 }
}

@media (min-width: 970px)
 {
 		#advice-mobile-middle, #advice-mobile-bottom {
	 		display: none;
	 }
}

.row {
	max-width: 1080px;
	margin-left: 0;
}

@media only screen
	and (min-width: 1714px)
 {
	 .row { /*center layout*/
		 margin-left: auto;
	 }
}

.kopfzeileaussen {
	width: auto;
	padding-top: 1em;
}

#sidebar:last-child {
	float: right;
	min-width: 300px;
	margin: 0;
}


#content-primary, .post-group-content.nine {
	width:	calc(100% - 340px);
}


.post.leftaside .post-info, .type-page.leftaside .post-info {
	float: none;
	position: absolute;
	top: 0;
	right: auto;
	left: 0;
	width: 170px;
	margin: 0;
	padding-left: 5px;
}

.post.leftaside .post-content, .post-title, .dachzeile, .type-page.leftaside .post-content, .comment-content, #comment-form-allowed-tags, .kopfzeile {
	float: none;
	width: 100%;
	left: 0px;
	padding-left: 200px;
}

@media only screen
	and (max-width: 1023px)
 {
	.post.leftaside .post-info, .type-page.leftaside .post-info { /*static info*/
		float: none;
		position: static;
		width: auto;
		padding-left: 0;
	}
	.post.leftaside .post-content, .post-title, .dachzeile, .type-page.leftaside .post-content, .comment-content, #comment-form-allowed-tags, .kopfzeile {
		padding-left: 20px;
	}
}

@media only screen
	and (max-width: 767px)
 {
	#sidebar:last-child { /* fullwidth sidebar */
		width: 100%;
		background-color: #eee;
		margin-left: -20px;
		margin-right: -20px;
		padding: 20px;
	}
	.post.leftaside .post-content, .post-title, .dachzeile, .type-page.leftaside .post-content, .comment-content, #comment-form-allowed-tags, .kopfzeile {
		padding-left: 0px;
	}
}


.post-content a, .contentad a {
	text-shadow: 0px 1px white, 0px 2px white, 1px 0px white, -1px 0px white;
  background-image: linear-gradient(to bottom, hsl(0, 0%, 70%) 0%, hsl(0, 0%, 70%) 100%);
	background-repeat: repeat-x;
	background-size: 200px 1px;
	background-position: 0 18px;
}

.post-content a.noline, .contentad a.noline {
	background-image: none;
}

.navimenu-title-span, .twitterwidget-title, .amazon-title-span {
	display: inline-block;
	width: 100%;
	padding: .2em 1em 0;
	border-radius: 4px 4px 0 0;
}

#sidebar li {
	padding: 0 1em;
}


.post-asidebox {
	float:right;
	width:210px;
	margin:.2em 0px .2em 1em;
	padding:.8em;
	background:#ececec;
	border:1px solid #ddd;
	font-size:0.9em;
	line-height:1.3em;
}
.post-asidebox a {
	text-shadow: 0px 1px #ececec, 0px 2px #ececec, 1px 0px #ececec;
}

a.button.button {
	background-color: #D6392E;
	background-image: none;
	text-shadow: none;
	padding: .4em 2em;
	border: none;
	font: inherit;
}
a.button.button:hover {
	background-color: #000;
}