body{
	background-color:#f3f3f3;
}

*{
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 0px solid #000;
	font-family: 'Open Sans', sans-serif;
}

.clear{
	clear: both;
}

input:focus, textarea{
    outline: 2px solid #CCC;
}

a:link, a:active, a:visited {
   text-decoration: none;
   color: #222;
}

div{
	border: 0px solid #000;
}

div.headline{
	font-weight: 700;
	font-size: 100px;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	margin: 100px auto 50px;
	/*text-shadow: 0px 0px 5px #000;*/
	
}

div.headline span:first-child{
	color: #c52033;
}

div.headline p.story_end{
	color: #222;
	margin-top: 20px;
	font-size: 35px;
	text-shadow: none;
	text-transform: none;
}

div.headline div.user_border{
	margin: 35px auto 0px;
	width: 270px; height: 270px;
	border: 5px solid #aaa;
	border-radius: 135px;
	padding: 5px;
	transition: opacity 1s;
}

div.headline div.user_inner{
	position: relative;
	width: 250px; height: 250px;
	border-radius: 125px;
	background-size: cover;
	background-position: center center;
	text-align: center;
	line-height: 410px;
	color: #333;
	font-weight: 800;
	font-size: 25px;
	text-shadow: none;
	text-transform: none;
}

div.login{
	width: 500px;
	margin: 0px auto;
}

div.login p.error{
	margin: -40px auto 10px;
	font-size: 22px;
	color: #c52033;
	text-align: center;
	font-weight: 700;
}

div.login input{
	width: 100%;
	height: 40px;
	margin: 5px auto;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
}

div.login input[type="text"], div.login input[type="password"]{
	background-color: #f1f1f1;
	color: #333;
}

div.login input[type="submit"]{
	background-color: #bbb;
	color: #222;
	transition: background-color 0.25s;
}

div.login input[type="submit"]:hover{
	background-color: #aaa;
	transition: background-color 0.25s;
}

div.menu{
	position:absolute;
	top: 10px; right: 10px;
	max-width: 250px;
	height: 50px;
}

div.menu a.logout{
	background-image: url("../images/logout.png");
}

div.menu a.config{
	margin: 0px 15px 0px 0px;
	background-image: url("../images/config.png");
}

div.menu a.home{
	margin: 0px 10px;
	background-image: url("../images/home.png");
}

div.menu a{
	display: block;
	float: right;
	background-size: 50px 50px;
	height: 50px;
	width: 50px;
	/*transition: filter 0.25s, transform 0.25s;*/
}

div.menu a:hover{
	filter: brightness(2);
	transform: scale(1.05);
	/*transition: filter 0.25s, transform 0.25s;*/
}

div.stories{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

div.stories div.story{
	width: 270px; height: 270px;
	float: left;
	margin: 10px;
}

div.stories div.story div.outer{
	width: 270px; height: 270px;
	background-color: #aaa;
	border-radius: 135px;
	padding: 5px;
}

div.stories div.story div.outer.rotatingcolor{	
	background-image: url('../images/rotating.gif');
}

div.stories div.story div.border{
	width: 260px; height: 260px;
	background-color: #ddd;
	border-radius: 130px;
	padding: 5px;
}

div.stories div.story div.inner{
	width: 250px; height: 250px;
	border-radius: 125px;
	overflow: hidden;
}

div.stories div.story div.picture{
	width: 250px; height: 250px;
	border-radius: 125px;
	background-size: cover;
	background-position: center center;
	transition: transform 0.5s;
	text-align: center;
	line-height: 410px;
	color: #333;
	font-weight: 800;
	font-size: 25px;
}

div.stories div.story div.outer:not(.notnew):hover div.picture{
	transform: scale(1.1);
	transition: transform 0.5s;
}

div.story a.archiv{
	display: block;
	width: 98%;
	text-align: center;
	height: 40px;
	line-height: 38px;
	font-size: 20px;
	font-weight: 700;
	margin: 15px auto;
	background-color: #f7e4e4;
	color: #333;
	transition: background-color 0.25s;
}

div.story a.archiv_disabled{
	display: block;
	width: 98%;
	text-align: center;
	height: 40px;
	line-height: 38px;
	font-size: 20px;
	font-weight: 700;
	margin: 15px auto;
	color: #222;
}

div.story a.archiv:hover{
	background-color: #aaa;
	transition: background-color 0.25s;
}

div.config{
	width: 500px;
	margin: 0px auto;
}

div.config a, div.config select{
	display: block;
	width: 100%;
	text-align: center;
	height: 40px;
	line-height: 38px;
	font-size: 20px;
	font-weight: 700;
	margin: 15px auto;
	background-color: #f7e4e4;
	color: #222;
	transition: background-color 0.25s;
}

div.config select{
	background-color: #f7e4e4;
	text-align-last: center;
}

div.config a.choosepicture{
	width: 350px;
}

div.config a:hover{
	background-color: #aaa;
	transition: background-color 0.25s;
}

div.config_password {
	width: 500px;
	margin: 0px auto;
}

div.config_password p.error{
	margin: -40px auto 10px;
	font-size: 22px;
	color: #c52033;
	text-align: center;
	font-weight: 700;
}

div.config_password input{
	width: 100%;
	height: 40px;
	margin: 5px auto;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
}

div.config_password input[type="text"], div.config_password input[type="password"]{
	background-color: #f1f1f1;
	color: #333;
}

div.config_password input[type="submit"]{
	background-color: #bbb;
	color: #222;
	transition: background-color 0.25s;
}

div.config_password input[type="submit"]:hover{
	background-color: #aaa;
	transition: background-color 0.25s;
}

div.delete div.outer{
	width: 270px; height: 270px;
	background-color: #bbb;
	border-radius: 10px;
	padding: 5px;
	margin: 5px 10px;
}

div.delete div.border{
	width: 260px; height: 260px;
	background-color:#ddd;
	border-radius: 10px;
	padding: 5px;
}

div.delete div.inner{
	width: 248px; height: 248px;
	border-radius: 10px;
	overflow: hidden;
}

div.delete div.picture{
	width: 250px; height: 250px;
	border-radius: 10px;
	background-size: cover;
	background-position: center center;
	text-align: center;
	line-height: 410px;
	color: #333;
	font-weight: 800;
	font-size: 25px;
}