/* Imports  */
@import url("css/rounded.corners.css");
@import url("css/header.css");
@import url("css/menu.css");
@import url("css/featured.story.css");
@import url("css/more.features.css");
@import url("css/latest.css");
@import url("css/more.latest.css");
@import url("css/searchform.css");
@import url("css/mediaplayer.css");
@import url("css/300x250.css");
@import url("css/subscription.css");
@import url("css/sidebar.css");
@import url("css/ajax.tabs.css");
@import url("css/front.categories.css");
@import url("css/footer.css");
@import url("css/single.post.template.css");
@import url("css/archive.css");
@import url("css/advindex.css");

/* Reset */
* {
	font-family: Arial, "Trebuchet MS", Verdana, Tahoma;
	font-size: 1em;
	outline: 0;
	padding: 0;
	margin: 0;
	border: 0;
	text-decoration: none;
	vertical-align: baseline;
	white-space: normal;
}

html, body {line-height: 1}
hr {display: none}
blockquote:before, blockquote:after, q:before, q:after {content: ''}
blockquote, q {quotes: "" ""}
ul {list-style-type: none}
ol {list-style-type: decimal}
ol {margin: 0 0 0 20px}
.clear {clear:both}
a {color: #366799}
a:hover {color: #333; cursor: pointer}

/* Page Layout */
body {
	width: 100%;
	background: #fcfccc;
	text-align: center;
	background-image: url(images/bg.jpg);
	/* cursor: default; */
}

#pagei {
	width: 1020px;
	height: auto;
	padding: 0;
	margin: 0px auto 0px auto;
	border: 1px solid #d9e2e5;
	text-align: left;
	font-size: 0.75em;
	color: #000;
}

#page {
	height: auto;
	background: #fff;
	padding: 10px;
}

#main {
	width: 1020px;
}

#main-left {
	float: left;
	width: 320px;
	padding: 0 10px 0 0;
}

#main-center {
	float: left;
	width: 318px;
	border-left: 1px solid #d9e2e5;
	border-right: 1px solid #d9e2e5;
	padding: 0 10px 0 10px;
}

#main-right {
	float: left;
	width: 320px;
	display: inline;
	margin-left: 10px;
}

#contents {
	width: 1020px;
	padding: 10px 0 10px 0;
}
#contents-b {
	width: 1020px;
	padding: 0 0 0 0;
}

#content, #content-b {
	float: left;
	width: 659px;
	border-right: 1px solid #d9e2e5;
	margin-right: 10px;
	padding-right: 10px;
}

#sidebar {
	float: left;
	width: 320px;
	display: inline;
}

#footeri {
	width: 1020px;
	height: auto;
	margin: 0 auto 7px auto;
	text-align: left;
	font-size: 0.7em;
	color: #fff;
	background: #BEB283;
}

#footer {
	padding: 10px;
}

#bottom {
	width: 1020px;
	height: auto;
	margin: 10px auto 30px auto;
	text-align: left;
	font-size: 0.7em;
	color: #888;
	line-height: 1.5em;
}

#bottom-left {
	float: left;
}

#bottom-right {
	float: right;
}

/* Global site Headers */
h2.front {
	display: block;
	line-height: 1.4em;
	font-weight: bold;
	color: #444;
	padding: 4px 5px 3px 5px;
	margin: 0 0 5px 0;
	background: #f1f6e2;
	border-bottom: 1px solid #e3e8d4;
}

h2.front-gal {
	display: block;
	line-height: 1.4em;
	font-weight: bold;
	color: #444;
	padding: 4px 5px 3px 30px;
	margin: 0 0 5px 0;
	background: #f1f6e2 url(images/photo.png) no-repeat;
	background-position: 7px center;
	border-bottom: 1px solid #e3e8d4;
	position: relative;
}

h3.front {
	margin: 10px 0 5px 0;
	border-bottom: 1px dotted #ccc;
	padding: 0 0 7px 0;
	color: #666;
	position: relative;
}

/* Various Links CSS */
a.icomment {
	display: inline;
	font-size: 0.9em;
	color: #999;
	margin: 0 0 0 7px;
}

a.icomment:hover {color:#333}

.wp-caption p.wp-caption-text {
        color: #888;
	font-size: 11px;
        line-height: 17px;
        padding: 0 4px 5px;
        margin: 0;
}

	color: #999;
	margin: 0 0 0 7px;
}

a.icomment:hover {color:#333}

.wp-caption p.wp-caption-text {
        color: #888;
		font-size: 11px;
        line-height: 17px;
        padding: 0 4px 5px;
        margin: 0;
}
.hand {cursor:pointer}

.fx_rvrez { /* Врезка правая в постах */
		font-family: Georgia, "Times New Roman", Times, serif;
		line-height:15px;
		float: right;
        border: 1px solid #8A60B3;
        height: auto;
        width: 30%;
        text-align: left;
        background-color: #F5EAFF;
        margin-bottom: 5px;
        margin-right: 0px;
        margin-top: 5px;
        margin-left: 10px;
        padding: 5px
}

.wp-pagenavi a, .wp-pagenavi a:link {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-pagenavi a:visited {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-pagenavi a:hover {	
	border: 1px solid #000000;
	color: #ffffff;
	background-color: #666666;
}
.wp-pagenavi a:active {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-pagenavi span.pages {
	padding: 2px 4px 2px 4px; 
	margin: 2px 2px 2px 2px;
	color: #000000;
	background-color: #FFFFFF;
}
.wp-pagenavi span.current {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	font-weight: bold;
	color: #000000;
	background-color: #FFFFFF;
}
.wp-pagenavi span.extend {
	padding: 2px 4px 2px 4px; 
	margin: 2px;	
	color: #000000;
	background-color: #FFFFFF;
}

.buttons{
font-size: 14px;            /* размер шрифта */
font-weight: bold;         /* стиль текста: жирный */			
padding:5px;               /* отступ от границ */

}
 
.buttons a img{
border: none;
opacity:1.0;                 /* непрозрачность: 100% */
}
 
.buttons a:hover img{
border: none;
opacity:0.5;                 /* непрозрачность: 50% */
}

#marfix_logo { position: relative; top: 0px; left: 0px; }
#marfix_avatar { position: absolute; top: 10px; right: 10px; padding: 2px; border: 3px solid #ffffff; background: #ffffff; }

.search-excerpt { background: #FF9; }
