/*
Theme Name: Wedding Diary
Theme URI: http://pavluha.net/sozdanie-temy-dlya-wordpress.html
Author: Pavluha.Net
*/
body {
	background: #33A1CF;
    font: 14px "Helvetica Neue", Helvetica, Arial;
	padding: 0; margin: 0;
}
#layout {
	width: 940px; margin: 0 auto;
	background: #EDE5FA;
}
@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: normal;
  src: local('Lobster'), url('http://themes.googleusercontent.com/static/fonts/lobster/v5/eTuGRSa_BjFL9g1rRLWFig.woff') format('woff');
}
h1, h2, .excerpt-h2, #main-link {
	font-family: Lobster, Times, Arial;
	font-style: italic;	font-weight: 400;
	color: #33A1CF; text-align: center;
}
a { color: #66e; }
a:hover { color: #FC86BC; }
h1 { font-size: 30px; }
h2, .excerpt-h2 { font-size: 25px; }
.post-content p.excerpt-h2 { text-indent: 0; }
.excerpt-h2 a { text-decoration: none; color: #33A1CF; }
.alignleft { display: inline; float: left; margin: 10px 15px 10px 0 }
.alignright { display: inline; float: right; margin: 10px 0 10px 15px }
.aligncenter { clear: both; display: block; margin: 10px auto }
#cap {
	position: relative;
	width: 940px; height: 95px;
	margin: 0 auto;
	background: #E2F0F5;
	border-bottom: 7px solid #33A1CF;
}
#cap a { text-decoration: none }
#main-link, #cap h1 {
	position: absolute; right: 491px; top: 75px;
	color: #fff; font-size: 30px;
	border-radius: 10px; background: #33A1CF;
	padding: 4px 10px; margin: 0;
}
#logo-link {
	position: absolute; left: 10px; top: 10px;
	width: 418px; height: 66px;
	background: url('i/cap.png');
}
#twitter, #rss { position: absolute; display: none; }
#twitter {
	right: 59px; top: 36px;
	width: 66px; height: 54px;
	background: url('i/twitter.png');
}
#rss {
	right: 9px; top: 20px;
	width: 66px; height: 55px;
	background: url('i/rss.png');
}
#main-menu {
	position: absolute; right: 0; top: 69px;
	width: 462px; height: 31px;
	padding: 0; list-style: none;
}
#main-menu li {
	float: left; margin: 7px 3px;
}
#main-menu a {
	color: #fff; font-size: 15px;
	border-radius: 10px; background: #33A1CF;
	padding: 4px 10px; margin: 0;
}
#content {
	width: 680px; float:left;
	background: #fff;
}
.post-content {
	margin-bottom: 20px;
	padding: 10px 20px 20px;
	background: url('i/ugolok.png') bottom right no-repeat;
	overflow: hidden;
}
.post-content p { text-indent: 0px; line-height: 24px; }
.post-content p:first-letter { margin-left: 30px; }
.post-meta { padding-left: 30px; }
.post-meta p {
	display: inline;
	font-family: Lobster; font-size: 18px;
	padding: 7px 0 7px 45px; margin: 0 20px 5px 0;
	color: #999;
}
.post-meta p:nth-child(1) { background: url('i/ico-date.jpg') no-repeat; }
.post-meta p:nth-child(2) { background: url('i/ico-rubrika.jpg') no-repeat; }
.post-meta p:nth-child(3) { background: url('i/ico-metka.jpg') no-repeat; }
.post-meta a { color: #99f; }
.post-meta a:hover, .more-link a:hover { color: #FC86BC; }
.more-link a {
	font-family: Lobster, Times, Arial;
	font-size: 150%;
	color: #99f;
}

/* сайдбар */
#sidebar {
	width: 240px; float: right;
	padding: 20px 10px;
}
.sb-title {
	font-family: Lobster, Times, Arial;
	font-size: 18px;
	margin-bottom: 10px;
	margin-top: 10px;
	text-align: center;
}
.sb-content { margin-bottom: 20px; }
.sb-content form { text-align: center; }
.sb-content .current-cat { font-weight: bold; }

#slider-projects {
	position: relative;
	width: 240px; height: 240px;
}
#slider-link, #slider-projects img {
	display: block; position: absolute;
	border: 4px solid #fff; border-radius: 15px;
	width: 100%; height: 100%;
	margin-left: -4px;
}
#slider-projects img { z-index: 1; }
#slider-link { z-index: 2; }

/* Комментарии в сайдбаре */
#sbrc {
	padding: 0 10px;
	list-style: none;
}
#sbrc li {
	clear: left;
	margin-bottom: 10px;
	overflow: hidden;
}
#sbrc .avatar {
	float: left;
	border: 2px solid #F5EAAF;
	margin: 3px 5px 5px 0;
}

#wp-calendar {
	width: 100%;
}
#wp-calendar td { background: #E3E3FC; }
#wp-calendar .pad { background: none; }
#wp-calendar td, #wp-calendar .pad {
	padding: 3px; text-align: center;
}


#footer {
	background: #E2F0F5; border-top: 5px solid #33A1CF;
	width: 940px; margin: 0 auto; padding: 20px 0;
	text-align: center; font-size: 13px; color: #33A1CF;
	clear: both;
}

/* Кнопки социалок */

#share42 {
	padding: 6px;
	background: #FFF;
	border: 1px solid #E9E9E9; border-radius: 4px;
	text-align: center
}
#share42:hover {
	background: #F6F6F6;
	border: 1px solid #D4D4D4;
	box-shadow: 0 0 5px #DDD
}
#share42 a {
	opacity: .7;
	display: inline-block;
	width: 32px; height: 32px;
	margin: 2px 3px 0
}
#share42 a:hover { opacity: 1 }

/* Комментарии */
.comments-template { margin: 10px 5px 5px; }
.commentlist { padding-left: 0; margin-bottom: 0 }
.commentlist p { margin: 0 0 10px }
.commentlist li {
	padding: 5px 5px 15px; margin: 5px 0; border: 1px solid #33A1CF;
	background-color: #fff; list-style: none; position: relative;
	color: #339; overflow: hidden;
}
.children { background: url('i/comment-re.png') no-repeat }
.admin-comment  { background-image: url('i/admin-comment.png'); background-repeat: repeat-x }
.commentlist cite { font-weight: 700; font-size: 1.2em }
.commentlist cite a { text-decoration: none }
.commentlist .anonymous { opacity: .3 }
.commentlist .avatar {
	float: right; margin: -5px -5px 5px 5px; opacity: .7;
	border-radius: 0 0 0 15px; border-left: 1px solid #33A1CF; border-bottom: 1px solid #33A1CF }
.comment-reply-link, .comment-date { display: block; opacity: .5; font-size: 0.7em; text-decoration: none }
.comment-reply-link {
	position: absolute; right: 0; bottom: 0; padding: 0 10px;
	background: #33A1CF; color: #fff; border-radius: 10px 0 0 0;
}
.children .comment-reply-link { left: 0; right: auto; border-radius: 0 10px 0 0 }
.commentlist #respond, #respond { border: 1px solid #33A1CF; background: #fff; color: #339; }
#respond { overflow: hidden }
#respond p, #smilies_toolbar { margin: 10px }
#respond_cap { font: bold 22px Trebuchet MS }
#respond .small, #cancel-comment-reply { font: italic 15px Trebuchet MS }
#respond input, #respond textarea { border: 1px solid #33A1CF }
#submit:hover { cursor: pointer }

/* Pagenavi */

.wp-pagenavi {
	clear: both; text-align: center;
	padding: 0 0 15px;
	font-size: 17px;
}
.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #F9F9E3;
	padding: 3px 5px;
	margin: 2px;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #33A1CF;
}
.wp-pagenavi span.current {
	font-weight: bold;
}

.google-468x60 { width: 468px; height: 60px; margin: 5px auto; }