#MainMenu {
	margin-top: 22px;
	text-align: right;
	width:100%;
	font: 9pt/1.3em Arial, Geneva, sans-serif; height: 30px;
}

#tab {
background: #25203E;
    color: white;
    display: inline;
    padding: 8px 20px 8px 20px;
    float: right;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -webkit-box-shadow: 0px 0px 2px #3a3a3a;
    -moz-box-shadow: 0px 0px 2px #3a3a3a;
    box-shadow: 0px 0px 2px #3a3a3a;
}

#tab ul {display: inline; line-height: normal;}
#tab li {display: inline; padding-left: 10px; padding-right: 10px; margin: 0px;}
#tab a {
	color: white;
	font-size: 14px;
}
#tab li.first a {}
#tab li.selected a {color: #C0F0F0;}
#tab a:hover {color: white; }


.footer {margin-top: 20px; position: relative; font-family: Verdana, Arial; font-size: 75%;}

a img {
	border:none;
	text-decoration:none;
}

h1 {font-size:14pt; line-height:1.2em; margin:0; font-weight:normal; color: #E91319;}
h2 {font-size:11pt; margin:5px 0 10px 0; color: #E91319;}
h3 {font-size:10pt; margin:5px 0 10px 0; color: #E91319;}
h4 {font-size:9pt; margin:5px 0 10px 0; color: #E91319;}
h5 {font-size:8pt; margin:5px 0 10px 0; color: #E91319;}
h6 {font-size:7pt; margin:5px 0 10px 0; color: #E91319;}

/* structure */
#content {
	color:#222;    
	font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 22px;
}
#content div {color:#222;}


*html #wrapper {overflow:hidden;}
*+html #wrapper {overflow:hidden;}
*html #content {overflow:hidden;}
*+html #content {overflow:hidden;}
*html #sidebar1 {overflow:hidden;}
*+html #sidebar1 {overflow:hidden;}
*html #sidebar2 {overflow:hidden;}
*+html #sidebar2 {overflow:hidden;}
*html #sidebar-top {overflow:hidden;}
*+html #sidebar-top {overflow:hidden;}
*html #sidebars {overflow:hidden;}
*+html #sidebars {overflow:hidden;}

a.perelink {color:#000;}
a.current_url {font-weight:bold; }
li.current_url a {font-weight:bold;}
li.current_url li a {font-weight:normal;}
li.current-page { color: #E91319; font-size: 16px;}
li.current-page a {font-weight:normal;}

#tab ul {margin:0;}

#searchbox {
	/*background: url(images/searchbox.gif) no-repeat;*/
	width:209px;
	height:23px;
	display:block;
	float:right;
	margin-top:4px;
	margin-right:10px;
	padding:4px 2px 4px 2px;
}
#searchbox .textfield {
	background:none;
	border:0px;
	color:#666;
	font-size:9pt;
	width:185px;
	float:left;
	margin-right:2px;
	padding-left:2px;
}
#searchbox .button {
	background:none;
	border:0px;
	width:18px;
	height:18px;
	cursor:pointer;
	float:left;
	margin-top:0px;
}

.search_text {width: 200px;}
.search_submit, #submit {
padding-right: 10px;
    cursor: pointer;
    background: #E91319;
    border: 1px solid #E91319;
    color: #fff;
    padding: 5px 10px;
}

.search_submit:hover, #submit:hover {
	background: #fff;
	color: #E91319;
}

#content ul, #content ol {margin-top:10px; margin-bottom:10px;}
#content ul ul, #content ol ol {margin-top:0px; margin-bottom:0px;}
li {margin-left:30px;}



div.info a {color: #969696;}
div.info a:hover {
	color: #E91319;
}
p.info a {font-size: 8pt; color: #969696;}

/* H */
h1.category {font-size:16pt;}
h2.box {margin:0 0 5px 0; padding-left: 20px; color:#555555; font-family: Georgia, Verdana; font-size:11pt;
}
.footer h2.box, .footer .mso-widget-header {
	font-family: Arial, Verdana; 
	font-size:16px;
	font-weight: bold;
	color: #555555;
	    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}
.footer .mso-widget-header {
    background: url(images/bullet.gif) no-repeat 0 0;
	    padding-left: 20px;
}

.w0 h2.box {margin:0 0 5px 0; padding-left: 0px !important; color:#555555; font-family: Arial, Helvetica, sans-serif; font-size: 12px;}
h2.last_comment {font-size:9pt; margin-top:30px; color:#555; border-bottom:dashed #ccc 1px; color: #8E1313;}
.info h1 a {color: #8E1313;}

blockquote /*, pre*/
{
	background:#F4F5F7 url(images/blockquote.gif) 3px 3px no-repeat;
	border:1px dashed #CCC;
	padding:8px 12px 8px 36px;
	margin:5px 0;
	overflow: auto;
font-style: italic;
font-size: -1px;
}
blockquote p {width:100%; margin:20px 0 10px 0;}

/* DIV */
div.page_only {margin-top:0;}
div.widget {margin:0 0 5px 0; font-family: Arial,Helvetica,sans-serif; font-size: 12px;}
div.widget div.w0 {position:relative;}
div.widget div.w1 {}
div.widget div.w2 {font-size:1pt; height:6px; margin-top:10px;}
div.widget a {color:#2970a6;}

div.loginform {position:fixed; top:20%; left:50%; margin-top:50px; margin-left:-100px; text-align:left;  padding:20px 20px 20px 15px; border:3px outset #ddd; background:#eee; width:200px; font-size:8pt;}
* html div.loginform {position:absolute;}

div.twitter {}
div.twitter p {border-bottom:1px solid #ddd; padding:0 0 10px 0;}
div.twitter a {font-weight:bold;}

div.pagination {background:#edeff0; border:1px solid #ccc; padding:3px; font-size:8pt; margin:25px 0 10px 0; text-align:center;}
div.pagination strong {background:#2970a6; color:#fff; padding:2px;}

div.page_content {}

div.info {margin: 10px 0 15px 0; color:#333; text-indent: 0px !important; font-size: 75%;}
div.info div {font-size:10pt; margin:3px 0 3px 0; display:inline;}
div.info span,

div.tagclouds {text-align:center;}
div.tagclouds span {line-height:1.4em; padding:4px;}
div.tagclouds a:hover {background:#2970a6; color:#fff; text-decoration:none;}

div.catclouds {text-align:center;}
div.catclouds span {line-height:1.4em;}
div.catclouds a:hover {background:#2970a6; color:#fff; text-decoration:none;}

div.home_top {}

div.page_other_pages {margin:20px 0 20px 0;}
div.page_other_pages h3 {font: normal 14pt Georgia, Vedrana, Arial, serif; color:#555; margin:0 0 5px 0;}
div.page_other_pages ul {list-style-type:square;}

div.separator {border: dotted 1px gray; margin: 5px 0px 5px 0px; padding: 10px;}

/* LIST */
ul.mso-widget-list {margin:0px 0px 10px 3px; padding:0px; list-style-type:none; line-height:1.7em;}
ul.mso-widget-list ul {list-style-type:none;}

ul.mso-widget-list li {    
	margin: 0px;
    background: url(images/bullet.gif) no-repeat 0 7px;
    padding: 2px 0 4px 20px;
    border-bottom: 1px dashed #ccc;  
}
ul.links   li         {margin:0px; background:url(images/icon_links.gif) no-repeat 0 4px !important; padding:2px 0 2px 20px;}
ul.last_comment li    {margin:0px; background:url(images/icon_links.gif) no-repeat 0 4px !important; padding:2px 0 0 20px;  }
ul.mso-widget-list li a       {color: #424242; text-decoration: none;     font-size: 16px;}
ul.mso-widget-list li a:hover {text-decoration: underline; color: #E91319;}
ul.mso-widget-list li li   {margin:0 auto;}

.tabs-widget-all ul.mso-widget-list li {
	padding-top: 7px;
}

.sbox-quest {
    background-color: #FFFAFA;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
    border: 1px dotted #00815B;
    font-style: italic;
}

.sbox-info {
    background-color: #B0F4FF;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
    border: 1px dotted #00815B;
    font-style: italic;
}

.sbox-warning {
    background-color: #FFBBBB;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
    border: 1px dotted #3b3b3b;
    font-style: italic;
}

.sbox-quote {
    background-color: #E6E6E6;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
    border: 1px dotted #3b3b3b;
    font-style: italic;
}

.sbox-download {
    background-color: #E8FFE9;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
    border: 1px dotted #3b3b3b;
    font-style: italic;
}

.sbox-ad {
    background-color: #E8FFE9;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
    border: 1px dotted #3b3b3b;
    font-style: italic;
}

li.level0, li.level0 a {}
li.count0 {color:grey;}

ul.category {color:gray;}

.category li {
	padding-bottom: 7px;
}

.category li a {
	font-size: 16px;
}

ul.last_comment {font-size:8pt; }
ul.last_comment em {display:block; color:gray; text-align:right;}
ul.last_comment li {margin-bottom:7px;}

div.comments ul.last_comment li {margin:5px 0;}
ul.links div {margin:0px 0 5px 0; font-style:italic; color:gray; line-height:1.0em; font-size:0.9em;}

/* CALENDAR */
div.calendar table {width:100%;}
div.calendar td {border:1px solid #fff; text-align:center; padding:1px; font-size:8pt;}
div.calendar tr.week td {background:#ddd;}
div.calendar div.today {background:#2970a6; color:#fff;}
div.calendar div.today-content {background:#2970a6;}
div.calendar td a {text-decoration:underline;}

/* COMMENTS */
div.type_page_comments {
	padding: 10px;
	border: solid 1px #DDDDDD;
	-moz-border-radius: 5px;
	background: #F0F0F0;
}
li.comment {padding: 5px;}
li.dark {background: #E5E5E5;}
li.light {background: #F9F9F9; border-left: dotted 1px silver;}
li.admin {background: #FFFAFA !important; border: silver 1px solid !important;}

li.comment div.comuser div.name {font-size: 80%;}

div.comment-form {line-height:1.2em; width:100%;}
div.comment-form label {font-size:8pt; margin:0 0 0 3px;}
div.comment-form p {margin:3px;}
div.comment-form input.text {width:300px; margin:3px;}
div.comment-form input.no-margin {width:auto; margin:3px; }
div.comment-form textarea {width:99%; margin:3px;}
*html div.comment-form textarea {width:95%; margin:3px;}
div.comment-form span { position:relative; top:-5px; font-size:8pt; color:gray;}
div.comment-form span.black {color:#000;}
div.comment-form input.comments_submit {
	width:120px; 
	margin-left:2px; 
	    font-size: 14px;
	background: #E91319;
    border: 1px solid #E91319;
    color: #fff;
	padding: 5px 10px;
	cursor: pointer;
	margin-top: 5px;
}

div.comment-form input.comments_submit:hover {
	background: #fff;
	color: #E91319;
}

div.comment-form input.comments_captha {width:90px;}
/*div.comment-form img { position:relative; top:7px; }*/

div.comment-form div.comments-reg {border:1px solid #ccc; margin:10px 0; background:#fff; padding:10px;}
div.comment-form div.comments-reg p {font-size:8pt; margin-top:10px; padding:10px; background:#fafafa; border:1px solid #ddd;}
div.comment-form div.comments-noreg {border:1px solid #ccc; margin:10px 0; background:#fff; padding:10px;}
div.comment-form div.comments-textarea {border:1px solid #ccc; margin:10px 0; background:#f7f7f7; padding:10px;}
div.comment-form div.comments-user {border:1px solid #ccc; margin:10px 0; background:#f7f7f7; padding:10px; font-weight:bold;}

div.comment-ok {background:#40A040; color:#fff; padding:10px; text-align:center; font-weight:bold;}
div.comment-error {background:#FF4040; color:#fff; padding:10px; text-align:center; font-weight:bold;}
div.comment-form .comment_button input {margin:0px; padding:0 5px; font-size:8pt;}

div.comments-link {margin:10px 0 0 0; text-align:right; font-size:8pt;}

div.comments h3,
h3.comments,
form.comusers-form h3
{
	font: normal 14pt Georgia, Vedrana, Arial, serif;
	margin:10px 0 20px 0;
}

/*div.comments blockquote {padding:8px; margin:10px 0 10px 0; background:#fff; border:1px dashed #ccc;}*/

div.comments ol {list-style:none; margin:0;}
div.comments li {margin:0 0 10px 0;}

.comment .comuser {
	float:left;
	width:84px;
	text-align:center;
}
.comment .pic {
	padding-right: 0;
	margin-top:10px;
}
.comment .name {
	width:70px;
	padding-right:14px;
	font-weight:normal;
	overflow:hidden;
}
.comment .avatar {
	border:1px solid #ddd;
}
.comment .cominfo {
	float:left;
	    padding: 10px 15px 0 5px;
	width:570px;
	font-size:10px;
}
.comment .date, 
{
	float:left;
}

.cominfo .date {
	padding-bottom: 0;
	font-weight: bold;
	font-size: 90%;
}

.comment .content {
	margin:0 -15px;
	padding:0 15px 10px;
	line-height:145%;
	font-size:10pt;
}

#flogin span {display:block; font-weight:bold; margin:5px 0;}
#flogin_user {width:98%;}
#flogin_password {width:98%;}
#flogin_submit { margin:5px 0;}

.text,
#flogin_user, 
#flogin_password,
#comments_author,
#comments_password,
#comments_content,
.comments_captha,
#contact_name,
#contact_mail,
#contact_phone,
#contact_url,
#contact_subject,
#contact_antispam,
.contact-form textarea,
form.comusers-form p input,
form.comusers-form p select,
form.comusers-form p textarea
{
	border:1px solid #a6a6a6;
	padding:4px 2px 4px 2px;
	font-size:9pt;
}

#flogin_submit,
.comments_submit
{
	font-size:8t;
}

/* comusers*/
form.comusers-form p strong {width:301px; display:block; float:left; font-weight:normal;}
form.comusers-form p input, form.comusers-form p select {width:301px;}
form.comusers-form p textarea {width:301px; height:200px;}
form.comusers-form p  {background:#fff;}
form.comusers-form p.info  {background:none; color:#B00000; margin:0 0 15px 0; border:1px solid #B00000; padding:3px; text-align:center;}

/* SITEMAP */
div.sitemap ul {list-style-type:none; margin:0;}
div.sitemap h3 {margin:15px 0 5px 0;}
h2.sitemap {margin:25px 0 0 0; background:#ddd; padding:3px;}

/* IMG */
img.text {margin:5px 10px 5px 0px;}
img.text-left {float:left; margin:5px 10px 5px 0px;}
img.text-right {float:right; margin:5px 0 5px 10px;}
img.text-center {margin:0 auto; display:block;}
img.border {border:1px solid #3D61B6; }
img.smiley {vertical-align:middle;}

/*  PRE to OL */
div.pre {background:#F0F0F0; padding:5px; overflow:auto; wi1dth:99%; margin:0 0 10px 0;}
ol.pre {line-hei1ght:1em; font-family:monospace; padding:0; margin:0 0 0 30px;  }
ol.pre li {padding:0; margin:0; #fff-space:pre; line-he1ight:0.8em;}
ol.pre li.odd {background:none;}
ol.pre span.php-comment {color:gray;}

/* OTHER */
span.cut {display:block; margin-top: 10px;}
div.break {clear:both; padding-bottom: 10px}

div.date, div.author, div.category, div.tags, span.comments-cloud, div.edit-link {padding-left:20px; padding-right:8px;}

div.date {background:url(images/date.gif) no-repeat;}
div.author {background:url(images/user.gif) no-repeat;}
div.category {background:url(images/folder.gif) no-repeat;}
div.tags {background:url(images/tag_green.gif) no-repeat;}
span.comments-cloud {background:url(images/comment.gif) no-repeat;}
div.edit-link {background:url(images/edit.gif) no-repeat;}

div.ushki_widget div.w0 div.w1 {
	padding: 0;
}

div.ushki_widget div.w0 div.w1 h2.box {
	color: #8E1313;
}

div.ushki_widget div.w0 div.w1 a {
	color: #222;
}

div.gallery, div.random-gal-widget
{
	background:#F4F5F7 url(images/blockquote.gif) 3px 3px no-repeat;
	border:1px dashed #CCC;
	padding:8px 12px 8px 36px;
	margin:5px 0;
}
div.gallery img, div.gallery div, div.random-gal-widget img {
	padding: 5px; margin: 10px 5px 10px 5px; background: #E8E8E8; border: 5px double white; -moz-border-radius: 10px; font-weight: bold;
}

input {padding: 2px 5px;}

/* TABS */
.ui-wrapper { border: 1px solid #50A029; }
.ui-wrapper input, .ui-wrapper textarea { border: 0; }


/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0 !important;
    padding: 0;
    background: white;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 0px;
    text-transform: lowercase;
    text-align: left;
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    float: left; /* fixes dir=ltr problem and other quirks IE */
    padding: 0 0 0 25px;
   background-color: #ccc;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}
.ui-tabs-nav a {
    margin: 5px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    background-position: 100% 0;
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0; /* @ Firefox, prevent dotted border after click */    
}
.ui-tabs-nav a:link, .ui-tabs-nav a:visited {
    color: #424242;
}
.ui-tabs-nav .ui-tabs-selected a {
    background-position: 100% -35px;
}
.ui-tabs-nav a span {
    padding-right: 0;
    height: 35px;
    width: 65px;
    background-position: 0 0;
    line-height: 35px;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 0;
    height: 35px;
    background: #DFDFDF;
    line-height: 35px;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited,
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {
    color: #000;
}

.tabs-widget-all {
}

.ui-tabs-panel {
    padding: 10px;
	    -webkit-border-radius: 0 5px 5px 5px;
	    -moz-border-radius: 0 5px 5px 5px;
	    border-radius: 0 5px 5px 5px;
	    background: #DFDFDF;
}



.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}





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

body {
	font: 9pt/1.3em;
	/*font-family: Arial, Helvetica, sans-serif;*/
	background-color: #fff;
	background-image:url(images/head-bg.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	-o-background-size: contain;
	background-size: contain;
}

#headers {
	height:128px;
	    padding: 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


#wrapper {
	margin: 0; padding: 0 10px; margin-top: -38px;
}

#sidebars {
    margin: 0;
    margin-top: 0px;
    padding: 20px 10px;
    width: 300px;
}

body #sitenew {
	left: 622px !important;
	top: -60px !important;
}


#content {
    padding: 10px 20px;
    background-color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 6px #777777;
    -moz-box-shadow: 0px 0px 6px #777777;
    box-shadow: 0px 0px 6px #777777;
}

.content-top {
 margin: -15px auto 0;
 position: relative;
     padding: 12px 0 20px;
 clear:both;
 overflow:hidden;
 background: url(images/category-underline.gif) repeat-x bottom;
}

.page_title {
 margin: -15px auto 0;
 position: relative;
 padding: 20px 0;
 clear:both;
 overflow:hidden;
}

.highlight-category{
 color: #424242;
 display:block;
}
.color-category{
 color: #E91319;
	font-size: 24px;

}

.bookshelf li {
	display:inline; list-style:none;
}

.bookshelf img {
	border: solid silver 3px;
}

#bookshelf {
	border: none;
}

.footer {
    border: silver solid 1px;
	border-bottom: 0;
    background: #DFDFDF;
    background: -webkit-gradient(linear, left top, left bottom, from(#DFDFDF),to(#ffffff));
    background: -webkit-linear-gradient(top, #DFDFDF 0%,#ffffff 100%);
    background: -moz-linear-gradient(top, #DFDFDF 0%,#ffffff 100%);
    background: -o-linear-gradient(top, #DFDFDF 0%,#ffffff 100%);
    background: linear-gradient(to bottom, #DFDFDF 0%,#ffffff 100%);
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    padding-top: 10px;
}

#footer-menu {
	position: relative;
	left: -20px;
	height: 100%
}

#footer-menu h2.box {
	background: url(images/stranicy.gif) no-repeat;
}

#footer-menu ul {margin:0px 0px 10px 0px; padding:0px; list-style-type:none; line-height:1.5em;}
#footer-menu ul {list-style-type:none;}

#footer-menu ul li {margin:0px; background:url(images/bullet.gif) no-repeat 0 4px; padding:2px 0 0 20px; line-height: 26px;}
#footer-menu ul li li {margin:0 auto;}

ul a {color: #424242;}

ul a:hover {
	color: #E91319;
}

#div-contact-form {
	border-right: solid 1px #dddddd;
	height: 100% auto !important;
	min-height: 250px;
}

#divToUpdate {
	padding: 0 10px;
}

.page_only {
	padding: 0;
	margin-bottom: 10px;
}

.page_only h1 {
	padding: 0 0 10px 0;
}

a {
	color: #E91319;
}

h1 a {
	text-decoration: none;
}

#toTop {  
	width: 80px;
	border: 1px solid #ccc;
	background: #f7f7f7;  
	text-align:center;
	padding: 5px 80px 5px 5px;
	/* position:fixed; this is the magic */  
	bottom: 0px; /* together with this to put the div at the bottom*/  
	/*right: 10px; */
	cursor: pointer;
	display: none;
	color: #333;
	font-family: verdana;
	font-size: 11px;  
	float: right;
	/*position: relative;
	top: -30px;*/
	color: #424242;
	opacity: .5;
	position: fixed;
	/*top: 100%;
	left: 100%;   */
	right: 0;
	margin-right: -80px;
	z-index: 999;
	margin-top: -80px; /* = height + preferred bottom margin */
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
#top_link {
	/*background:url(http://img.keanrichmond.com/_toplink.png) no-repeat;*/
	bottom: 22px;
	color: #EFECE5;
	height: 22px;
	font-size: 1.1em;
	padding: 5px 0 0 31px;
	position: fixed;
	right: -72px;
	text-decoration: none;
	width: 69px;
}

.copyrights {
	padding-left: 20px;
	padding-bottom: 10px;
	font-size: 8pt;
}

.copyrights a {color: #424242;}

#copyrights {background: url(images/copyrights.gif) no-repeat;}
#links {background: url(images/ssylki.gif) no-repeat;}

#contact-box {
	background: url(images/mail.gif) no-repeat;
	margin-left: 10px;
}

/*TABS*/
.tabs-menu li    {position: relative; margin-right: 1px;}
.tabs-menu li a span img {position: absolute; left:  5px; top: 15px;}
#poisk       img {position: absolute; left:  5px; top: 15px;}
#rubriki     img {position: absolute; left:  5px; top: 15px;}
#podpiska    img {position: absolute; left:  5px; top: 15px;}
#chitajut    img {position: absolute; left:  5px; top: 15px;}
#obsuzhdajut img {position: absolute; left:  5px; top: 15px;}
#stranicy    img {position: absolute; left:  5px; top: 15px;}
#ssylki      img {position: absolute; left:  5px; top: 15px;}
#sajty       img {position: absolute; left:  5px; top: 15px;}
#statistika  img {position: absolute; left:  5px; top: 15px;}

/* Containers
----------------------------------------------------------------------------------------------------*/
.container_12 {
	margin-left: auto;
	margin-right: auto;
	width: 1100px;
	padding: 0px;
}

/* Grid >> Global
----------------------------------------------------------------------------------------------------*/

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	display:inline;
	float: left;
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
}

/* Grid >> Children (Alpha ~ First, Omega ~ Last)
----------------------------------------------------------------------------------------------------*/

.alpha {
	margin-left: 0;
}

.omega {
	margin-right: 0;
}

/* Grid >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .grid_1 {
	width:60px;
}

.container_12 .grid_2 {
	width:140px;
}

.container_12 .grid_3 {
	width:220px;
}

.container_12 .grid_4 {
	width:300px;
}

.container_12 .grid_5 {
	width:380px;
}

.container_12 .grid_6 {
	width:460px;
}

.container_12 .grid_7 {
	width:540px;
}

.container_12 .grid_8 {
	width:760px;
}

.container_12 .grid_9 {
	width:700px;
}

.container_12 .grid_10 {
	width:780px;
}

.container_12 .grid_11 {
	width:860px;
}

.container_12 .grid_12 {
    width: 1100px;
    margin: 0;
}



/* Prefix Extra Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .prefix_1 {
	padding-left:80px;
}

.container_12 .prefix_2 {
	padding-left:160px;
}

.container_12 .prefix_3 {
	padding-left:240px;
}

.container_12 .prefix_4 {
	padding-left:320px;
}

.container_12 .prefix_5 {
	padding-left:400px;
}

.container_12 .prefix_6 {
	padding-left:480px;
}

.container_12 .prefix_7 {
	padding-left:560px;
}

.container_12 .prefix_8 {
	padding-left:640px;
}

.container_12 .prefix_9 {
	padding-left:720px;
}

.container_12 .prefix_10 {
	padding-left:800px;
}

.container_12 .prefix_11 {
	padding-left:880px;
}



/* Suffix Extra Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .suffix_1 {
	padding-right:80px;
}

.container_12 .suffix_2 {
	padding-right:160px;
}

.container_12 .suffix_3 {
	padding-right:240px;
}

.container_12 .suffix_4 {
	padding-right:320px;
}

.container_12 .suffix_5 {
	padding-right:400px;
}

.container_12 .suffix_6 {
	padding-right:480px;
}

.container_12 .suffix_7 {
	padding-right:560px;
}

.container_12 .suffix_8 {
	padding-right:640px;
}

.container_12 .suffix_9 {
	padding-right:720px;
}

.container_12 .suffix_10 {
	padding-right:800px;
}

.container_12 .suffix_11 {
	padding-right:880px;
}



/* Push Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .push_1 {
	left:80px;
}

.container_12 .push_2 {
	left:160px;
}

.container_12 .push_3 {
	left:240px;
}

.container_12 .push_4 {
	left:320px;
}

.container_12 .push_5 {
	left:400px;
}

.container_12 .push_6 {
	left:480px;
}

.container_12 .push_7 {
	left:560px;
}

.container_12 .push_8 {
	left:640px;
}

.container_12 .push_9 {
	left:720px;
}

.container_12 .push_10 {
	left:800px;
}

.container_12 .push_11 {
	left:880px;
}



/* Pull Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .pull_1 {
	left:-80px;
}

.container_12 .pull_2 {
	left:-160px;
}

.container_12 .pull_3 {
	left:-240px;
}

.container_12 .pull_4 {
	left:-320px;
}

.container_12 .pull_5 {
	left:-400px;
}

.container_12 .pull_6 {
	left:-480px;
}

.container_12 .pull_7 {
	left:-560px;
}

.container_12 .pull_8 {
	left:-780px;
}

.container_12 .pull_9 {
	left:-720px;
}

.container_12 .pull_10 {
	left:-800px;
}

.container_12 .pull_11 {
	left:-880px;
}




/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

.widget {
	position: relative;
	    width: 100%;
}

.search_form_widget_1 input {
	width: 220px;
	height: 26px;
}

.search_form_widget_1 button {
    margin-left: 5px;
    background: #E91319;
	border: 1px solid #E91319;
    padding: 4px 17px;
    color: #fff;
	cursor: pointer;
}

.search_form_widget_1 button:hover {
	background: #fff;
	color: #E91319;
}

.addzakl {padding: 0;}

.softkey_ad {
	padding: 10px 0 0 0;
	border: solid 1px #DDDDDD;
	-moz-border-radius: 5px;
	margin-bottom: 10px;
}

.rsyabox {
    background: url("/application/maxsite/templates/wordexpert/images/bg-banner.png") repeat scroll 0 0 transparent;
    height: auto;
    margin: 0;
    padding: 0;
    width: 100%;
}

div.widget_1_2 {
	display: none;
}


@media (max-width: 1150px) {
	.container_12 {
    width: 940px;
}
	
	.container_12 .grid_12 {
		width: 940px;
	}
	
	.container_12 .grid_8 {
		    width: 600px;
	}
	.container_12 .pull_8 {
    left: -620px;
}
	
	body #sitenew {
		left: 462px !important;
	}
	
	.container_12 .push_5 {
    left: 360px;
}
	
	.container_12 .pull_7 {
    left: -560px;
}
	
	.container_12 .grid_5 {
    width: 320px;
}
	
	.comment .cominfo {
		width: 410px;
	}
}

@media (max-width: 980px) {
	
	body {
		background: none;
		min-width: 300px;
	}
	
	#headers, body #sitenew, .widget_1_5, .widget_1_6, .widget_1_4, .widget_1_3, .widget_1_2, #MainMenu {
		display: none;
	}
	
	div.widget_1_2 {
	display: block;
}
	
	#sidebars {
    margin: 0;
    margin-top: 0px;
    padding: 5px 10px 20px 10px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
	
	.ui-tabs-nav a span {
		font-size: 10px;
		width: 55px;
	}
	
	.logo {
		    position: relative;
    display: block;
	}
	
	.logo-img {
		height: auto;
		display: block;
		width: 280px;
		margin: 0 auto;
	}
	
	div.widget_1_1 {
		width: 280px;
		margin: 0 auto;
	}
	
	.search_form_widget_1 input {
		width: 200px;
	}
	
	#sidebars img, #sidebars img + div, #sidebars a img, #sidebars a + div {
		top: 0 !important;
	}
	
	#wrapper, .container_12 .grid_8 {
    width: 100%;
    left: 0;
    margin-top: 350px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
		
	}
	
	.container_12 {
		width: 100%;
	}
	
	#div-contact-form {
		left: 0;
		width: 100%;
	}
	
	.container_12 .footer .push_5  {
    width: 100%;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
	}
	
	#footer-menu, .container_12 .footer .grid_3 {
		width: 100%;
		left: 0;
		border: 0 !important;
	}
	
	.container_12 .footer .grid_3 {
		min-height: 50px !important;
	}
	
	.copyrights {
		padding-left: 0;
	}
	.footer {
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}
	
	#content img{
		max-width: 100%;
		height: auto;
	}
	
	.container_12 {
		overflow: hidden;
	}
	
	.comment .cominfo {
    width: 100%;
}
	div.comment-form input.text {
		 width: 100%;
	}
	
	.nav {
		position: relative;
		min-height: 40px;
	}	
	.nav ul {
		width: 280px;
		padding: 5px 0;
		margin: 0 auto;
		border: solid 1px #aaa;
		background: #FAFAFA url(images/icon-menu.png) no-repeat 10px 11px;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.3);
		-moz-box-shadow: 0 1px 2px rgba(0,0,0,.3);
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
	}
	.nav li {
		display: none; /* скрыть все <li> пункты */
		margin: 0;
	}
	.nav .current {
		display: block; /* показывать только текущие активные <li> пункты */
	}
	.nav a {
		display: block;
		padding: 5px 5px 5px 32px;
		text-align: left;
		font-size: 14px
	}
	.nav .current a {
		background: none;
		color: #666;
		font-size: 14px;
	}
 
	/* при наведении на пункты меню */
	.nav ul:hover {
		background-image: none;
	}
	.nav ul:hover li {
		display: block;
		margin: 0 0 5px;
	}
	.nav ul:hover .current {
		background: url(images/icon-check.png) no-repeat 10px 7px;
	}
 
	/* адаптивное меню справа */
	.nav.right ul {
		left: auto;
		right: 0;
	}
 
	/* адаптивное меню по центру */
	.nav.center ul {
		left: 50%;
		margin-left: -90px;
	}
}