/*  
Theme Name: Történelemportál
Version: 3.0
Author: Kárpátia Stúdió
Author URI: http://karpatiastudio.hu

paletta:
#EEEEBB beige -- főcím
#968152 light brown -- hátterek
#502B1B dark brown -- fejléc hátterek
#E94C05 orange -- linkek
#990400 red -- h3, címkék
#F89E23 yellow -- címkék
#207E20 green -- címkék
*/

body {
}

sup, sub { vertical-align: 0; position: relative; }
sup { bottom: 1ex; }
sub { top: 0.8ex; }
del { color: #aaa; }
abbr[title] {
	border-bottom: 1px dotted #aaa;
	cursor: help;
}

.row {
    max-width: 960px;
}

.topmenu, .iewarning {
    position: fixed;
    width: 100%;
    height: 40px;
    line-height: 40px;
    top:0px;
    left:0px;
    z-index:100;
    background-color: transparent;
}
.lt-ie9 .topmenu {
	display: none;
}
.iewarning {
	display: none;
}
.lt-ie9 .iewarning {
	display: block;
	text-align: center;
	background: red;
	color: white;
	font-weight: bold;
}
.lt-ie9 .iewarning > a {
	color: #FCFF6D;
}

body.admin-bar .topmenu {
	top: 28px;
} 
.topmenu > .row {
    height: 40px;
    line-height: 40px;
}
.topmenu li {
    font-size: 12px;
    font-weight: normal;
    line-height: 40px;
    height: 40px;
    padding: 0;
}
.topmenu li > a {
    display: inline-block;
    width: 100%;
    height: auto;
    color: #fff;
    border-right: 1px solid #555;
    padding-left: 50px;

    background-image: url("img/tp_web_icons.png");
    background-color: #333;
    background-repeat: no-repeat;

    text-decoration: none;
    text-transform: lowercase;
    transition: background 0.2s ease-out 0s;
}
.topmenu li > a > span {
    display: none;
}
.topmenu div.submenu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0px;
    z-index: 999;
    width: 100%;
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;
    height: 330px;
    background: rgba(50, 50, 50, 0.97);
    color: #ddd;
}
.topmenu li.menu-item-home a {
    background-position: center -40px;
}
.topmenu li.menu-item-menu a {
    background-position: center 0px;
}
.topmenu li.menu-item-mag a {
    background-position: center -80px;
}
.topmenu li.menu-item-shop a {
    background-position: center 120px;
}
.topmenu li.menu-item-search a {
    background-position: center -160px;
}
.topmenu li.menu-item-next a {
    background-position: center -200px;
}
.topmenu li.menu-item-prev a {
    background-position: center -240px;
}
.topmenu li > a:hover {
    background-color: #E94C05;
}
.submenucol {
	padding: 10px 40px;
	clear: both;
}
.submenucol span {
	display: inline-block;
	float: left;
    height: auto;
    line-height: 25px;
    font-size: 14px;
    font-weight: normal;
	margin: 0;
	padding: 0;
	margin: 0 6px 6px 0;
}
.submenucol span.title {
	color: #fff;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: normal;
    font-size: 2.1em;
	margin-right: 15px;
}
.submenucol span a {
	color: #fff;
	background: none;
	border: none;
	margin: 0;
	padding: 0;
    text-transform: none;

	display: inline-block;
	padding: 2px 8px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px; 
	text-decoration: none;
	color:#000;
	background: #fff;
}
.submenucol span.fb a {
	background: #3B5998;
	color: #fff;
	font-weight: bold;
}
.submenucol span.ks a {
	background: #FF7200;
	font-weight: bold;
}
.submenucol span.vm a {
	background: #F2CA50;
	font-weight: bold;
	font-weight: bold;
}
.submenucol span a:hover {
	background: #ccc;
	color: #000;
}
.header {
    padding: 100px 0 70px 0;
    text-align: center;
}
.headerad {
	padding-top: 7px;
	text-align: right;
	font-size: 1.1em;
	line-height: 1.3em;
}
.headerad img {
	display: block;
	float: right;
}
.slider {
	margin: 0 0 50px 0;
}
.orbit-slide-number {
	display: none;
}
a:link, a:visited {
    color: #E94C05;
    text-decoration: none;
}
a:hover {
    color: #E94C05;
    text-decoration: underline;
}
h2, div.title {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: normal;

    font-size: 2.1em;
    line-height: 1.2em;
    color: #222;
    margin-top: .5em;
    text-align: left;
}
.posttitle h2 {
	text-align: center;
	padding-bottom: 20px;
	margin-bottom: 12px;
	border-bottom: 2px solid #E9E9E9;
}
h3 {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: bold;
    font-size: 1.6em;
    line-height: 1.2em;
    color: #B00B0B;
    padding-top: 0.3em;
	display: inline-block;
}
h3 span {
	font-size: 48px;
	height: 72px;
	line-height: 72px;
	min-width: 72px;
	background-color: #B00B0B;
	color: #fff;
	display: inline-block;
	float: left;
	margin: 0 10px 0 0;
	text-align: center;
}

p, .entry li, div.idezet, div.idezet p, .entry table {
    margin: 0 0 1.4em 0;
    font-family: 'PT Serif', serif;
    font-size: 1.2em;
    line-height: 1.5em;

	hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
}
.entry table td {
	vertical-align: top;
	text-align: right;
	font-weight: bold;
	padding-right: 6px;
	padding-bottom: 6px;
}
.entry table td ~ td {
	text-align: left;
	font-weight: normal;
	padding-left: 12px;
}
.entry {
    border-bottom: 4px dotted #E9E9E9;
	margin-bottom: 25px;
}
.entry > p:first-child {
    margin-top: 1.5em;
}
.entry ul {
	padding: 0 0 0 20px;
	list-style-type: square;
}
.entry ol {
	padding: 0 0 0 30px;
}
.entry li {
    margin: 0 0 10px 0;
}
.postcats, .posttags {
	padding: 5px 15px;
	font-size: 13px;
}
.postcats a, .posttags a {
	text-transform: capitalize;
}
.postcats {
	padding-top: 20px;
	border-top: 2px solid #E9E9E9;
}
.posttags {
	margin-bottom: 35px;
	padding-bottom: 20px;
}

.initial {
    clear: none;
    color: #B00B0B;
    float: left;
    font-size: 3.3em;
    margin-top: -14px;
    margin-right: 6px;
    width: auto;
}
.initial-A, .initial-Á {
    margin-right: 6px;
}
.initial-B {
    margin-right: 1px;
}
.initial-C {
    margin-right: 2px;
}
.initial-D {
    margin-right: 0px;
}
.initial-E, .initial-É {
    margin-right: 4px;
}
.initial-F {
    margin-right: -4px;
}
.initial-G {
    margin-right: 0px;
}
.initial-H {
    margin-right: 3px;
}
.initial-I, .initial-Í {
    margin-right: 4px;
}
.initial-J {
    margin-right: 0px;
}
.initial-K {
    margin-right: 6px;
}
.initial-L {
    margin-right: 6px;
}
.initial-M {
    margin-right: 3px;
}
.initial-N {
    margin-right: -2px;
}
.initial-O, .initial-Ó, .initial-Ö, .initial-Ő {
    margin-right: 2px;
}
.initial-P {
    margin-right: -2px;
}
.initial-Q {
    margin-right: 3px;
}
.initial-R {
    margin-right: 6px;
}
.initial-S {
    margin-right: 2px;
}
.initial-T {
    margin-right: -4px;
}
.initial-U, .initial-Ú, .initial-Ü, .initial-Ű {
    margin-right: 0px;
}
.initial-V {
    margin-right: -4px;
}
.initial-W {
    margin-right: -4px;
}
.initial-X {
    margin-right: 4px;
}
.initial-Y {
    margin-right: -4px;
}
.initial-Z {
    margin-right: 2px;
}

.wp-caption {
    width: 100% !important;
    margin: 0 0 1.4em 0;
    background: #f0f0f0;
    padding: 6px;
}
.content img {
    display: block;
    padding: 0;
    margin: 0 auto;
    overflow: auto;
}
.content img.alignleft {
    float: left;
    padding: 10px 0 0 0;
    margin: 0 15px 5px 0;
}
.content img.alignright {
    float: right;
    padding: 10px 0 0 0;
    margin: 0 0 5px 15px;
}
blockquote {
    border-left: 5px solid #f0f0f0;
    padding: 0 0 0 2em;
}
blockquote, blockquote p {
    color: #666;
}
p.wp-caption-text {
    padding-top: 8px;
    margin: 0;
    font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 1em;
    line-height: 1.25em;
    color: #333;
    text-align: center;
}

div.tudtae, div.olvasson, div.info, div.irodalom,
div.tudtae p, div.olvasson p, div.info p, div.irodalom p,
div.tudtae li, div.olvasson li, div.info li, div.irodalom li,
.entry div.tudtae table,
.postcats, .posttags, .facebook, .warning {
    color: #333;
    font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 1em;
    line-height: 1.25em;
}
div.tudtae, div.olvasson, div.idezet, div.info, div.irodalom {
    margin: 0 0 1.4em 0;
    min-height: 75px;
    padding: 15px 15px 15px 80px;
}
div.tudtae p, div.olvasson p, div.idezet p, div.info p, div.irodalom p {
    margin: .8em 0 0 0;
}
div.tudtae li, div.olvasson li, div.idezet li, div.info li, div.irodalom li {
	margin-bottom: 5px;
}

div.olvasson {
    background: url("img/icon_book.png") no-repeat scroll 18px 13px #DBFFBF;
	background-color: #D6EEA6;
}
div.tudtae {
    background: url("img/icon_bulb.png") no-repeat scroll 18px 15px #F5F599;
	background-color: #FFF6A6;
}
div.idezet {
    background: url("img/icon_quote.png") no-repeat scroll 18px 13px #D8CCBE;
	background-color: #EEE9D6;
}
div.info {
    background: url("img/icon_info.png") no-repeat scroll 18px 13px #D8CCBE;
	background-color: #FFDD99;
}
div.irodalom {
    background: url("img/icon_irodalom.png") no-repeat scroll 18px 13px #D8CCBE;
	background-color: #DDE6EE;
}

.warning {
	background: #b68810;
	color: #fff;
	padding: 15px;
}
.facebook {
	background: #3B5998;
	color: #fff;
	padding: 15px;
}
.facebook a {
	color: #fff;
	font-weight: bold;
}
.facebook span {
	background: #fff;
	color: #3B5998;
	font-weight: bold;
	padding: 2px 8px;
	margin-right: 10px;
}
.fbpage {
	padding: 15px;
	margin-bottom: 35px;
	text-align: right;	
}
.fbpage a {
	color: #3B5998;
	font-weight: bold;
	font-size: 14px;
}

.postmeta {
    font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 1em;
    line-height: 1.3em;
	color: #555;
	text-align: center;
	padding-bottom: 12px;
}

.sidebar img {
	max-width: 100%;
    display: block;
	overflow: hidden;
}

.footer {
	margin-top: 20px;
	margin-bottom: 40px;
	font-size: 14px;
	line-height: 25px;
	color: #aa9988;
}
.footer > div {
	text-align: center;
	background-color: #fff;
}
.footer a {
	color: #aa9988;
}
.footer .sep {
	font-size: 16px;
	color: #bbb;
	padding: 0 6px;
}

/*** Search ***/

.searchresult a {
	display: inline-block;
	margin-bottom: 16px;
    font-family: 'Archivo Narrow', sans-serif;
    line-height: 1.1em;
    font-size: 1.4em;
}
table.searchtable {
	width: 100%;
	margin-top: 40px;
}
td.searchindent {
	width: 26%;
}
td.searchbox {
	padding: 0 5px 0 30px;
	width: 224px;
}
td.searchbutton {
	width: 36px;
}
input#s {
	width: 220px;
	height: 36px;
	line-height: 36px;
	font-size: 16px;
}


/*** Cat list (frontpage) ***/

.catlist, .taglist {
	clear: both;
	background: #FFF6A6;
	margin-bottom: 30px;
}
.taglist {
	background: #FFDD99;
}
.catlist .head, .taglist .head {
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 2.4em;
    line-height: 1.2em;
    color: #633E11;
    margin-top: .5em;
    text-align: left;
}
.catlist .head a, .taglist .head a {
    color: #fff;
	display: inline-block;
	padding: 0px 15px;
	background-color: #633E11;
	text-transform: capitalize;
}
.catlist .title, .taglist .title {
	clear: both;
    line-height: 1.1em;
	padding-bottom: 12px;
    font-size: 1.4em;
}
.catlist p, .taglist p {
    font-size: 1em;
    line-height: 1.3em;
	padding-bottom: 15px;
	color: #333;
}
.catlist img, .taglist img {
    margin: 0 0 15px 8px;
	float: right;
	max-width: 30%;
}


/*** Archive page ***/

.tagarchivetitle {
	text-transform: capitalize;
}


/*** Excerpt ***/

.excerpt .title {
    line-height: 1.1em;
	padding-bottom: 12px;
    font-size: 1.6em;
    line-height: 1.25em;
}
.excerpt .postmeta {
	text-align: left;
}
.excerpt p {
    font-size: 1.15em;
    line-height: 1.35em;
	border-bottom: 4px dotted #E9E9E9;
	padding-bottom: 15px;
}
.excerpt img {
    margin: 0 0 1.15em 0;
}


/*** Category bubbles ***/

div.cat_title {
	margin-top: 25px;
}
div.cat_title span a {
	text-transform:lowercase;
	font: 15px Arial; 
	margin:0;
	display: inline-block;
	padding: 2px 8px;
/*	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
*/
	text-decoration: none;
	color:#fff;
    transition: background 0.2s ease-out 0s;
}
div.cat_title span.categories a {
	margin-right: 6px;
	background: #968152;
}
div.cat_title span.categories a:hover {
	background: #807040;
}


/*** Comments ***/

ul.commentlist {
	list-style: none;
    font-family: Arial,sans-serif;
}
.commentlist li {
	display: block;
	margin-bottom: 25px;
}
.commentlist table {
	border: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}
td.commentcount, td.commentauthor, td.commentdate {
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1.4em;
}
td.commentcount {
	text-align: center;
	background: #968152;
    font-weight: bold;
	color: #fff;
	width: 10%;
}
td.commentauthor {
	padding-left: 12px;
	text-align: left;
	background: #EEEEBB;
    font-weight: bold;
}
td.commentdate {
	padding-right: 12px;
	text-align: right;
	background: #EEEEBB;
    font-weight: normal;
}
td.commenttext {
	padding: 15px 15px 15px 12px;
    font-size: 1.1em;
    line-height: 1.25em;
	color: #555;
	background: #f2f2f2;
	word-wrap: break-word;
}
#commentform input, #commentform textarea {
	background: #f6f6f6;
	width: 99%;
}
#commentform textarea {
	height: 200px;
}
input#submit
{
	border: none;
	-moz-border-radius: 6px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 6px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
	border-radius: 6px;
	box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);
	background: #E94C05 url(/images/overlay-button.png) repeat-x scroll 0 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	color: #FFFFFF !important;
	cursor:pointer;
	display: inline-block;
    font-family: Arial,sans-serif;
	font-size:15px;
	font-weight:bold;
	overflow:visible;
	padding:5px 15px 6px;
	position:relative;
	text-decoration:none;
	text-shadow:0 -1px 1px rgba(0, 0, 0, 0.25);
	width:auto;
}
input#submit:hover {
	background-color: #968152;
}
p.commentnote {
    font-size: 1.2em;
    line-height: 1.25em;
}


/*** PageNavi ***/

.navigation {
	text-align: center;
}

.wp-pagenavi {
    clear: both;
    margin: 25px 0 50px 0;
    font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 1em;
}

.wp-pagenavi .previouspostslink {
  margin-right: 20px;
}

.wp-pagenavi .nextpostslink {
  margin-left: 20px;
}

.wp-pagenavi a {
    padding: .4em .7em;
    text-decoration: none;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.wp-pagenavi a.page, span.current {
    margin: 0 .3em;
}

.wp-pagenavi a.page {
    background: #ffffff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.wp-pagenavi a.page:hover {
    background: #E94C05;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
    color: #FFFFFF;
}    

.wp-pagenavi a.previouspostslink, .wp-pagenavi a.nextpostslink, span.current {
    background: #E94C05;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
    color: #FFFFFF;
    display: inline-block;
}

span.current {
    padding: 0.4em 0.7em;
}

.wp-pagenavi a.previouspostslink:hover, .wp-pagenavi a.nextpostslink:hover {
    background: none repeat scroll 0 0 #333333;
    border: none;
}



@media only screen and (min-width: 768px) {
	.topmenu div.submenu {
		height: 250px;
	}
    .topmenu li > a > span {
        display: inline;
    }
    .topmenu li.menu-item-home a {
        background-position: 15px -40px;
    }
    .topmenu li.menu-item-menu a {
        background-position: 15px 0px;
    }
    .topmenu li.menu-item-mag a {
        background-position: 15px 120px;
    }
    .topmenu li.menu-item-shop a {
        background-position: 15px 120px;
    }
    .topmenu li.menu-item-search a {
        background-position: 15px -160px;
    }
    h2 {
        font-size: 2.2em;
        line-height: 1.25em;
    }
    h3 {
        font-size: 1.7em;
        line-height: 1.25em;
    }
    p, .entry li, div.idezet, div.idezet p, .entry table{
        font-size: 1.3em;
        line-height: 1.6em;
    }
    p.wp-caption-text {
        font-size: 1.15em;
        line-height: 1.35em;
    }
	div.tudtae, div.olvasson, div.info, div.irodalom,
	div.tudtae p, div.olvasson p, div.info p, div.irodalom p, .entry div.tudtae table,
	div.tudtae li, div.olvasson li, div.info li, div.irodalom li, .facebook {
		font-size: 18px;
        line-height: 1.4em;
    }
	td.commentcount {
		width: 9%;
	}
	.initial {
		margin-top: -15px;
	}
	td.commenttext {
		padding: 15px 15px 15px 12px;
		font-size: 1.2em;
		line-height: 1.3em;
		color: #555;
		background: #f2f2f2;
	}
}

@media only screen and (min-width: 1440px) {
	.topmenu div.submenu {
		height: 150px;
	}
    h2 {
        font-size: 2.35em;
        line-height: 1.3em;
    }
    h3 {
        font-size: 1.8em;
        line-height: 1.25em;
    }
    p, .entry li, div.idezet, div.idezet p, .entry table {
        font-size: 1.33em;
        line-height: 1.66em;
    }
    .topmenu div.submenu {
        border-right: 6px solid #fff;
    }
	td.commentcount {
		width: 8%;
	}
	.initial {
		margin-top: -16px;
	}
	td.commenttext {
		padding: 15px 15px 15px 12px;
		font-size: 1.3em;
		line-height: 1.4em;
		color: #555;
		background: #f2f2f2;
	}
}

@media print {
	.topmenu,
	.footer,
	.sidebar,
	.usercontent,
	.wp-caption,
	.entry img,
	.postsource
	{
		display: none;
	}
	.entry {
		border: none;
	}
	.header {
		padding: 20px 0;
	}
	.header > div {
		text-align: center;
	}
	.header a[href]:after, a.footnote-link[href]:after {
		content: "";
	}
}

#smartBannerIdentifier {
	clear: both;
}
.vmsidebox {
}
.vmfixed {
	position: fixed;
	top: 50px;
	max-width: 290px;
}
.vmabsolute {
	position: absolute;
	bottom: 600px;
	max-width: 290px;
}
body.admin-bar .vmfixed {
	top: 78px;
} 
