/*
 * Theme Name: pmfcnok.hu theme
 * Theme URI: http://pmfcnok.hu/
 * Description: Made for pmfcnok.hu
 * Version: 0.9
 * Author: Marton Somogyi
 */

/***** Common styling *****/

* {
	margin:				0;
	padding:			0;
}

#preloader img {
	width:				0;
	height:				0;
}

a {
	color:				#844;
	text-decoration:	none;
}

a:hover {
	color:				#400;
}

a[href^="mailto:"], .email {
	background-image:	url('images/icons/mail.png');
	background-position:left center;
	background-repeat:	no-repeat;
	padding-left:		20px;
}

.email {
	unicode-bidi:		bidi-override;
	direction:			rtl;
}

a[href^="mailto:"]:hover, .email:hover {
	background-image:	url('images/icons/mail_h.png');
}

a[href^="http://"]:not([href^="http://www.pmfcnok.hu"]):after {
	background-image:	url('images/icons/ext_red.png');
	background-position:right center;
	background-repeat:	no-repeat;
	padding-right:		15px;
	margin-right:		3px;
	content:			"";
}


a[href^="http://"]:not([href^="http://www.pmfcnok.hu"]):hover:after {
	background-image:	url('images/icons/ext_red_h.png');
}

#kpg-pictures a:after {
	content:			normal;
}

a img {
	border:				1px solid #844;
	margin:				3px;
	padding:			3px;
}

a img:hover {
	border-color:		#400;
}

h2 {
	border-bottom:		1px dotted #fdd;
	clear:				both;
	font:				25px sans-serif;
	margin:				2px;
	padding:			2px;
	position:			relative;
}

h2 .fir {
	background-image:	url("images/design/fade.png");
	background-position:top left;
	background-repeat:	repeat-x;
	display:			block;
	height:				30px;
	left:				4px;
	margin:				0;
	padding:			0;
	position:			absolute;
	top:				4px;
	width:				100%;
	z-index:			1;
}

h2:hover .fir {
	background-image:	url("images/design/fade_h.png");
}

body {
	color:				#666;
	font-family:		Verdana, Arial, Helvetica, sans-serif;
	font-size:			11px;
}

.dark-bg {
	background-color:	#a00;
	color:				#fbb;
}

.dark-bg a {
	color:				#fee;
}

.dark-bg a:hover {
	color:				#fff;
}

.dark-bg a[href^="http://"]:not([href^="http://www.pmfcnok.hu"]):after {
	background-image:	url('images/icons/ext.png');
	background-position:right center;
	background-repeat:	no-repeat;
	padding-right:		15px;
	margin-right:		3px;
	content:			"";
}

.dark-bg a[href^="http://"]:not([href^="http://www.pmfcnok.hu"]):hover:after {
	background-image:	url('images/icons/ext_h.png');
}

.dark-bg h2 {
	border-color:		#c55;
}

.dark-bg .fir {
	background-image:	url("images/design/fade_dark.png");
	background-position:bottom left;
	left:				0;
}

.dark-bg h2:hover .fir {
	background-image:	url("images/design/fade_dark_h.png");
}

/***** Header and breadcrumbs *****/

#header {
	background:			url('images/design/logo.gif') top left no-repeat;
	height:				113px;
	position:			relative;
}

#path {
	background-image:	url('images/icons/home.png');
	background-position:left center;
	background-repeat:	no-repeat;
	height:				16px;
	left:				10px;
	padding-left:		20px;
	position:			absolute;
	top:				93px;
}

#path:hover {
	background-image:	url('images/icons/home_h.png');
}
	

/***** Main container *****/

#main {
	margin:				auto;
	width:				940px;
}

/***** Left pane *****/

#content{
	float:				left;
	width:				600px
}

/***** Posts' styling *****/

.post {
	clear:				both;
	margin-top:			10px;
}

/***** Posintfo container *****/

.postinfo {
	background-image:	url('images/design/rarrow_dark.gif');
	background-position:top right;
	background-repeat:	no-repeat;
	float:				left;
	margin-bottom:		15px;
	padding:			5px 25px 5px 0;
	position:			relative;
	text-align:			right;
	width:				140px;
}

.bottom {
	background-position:right top;
	background-repeat:	no-repeat;
	display:			block;
	height:				15px;
	margin:				0;
	padding:			0;
	position:			absolute;
	right:				0;
	bottom:				-15px;
	width:				100%;
	z-index:			1;
}

/* Top margin only applied to posts' postinfo but comments' */
#content>.post>.postinfo {
	margin-top:			30px;
}

#content>.post>.postinfo .bottom {
	background-image:	url("images/design/bottom_dark.gif");
}

.postinfo ul {
	list-style-type:	none;
}

.postinfo ul li {
	padding:			5px 20px 5px 0;
}

/***** Text container in posts *****/

.postcontent {
	border-bottom:		1px dotted #ccc;
	float:				right;
	margin-left:		2px;
	padding-bottom:		10px;
	width:				433px;
}

.postcontent p {
	padding:			5px 0 5px 0;
}

/***** Comments' styling *****/

#comments {
	float:				left;
}

#comments .post {
	padding:			10px 0 10px 0;
}

#comment-div {
	width:				438px;
	display:			block;
	clear:				both;
}

/* Different background for odd and even comments */
.odd .postinfo {
	background:			url('images/design/rarrow_odd.gif') #b33 top right no-repeat;
}

.odd .postinfo .bottom {
	background-image:	url("images/design/bottom_odd.gif");
}

.alt .postinfo .bottom {
	background-image:	url("images/design/bottom_dark.gif");
}

/* Different background for comments written by admins */
.admincomment .postinfo {
	background:			url('images/design/rarrow_admin.gif') #600 top right no-repeat;
}

.admincomment .postinfo .bottom {
	background-image:	url("images/design/bottom_admin.gif");
}

/***** Icons in posinfo *****/

.postinfo ul li {
	background-position:center right;
	background-repeat:	no-repeat;
}


.info-author {			background-image:	url('images/icons/author.png') }
.info-author:hover {	background-image:	url('images/icons/author_h.png') }
.info-date {			background-image:	url('images/icons/date.png') }
.info-date:hover {		background-image:	url('images/icons/date_h.png') }
.info-cat {				background-image:	url('images/icons/category.png') }
.info-cat:hover {		background-image:	url('images/icons/category_h.png') }
.info-time {			background-image:	url('images/icons/time.png') }
.info-time:hover {		background-image:	url('images/icons/time_h.png') }
.info-comment {			background-image:	url('images/icons/comment.png') }
.info-comment:hover {	background-image:	url('images/icons/comment_h.png') }
.info-pics {			background-image:	url('images/icons/pics.png') }
.info-pics:hover {		background-image:	url('images/icons/pics_h.png') }
.info-reply {			background-image:	url('images/icons/reply.png') }
.info-reply:hover {		background-image:	url('images/icons/reply_h.png') }


/***** Sidebar styling *****/

#sidebar{
	background:			url('images/design/larrow_dark.gif') #a00 top left no-repeat;
	float:				left;
	list-style-type:	none;
	padding:			30px 0 0 20px;
	width:				160px;
}

#sidebar p, #sidebar h4 {
	padding:			5px 0 5px 10px;
}

#sidebar ul {
	list-style-type:	none;
}

#sidebar>li {
	border-bottom:		1px dotted #b00;
	padding:			10px 0 10px 0;
}

#sidebar>li>ul {
	padding-left:		10px;
}

#sidebar>li>ul>li {
	background:			url('images/icons/page.png') 0 2px no-repeat;
	padding-left:		15px;
}

#sidebar>li>ul>li>ul {
	margin-left:		-10px;
	padding:			3px 0 3px 0;
}

#sidebar>li>ul>li>ul>li {
	background-image:	url('images/icons/subpage.png');
	background-position:center left;
	background-repeat:	no-repeat;
	padding-left:		17px;
}

#sidebar>li>ul>li>ul>li:hover {
	background-image:	url('images/icons/subpage_h.png');
}

/***** Search input field styling *****/

#search {
	background-color:	#fef;
	background-image:	url('images/icons/search.png');
	background-position:5px center;
	background-repeat:	no-repeat;
	border:				1px solid #c55;
	padding:			3px;
	text-indent:		20px;
}

#search:hover, #search:focus {
	background-color:	#fff;
	background-image:	url('images/icons/search_h.png');
}

/***** Links *****/

.widget_links ul {
	margin-left:		-15px;
}

.widget_links ul li {
	background:			none !important;
}

.widget_links a {
	background-image:	url('images/icons/page.png');
	background-position:left center;
	background-repeat:	no-repeat;
	padding-left:		15px;
}

a[title^="FIFA"] {
	background-image:	url('images/icons/fifa.png');
}

a[title^="FIFA"]:hover {
	background-image:	url('images/icons/fifa_h.png');
}

a[title^="MLSZ"] {
	background-image:	url('images/icons/mlsz.png');
}

a[title^="MLSZ"]:hover {
	background-image:	url('images/icons/mlsz_h.png');
}

a[title^="Soccerway"] {
	background-image:	url('images/icons/sw.png');
}

a[title^="Soccerway"]:hover {
	background-image:	url('images/icons/sw_h.png');
}

a[title^="UEFA"] {
	background-image:	url('images/icons/uefa.png');
}

a[title^="UEFA"]:hover {
	background-image:	url('images/icons/uefa_h.png');
}

a[title^="WSW"] {
	background-image:	url('images/icons/wsw.png');
}

a[title^="WSW"]:hover {
	background-image:	url('images/icons/wsw_h.png');
}

/***** Sponsors styling *****/

#sponsors {
	border-left:		1px dotted #b00;
	float:				right;
	padding-top:		40px;
	width:				159px;
}

#sponsors a:after {
	content:			normal;
}

#sponsors h2 {
	text-align:			center;
}

#sponsors ul {
	list-style-type:	none;
	padding-left:		10px;
}

#sponsors ul li a img {
	border:				none;
}

/***** Footer styling *****/

#footer {
	background:			#a00;
	border-top:			3px solid #700;
	clear:				both;
	color:				#eaa;
	height:				30px;
	padding:			10px;
}

#footer a {
	color:				#fee;
}

/***** Validators' links styling *****/

#valid {
	background-image:	url('images/icons/ok.png');
	background-position:left center;
	background-repeat:	no-repeat;
	padding-left:		20px;
}

#valid:hover {
	background-image:	url('images/icons/ok_h.png');
}
