/*

	Ervelesi hiba stylesheet

	Coppyright (C) 2013 DevWorx, Hungary
	
*/
BODY {
	font-family: "Segoe UI", Segoe, "Helvetica Neue", Helvetica, Roboto, Arial, FreeSans, sans-serif;
	font-size: 15px;
	padding: 0px; margin: 0px;
	text-align: center;
	overflow-x: hidden;
	background: url('images/skyline-big.jpg') center top no-repeat; background-attachment: fixed;
	height: 100%;
}

a {
	text-decoration: none;
}

#head {
	color: white;
	background-image: url('images/header.png'); background-position: center bottom; background-repeat: repeat; 
}

#body, 
#footer {
	padding: 0em 1em;
}

.pagetitle {
	display: block;
	font-weight: 700; 
	margin: 0em; padding: 0.4em 1em;
	font-size: 250%;
	color: #ccc;
	position: relative;
}

.pagetitle .common {
	display: none;
}

.pagetitle .home {
	display: none;
}

.pagetitle .common {
	display: block;
}

.activeslide0 .pagetitle .home {
	display: block;
}

.activeslide0 .pagetitle .common {
	display: none;
}

.pagetitle:after {
	content: " "; display: block;
	x-position: absolute;
	height: 30px;
}

.fallacyslider {
	position: relative;
}

.fallacies {
	padding: 0em; margin: 0em;
	list-style-type: none;
	display: block;
}

.home .allfallacies {
	position: relative;
	padding-bottom: 2em;
}

.home .allfallacies .leftpanel,
.home .allfallacies .rightpanel {
	display: inline-block;
	width: 50%;
	overflow: hidden;
	max-width: 35em;
	vertical-align: top;
}

.home .allfallacies .fallacylink {
	width: 3.8em; height: auto;
	display: inline-block;
	text-align: center;
}

.home .allfallacies .fallacylink img {
	width: 3.5em; height: auto;
	border: none;
	opacity: 0.8;
}

.home .allfallacies .fallacylink:hover img {
	opacity: 1;
}

.home .defaulttitle,
.home .allfallacies .fallacylink .title {
	position: absolute;
	display: block; text-align: center;
	left: 0px; right: 0px; bottom: 0px;
	font-size: 200%;
	opacity: 0;
	display: block;
	color: black;
	x-background-image: url('images/skyline.jpg');  background-position: center top; background-repeat: no-repeat; background-attachment: fixed; 
	background-size: 1280px 760px;
	font-weight: 700;
	z-index: 9;
	transition: opacity 0.7s ease;
}

html.ie8 .home .defaulttitle,
html.ie8 .home .allfallacies .fallacylink .title {
	display: none;
}

BODY.touch .home .defaulttitle,
BODY.touch .home .allfallacies .fallacylink .title {
	background-image: none;
	background: #f8fcff;
}

.home .defaulttitle {
	z-index: 8;
}

.home .defaulttitle,
.home .allfallacies .fallacylink:hover .title {
	opacity: 1;
	display: block;
	transition: opacity 0.2s ease;
}

html.ie8 .home .defaulttitle,
html.ie8 .home .allfallacies .fallacylink:hover .title {
	display: block;
}

.home .allfallacies .fallacylink:hover .title {
	-webkit-opacity: 0 !important; /* webkit is buggy, doesn't handle fized backgrounds and opacity properly */
	-moz-opacity: 0 !important; /* so is firefox */
	/* ie and opera are all good */
}

.fallacyiconhover .home .defaulttitle {
	opacity: 0;
	transition: opacity 0.1s ease;
}

.fallacyiconhover .home .allfallacies .fallacylink:hover .title {
	/* if we have the javascript handler working, then everything's fine */
	-webkit-opacity: 1 !important;
	-moz-opacity: 1 !important;
}

.fallacyiconhover .home .defaulttitle,
.fallacyiconhover .home .allfallacies .fallacylink .title {
	background-image: none !important;
}

.home .allfallacies .leftpanel {
	text-align: left;
}

.home .allfallacies .rightpanel {
	text-align: right;
}

.home .allfallacies .leftpanel .heroes {
	float: right; margin-right: -148px; padding-left: 1em;
}

.home .allfallacies .rightpanel .heroes {
	float: left; margin-left: -149px; padding-right: 1em;
}

.home .allfallacies .leftpanel .fallacylink {
	float: left;
	padding: 0.5em;
}

.home .allfallacies .rightpanel .fallacylink {
	float: right;
	padding: 0.5em;
}

.home .inner {
	line-height: 1.5;
	color: #666;
	display: inline-block;
	width: 100%;
	max-width: 920px;
	padding-top: 1.5em;
}

.home .intro a {
	font-weight: 600; color: #444;
}

.home .intro a:hover {
	color: orange;
}

.fallacy {
	x-position: relative;
	list-style-type: none;
	padding: 0em; margin: 0em;
	line-height: 1.5;
	margin-top: 2em; margin-bottom: 1em;
	border-top: 3px dotted #888;
}

.fallacy {
	margin-top: 0em; border-top: none;
}

.fallacy a[name] {
	position: absolute;
	display: inline-block; margin-top: -8em;
	left: 0px; right: 0px; top: 0px; height: 0px;
}

.fallacy a[name] {
	position: absolute;
	display: block; top: -6.5em;
}

.fallacy > .inner {
	display: inline-block;
	width: 100%;
	max-width: 800px;
}

.fallacy > .inner > div,
.fallacy > .inner > h2 {
	display: block;
	font-size: 100%;
	margin: 0em; padding: 0em;
}

.fallacy > .inner > div.heading {
	display: none;
}

.fallacy .sectitle {
	position: relative;
}

.fallacy .sectitle font {
	display: inline-block; 
	font-size: 70%;
	color: #888;
	padding: 0em 2em; margin: 2em 0em 2em 0em;
	position: relative;
	z-index: 3;
	background-color: #f8fcff;
	/* this seems to make android browser practically freeze, so apply it on non-touch devices only */
	x-background-image: url('images/skyline.jpg');  background-position: center top; background-repeat: no-repeat; background-attachment: fixed; 
}

BODY.touch .fallacy .sectitle font {
	background-image: none;
}

.fallacy .sectitle:after {
	content: " "; display: block;
	position: absolute; left: 0px; top: 50%; right: 0px; height: 0px; 
	border-bottom: 1px dotted #ccc; 
	z-index: 2;
}

.fallacy .title {
	padding: 0px; margin: 0px;
	font-size: 100%;
}

.fallacy .image {
	margin-top: 1.5em !important;
	margin-bottom: 0em !important;
}

.fallacy .image img {
	max-width: 6em; max-height: 6em;
}

.fallacy .title .secbody {
	text-transform: lowercase;
	display: block;
	font-size: 250%;
	font-weight: 700;
	padding: 0.4em 1em 0.2em 1em; margin: 0em;
	line-height: 1.2;
}

.fallacy .desc .secbody {
	font-size: 140%;
	font-weight: 600;
	line-height: 1.4;
}

.fallacy .expl .secbody {
	font-size: 100%;
}

.fallacy .expl .secbody a {
	color: inherit; x-font-weight: 600;
	color: #888;
}

.fallacy .expl .secbody a:hover {
	color: black;
}

.fallacy .example .secbody {
	font-size: 100%;
	font-weight: 600;
	font-style: italic;
}

.fallacy .secbody ul {
	padding: 0em; margin: 0em;
}

.fallacy .secbody li {
	padding: 0em; margin: 0em;
	display: block;
}

.fallacy .secbody li:before {
	content: "\2022"; margin-right: 0.5em;
}

.flex-control-nav {
	x-bottom: 10px;
	x-margin-top: 2em;
}

.flex-control-paging li a {
	border-radius: 0px;
	background-color: rgba(160,160,160,0.3);
}

.flex-control-thumbs {
	text-align: center;
	display: block;
	width: auto;
}

.flex-control-thumbs li {
	width: auto;
	padding: 0.4em;
	float: none;
}

.flex-control-thumbs li:first-child {
	display: none;
}

.flex-control-thumbs li img {
	width: 28px; height: 28px; border: none;
}

.fallacyslider .flex-direction-nav a {
	opacity: 1;
	transition: all 0.2s ease;
}

.activeslide0 .fallacyslider .flex-direction-nav a {
	opacity: 0;
	width: 0px; overflow: hidden;
}

html.ie8 .activeslide0 .flex-direction-nav a {
	display: none;
}

.flex-direction-nav a {
	position: absolute;
	top: 0px; margin: 0px;
	width: 25%; height: 15em;
	display: inline-block;
	background: none !important;
	opacity: 0.7;
}

.flex-direction-nav a:hover {
	opacity: 1;
}

.flex-direction-nav a:after {
	content: "!";
	position: absolute; display: inline-block;
	left: 50%; top: 5em; width: 20px; height: 20px; margin-left: -10px;
	background-image: url('images/arrows.png'); background-repeat: no-repeat; 
}

.flex-direction-nav .flex-prev {
	left: 0px; 
}

.flex-direction-nav .flex-prev:after {
	 background-position: center -22px;
}

.flex-direction-nav .flex-next {
	right: 0px; 
}

.flex-direction-nav .flex-next:after {
	 background-position: center 0px;
}

.sharebar {
	clear: both;
	padding-top: 3em; 
	x-border-top: 1px dotted #ccc;
}

.sharebar .sharebuttons {
	display: inline-block;
	padding: 0px; margin: 0px; 
	list-style-type: none;
	margin-left: 1em;
}

.sharebar .sharebuttons li {
	display: inline-block;
	padding: 0px; margin: 0px; 
	list-style-type: none;
	margin-left: 0.5em; margin-right: 0.5em;
}

.sharebar .sharebuttons li a {
	display: inline-block;
	padding: 2px 5px;
	border: 1px solid #999;
	color: #666;
	border-radius: 2px;
	padding-left: 30px;
	background-position: 0px -1px; background-repeat: no-repeat;
	background-color: #bbb; color: white; border-color: #999;
	position: relative;
}

.sharebar .sharebuttons li a:after {
	content: " ";
	position: absolute; display: inline-block;
	left: 23px; top: 3px; bottom: 3px; width: 0px;
	border-right: 1px solid #aaa;
}

.sharebar .sharebuttons li.facebook a { background-image: url('images/shareicon-facebook.png'); }
.sharebar .sharebuttons li.facebook:hover a { background-color: #5577aa; color: white; border-color: #225588; }
.sharebar .sharebuttons li.twitter a { background-image: url('images/shareicon-twitter.png'); }
.sharebar .sharebuttons li.twitter:hover a { background-color: #99ddee; color: white; border-color: #66aabb; }
.sharebar .sharebuttons li.googleplus a { background-image: url('images/shareicon-googleplus.png'); background-position: 0px -3px; }
.sharebar .sharebuttons li.googleplus:hover a { background-color: #dd4433; color: white; border-color: #aa1100; }
.sharebar .sharebuttons li.linkedin a { background-image: url('images/shareicon-linkedin.png'); }
.sharebar .sharebuttons li.linkedin:hover a { background-color: #4477bb; color: white; border-color: #114488; }

/*
  
  separate button header with icon

.sharebar .sharebuttons li a {
	display: inline-block;
	padding: 2px 5px;
	border: 1px solid #999;
	color: #666;
	border-radius: 2px;
	padding-left: 28px;
	background-position: 0px -2px; background-repeat: no-repeat;
	background-color: #bbb; color: white; border-color: #999;
	position: relative;
}

.sharebar .sharebuttons li a:after {
	position: absolute; display: inline-block; content: " ";
	left: -1px; top: -1px; width: 24px; bottom: -1px; font-size: 0px; overflow: hidden;
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
	border: 1px solid #999; border-right: none;
	background-color: #bbb; color: white; border-color: #999;
}

.sharebar .sharebuttons li.facebook a:after { background-image: url('images/shareicon-facebook.png'); }
.sharebar .sharebuttons li.facebook:hover a:after { background-color: #5577aa; color: white; border-color: #225588; }
.sharebar .sharebuttons li.twitter a:after { background-image: url('images/shareicon-twitter.png'); }
.sharebar .sharebuttons li.twitter:hover a:after { background-color: #99ddee; color: white; border-color: #66aabb; }
.sharebar .sharebuttons li.googleplus a:after { background-image: url('images/shareicon-googleplus.png'); background-position: 0px -3px; }
.sharebar .sharebuttons li.googleplus:hover a:after { background-color: #dd4433; color: white; border-color: #aa1100; }
.sharebar .sharebuttons li.linkedin a:after { background-image: url('images/shareicon-linkedin.png'); }
.sharebar .sharebuttons li.linkedin:hover a:after { background-color: #4477bb; color: white; border-color: #114488; }

*/

.fallacies.slides {
	position: relative;
}

.fallacies.slides .fallacy {
	position: relative;
	padding-bottom: 4em;
}

.fallacies.slides .sharebar {
	position: absolute;
	display: block;
	left: 0px; right: 0px; top; 100%;
	font-size: 75%; font-weight: 600;
}

.fallacies.slides .home .sharebar {
	position: static; top: auto;
	margin-top: -2em; margin-bottom: 1em;
}

#footer {
	clear: both;
	display: block;
	margin: 0em 2em;
	font-size: 11px;
	color: #bbb;
}

#footer a {
	color: #999; font-weight: 600;
}

#footer a:hover {
	color: black;
}

.fb-like-box-align {
	position: absolute;
	display: inline-block;
	right: 0px; top: 0px;
	padding: 0.5em; z-index: 999; 
	max-width: 300px; overflow: hidden;
	max-height: 5em;
	margin-top: -5px;
}

x-.fb-like-box-align > .background {
	position: absolute; display: inline-block;
	left: 0px; top: 0px; right: 0px; bottom: 0px;
	background-color: #222; x-opacity: 0.5;
}

.google-plus-box-align {
	position: absolute;
	display: inline-block;
	left: 0px; top: 0em;
	margin-left: -115px; margin-top: -10px;
	padding: 0.5em; z-index: 999; 
	max-width: 250px; max-height: 5em; overflow: hidden;
}

.hidden {
	display: none;
}

@media all and (min-width: 1200px) {
	.activeslide0 .flex-direction-nav a {
		opacity: 1.0;
	}
}

@media all and (max-width: 1400px), all and (max-height: 850px) {
	BODY { font-size: 15px; }
}

@media all and (max-width: 1200px), all and (max-height: 800px) {
	BODY { font-size: 14px; background-image: url('images/skyline.jpg'); }
	.flex-direction-nav a:after { top: 4.5em; }
	.fallacy .expl .secbody { font-size: 110%; }
}

@media all and (max-width: 1024px) {
	.fb-like-box-align { display: none; }
	.google-plus-box-align { display: none; }
	#footer { margin-bottom: 0em; }
}

@media all and (max-width: 900px), all and (max-height: 700px) {
	BODY { font-size: 13px; background-image: url('images/skyline-small.jpg'); }
	.home .allfallacies .fallacylink div { font-size: 80%; }
	.fallacy .desc .secbody { font-weight: 700; }
	.sharebar .sharebuttons li { margin-top: 5px }
}

@media all and (max-width: 500px), all and (max-height: 600px) {
	BODY { font-size: 12px; }
	x-.pagetitle { font-size: 200%; min-height: 75px; }
	.home .allfallacies .fallacylink { width: 4em; margin: 0.5em }
	.fallacy .expl .secbody { font-size: 125%; }
	.home .intro { font-size: 120%; }
	.home .allfallacies .leftpanel .fallacylink { float: right; }
	.home .allfallacies .rightpanel .fallacylink { float: left; }
	.sharebar .sharebuttons li a { text-indent: -9999px; padding: 4px 15px; background-position: center center !important; }
	.sharebar .sharebuttons li a:after { display: none; }
}

@media all and (max-width: 340px) {
	.fallacy .title .secbody { font-size: 210%; }
	.home .allfallacies .fallacylink { width: 4em; margin: 0.2em}
}

