/*  
Theme Name: zmff
Theme URI:
Description: Тема розроблена для ФутбольноЇ федерації міста Житомира
Author: Корвін  rjhdsy@gmail.com
Author URI: 
*/


html, body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;;
	color: #000000;
	border: 0;
}
body {
        background: url(img/bg.jpg) repeat-x top;
        background-color: #B8E3F6;
}

body, img, p, h1, h2, h3, h4, h5, ul, ol, li, form, blockquote {
	margin: 0;
	padding: 0;
}

.table2{
	border-style: solid;
	border: thin Gray;
}
ul {
	list-style: none;
	padding: 12px 0;
}

blockquote {
	font-size: 12px;
	line-height: 18px;
	padding: 0px 15px 0px 15px;
	margin: 10px auto;
	width: 85%;
	background: #EAEAEA;
	border: #E3E3E3 1px solid;
}

blockquote p {
	font-style: italic;
	color: #979797;
}

blockquote blockquote {
	background: #F7F6F7;
}

a {
	color: Maroon;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a img {
	border: none;
}

p {
	line-height: 18px;
	padding: 10px 0;
}

h1, h2, h3, h4 {
	padding: 10px 0;
}

h4 {
	font-size: 16px;
	text-transform: uppercase;
	color: #000000;
}

/* Wrap */

#wrap {
        width: 1020px;
        height: 425px; 
	margin: 0;
	padding-top: 12px;
	background: url(img/header.jpg) no-repeat left 0px;
        z-index: 2;
}

/* Content Wrap */

#content_wrap {
	width: 100%;
	/*background: url(img/sidebar_body.jpg) repeat-y 702px top;*/
}

/* Content */

#content {
	width: 550px;

	padding-left: 155px;
	float: left;
}

/* Header */

#content #header {
	width: 427px;
	height: 74px;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 29px;
	overflow: hidden;
}

#content #header h2 {
	font-size: 25px;
	font-style: italic;
	padding: 0 0 0 6px;
	font-family: Georgia;
	position: relative;
}

#content #header h2 a {
	color: #F7F4F4;
	text-decoration: none;
}

#content #header h2 a:hover {
	color: #C7E4EF;
}

#content #header p {
	padding: 1px 5px 2px 5px;
	background: url(img/subtitle.jpg);
	margin-top: -5px;
	float: left;
	color: #fff;
	font-family: Georgia;
	font-size: 12px;
	font-style: italic;
	line-height: 15px;
}


/* Main Menu */


.page_item{
       margin: 0px 0px 0px 0px;
       padding: 0px 0px 0px 0px;
}

#main_menu {
	position: absolute;
	left: -150px;
	top: 140px;
	width: 150px;
        font-size: 14px;
}

#main_menu ul {
	padding: 0 !important;
	text-align: left;
	font-family: Tahoma;
        margin-top: 35px;
        margin-left: 18px;
}

#main_menu ul li {
	list-style: none !important;
        

}

#main_menu ul li a {
	font-weight: bold;
	text-decoration: none;
	padding-left: 8px;
        padding-top: 0px;
        padding-bottom: 0px;
        display:block;
        background: url(img/menu-li.gif) left no-repeat;
        color:#eee;
        line-height:32px;
}

#main_menu ul li.current_page_item a, #main_menu ul li a:hover {
        background:url(img/menu-li-over.gif) left no-repeat;
        display:block;
	color: #fff;
}

.krss {
        height: 33px;
        background: url(img/rss.gif) center no-repeat;
        padding-left: 90px;

}
.krss a{
        
        font-weight: bold;
        text-decoration: underline
}

/* Content (Post) */

#content_post {
        min-height: 1200px;
	margin-top: 100px;
	padding: 35px 15px 20px 35px;
	width: 500px;
	position: relative;
	background: url(img/shadow.jpg);
	background-color: #fff;
	background-repeat: no-repeat;
}

#content_post h2 {
	font-family: Georgia;
	font-size: 19px;
	font-weight: normal;
	color: #111111;
}

#content_post h2 a {
	text-decoration: none;
	color: #474646;
}

#content_post h2 a:hover {
	color: #575757;
	text-decoration: underline;
}

#content_post ul, #content_post ol {
	padding-left: 50px;
}

#content_post li {
	line-height: 20px;
}

#content_post ul li {
	list-style: square;

}


#content_post img {
	border: #CDCDCD 1px solid;
	padding: 1px;
}

#content_post a:hover img {
	border: #7D7D7D 1px solid;
}


#content_post img.alignleft {

	margin: 15px 10px 10px 0;

}

#content_post img.alignright {

	margin: 15px 0px 10px 10px;
}

#content_post img.centered {
	margin: 10px auto 20px auto !important;
	display: block;
}

/* Post */

.k-post{
        width: 35px;
        height: 36px;
        background: url(img/bubble.gif)  no-repeat center;
        text-align: center;
        padding-bottom: 15px;  
}
.k-comment{
	font-size: 14px;
        display: block;
	color: #ffffff;
	padding: 0;
	font-weight: bold;
}

 
.post_wrap {
	width: 500px;
	padding: 10px 0 10px 2px;
	background-color: #ffffff;
}

.post_wrap p.post_details {
	padding: 0 0 3px 0;
	margin-top: -11px;
        text-align: right;
	background: url(img/underline.gif) no-repeat left bottom;
}

.post_wrap h4.comments {
	width: 99%;
	padding-right: 1%;
	padding-bottom: 0;
	padding-top: 5px;
	clear: both;
}


.post_wrap h4.comments a {
	display: block;
	height: 20px;
	width: 108px;
	display: block;
	background: url(img/comments_bg2.jpg) no-repeat;
	text-align: center;
	text-decoration: none;
	color: #717171;
	padding-top: 12px;
	float: right;
}

.post_wrap h4.comments a:hover {
	color: #0B0B0B;
	text-decoration: underline;
}

/* More Entries */

#content_wrap h2.more_entries {
	padding: 25px 0 0px 0;
}

/* Comments (single.php and comments.php) */

.comments_wrap {
	width: 450px;
	margin: 20px 0 5px 10px;
	clear: both;
        font-size: 11px;  
}

.comments_wrap .left {
	width: 46px;
	padding-top: 2px;
	float: left;
}

.comments_wrap .right {
	width: 370px;
	float: left;
	padding-left: 15px;
}

.comments_wrap .right h4 {
	font-size: 14px;
	color: #5D5D5D;
	text-transform: none;
	padding: 0;
	font-weight: normal;
}

.comments_wrap .right h4 b {
	font-size: 14px;
}

.comments_wrap .right h4 b a {
	text-decoration: none;
}

.comments_wrap .right h4 b a:hover {
	text-decoration: underline;
}


/* Comments (form) */

#content form {
	margin: 20px 0 30px 10px;
}

#content form label {
	display: block;
	margin: 10px 0;
	font-size: 12px;
}

#content form label input {
	padding: 4px;
	width: 180px;
	font-size: 12px;
	background: #EBECE7;
	border: #DCDED5 1px solid;
}

#content textarea {
	margin-bottom: 10px;
	display: block;
	padding: 3px;
	font-size: 12px;
	background: #EBECE7;
	border: #DCDED5 1px solid;
}

#content form input {
	margin-top: 5px;
}


/* Sidebar */

#sidebar {
	width: 260px;
	height: 1400px;
	background: url(img/sidebar_top.gif) no-repeat left top;
	float: left;
	margin-left: 0px; 
	padding: 45px 20px 5px 10px;
	display: block;
}
.otstup{
	margin-top: 180px;
}
.sidebar_box{
background: url(img/sidebar_stripe.gif) repeat-y left top;
margin-left: -10px;
padding-left: 10px;
}
#sidebar h4, #sidebar2 h4 {
	padding: 10px 0 5px 0;
}


#sidebar p, #sidebar2 p {
	padding: 5px 5px;
}

#sidebar a {
	padding-right: 10px;
}

#sidebar ul, #sidebar2 ul {
	padding: 5px 5px 12px 5px;
}

#sidebar ul li, #sidebar2 ul li {
	font-size: 14px;
        line-height: 16px;
	padding-left: 13px;
        padding-right: 10px;
	background: url(img/li.gif) no-repeat 0 8px;
}

#sidebar ul li a, #sidebar2 ul li a {
	font-size: 14px;
        color: #02345A;
	background: url(img/li_a_bg.gif) repeat-x bottom;
	text-decoration: none;
	padding-bottom: 2px;
}

#sidebar ul li a:hover, #sidebar2 ul li a:hover {
	background: url(img/li_ahover_bg.gif) repeat-x bottom;
}

#sidebar form#searchform input, #sidebar2 form#searchform input {
	background: #fff;
	border: #DFE0E2 1px solid;
	padding: 4px;
	color: #B0B0B0;
	font-family: Tahoma;
	font-size: 12px;
}

#sidebar form, #sidebar2 form {
	padding: 5px 0 15px 0;
}



/* Sidebar 2 */

#sidebar2 {
	width:0px;
	float: left;
	padding-top: 15px;
}

#sidebar2 img.s_rss {
	margin: 30px 0 10px 0;
}

/* Widget (calendar) */

#wp-calendar {
   font-family: Tahoma;
   font-size: 12px;
	width: 90%;
	padding: 0 0 20px 0;
}

#wp-calendar caption {
	padding: 10px;
}

#wp-calendar th, #wp-calendar td {
	padding: 5px;
	text-align: center;
	/*background: #E2E4DD;*/
}

#wp-calendar td {
	background: #94BAD5;
}

#wp-calendar td, table#wp-calendar th {
	padding: 3px 0;
}

#wp-calendar a {
	text-decoration: underline;

}

#wp-calendar td:hover {
	text-decoration: none;
	background: Yellow;
}
#wp-calendar a:hover {
	text-decoration: none;
}
/* Footer */

.footer_box{

        background-color: #cfcfcf;
}
#footer {
	/*width: 970px;*/
	margin-top: 20px;
	padding: 20px 0 20px 0;
	padding-left: 170px;
        font-size: 11px;
	clear: both;
	position: relative;*/
        display:block;
}

#footer p {
	width: 500px;
}

#footer a {
	color: #858585;
}

#footer .bot {
	position: relative;
	left: 780px;
	top: 5px;
}

#footer .bot a {
	color: #494848;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
}

#footer .bot a:hover {
	text-decoration: underline;
}

/* Fix */

#content_wrap:after,
.post_wrap h4.comments:after,
.comments_wrap:after {
    content: "."; 
    display: block;
	 height: 0;
    clear: both; 
    visibility: hidden;

}

