@import url(reset_some_things.css);
@import url(../fonts/stylesheet.css);


/* ----------------------------------------------------- BASIS STYLES */

body{
	background-color: #fff;
	font: 14px/20px "DroidSans", Arial, sans-serif;
	color: #5F111C;
}

a:link, a:visited{
	color: #AC162C;
	text-decoration: none;
}

a:hover, a:active{
	color: #AC162C;
	text-decoration: underline;
}

#main-wrapper h1{
	background-color: #AC162C;
	padding: 5px 20px;
	color: #FFF;
	font: 20px/30px "DroidSerif", Georgia, serif;
}

h2{
	color: #AC162C;
	font: 16px/20px "DroidSerif", Georgia, serif;
	margin: 0 0 10px;
}

h3{
	color: #AC162C;
	font: 12px/20px "DroidSerif", Georgia, serif;
	text-decoration: none !important;
}

strong {
	font-weight: bolder;
}

/* ----------------------------------------------------- LAYOUT */

#main-wrapper{
	margin: 40px auto 10px;
	background-color: white;
	padding: 1rem 1rem 0 1rem;
}

#main-wrapper.narrow{
	max-width: 500px;
	width: 88%;
}

#main-wrapper{
	max-width: 820px;
	width: 88%;
}

@media only screen and (max-width : 768px){
	#main-wrapper{
		max-width: 500px;
		width: 88%;
	}
}
@media only screen and (max-width : 578px){
	#main-wrapper.narrow{
		margin: 10px auto;
		max-width: 500px;
		padding: 0 !important;
		width: 88%;
	}
}

@media only screen 
  and (max-device-width: 1536px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 2) {
      #main-wrapper{
		max-width: 500px;
		width: 100%;
	}
}

header {
	margin-bottom: 30px;
	overflow: hidden;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
}

header img{
	width: 50%;
	max-width: 500px;
	flex: 1 1 50%;
}

#main-content {
	/* background-color: #f9f9f9; */
}

section{
	padding: 20px;
	background-color: rgba(158, 158, 158, 0.03);
}

section.last-sect{
	overflow: hidden;
}

section.inset{
	background-color: rgba(158, 158, 158, 0.03);
	border: 1px solid rgba(198, 198, 198, 0.36);
	margin: 20px 0;
	overflow: hidden;
}

section#login-form{
	margin: 0;
	border: 0;
}


/* LOGIN */

#login{
	height: auto;
}

#login input{
	-webkit-border-radius: 3px;
	border-radius: 3px;
	width: 306px;
	padding: 0 5px;
	border: #AC162C solid 2px;
	height: 36px;
	font: 20px/36px "DroidSans", Arial, sans-serif;
}

#login button{
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0px 0px 5px 0px #888;
	box-shadow: 0px 0px 5px 0px #888;
	display: block;
	width: 136px;
	border: #FFF solid 2px;
	color: #FFF;
	font: 16px/36px "DroidSans", Arial, sans-serif;
	height: 40px;
	line-height: 16px;
	padding: 0; 
	text-transform: uppercase;
	background: #ac4656;
	background: -moz-linear-gradient(top, #ac4656 0%, #AC162C 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ac4656), color-stop(100%,#AC162C));
	background: -webkit-linear-gradient(top, #ac4656 0%,#AC162C 100%);
	background: -o-linear-gradient(top, #ac4656 0%,#AC162C 100%);
	background: -ms-linear-gradient(top, #ac4656 0%,#AC162C 100%);
	background: linear-gradient(to bottom, #995e54 0%,#AC162C 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ac4656', endColorstr='#AC162C',GradientType=0 );
	cursor: pointer;
	float: right;
}

#login button:hover{
	opacity: 0.9;
}

@media only screen and (max-width : 578px){
#login input{
	width: 90%;
	display: block;
	margin: 0 auto;
}

#login button{
	float: none;
	margin: 10px auto;
	font-size: 14px;
}

h2{
	text-align: center;
}

h3{
	text-align: center;
	margin: 10px 0px 0px;
}
}	
/* ZEITUNGEN */

article{
	/*width: 380px;*/
	float: left;
	margin: 0 20px 20px 0;
	overflow: hidden;
	position: relative;
}

article:nth-of-type(5n){
	margin: 0 0 20px;
}

article img{
	display: block;
	float: left;
	width: 130px;
	height: 184px;
	border: #AC162C solid 1px;
}

article .desc{
	max-width: 190px;
	width: 100%;
	float: right;
	
}

span.agb {
	position: absolute;
	bottom: 22px;
	margin-left: 10px;
	font-size: 9px;
}

.desc button{
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0px 0px 5px 0px #888;
	box-shadow: 0px 0px 5px 0px #888;
	display: block;
	width: 82px;
	border: none;
	color: #FFF;
	font: 11px "DroidSans", Arial, sans-serif;
	height: 22px;
	line-height: 12px;
	padding: 0;
	margin-top: 10px; 
	text-transform: uppercase;
	background: #ac4656;
	background: -moz-linear-gradient(top, #ac4656 0%, #AC162C 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ac4656), color-stop(100%,#AC162C));
	background: -webkit-linear-gradient(top, #ac4656 0%,#AC162C 100%);
	background: -o-linear-gradient(top, #ac4656 0%,#AC162C 100%);
	background: -ms-linear-gradient(top, #ac4656 0%,#AC162C 100%);
	background: linear-gradient(to bottom, #995e54 0%,#AC162C 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ac4656', endColorstr='#AC162C',GradientType=0 );
	cursor: pointer;
	position: absolute;
	bottom: 0;
}

.desc button:hover{
	opacity: 0.9;
}	

@media only screen and (max-width : 578px) {

	article:nth-of-type(2n){
		margin: 0 0 20px;
	}

	article img{
		display: block;
		float: left;
		width: 130px;
		height: 184px;
		border: #AC162C solid 1px;
	}

	.desc button{
		position: relative!important;
		margin: 10px auto!important;
	}
	article .desc{
		max-width: 190px;
		width: 100%;
		float: none!important;
		text-align: center;
		margin: 0 auto!important;

	}
}


footer{
	max-width: 820px;
	width: 90%;
	font-size: 12px;
	color: #AC162C;
	text-align: center;
	margin: 0 auto 50px;
	background-color: white;
	padding: 1rem;
}


footer nav#meta ul li{
	display: inline;
	padding: 0 5px;
}

footer nav#meta ul li a:link, footer nav#meta ul li a:visited{
	text-decoration: underline;
}

footer nav#meta ul li a:hover, footer nav#meta ul li a:active{
	text-decoration: none;
}
























