/*
Theme Name:		crazypapa-ru
Theme URI:		http://maxsite.org/
Description:	Шаблон для crazypapa.ru
Version:		1.0
Author:			MAX
Author URI:		http://maxsite.org/
*/

/* FIRST */

* { padding: 0; margin: 0; }

html, body {margin: 0; padding: 0;}

body {font: 62.5% Verdana, Tahoma, Arial, sans-serif; background: white url(images/headerbg.gif) repeat-x; }

p {margin: 3px 0px 7px 0px; text-ali1gn: justify;}
p.cat-description {font-style: italic;}
p.bobr {clear: both;}
p.cat-description {margin-top: 15px;}
p.info {margin-top: 0px;}
p.latestcomments {text-align: center;}

ul, ol {margin-left: 30px; text-al1ign: justify;}

a { color: #3182C0; text-decoration: none;}
/* a:visited { color: #3182C0; text-decoration: none; } */
a:hover { color: #3182C0; text-decoration: underline; }
a:active { color: #FF0000; }

a img { border: none; text-decoration: none;} /* ie глюк*/
a img, a:visited img, a:hover img, a img:hover, img+a, img+a:hover { border: none; text-decoration: none;}

/* H */
h1 {font-size: 1.4em; line-height: 1.2em; color: #555555;}
h2 {font-size: 1.3em; line-height: 1.2em;}
h3 {font-size: 1.2em;}
h4 {font-size: 1.1em;}
h5 {font-size: 1em;}
h6 {font-size: .9em;}


/* STRUCTURE */

#container {width: 935px; margin: 0 auto; font-size: 8pt; line-height: 1.3em;}
#sub-container {width: 100%;}

#header1 {height: 150px; }

/* header2 */
#header2 {font-size: 8pt; height: 44px; line-height: 44px; margin: 0px 0 5px 0; background: url(images/menu-bg.gif) no-repeat center; color:#ffffff; }
#header2 ul { margin: 0 auto; width: 932px;}
#header2 li { float: left; list-style-type: none; white-space: nowrap; text-transform: uppercase; font-weight: bold; background: url(images/menu-sep.gif) no-repeat right;}
#header2 li a { display: block; padding: 0 20px; text-decoration: none; color: white; }
* html #header2 a {width: 1%;}
#header2 .selected, #header2 a:hover { padding: 0 20px; color: #F8CB0E; text-decoration: underline; }
#header2 li.first {margin-left: 0px;}

#header3 {}

#wrapper {float: left; width: 100%;}
*html #wrapper {overflow: hidden;}
*+html #wrapper {overflow: hidden;}


#content {margin: 15px 178px 0 178px; padding: 15px 20px 0 20px; background: url(images/line-content.gif) no-repeat 10px 0px;}
*html #content {overflow: hidden;}
*+html #content {overflow: hidden;}

#navigation-left {float: left; width: 178px; margin-left: -100%; backg1round: #F0F0F0; }
*html #navigation-left {overflow: hidden;}
*+html #navigation-left {overflow: hidden;}

#navigation {float: left; width: 178px; margin-left: -178px; backg1round: #F0F0F0;}
*html #navigation {overflow: hidden;}
*+html #navigation {overflow: hidden;}


#footer {clear: both; width: 100%; color: gray; text-align: center; margin: 10px 0;}
#footer a {color: gray;}


/* H custom */
h1.cat {margin-bottom: 5px;}

h2.box {margin: 0px 0px 5px 0px; padding: 0 0 0 42px; color: #369BCF; font-size: 10pt; min-height: 30px; text-transform: uppercase; background: url(images/h2-bg-1.gif) no-repeat; }
*html h2.box {height: 30px;}
*+html h2.box {height: 30px;}


h2.first {margin-top: 0px;}
h2.main {text-align: left; margin: -10px 0 0 0;}
h2.maintop {text-align: left; margin: -20px 0 10px 0;}

h2.autor {font-size: 1.2em; margin: 0 0 5px 0; border: none; background: #80B0DA; width: 100%; padding: 4px 0 4px 0px;}
h2.autor a, h2.autor a:visited {color: white; }

h3#comments {margin: 10px 0px;}

/* DIV BOX */

div.widget { background: url(images/line-sidebar.gif) no-repeat; margin: 15px 0 20px 0; padding: 9px 0px 0px 0px;}
div.w1 { border-left: 1px solid #D8D8D8; border-right: 1px solid #D8D8D8; padding: 5px 10px 10px 10px;}
div.w2 { background: url(images/line-sidebar-bottom.gif) no-repeat bottom; height: 9px; line-height: 0; font-size: 0;}


div.main-all {backgro1und: url(images/main-bg.gif) repeat-x;}
div.maintop {margin: 0px; color: gray; }
div.maintop h1 {margin: 0; background: url(images/h1-bg-1.gif) no-repeat; padding: 10px 0 0 55px; height: auto;min-height: 35px;}


div.main-data {width: 80px; float: right; text-align: center; font-weight: bold;}

div.maincontent { margin: 0px; padding: 0;}

div.mainbottom {padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dotted gray; clear: both;}
div.single {border-bottom: none; padding-bottom: 0px;}

div.counters {margin: 5px;}

div.comment {text-align: right; clear: both;}

div.wp_pagenavi {text-align: center; margin: 20px; f1ont: 13px Verdana;}
div.wp_pagenavi span {background: #DF0000; color: #FFE0E0;}
div.wp_pagenavi span a, div.wp_pagenavi span a:visited {padding: 0 3px; color: #FFE0E0;}
div.wp_pagenavi span a:hover {color: white;}
div.wp_pagenavi span.current {padding: 0 3px; background: #FFE0E0; color: #DF0000; font-weight: 900;}

div.addzakl {text-align: center; margin-top: 10px; clear: both; }

div.tellafriend {text-align: center;}

div.cat_page {background: #FFFFA0;}

div.block-autor-info {background: #EBF7FC; width: 280px; float: right; border: 1px solid #CBD5D9; margin-left: 10px; padding: 5px;}

div.wp_quotes_random {margin-right: 10px;}
div.wp_quotes_author {font-style: italic; margin-top: 5px;}

div.tags {text-align: center; line-height: 1.5em; pa1dding: 5px;}
*html div.tags {line-height: 1.9em;}
*+html div.tags {line-height: 1.9em;}
div.tags a {margin: 0 5px;}

div.cattags {font-size: 1em; line-height: 1.7em; padding: 5px; text-align: center;}
*html div.cattags {line-height: 1.9em;}
*+html div.cattags {line-height: 1.9em;}
div.cattags span {color: silver; font-size: 7pt;}
div.cattags a {margin: 0 3px; whit1e-space: nowrap;}

div.sitemap {padding: 10px;}

div.vvqbox {clear: both; padding: 10px 0;}

div.noie {text-align: center; font-size: 1.4em; line-height: 2em;}

div.addzakl {margin: 20px 0 5px 0;}

div.rel_post {margin: 15px 0;}
div.rel_post h2 {font-size: 1em;}
div.rel_post ul.last_post {margin: 5px 0 10px 15px; list-style-type: disk; font-size: 8pt; color: #3791D7; }

div.archive-desc {margin-bottom: 20px;}

/* LIST */
ul.is_link {margin: 0 0 10px 10px; list-style-type: none; color: #363C49;}
ul.is_link ul {list-style-type: none; margin: 0 0 0 10px;}
ul.is_link li {margin: 0; padding: 0 0 3px 10px; background: url(images/bg-list.gif) no-repeat;}
*html ul.is_link li {padding: 0 0 3px 15px;}
*+html ul.is_link li {padding: 0 0 3px 15px;}

ul.is_link a {color: #363C49;}


ul.cat {}

ul.latest_comment {list-style-type: none; margin: 0px;}
ul.latest_comment li {margin-bottom: 5px;}
ul.latest_comment li em {display: block; text-align: right; color: gray;}

ul.page_latest_comment li {margin-top: 15px;}
ul.page_latest_comment li {margin-bottom: 15px;}

ul.last_post_cat {}
ul.last_post_cat li {}

ul.autor_post {clear: both; lis1t-style-type: none; margin: 0px 20px; color: #467AA7;}
ul.autor_post li {margin-bottom: 5px;}

ul.postspermonth {list-style-type: none; margin-top: 5px;} /* карта сайта */


/* SEARCH FORM */
#searchform {margin: 5px; }
#s {font-size: 8pt; width: 95px;}
#searchsubmit {font-size: 8pt;}


/* COMMENT FORM */
ol.commentlist { margin: 20px; }
ol.commentlist li {padding: 5px;}
li.alt {background: #EAF5FD;}
p.allowed_tags {font-size: .8em; line-height: 1.1em; color: gray;}

#commentform {} /* <form */
#comment {width: 99%; } /*textarea*/
p.subscribe-to-comments {font-size: 8pt;}
#commentform #submit {padding: 0px 10px; font-size: 8pt;}
p.submit {te1xt-align: center;  clear: both;}

#url, #author, #email {width: 205px;}

input.ed_button {padding: 0px 5px; font-size: .8em; margin-bottom: 3px;}
#wp_grins {text-alig1n: center; margin-top: 5px; margin-bottom: 15px;}
#wp_grins img {	cursor: pointer; }
#comment_quicktags {text-alig1n: center; margin: 10px 0;}

#emotion {width: 535px; margin: 15px 0; text-al1ign: justify; } 
#emotion ul li {display: inline; float: left; width: 30px; height: 30px; pad1ding: 5px 0px; } 
#emotion ul li img {cursor: pointer; margin: 0px;} 
#emotion ul {list-style-type: none; display: inline;}

/* логин-форма */
form.form-login {text-align: right; line-height: 2.0em;}
form.form-login #log {width: 130px;}
form.form-login #pwd {width: 130px;}
form.form-login #rememberme {}
form.form-login p {text-align: center; line-height: 1.4em;}

/* CALENDAR */
#calendar_wrap {}
#wp-calendar { width: 100%; border-collapse: collapse;}
* html #wp-calendar {margin-to1p: 20px; }
*+html #wp-calendar {margin-to1p: 20px; }
#wp-calendar caption {width: 100%; text-align: center; font-size: 1.2em; margin: 0px 0 5px 0; color: #FF3B3B; font-weight: bold; }
#wp-calendar a {font-weight: bold; color: #0040AA;}
#wp-calendar td a:hover {colo1r: #DA251D; text-decoration: none;}
#wp-calendar th { back1ground: #FFC839; font-size: 1em; co1lor: #4E4E4E; text-align: center;}
#wp-calendar td { padding: 2px; text-align: center; border: 1px solid #7DBDFB;}
#wp-calendar #next {padding-right: 2px; text-align: right; border: none;}
#wp-calendar #prev {padding-left: 2px; text-align: left; border: none;}
#wp-calendar td.pad {border: none;}
#wp-calendar #today { color: white; background: #0065D4;}
#wp-calendar #today a { color: white;}


/* IMG */
a img.imageframe, img.imageframe, img.imagef1rame:hover {b1order: 8px solid silver; marg1in: 10px; pa1dding: 5px;}
img.wp-smiley {vertical-align: middle;}
p.info img {vertical-align: middle;}
img.cmd-avatar {border: 1px solid silver;}

/* OTHER */
select.sel-archves {margin-left: 10px; width: 90%;}

.widget ul,.widget ol {margin: 0 0 10px 10px; list-style-type: none; color: #363C49;}
.widget ul ul,.widget ol ol  {list-style-type: none; margin: 0 0 0 10px;}
.widget ul li,.widget ol li {margin: 0; padding: 0 0 3px 10px; background: url(images/bg-list.gif) no-repeat;}
*html .widget ul li,*html .widget ol li {padding: 0 0 3px 15px;}
*+html .widget ul li,*+html .widget ol li {padding: 0 0 3px 15px;}
.widget ul a,.widget ol a {color: #363C49;}
.widget .recent-commented-posts a{color: #3182C0;}
div.maincontent img{max-width:534px;}
/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width:540px;
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/*podarki_ru*/
.podarki_ru{
	width:194px;
	height:94px;
	float:left;
	margin-right:10px;
	background:url(images/podarkiru_bg.jpg) no-repeat;
	}

.podarki_ru div{
    position:relative;
	top:30px;
	font-size:12px;
	left:29px;
	color:#FFFFFF;
	font-family:Arial, Helvetica, sans-serif
	}	
.podarki_ru form{
	position:relative;
	top:30px;
	left:29px;
    }
.podarki_ru select{
	width:125px;
	font-size:10px;
	position:relative;
	top:10px;	
	}
/*podarki_ru*/
