/*
Theme Name: AMELICA
Version: 1.0
Description: Специально для amelica.com
Author: BR
*/



/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	/* font-family: inherit; */
	font-family: arial;
	font-size: 100%;
	font-style: initial;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units https://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	font-family: "Droid Sans", helvetica neue, helvetica, arial, georgia;
	color:#777;
	font-size:14px;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q, .format-aside {
	quotes: "" "";
	font-family:georgia, arial;
	font-style:italic;
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Global
----------------------------------------------- */


button,
input,
select,
textarea {
	font-family: sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

/* Headings */
h1, h2, h3 {
	color: #67AF31;
	text-rendering: optimizelegibility;
	font-family:georgia, arial;
	font-weight:normal;
}
h1{font-size:28px; font-family:"Lusitana", georgia, helvetica, arial;}
h2{font-size:26px; font-family:"Lusitana", helvetica, arial;}
h3{font-size:24px; font-family:"georgia", helvetica, arial; font-weight:bold !important;}
h4{font-size:22px; font-family:"georgia", helvetica, arial;}
h5{font-size:18px; font-family:"georgia", helvetica, arial;}
h6{font-size:16px; font-family:"georgia", helvetica, arial;}
h1,h2,h3,h4,h5,h6 {
	/* clear: both; */
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
/* Text elements */
p {
	margin-bottom: 1.5em;
	line-height:22px;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
	background: #f3f3f3;
	border: 1px solid #dcdcdc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding:6px;
}
input:focus,
select:focus,
textarea:focus {
	background:#fff;
	outline: none;
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
background: #62392b; /* Old browsers */
background: -moz-linear-gradient(top,  #62392b 0%, #43271d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#62392b), color-stop(100%,#43271d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #62392b 0%,#43271d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #62392b 0%,#43271d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #62392b 0%,#43271d 100%); /* IE10+ */
background: linear-gradient(top,  #62392b 0%,#43271d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#62392b', endColorstr='#43271d',GradientType=0 ); /* IE6-9 */

	padding: 8px 16px;
	color:#fff;
	border:none;
	font-size:13px;
	cursor:pointer;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	font-family:georgia, arial;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
background: #43271d; /* Old browsers */
background: -moz-linear-gradient(top,  #43271d 0%, #62392b 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#43271d), color-stop(100%,#62392b)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #43271d 0%,#62392b 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #43271d 0%,#62392b 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #43271d 0%,#62392b 100%); /* IE10+ */
background: linear-gradient(top,  #43271d 0%,#62392b 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#43271d', endColorstr='#62392b',GradientType=0 ); /* IE6-9 */
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
background: #43271d; /* Old browsers */
background: -moz-linear-gradient(top,  #43271d 0%, #62392b 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#43271d), color-stop(100%,#62392b)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #43271d 0%,#62392b 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #43271d 0%,#62392b 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #43271d 0%,#62392b 100%); /* IE10+ */
background: linear-gradient(top,  #43271d 0%,#62392b 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#43271d', endColorstr='#62392b',GradientType=0 ); /* IE6-9 */

}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type=text],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type=text]:focus,
textarea:focus {
	color: #111;
}
input[type=text] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a{color:#777777; text-decoration:none;}
a:hover{color:#b27f99;}

.more-link{
	letter-spacing:1px;
	text-transform:uppercase;
	color:#333;
	font-family:georgia;
	font-size:13px;
	display:block;
	margin-top:12px;
	width:180px;
	}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin:0 15px 0 0;
}
.alignright {
	display: inline;
	float: right;
	margin:0 0 0 15px;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
.alignnone{
	clear:both;
	display:block;
}
.entry-content img{margin-top:10px; margin-bottom:10px; border:1px solid #e2e2e2; padding:2px;}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}


/* Wrapper */

#page {
	margin: 0px auto;
	max-width: 1140px;
	overflow:hidden;
}

.site-content {
	float: left;
	width: 76%;
    padding-top: 20px;
}
#content {
/*	margin: 0 22% 0 0; */
}


#main .widget-area {
	float: left;
	overflow: hidden;
	width: 24% !important;
text-align: center;
}
#secondary { /* Sidebar 1 */
/*	margin: 0 0 0 -25%; */
	width:18%;
	padding-top:10px;
}

.site-footer {
	clear: both;
	width: 100%;
}

#main{
	padding:0 20px 10px;
	margin:45px auto 0;
	background: #fff;
/*	-moz-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	-webkit-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
*/	clear:left;
	overflow:hidden;
}



.headerimg{
	width:100%;
	height:auto;
	display:block;
}



/* =Branding
----------------------------------------------- */

#masthead{
	padding:0;
	background: #fff;
	-moz-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	-webkit-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	width:100%;
}

.site-header{
	padding:20px;
}

h1.site-title {
	font-size: 32px;
	font-weight: normal;
	margin: 0;
	padding:0;
	width:100%;
	text-align:center;
}
.site-title a{color:#000;}
.site-title a:hover{color:#723710;}
.site-description {
	font-size: 11px;
	font-weight: normal;
	margin: 0 40px;
	padding:0 0 20px 0;
	font-family:"helvetica neue", helvetica, arial;
	text-transform:uppercase;
	color:#777;
	letter-spacing:1px;
	text-align:center;
}


/* =Menu
----------------------------------------------- */

.main-navigation {
	font-family:"Lusitana", georgia, arial;
	display: block;
	float: left;
	margin: 0 0 20px;
	width: 100%;
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	font-size:15px;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding:0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	color:#999;
	border-bottom:4px solid #fff;
}
.main-navigation a:hover {
	border-bottom:4px solid #723710;
}

.main-navigation li:hover > a,
.main-navigation ul ul :hover > a,
.main-navigation a:focus {
	border-bottom:4px solid #723710;
}
.main-navigation ul ul a:hover{
	background:#9A927D;
	border-bottom:4px solid #9A927D;
	color:#fff;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 34px;
	left: 0;
	z-index: 99999;
	padding:0 !important;
	text-align:left;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	background: #723710;
	line-height: 1em;
	padding: 8px 14px;
	width: 10em;
	height: auto;
	border-bottom:4px solid #723710;
	color:#fff;
}


.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
	border-bottom:4px solid #723710;
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
	font-size:15px;
}
.main-small-navigation .menu {
	display: none;
}
.main-small-navigation ul{
	margin:0;
	padding:0;
}
.main-small-navigation ul ul{
	margin:0;
	padding:0;
}
.main-small-navigation ul li{
	list-style-type:none;
	text-align:center;
	margin:0;
	padding:6px 0;
	border-bottom:1px solid #ccc;
}
.main-small-navigation ul ul li{
	list-style-type:none;
	text-align:center;
	margin:0;
	padding:6px 0;
	border-bottom:none;
}



/* =Content
----------------------------------------------- */

.sticky {
	border:1px solid #ddd;
	background:#f8f8f8;
	padding:20px !important;
	margin:0 0 20px 0;
}
.post{padding:0 0 20px 0;}

.entry-title, .page-title{margin:0; text-transform:capitalize;}
.entry-title a, .page-title a{color:#000;}
.entry-title a:hover, .page-title a:hover{color:#723710;}

.page-title{font-size:20px; margin-bottom:20px;}

.entry-meta {
	margin:0 0 12px 0;
	font-size:12px;
	font-family:georgia;
	color:#666;
	font-style:italic;
	clear: both;
}
.hentry {
	margin: 0 0 1.5em;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
	position: relative;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.postedon img{
	border:none;
	padding:0 !important;
	border:0 !important;
}

.time{
	position:absolute;
	top:0;
	background:#333;
	text-align:center;
	color:#fff;
	font-size:12px;
	display:block;
	width:100%;
	padding:4px 0;
	font-family:georgia, arial;
}

.entry{
/*	margin: 0 0 10px 145px;
*/	padding:0;
	overflow:hidden;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* Images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large {
	max-width: 97.5%;
	width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
p img,
.wp-caption {
	margin-top: 0.4em;
}
.wp-caption {
	/* background: #eee; */
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
	width: 100% !important;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-family: Georgia, serif;
	font-size: 12px;
}
.wp-caption .wp-caption-text {
	margin-bottom: 0.6em;
	padding: 10px 0 5px 40px;
	position: relative;
}
.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border: 1px solid #fff;
	padding: 6px;
}
.wp-caption img {
	border-color: #fff;
}
a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	background: #eee;
	border-color: #bbb;
}
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img {/* ... including captioned images! */
	background: #fff;
	border-color: #ddd;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/* =Navigation
----------------------------------------------- */

#content .site-navigation {
/*	margin: 0 0 1.5em; */
	overflow: hidden;
	font-family:helvetica, arial;
clear: both;
margin: 0 auto;
position: relative;
width: 600px;
}
#content .nav-previous {
	float: left;
	width: 50%;
}
#content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* =Comments
----------------------------------------------- */

#comments {
	word-wrap: break-word;
}
.comments-title{
	border-bottom: 1px solid #ccc;
	font-family: "georgia", Helvetica Neue, Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 14px;
	letter-spacing: 0.025em;
	margin: 0 0 20px 0;
	padding: 2px 0 20px 0;
	text-transform:uppercase;
}
#reply-title {
	font-family: "georgia", Helvetica Neue, Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 14px;
	text-transform:uppercase;
}
#comments ol {
	list-style: none;
	margin-left: 0;
}
#comments ul {
	list-style: none;
	margin-left: 0.425em;
}
#comments li {
	position: relative;
	margin:0 0 20px 0;
	padding:0 0 20px 0;
	border-bottom:1px solid #ccc;
}
#comments li.pingback {
	background: #eee;
	margin: 0 0 1.7em;
	padding: 0.85em;
}
#comments li.pingback + li.pingback {
	margin-top: -1.65em;
}
#comments li.pingback p {
	font: 12px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	margin: 0;
}
#comments ul li {
	border-left: 1px solid #ccc;
	border-bottom: none;
	margin: 20px 0 20px 30px;
	padding:0 0 0 30px;
}
#comments .comment-author {
	margin: 0 66px 0.85em 0;
}
#comments .comment-author cite {
	font-style: normal;
}
#comments .comment-meta,
#comments .comment-meta a {
	color: #888;
	font: 12px "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
#comments .comment-meta a:hover {
	color: #df0000;
}
#comments .avatar {
	padding: 3px;
	position: absolute;
	top: 0;
	right: 0;
    background: #fcfcfc;
    border: 1px solid #c8c8c2;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1);
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
}
#comments .comment-body {
	margin-right: 66px;
}
#respond{
	overflow:hidden;
	display:block;
	margin-bottom:10px;
}
#respond .form-allowed-tags{
	margin:20px 0;
}
#respond input[type=text] {
	float: left;
	margin: 0 10px 0 0;
}
#respond input[type=submit] {
	float: right;
}
#respond .comment-form-comment {
	margin: 0;
}
#respond .comment-form-comment label {
	display: none;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
.bypostauthor {
}



/* =Widgets
----------------------------------------------- */

.widget {
	display: block;
	font-size:13px;
	margin:0 0 30px 0;
}
.widget ul{margin:8px 0 16px; padding:0;}
.widget ul li{
list-style-type: none;
line-height: 22px;
border: 1px rgb(192, 184, 184) dashed;
margin: 10px 13px;
background: #fff;
/* border-radius: 10px 0; */
font-size: 15px;
    width: 240px;
}

.widget-title{
	font-size:12px;
	text-transform:uppercase;
/*	font-family:"Lusitana", georgia, helvetica, arial;
	font-weight:normal;
	color:#333;
	margin:0 0 8px 0;
	padding:10px 0;
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	letter-spacing:1px; */
color: #BC7994;
margin: 0 0 8px 0;
padding: 10px 0;
font-family: tahoma;
letter-spacing: 1px;
font-weight: bold;
}
.widget-area .widget_search {
	overflow: hidden;
	margin:0 0 20px;
}
#searchform{
	padding:0;
	margin:16px 0 20px 0;
	}

#searchform input#s{
	padding: 6px 8px;
	margin: 0;
	border:none;
	background:#eee;
	color:#605140;
	width: 90%;
	text-transform:lowercase;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius:5px;
	border-radius: 5px;
	}

#searchform input#s:hover{
	background:#e6e6e6;
	}

#searchform input#s:focus{
	background:#eee;
	}





/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 800px) {/* begin @media */
	#page{padding-bottom:20px;}
	#primary{
		float:none;
		clear:left;
		width:100%;
	}
	#content {
		margin: 0;
		padding:0;
		width:100%;
		float:none;
	}
	#main{padding:20px !important;}
	#secondary {
		float: none;
		margin: 0;
		padding:0;
		width:100% !important;
		background:#333;
		clear:left;

	}
	.widget{
		float: left;
		margin-right:14px;
		color:#fff;
		padding:20px;
	}
	.widget .widget-title{
		color:#fff;
	}
	.widget a{
		color:#ccc;
	}
	.widget a:hover{
		color:#fff;
	}
	.postedon{}
	.entry{
	margin: 0 0 10px 0px;
	overflow:hidden;
}

}/* end @media */

/* end Responsive Structure */




#colophon {
	text-align:center;
	font-size:12px;
	margin:20px auto;
	max-width:1000px;
	padding:20px 0;
	background: #fff;
	-moz-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	-webkit-box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	box-shadow: 0 2px 6px rgba( 100, 100, 100, .3);
	clear:left;
}


/*///////// AD+ ////////////*/

#page{
    position: relative;
    width: 1140px;
    margin: 0 auto;
    background: #fff;
    border-left: 1px solid #e1dbde;
    border-right:1px solid #e1dbde;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

header-front {
   width: 100%;
   height: 300px;
   display: block;
}

.must-log-in a {
    color: #222;
}

.must-log-in a:hover {
    color: #660033;
}
.header {
    position: relative;
    width: 1140px;
    height: 260px;
    margin: 0 auto;
    background: url(./img/S5.jpg) repeat;


}

.deva {
    position: absolute;
    bottom: 0;
    display:inline-block;
    left: 10px
}

.logo {
    position: absolute;
    top:92px; left: 262px;
    display:inline-block;
}

.slogan, .slogan2 {
    font-size: 12px;

}

.slogan {
    position: absolute;
    top:50px; left: 264px;
    color: #b27f99;
    font-weight: bold;
}

.slogan2 {
    position: absolute;
    top:200px; left: 264px;
  /*  font-weight: 600;
    color: #904564;
    */
        color: #777777;
    font-size: 12px;
    font-family: Tahoma;
 /*   font-style: italic; */
}

.topbar {
    width: 100%;
    position: absolute;
    top: 247px;
}

.topbar .menu {
    height: 56px;
    padding-left:0px;
    list-style: none;
    list-style-type: none;
    margin: 10px auto;

  background: rgb(102,0,51); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(102,0,51,1) 0%, rgba(167,21,67,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(102,0,51,1)), color-stop(100%,rgba(167,21,67,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(102,0,51,1) 0%,rgba(167,21,67,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(102,0,51,1) 0%,rgba(167,21,67,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(102,0,51,1) 0%,rgba(167,21,67,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(102,0,51,1) 0%,rgba(167,21,67,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#660033', endColorstr='#a71543',GradientType=0 ); /* IE6-9 */
background: url(./img/bg-menu.png)   no-repeat;
}


.topbar .menu li {
    display: block;
    float: left;
    padding: 18px 1px;
    position: relative;
    text-decoration: none;

}

.topbar .menu li a {
    text-decoration: none;
    color: #fff;
    padding: 10px 7px;
    font-size: 16px;

}

.topbar li a:hover {
    color: #fd3257;
}

.hidden { display: none !important; visibility: hidden !important; }
.show { display: block !important; visibility: visible !important; }

.topbar .menu .children, .topbar .menu .sub-menu {
    position: absolute;
    top: 28px;
/*    background: rgba(111, 3,53,0.9); */
background: #BC7994;
    z-index: 6;
    padding:2px;
    min-width: 192px;
    /* display: none; */
    visibility: hidden;
    line-height: 14px;
    margin: 16px 0 0;
    opacity: 0.8;
}

.topbar .menu .children li a {
   text-decoration: underline;
   display:inline-block;
   padding:3px;
}

.topbar .menu .sub-menu li a {
   text-decoration: underline;
   display:inline-block;
   padding:3px;
       font-size: 14px !important;
       line-height: 16px;
}

.topbar .menu .sub-menu li a, a:hover {opacity: 1 !important;}

.topbar .menu .children li {
    display: block;
    padding: 6px;
    float: none;
}
.topbar .menu .sub-menu li {
    display: block;
    padding: 1px 6px;
    float: none;
}
.topbar .menu li:hover .children, .topbar .menu li:hover .sub-menu {
   /*display: block;*/
    visibility: visible;


}

.menu-top {
    padding-bottom:0;
    position: absolute;
    right: 10px;
    top:40px;
    list-style: none;
    list-style-type: none;
    margin: 0 auto;
    padding-left: 10px;

    overflow:hidden;
    border-bottom: 1px solid #e5e5e5;


}

.menu-top li { padding: 8px 0px 8px 20px; display:inline; float:left; }
.menu-top li a {
    text-decoration: none;
    color: #848484;


}
.menu-top li a:hover {
    color: #fd3257;
}

ul, ol .sub-menu{
    margin: 1em 0 1.4em 0px;
    padding: 0;
    line-height: 140%;
}
.sub-menu li {
    margin: 0;
    padding: 0;
}

.search-form {
    position: absolute;
    right: 0;
    top: 205px;
    padding: 0 10px;
}
.search-form input {
    border-radius: 8px;
    border: 1px solid #eaeaea;
    outline: none;
    width: 250px;
    background: url(./img/search.png) 5px 3px no-repeat;
}

input.button-search {
    position: absolute;
    font-size: 12px;
    color: #fff;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 3px;

    background: #b27f99;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    right: 10px;
    top: 1px;
    text-decoration: none;
    transition: 0.4s linear all;
    width: 60px;


}

input.button-search:hover {
    background: #8c4b6c;

}

.screen-reader-text{
    display: none;
}

.search-form input[placeholder] { font-size: 14px; padding: 2px 24px; text-overflow:ellipsis; background-color: white;}
.auth {
    position: absolute;
    right: 10px;
    top: 100px;
    color: #9d9d9d;
    font-size: 12px;
    font-style: italic;
}

.auth img{vertical-align: middle; margin-bottom: 5px;}

.auth a:first-child, .simplemodal-login {
    padding: 0 0 0 10px;

}
.auth a:last-child {


}
.auth a {
    color: #9d9d9d;
    font-size: 14px;
    font-style: normal;
    text-decoration: underline;

}

.auth a:hover {
    color: #fd3257;
}
.auth-first {
     padding-right: 10px;
    padding-left: 10px;
}
.forum {
    position: absolute;
    right: 10px;
    top: 140px;
    padding-left: 30px;
    background: url(./img/forum.png) 0px 5px no-repeat;
        display: none;

}
.forum a {
    text-decoration: none;
    color: #fe8596;
    font-style: italic;
}
.forum a:hover {
    text-decoration: underline;
    color: #d93e54;

}

.reklam-head{
    position: absolute;
    right: 0;
    top: 133px;
    height: 60px;
}

#main article-front img {width: 255px; padding: 5px !important; height: 170px;}
#main article-front  h1.entry-title a {font-size: 14px; color: #777777; font-family: tahoma; line-height: initial;  font-weight: bold;}
#main article-front  h1.entry-title a:hover { color: #8E3257;  text-decoration: underline;  font-weight: bold;}
#main   article-front {
    width: 265px;
    float: left;
    height: 290px;
    margin: 5px;
    padding: 0;
    border: 1px  rgb(192, 184, 184) dashed;
    display: block;
    overflow: hidden;
    position: relative;
}
#main article-front h1.entry-title {
    line-height: 10px;
    text-align: center;
    text-transform: inherit;
    overflow: hidden;
    display: block;
    height: 48px;
    position: absolute;
    bottom: 54px;
    padding: 5px;
}
#main article-front .entry-content-front, #main .entry-meta-front {
    margin: 5px auto;
    color: #666;
    clear: both;
    padding: 0 3px;
    width: 260px;
    position: absolute;
    bottom: 0;
    height: 50px;
}
#main article-front  .cat-links { font-family: tahoma; font-size: 13px; font-style: normal;}
#main article-front  .cat-links a:hover { text-decoration: underline;}

#main article-front .postedon {
display: block;
overflow: hidden;
height: 178px;
}

/* CAT */
h1.entry-title { line-height: 24px; padding: 5px 0 5px; font-size: 24px; color: #905170; text-transform: initial; font-family: tahoma;}
h1.entry-title a {font-size: 24px; /* color: #905170; */ color:#666666; text-transform: initial; font-family: tahoma;}
h1.entry-title a:hover {/* color: #905170; */ color: #b27f99; opacity: 0.7 !important;}
.page-title, .taxonomy-description {  }

.cat-links, .cloud-title {
    font-size: 13px;
    color: #C0B8B8;
    clear: both;
    float: left;
    padding: 5px 0 0;
}
.cat-links a {text-decoration: underline; color: #C0B8B8;}

.postedon-cat{
 /*   float: left; */
    position: relative;
/*  margin-bottom: 30px;
    width: 125px;
    height:125px;
 */   clear: both;
}

.postedon-cat  img{
border:none;
    padding:0 !important;
    border:0 !important;
    width: 250px !important;
    margin: 5px 15px 5px 0;
    border: 1px rgb(192, 184, 184) dashed !important;
    padding: 5px !important;
    border-radius: 3px;
    height: 165px;
    float: left;
}

.entry-content-cat {
    margin: 0.5em 0 0;
    padding: 0 10px 0 0px;
    text-align: justify;
}

.autor1{
        float: left;
    padding: 0 10px 0 10px;
}

.entry-content h2 {
    line-height: 16px;
    padding: 25px 0 5px;
    font-size: 16px;
    color: #fd3458;
    text-transform: initial;
    font-family: tahoma;
    font-weight: bold;
}

.entry-content h3 {
    line-height: 14px;
    padding: 25px 0 5px;
    font-size: 14px;
    color: #a86385;
    text-transform: initial;
    font-family: tahoma;
}

.entry-content h4 {
    line-height: 13px;
    font-size: 13px;
    color: #a86385;
    text-transform: initial;
    font-family: tahoma;
}

.entry-content p {
    line-height: 20px;
}

#main .entry-meta {
    position: relative;
    margin: 15px 0 5px 360px;
    color: #666;
    clear: both;
    padding: 0 0px 0 0px;
    width: 160px;
    bottom: 0;
    /* height: 45px;
    float: left;*/
}
#main footer.entry-meta {display: none;}
#main .rat-front {margin: 10px 5px 5px 20px; position: absolute; bottom: 105px; }
#main .rat { float: left;}
#main .entry-content .rat {
	position: absolute;
	right: 0;
	padding-right: 20px;
	width: 550px;
}
#main .post-views-count {padding: 0px 0 0 60px;}
#main .entry-content-cat .post-views-count {padding: 0px 0 0 230px;}
#main   .post-views {
	margin:0 !important;
 	padding:0 !important;
 /*	width: 100px  !important;   */
	float: left;
}
#main  .post-views-icon{
	display: inline-block;
	font-size: 20px;
	line-height: 16px;
	text-decoration: inherit;
	vertical-align: middle;
	padding: 0 5px;
}
#main .post-views .entry-meta {display: block;}
#main .post-ratings {
    text-align: right;
    float: left;
    width: 365px;
    margin: 5px 0;
    position: absolute;
    right: 10px;
}
#main .post-ratings-image {
	border: 0px;
	width: 16px !important;
	padding: 0px !important;
	margin: 0px !important;
}

#content-single{
padding: 10px  5px 0;
text-align: justify;
}

#content-single a {
    text-decoration:underline;
}

.cloud-single, .cloud-cat {
    display: none;
}

.cloud, .cloud a {
    font-size: 10px;
    font-style: italic;
    color: #C0B8B8;
    margin: 0;
    padding: 0;
}

#wpp-2 {background: url(./img/S5.jpg); /* border-radius: 10px;*/ padding: 1px 0;}

footer {
    position: relative;
    width: 1140px;
    margin: 0 auto;


}

footer .footer-content {
    width: 1140px;
    overflow: hidden;
    margin: 1px auto 0;
    position: relative;
    padding-bottom: 0px;
background: url(./img/S5.jpg);
border-top: 1px dashed;
}

.footer-item {

    float: left;
}

.footer-item b {
    font-size:12px;
    color: #555;
}
.footer-item a {
    color: #666;
    text-decoration: none;
    font-size:12px;
}

.footer-item li a:hover {
    color: #fd3257;
    text-decoration:underline;
}
.footer-item li b:hover {
    color: #fd3257;
    text-decoration:underline;
}

.footer-item ul {
    list-style: none;
    list-style-type: none;
    padding-left: 27px;
}

.footer-item ul li {
    display:block;
    margin-top:-4px;
}

.footer-bar {
    width: 100%;
    height: 31px;
    background: rgb(167,21,67); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(167,21,67,1) 0%, rgba(102,0,51,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(167,21,67,1)), color-stop(100%,rgba(102,0,51,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(167,21,67,1) 0%,rgba(102,0,51,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(167,21,67,1) 0%,rgba(102,0,51,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(167,21,67,1) 0%,rgba(102,0,51,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(167,21,67,1) 0%,rgba(102,0,51,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a71543', endColorstr='#660033',GradientType=0 ); /* IE6-9 */
    padding-top: 10px;
background: #BC7994;
    background: url(./img/S5.jpg);
    border-bottom: 1px dashed;
  /*  border-radius: 20px 20px 0 0; */
}

.footer-bar .menu {
    list-style: none;
    list-style-type: none;
    margin: 3px auto;
    padding: 0 15px;
    overflow:hidden;
    width: 1140px;
}

.footer-bar .menu li { display:inline; float:left; }
.footer-bar .menu li a {
    text-decoration: none;
    color: #777;
    padding: 0 10px;
    font-weight: bold;

}
.footer-bar .menu li a:hover {
    color: #fd3257;

}

.footer-underline .line {
    height: 10px;
    width: 1010px;

    border-top: 1px solid #cac9ca;
}
.footer-underline {
    position: relative;
    width: 1120px;
    margin: 0 auto;

    padding:  10px;
        font-size: 11px;
    color: #666;
    background: url(./img/S5.jpg);

}
.footer-text{
    display: inline-block;
    width: 720px;
}

.footer-copyright {
    width: 720px;
    padding-top: 5px
}

.footer-social {
    position: absolute;
    display: block;
    width: 192px;
    background: url(./img/social.jpg) center center no-repeat;
    height: 31px;
    left:740px;
    top: 15px;
}

.footer-maki {
    width:117px;
    height:98px;
    background:url(./img/maki.png);
    position: absolute;
    right:0px;
    bottom:80px;
}
#button-up {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    color: #bcbcbc;
    cursor: pointer;

}
#go_up {
position: fixed;
width: 50px;
height: 50px;
bottom: 160px;
right: 200px;
cursor: pointer;
}

#contact-wi ul {
    clear: both;
    width: 200px;
    padding: 0px 0px 0 30px;
    margin: 0;
     text-decoration: underline;
}
#textwid .text_text{
    padding: 0 0 5px 25px;
    text-align: left;
    width: 200px;

}
#textwid .text_text {}
#main .metaslider {margin: 15px 7px 0;}
.nivo-caption {background:#BC7994 !important; font-style: normal !important; font-weight: normal !important; font-variant: small-caps !important;}
.theme-default .nivo-controlNav {
	background:#BC7994 !important;
	opacity: 0.8 !important;
	height: 30px;
	padding: 0 !important;
}

.wpp-thumbnail {
    display: inline;
    float: none !important;
    margin: 5px  !important;
    border: none;
    text-align: center;
}

.wp-pagenavi {
display: block;
text-align: center;
padding: 10px 0;
}

.wp-pagenavi a {

}
.wp-pagenavi a:hover { border-color: #BC7994; color: #BC7994 }
.wp-pagenavi span.current { border-color: #777777; }

#comments footer {width: auto;}
#respond input[type=submit],  {
float: right;
background: #000;
color: gray;
border: 1px gray solid;
display: block;
border-radius: 5px;
}
#respond input[type=submit]:hover { border-color: #BC7994; color: #BC7994 }

#comments {padding-top:15px;}
#comments footer {width: auto;}

a.spoiler-title .closed {
	float: right;
	background: #fff;
	color: grey;
	border: 1px grey solid;
	display: block;
	border-radius: 5px;
	font-weight: bold;
	height: 20px;
	font-family: tahoma;
	font-size: 14px;
	padding: 5px 10px;
	vertical-align: middle;
}
a.spoiler-title .closed:hover {
	background: #6cb133;
	color: #fff;
	border: 1px #6cb133 solid;
}
a.spoiler-title	.opened{
	 float: right;
	background: #fff;
	color: grey;
	border: 1px grey solid;
	display: block;
	border-radius: 5px;
	font-weight: bold;
	height: 20px;
	font-family: tahoma;
	font-size: 14px;
	padding: 5px 10px;
	vertical-align: middle;
}
a.spoiler-title .opened:hover {
	background: #fff;
	color: #6cb133;
	border: 1px #6cb133 solid;
}
.spoiler-body {}

#respond input[type=submit], a.button-download {
float: right;
background: #fff;
color: grey;
border: 1px grey solid;
display: block;
border-radius: 5px;
font-weight: bold;
}
#respond input[type=submit]:hover, a.button-download:hover {
background: #6cb133;
color: #fff;
border: 1px #6cb133 solid;
}
.closed, a.simplemodal-login.sp-title {
    float: right;
    background: #fff;
    color: grey;
    border: 1px grey solid;
    display: block;
    border-radius: 5px;
    height: 16px;
    font-family: tahoma;
    font-size: 14px;
    padding: 5px 0px;
    vertical-align: middle;
    margin: 15px 0;
width: 140px;
text-align: center;
font-style: normal;
clear: both;

}
.closed:hover, a.simplemodal-login.sp-title:hover {
    background: #6cb133;
    color: #fff;
    border: 1px #6cb133 solid;

}
.opened{
     float: right;
    background: #fff;
    color: grey;
    border: 1px grey solid;
    display: block;
    border-radius: 5px;
    height: 16px;
    font-family: tahoma;
    font-size: 14px;
    padding: 5px 10px;
    vertical-align: middle;
    margin: 15px;
    width: 140px;
    text-align: center;
    font-style: normal;
}
.opened:hover {
    background: #6cb133;
    color: #fff;
    border: 1px #6cb133 solid;
}

#main .rat .post-ratings, .entry-content .rat  img {margin: 0; padding: 0; border: none;}

a.comment-reply-login {display: none;}

.b-share__text {line-height: 24px; font-size: 14px;}
.b-share-icon {width: 22px !important; height: 22px !important; background-size: cover !important;}
.b-share-icon_facebook {background-position: 0px -94px !important;}
.b-share-icon_twitter {background-position: 0px -70px !important;}
.b-share-icon_odnoklassniki {background-position: 0 -234px !important;}
.b-share-icon_moimir{background-position: 0 -117px !important;}
.b-share-icon_lj {background-position: 0 -47px !important;}
.b-share-icon_gplus {background-position: 0 -586px !important;}
.b-share-icon_pinterest {background-position: 0 -656px !important;}

ul.cut-cut{
padding-bottom: 10px;
}

ul.cut-cut li {
    float: left;
    padding: 0 5px;
    list-style-type: none;
    font-size: 13px;
    color: #C0B8B8;
}
ul.cut-cut li a{
    color: #777777;
    text-decoration: underline;
}
ul.cut-cut li a:hover{
    color: #b27f99;
    text-decoration: underline;
}
a.nivo-imageLink:hover { opacity: 0 !important;}

.counters {
    position: absolute;
    bottom: 50px;
    right: 200px;
}
ul.post-files {
    list-style-type: none !important;
}
ul.post-files li img{
width: 25px;
}

a.button-download {
    padding: 3px;
    width: 135px;
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
}
.form-submit{
    padding-top: 10px;
}

.other-none {
    display: none;
}

/* 404 */
.widget_recent_entries{
    float: left;
}
.widget_archive {
    clear: both;
}

/*рекомендованные*/
.recomended{overflow:hidden;width:750px;margin:0 auto;font-size:16px;font-weight:bold;}
.recomended ul{padding-top:10px;}
.recomended ul li{float:left;width:125px;margin: 0 4px;font-size:12px;text-align:center;font-weight:normal;list-style:none;}
.recomended .wp-post-image{max-width:125px;max-height:125px;}

/* виджет лабиринта в шапке */
#text-9 {
    margin: 0;
}

#text-7 .adsbygoogle{

}
#text-7 .aswift_3_expand{
}
#text-7 iframe#aswift_3{

}
#text-7 a#aw0{
 /*   position: fixed !important;
    top: 20px; */
}
#text-7 .img_ad{
 position: fixed !important;
    top: 20px;
}
#text-7 div#google_image_div{
/* position: fixed !important;
top: 50px; */
}
ins.adsbygoogle {background: transparent !important;}
