
.footer,
.innerfooter {
	font-size:12px;
}
.innerfooter {
	padding: 10px;
	color: #4080ff;
}
/* todo: remove apple webkit styles */
body {
	/* style for iframe resize: fixes inner element margin to reach out of body */
	position: absolute;
	width: 100%;
}
html { height: 100%; /* stretch to window, absolute positioned body will get us 0px html height */ }
p { margin: 0; }
/* * { margin: 0; padding: 0; } */
/* * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } */

.navigation {
	margin: 16px 0;
}

/* three columns */
div.magnific {
	margin: 20px 25px;
}

/* the space under the placeholder */
.magnific_placeholder .image > div {
	vertical-align: bottom;
}
.facebook-voting .thumb-buttons {
	text-align: center;
}
.thumb-buttons > * {
	margin: 0 5px;
}

/* responsiveness for all graphics (header, fangate, ...), maybe too much gfx affected */
img {
	/* width: auto; */
	height: auto;
	max-width: 100%;
}

/* no placeholder for small screens (1 picture column) */
@media screen and (max-width: 499px) {
	div.magnific_placeholder { display: none; }
}

/* placeholder thumb buttons as high as schare/vote buttons */
.facebook .magnific_placeholder .thumb-buttons {
    height: 38px;
}


/* correct box-shadow (will affect current galleries) */
.image { box-shadow: none; }
.image img,
.magnific_placeholder .image > div {
	box-shadow: 0px 0px 3px 2px #877474;
}

.navigation {
	border-bottom: 4px solid #870D0D;
	padding: 0 1em;
}
.navigation .ui-button {
	border: 0 none;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.navigation .ui-state-default {
	color: #000000;
	background: #EFEFEF;
}
.navigation .ui-state-focus,
.navigation .ui-state-active,
.navigation .ui-state-hover {
	color: #4080ff;
	background: #870D0D;
}

/* voting and toplist styles */
/* in gallery */
.votecount .votes {
	padding: 0.2em 0.5em;
	font-weight: bold;
	color: #870D0D;
	background: #EFEFEF;
	position: absolute;
	right: -2px;
	top: -0.8em;
}
/* in toplist */
div.voting-toplist {
	text-align: left;
}
.voting-toplist div.magnific {
	display: block;
}
.voting-toplist .votecount {
	/* position: relative; z-index: -1; */
	color: #FFFFFF;
	background: #870D0D;
	padding: 0.5em;
	padding-left: 220px;
	font-size: 1.2em;
	font-weight: bold;
}
.voting-toplist .votecount .votes {
	color: #FFFFFF;
	background: none;
	/* position: static;
	float: right;
	padding: 0; */
	position: absolute;
	right: 0;
	top: 0;
	padding: 0.5em; /* padding-top/right/bottom: inherit; */
}
.voting-toplist .image {
	margin-top: -2em;
	margin-left: 0.5em;
	display: inline-block;
}
.voting-toplist .thumb-buttons {
	margin-left: 220px;
	position: absolute;
	top: 50%;
	/* bottom: 40px; */
	left: 0;
}
.voting-toplist .thumb-buttons > * {
	margin-left: 20px;
	margin-bottom: 10px;
	display: inline-block;
}
.magnific .picture-date {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 0.8em;
	font-weight: bold;
	color: #FFFFFF;
}
.voting-toplist .magnific .picture-date {
	top: 0.6em;
	left: 0.5em;
}
/* smaller screen, slightly other positioning headers */
@media screen and (max-width: 490px) and (min-width: 390px) {
	.voting-toplist .votecount .voting-place {
		display: block;
	}
	.voting-toplist .votecount .votes {
		display: block;
		float: none;
		position: static;
		padding: 0;
	}
	.voting-toplist .image {
		margin-top: -3.5em;
	}
	.voting-toplist div.magnific { min-height: 175px; }
}
@media screen and (max-width: 421px) {
	.voting-toplist .thumb-buttons > * {
		margin-left: 0;
	}
}
/* screen too small: reposition everything under each other */
@media screen and (max-width: 389px) {
	.voting-toplist .votecount { padding: 0.5em; }
	.voting-toplist .image { margin: 0.5em auto; display: block; text-align: center; }
	.voting-toplist .magnific .picture-date {  }
	.voting-toplist .thumb-buttons { position: static; padding: 0; margin: auto; top: auto; left: auto; }
}

/* todo: default style for jquery buttons (vote and share) */



/* hide date in header */
.magnific .picture-date {
	/* display: none; */
}

/* strip/gif in codeportal in single line */
.codePortal .magnific.picture-set-strip,
.codePortal .magnific.picture-set-gif {
	display: block;
}
.codePortal .magnific.picture-set-strip .thumb-buttons,
.codePortal .magnific.picture-set-gif .thumb-buttons {
	width: 200px;
	margin: auto;
	/* text-align: center; */
}
/* in facebook code portal, two lines of pictures */
.facebook-codePortal div.magnific {
	/* margin: 20px 38px; */
}
/* in facebook code portal, two lines of pictures */
.facebook-codePortal .magnific-all {
	width: 500px;
	margin: auto;
}
.thumb-buttons {
	/* text-align: center; */
}

/* reset default.css: no pagination by window size */
@media screen and (max-width: 400px) {
	#pagination-top { display:block; }
	#pagination-bottom a { width:auto; }
	.dots { width:auto; display:inline-block; }
}

#like_btn {
	/* hide box under the button */
	overflow: hidden;
}

/* special customer styles */
body {
	/* font-size: 16px;
	font-family: Verdana,Arial,sans-serif; */
	background: #FFFFFF;
	color: #000000;
}
a, a:active, a:focus, a:visited {
	color:#4080ff;
	text-decoration: underline;
}
/* use same font everywhere */
input,
select,
textarea,
button { font-family: inherit; }
.ui-widget { font-family: inherit; }
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button { font-family: inherit; }
/* fix jquery ui font size (.ui-widget and everything after) */
.ui-widget { font-size: 1.0em; }



.image img,
.magnific_placeholder .image > div {
	/* link color -> half saturation, half brighness -> get new rgb values -> 0.5 alpha */
	border: 3px solid #FFFFFF;
	border-radius: 2px;
	box-shadow: 1px 2px 2px 2px rgba(128, 128, 128, 0.5);
}
div.magnific { margin: 20px 20px; }

.ui-state-default {
	color: #4080ff;
	border: 2px solid #4080ff;
	background: #FFFFFF;
	background: transparent;
	font-weight: bold;
}
.ui-state-hover,
.ui-state-focus,
.ui-state-active {
	color: #4080ff;
	border: 2px solid #4080ff;
	background: #ffffff;
	background: transparent;
}
.mfp-wrap .ui-state-default {
	color: #4080ff;
	border: 2px solid #4080ff;
}

.pagination .ui-state-default,
.pagination .dots {
    color: #4080ff;
}
.pagination .ui-state-hover,
.pagination .ui-state-focus,
.pagination .ui-state-active {
	color: #4080ff;
	/* background: #000000; */
	text-decoration: underline;
}
.pagination .ui-button + .ui-button {
	border-left: 1px solid #4080ff;
	color: 4080ff;
}
@media screen and (max-width: 400px) {
	.pagination .ui-button + .ui-button {
		border-left: 1px solid #4080ff;
	}
}
#pagination-top, #pagination-bottom {
    /* background-color: #181617; */
    background: #ffffff;
}
.votecount .votes {
	/* background: #969492; */
	background: #FFFFFF;
	color: #4080ff;
	border: 2px solid #4080ff;
}
.voting-toplist .votecount {
	color: #4080ff;
	background: #FFFFFF;
	border: 2px solid #4080ff;
}
.voting-toplist .votecount .votes {
	color: #4080ff;
	border: 0px none;
}
.navigation {
	border-bottom: 4px solid #4080ff;
	border-bottom: 0px none;
	margin: 0;
	padding-top: 20px;
	padding-bottom: 10px;
	/* background: #FFFFFF; */
}
.navigation .ui-state-default {
	color: #4080ff;
	background: #FFFFFF;
	border: 2px solid #4080ff;
	margin-right: 10px;
	margin-top: 10px;
}
.navigation .ui-state-focus,
.navigation .ui-state-active,
.navigation .ui-state-hover {
	color: #4080ff;
	border: 2px solid #4080ff;
	background: #FFFFFF;
}

/* .voting-toplist div.magnific { margin: 0; padding: 20px 25px; } */
.voting-toplist .votecount { position: relative; }
.voting-toplist .image { position: relative; }

.magnific-all, .inner-content {
	/* background: #AAAAAA url("hintergrund.jpg") repeat scroll 0% 0%; */
	background-size: cover;
	min-height: 300px;
	/* color: #FFFFFF; */
}
/* .magnific-all a, .inner-content a { color: #FFFFFF; } */

/* placeholder shadow example */
/*
.magnific_placeholder .image > div {
    box-shadow: 0px 0px 10px 2px rgba(175, 175, 175, 0.5),inset 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
}*/


.login-line {
	position: relative;
	/* right: 10px;
	bottom: 44px; */
	font-size: 12px;
	text-align: right;
	padding-right: 44px;
}
.login-line > a {
	color: #aaa;
	text-decoration: none;
}
#login_dialog {
	background: #fff;
	border: 1px solid #888;
	padding: 10px;
	width: 350px;
	position: absolute;
	bottom: 0px; right: 0px;
	z-index: 10;
}
#login_dialog .close-btn {
	position: absolute;
	top: 5px;
	right: 5px;
	color: #888;
	border: 1px solid #888;
	text-decoration: none;
	width: 1em;
	height: 1em;
	line-height: 1em;
	vertical-align: middle;
	text-align: center;
}


/* the optional fangate stuff */
#optionalFangate {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
}
/* #optionalFangate {
	position: relative;
} */
.likeHeader {
	position: absolute;
top: 585px;
left: 340px;
width: 49%;
padding-top: 70%;
text-align: center;
}
.likeHeader .fb-like { margin-top: -10px; /* -30px for box-count, -10px for button-count */ }
.likeHeader .fb-login-button { margin-top: -10px; }

.alreadyLiked {
	position: absolute;
	bottom: 0;
	left: 0;
	/* width: 100%; */
	width: auto;
	/* padding-left: 7%; */
	padding-left: 60px;
	padding-bottom: 8px;
	text-align: left;
}
.alreadyLiked a {
	font-size: 16px;
	cursor: pointer;
	text-decoration: none;
	padding: 0.5em 2em;
	border: 2px solid #fff;
	display: inline-block;
	vertical-align: bottom;
	color: #FFFFFF;
	visibility: collapse;
}
.alreadyLiked  img {
	height: 52px;
	width: 170px;
	cursor: pointer;
}
.mobile .alreadyLiked {
	padding: 4px;
	bottom: 0px;
	right: 0px;
	left: auto;
	top: auto;
}
.mobile .alreadyLiked a { padding: 0.5em 1.2em; font-size:14px; }
/* .alreadyLiked > * { margin-bottom: -1em; } */
/* @media screen and (max-width: 440px) {
	.likeHeader { padding-top: 25%; }
	.alreadyLiked { padding-bottom: 25%; }
} */

.unattracting-button {
	font-size: 0.8em;
}
.fangate-content {
	position: relative;
}
.fanpage-content {
	position: relative;
}
#intro-text {
	color: #FFFFFF;
	font-size: 1.5em;
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 80%;
	padding-bottom: 25%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	/* text-shadow: 0px 0px 10px rgba(0,0,0, 1); */
}
#gallery-link {
	position: absolute;
bottom: 0px;
left: 0px;
text-align: left;
padding-bottom: 172px;
padding-left: 247px;
}
#gallery-link  img {
	height: 65px;
width: 315px;
cursor: pointer;
}
/* .mobile #gallery-link { max-width: 100%; padding: 0; } */
/* #gallery-link > * { margin-bottom: -1em; } */


body.mobile { max-width: 810px; margin: auto; }

.mobile #optionalFangate { width: 100%; }
.mobile .likeHeader {
    width: 72%;
    padding-top: 0%;
	position: absolute;
    margin-top: -87%;
    left: 50px;
    text-align: center;
}
.mobile .header { width: 100%; height: auto; }
/* .header-portrait { display: none; }
.header-landscape { display: block; }
@media screen and (max-width: 400px) , screen and (orientation: portrait) {
	.header-portrait { display: block; }
	.header-landscape { display: none; }
	.mobile .likeHeader {
		width: 100%;
		padding-top: 37%;
	}
} */

.footer { color: #000000; }

/* while some gfx are missing */
/* body { overflow: visible !important; } */
#aeFacebookPage { min-height: 300px; }

.gallery_picture_code {
	position: absolute;
	top:-1em;
}

.ui-corner-all { border-radius: 0px; }