/*
Theme Name: MxS
Theme URI: axiu.me/learning_notes/theme_mxs/
Version: 1.2.0

*/

body{
/*font-family: 'Open Sans', sans-serif;*/
font-family: Georgia, Arial, sans-serif;
font-size: 18px;
}
select,input,button,textarea{
	font:99% arial,helvetica,clean,sans-serif;
}
table{
	font-size:inherit;
}
pre,code,kbd,samp,tt{
	font-family:monospace;
	font-size:108%;
	}
/*Global layouts*/
body {
	margin:0;
	padding:0;
	text-align: center;
}
h1, h3, h4, h5, h6 {
	font-weight: normal;
}

h2 {
	font-weight: bold;
  	color: #000000;
}

h2.black {
	font-weight: normal;
	color: #000000;
}

#header {
	width: 1063px;
	height:140px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	text-align: left;
	
	}
#content {
	width: 1063px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	text-align: justify;
	line-height: 1.5;
}

.panel_priborov {
    display: table;
}

#footer{
	text-align: left;
	padding:0 20px 0 20px;
	margin-top:30px;
	border-top-width: 1px;
	border-top-style:solid;
}
#main {
	width: 687px;
	float: left;
	padding:0 15px 10px 20px;
	border-right-width: 1px;
	    /* border-right-style: solid; */
	border-top-width: 1px;
	border-top-style:solid;
}

#main-video {
	width: 1027px;
	float: left;
	padding:0 15px 10px 20px;
	/* border-right-width: 1px; */
    /* border-right-style: solid; */
	border-top-width: 1px;
	border-top-style:solid;
	margin-top: 50px;
}

#main-video {
	overflow: hidden;
}

#main-video {
	border-right-color: #DDDDD5;
	border-top-color: #bbbbb5;
	background-color:#FFF;
}

iframe {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
}

#sidebar {
	width: 336px;
	float: left;
	clear: right;
	border-top-width: 1px;
	border-top-style:solid;
	border-left-width: 0px;
	border-left-style:solid;
	border-right-width: 1px;
	border-right-style:solid;
}
a {
	text-decoration:none;
	}
a:link,a:visited{
	-webkit-transition:all .3s;
	-o-transition:all .3s;
	-moz-transition:all .3s;
}
a:hover {
text-decoration: underline;
outline: none;
}

pre {
	padding: 15px 20px;
	margin:10px 0;
	overflow: auto;
	width: 90%;
}
code{
	color: #100;
	background:#f9f9f9;
	border-width:1px;
	border-style:solid;
	margin: 0 0 1.5em 0;
	padding:5px;
	overflow: auto;
}
table {
	
	border-width:0px;
	border-style:solid;
	background-color: #fff;
}
table th{
	    /* background-color: #eee; */
}
table td{
	border: 1px solid #e2e2e2;
    text-align: left;
    padding: 0px 5px;
}
em {
	font-weight: bold;
	font-style: italic;
}
strong {
	font-size: 109%;
	font-weight:bold;
}

ol {
	counter-reset: li;
	margin-left: 0;
	padding-left: 0;
}

ol > li {
	position: relative;
	margin: 0 0 6px 2em;
	padding: 4px 8px;
	list-style: none;
}

.post ol > li:before {
	content: counter(li);
	counter-increment: li;
	position: absolute;
	top: 7px;
	left: -2em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 2em;
	margin-right: 8px;
	padding: 4px;
	color: #fff;
	background: #2573A0;
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, sans-serif;
	text-align: center;
}

li ol,li ul {
	/* margin-top: 6px; */
}

ol ol li:last-child {
	margin-bottom: 0;
}

/*header*/
#header .siteName{
	height:25px;
    margin: 40px 0 10px 15px;
	font-size:245%;
	float:left;
}
.siteName a{
	padding:10px 20px 10px 0;
	border-right-width:1px;
	border-right-style:solid;
}
.siteName .logo_img{
	padding:20px 0 0 0;
	margin-top:-40px;
	display:block;
	width:280px;
	height:100px;
	border:none;
	overflow: hidden;
}
#header .description {
	font-size: 112%;
	padding:40px 0 0 0;
	margin:15px 0 1px 30px;
	float:left;
}

/*global Navi*/
#outbox{
	border-width:1px;
	    /* border-style: solid; */
	overflow: hidden;
	border-radius:4px 4px 0 0;
}
#globalNavi{
/* border-top-left-radius: 6px 6px; */
	/* border-top-right-radius: 6px 6px; */
	border-width:0px 1px 1px 1px;
	border-style:solid;
	height:50px;
	width: 1061px;
	overflow:hidden;
	top: 0;
    z-index: 3;
    position: fixed;
	}

@-webkit-keyframes pulsate {
 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; }
}
@keyframes pulsate {
 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; }
}
#globalNavi a {
  color: rgb(245,245,245);
 /* text-shadow: 0 -1px rgba(0,0,0,.1);
  -webkit-animation: pulsate 2.2s linear infinite;
  animation: pulsate 5.2s linear infinite;*/
}
	
#globalNavi ul {
	margin: 0;
	width:100%;
	float:left;
	padding-left:15px;
	margin-left:0;
}
#globalNavi ul li {
	margin:0;
	float:left;
	list-style:none;
	float: left;
	text-align: center;
}

#globalNavi ul li:before {
     content: "";
  }

#globalNavi ul li.current_page_item:hover{
	background:none;
}
#globalNavi ul li a {
	font-size:110%;
	line-height:26px;
	text-decoration: none;
}
#globalNavi a {
	display: block;
	line-height: 38px;
	padding: 10px 10px 13px 10px;
	text-decoration: none;
}
#globalNavi ul ul {
	display: none;
	position: absolute;
	top: 52px;
	float: left;
	width: 180px;
	z-index: 99999;
	padding-left:0;
}
#globalNavi ul ul li {
	min-width: 180px;
	margin: 0;
	height:33px;
}
#globalNavi ul ul ul {
	left: 100%;
	top:-33px;
	position:relative;
}
#globalNavi ul ul a {
	line-height: 1em;
	padding: 10px;
	width: 180px;
	height: auto;
	text-shadow:none;
	text-align: left;
}
#globalNavi ul li:hover > ul {
	display: block;
}



#globalNavi #searchform{
	padding: 12px 7px;
	float:right;
	margin-right:10px;
}
#searchform div{
	border-width: 1px;
	border-style:solid;
}
#main #searchform div{
	border:none
}
#searchform #searchsubmit{
	cursor: pointer;
	width:55px;
	height:25px;
	margin-left:1px;
}
#globalNavi #searchform .screen-reader-text{
	display:none;
}
#globalNavi #searchform input#s{
	float:left;
	height: 17px;
	padding: 3px 10px;
	width: 110px;
}

/*info*/
/*textbody and related*/
#content .topicPath{
	position:absolute;
	color:#828282;
	margin-top:5px;
	width:620px;
	height:30px;
	overflow:hidden
}
.entry-title a{
	z-index: 2;
	position: relative;
}
.home .entry-title{
	font-size:22px;
	padding-bottom:5px;
	margin:10px 0 5px 0;
}
.archive .entry-title{
	margin:5px 0 0 0;
	text-align: left;
	line-height: 30px;
}

.archive .archive-entry-title{
	margin: 5px 0 0 0;
    text-align: left;
    line-height: 30px;
    border-left: 6px solid #5cb85c;
    padding-left: 5px;
}

.home .thumb{
	border-width: 5px;
	border-style:solid;
	float:left
}
.thumb a{
	border-width: 1px;
	border-style:solid;
	padding:1px;
	display: block;
}
.single h1.entry-title{
	margin: 15px 0px 15px -14px;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.2;
    border-left: 6px solid #5cb85c;
    padding-left: 5px;
}
#content .post{
	margin:0px 0;
    /* overflow:hidden; */
/* border-bottom: 1px dashed #e8e8e8; */
}
#content .post .hentry p, #content .post .indexentry p{
	line-height:20px;
}

.post img{
	max-width:687px;
	height:auto;
}

.single .entry a img{
	padding:0px 0px;
	margin:0 auto;
}
#content .post .indexentry p a.more-link{
        padding-left:3px;
        font-weight:bold;
}
#content .post .hentry  .gallery{
	width:98%;
	overflow:hidden;
}
.hentry .gallery a{
	display:block;
	margin-right:15px;
}
.hentry .gallery img{
	border:none;
	width:100%;
	padding:0;
	margin:0;
}
/*entry info*/
#content .post  .info {
    font-size:90%;
	overflow:hidden;
}
.singleinfo{
	font-size:90%;
	color:#999;
	padding-top:5px;
	overflow:hidden;
}
.catinfo{
float:left;
margin-left: 2px;
padding: 3px 7px 3px 3px;
color: #A2A2A2;
}
.catinfo a{
	padding:3px 5px;
	color: #A2A2A2;
}
.dateinfo{
	float:left;
	padding: 3px 7px 3px 0;
}
#content .cmtinfo{
	position:absolute;
	right:34%;
	margin-top:-35px;
	font-size:22px;
	color: #fff;
	padding:1px 10px;
	z-index:1;
}
#content .post  .infobottom {
	font-style: italic;
        font-size:90%;
}
#content .related{
margin:0px;
padding:20px;
}
#content .related ul{
overflow:hidden;
}
#content .related span{
display:block;
font-style: italic;
font-weight:bold;
margin:0 0 20px 0;
}
#content .related li{
float:left;
padding-left:18px;
width:45%;
margin:3px 0;
display:block;
white-space: nowrap;
}
#flip1 {
	padding: 0;
	margin:12px 0 0 0;
	position: absolute;
	right:33%;
	margin-top: 10px;
}
#flip1 li {
	margin: 25px;
	display: inline;
	font-size: 92%;
}
#flip1 li a {
	padding: 0 5px;
	background-repeat: no-repeat;
	text-decoration: none;
}
#content .flip{
width:100%;
overflow:hidden;
padding:10px 0;
margin:0;
}
#content .prevpost{
	float:left;
}
#content .nextpost{
	float:right;
}
/*page navi*/
.page_navi {
	padding: 10px 10px 0px 10px; 
	margin: 3px ;
	TEXT-ALIGN: right;
	overflow:hidden;
}
.page_navi a, .page_navi a:link,.page_navi span {
	PADDING-RIGHT: 5px;
	PADDING-LEFT: 5px;
	PADDING-BOTTOM: 2px;
	MARGIN-RIGHT: 2px;
	PADDING-TOP: 2px;
	TEXT-DECORATION: none;
}
.page_navi a.current {
	PADDING-RIGHT: 5px;
	PADDING-LEFT: 5px;
	FONT-WEIGHT: bold;
	PADDING-BOTTOM: 2px;
	COLOR: #fff;
	MARGIN-RIGHT: 2px;
	PADDING-TOP: 2px;
}
/*Page style*/
#content #flip2{
	list-style-type: none;
	padding:5px;
	margin-bottom:15px;
}
#content #flip2 li{
	padding-bottom:15px;
}
/* Newer | Older */
/*Comments*/
/*Comment form*/
 #submit{
	padding: 5px 10px;
	border: none;
	font-size: 85%;
	font-weight: bold;
	text-transform: uppercase;
}
input,
textarea {
	padding: 0.2em;
	border-width: 1px;
	border-style: solid;
}
textarea {
	padding: 0.5em 10px;
}
/*comments style*/
#commentsx{
	overflow:hidden;
}
.thread-alt {
	border-top-width:1px;
	border-top-style:solid;
}

.thread-even {
	background: #FAF8FF;
	border-top-color: #E1E1E1;
}

.depth-1 {
}
.commentlist {
	margin:0px;
	padding:17px 0 0 0;
	list-style:none;
}
#respond{
	margin-left:10px;
	overflow:hidden;
 }
#respond .cancel-comment-reply{
	border: none;
	color: white;
	font-size: 85%;
	font-weight: bold;
	padding: 5px 10px;
	margin-bottom:-5px;
	right: 0px;
	top:-10px;
	text-transform: uppercase;
}
#respond input{
	float:left;
}
#respond textarea{
	width:75%;
}
.nocomments{
	display:none;
}
.comment-form-comment label,.form-allowed-tags{
	display:none;
}
#respond label{
	margin-left:5px;
}
.commentlist .bypostauthor {
}
.commentlist #respond{
	margin: 1em 0px 0px 16px;
}
.commentlist li {
	padding:10px 25px 10px 10px;
	border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
    margin: 6px 0px;
}
.commentlist li  .message_head{
	line-height:25px;
}

.commentlist li span.name a {
	margin-right: 0.5em;
}

.commentlist li span.reply{
	display: block;
	position:absolute;
	right:340px;
	text-decoration:none;
	padding: 3px;
}
.avatarx {
	float:left;
	clear: left;
	border:1px solid #BBBBB6;
	padding:4px;
	margin-right:10px;
}
.commentlist li span.cmt_text{
	padding-bottom: 3px;
}
.commentlist li span.cmt_text p img{
	border:none;
	padding: 0px;
}
.commentlist span.cmcount a{
	font-family:Candara;
	font-size: 170%;
	float:left;
	position:absolute;
	margin-left:-50px;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist   ul.children li span.avatarx img{
	width:32px;
	height:32px;
}
#comments,#trackback {
	padding: 1px 0;
}
#comments h2,
#trackback h2 {
	padding: 0.5em 0;
	border: none;
	font-size: 116%;
}
#trackback dl.log{
	margin-left:25px;
}
#trackback dl.log dt {
	margin: 0.8em 0 0;
	font-weight: bold;
}
#trackback dl.log dt span.date {
	margin-left: 10px;
	font-weight: normal;
}
#trackback dl.log dd {
	margin: 0;
	padding: 5px 0 10px 10px;
	border-bottom-width: 1px;
	border-bottom-style:solid;
}
#trackback dl.log dd p {
	margin: 0;
}
/*sidebar*/

#sidebar .but { 
	    background-color: #b85c5c;
    /* border-color: #4cae4c; */
    padding: 6px 12px;
    border-radius: 4px;
    text-align: left;
    color: white;
    /* margin: 1px 70px; */
    text-transform: uppercase;
	font-size: 26px;
}

#sidebar .but a {
    color: #ffffff;
}

#sidebar .but:hover a {
    color: #e2e2e2;
}

#sidebar ul {
	margin:4px 0 0 0;
	padding:0;
	line-height:24px;
	list-style: none;
	overflow:hidden;
	text-align: left;
}

#sidebar span,.widgettitle{
	/* padding: 1px 0 1px 10px; */
	margin-top:0;
	margin-bottom:0;
	font-size:104%;
	display:block;
	/* border-bottom-width: 5px; */
    /* border-bottom-style: solid; */
}

.widget-container div{
	padding: 0px 0px;
}

.widget_search #searchform div{
	border:none
}
#sidebar .widget-container ul li{
	/* padding:4px 0; */
	/* list-style:square inside; */
	/* padding-left:20px; */
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

#sidebar ul li ul {
	overflow:hidden;
	list-style: none;
}

#sidebar ul li:before {
     content: "";
}

/*footer*/
#footerbox{
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	text-align: left;
	padding:0 20px 0px 20px;
	height: 20px;
}
#footer-widget-area {
	overflow: hidden;
}
#footer-widget-area .widget-area {
	float: left;
	margin-right: 20px;
	width: 440px;
}
#footer-widget-area #fourth {
	margin-right: 0;
}
#footer-widget-area .widgettitle{
	background:none;
	padding-left:0;
}
#footer-widget-area ul{
	margin:0;
	padding:0;
}
#footer-widget-area li {
	list-style:none;
	padding:4px 0;
}
#footer p.support{
	text-align:right;
	margin:10px 0 10px 0;
}
#footer .return {
	position:absolute;
	right:0;
	margin-top:-35px;
}
#footer .return a{
	padding:5px;
	text-decoration: none;
}
/*IE6*/
#main {
	overflow: hidden;
}
.count {
	color: #999;
}
/* Clearfix*/
.clear{
	clear: both;
	float: none;
}
#content {
	min-height: 1px;
}
#content:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}
/* Captions */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	margin:0 5px 0 0;
	float:left;
}
.alignright {
	margin:0 0 0 5px;
	float:right;
}
.wp-caption {
	text-align: center;
	max-width:635px;
	padding:2px;
	margin-top:20px;
	margin-bottom:20px;
}
.post .hentry  .wp-caption p.wp-caption-text {
	margin: 5px;
	font-size: 12px;
}
.post .hentry  .gallery .gallery-caption {
	font-size: 12px;
	margin: 0 0 12px;
}
.wp-caption img {
	margin: 5px 0 0 0;
	padding: 0;
	border: 0 none;
}
.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


.highlightit img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
}

.highlightit:hover img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}

table {
	background-color: #fff;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table td {
	border-bottom-color: white;
}

/* Related Posts-sidebar
Play with these settings until you find what you like*/
 
ul.related-posts-sidebar1 {
width:265px;
margin:1px;
padding:1px;
list-style:none;
float:left;
}
ul.related-posts-sidebar1  li {
width:265px;
height:60px;
margin:1px;
padding:1px;
float:left;
overflow:hidden;
}
ul.related-posts-sidebar1  img {
margin:1px;
padding:1px;
float:left;
}
ul.related-posts-sidebar1  a {
width:265px;
height:60px;
float:left;
margin:1px;
padding:1px;
text-decoration:none;
font-size:13px;
color:#262525;
}
ul.related-posts-sidebar1  a:hover {
text-decoration:none;
background:#2CB9F6;
color: white;
}

alt2{ margin: 0px;  padding: 6px;  border: 1px inset;}
smallfont{margin-bottom:2px;}
spoil{margin:10px; margin-top:5px;}

.view-full-post-btn{
  display:inline-block;
  padding:8px 16px;
  color:#454545;
  border:1px solid #d8dcdc;
  font-family:Georgia,serif;
  font-size:16px;
}
.view-full-post-btn:hover{
  background: #4a97c2;
  /*transition*/
  -webkit-transition:all .3s ease;
  -moz-transition:all .3s ease;
  -o-transition:all .3s ease;
          transition:all .3s ease;
  border:1px solid #d8dcdc;
  color:#FFFFFF;
}

.tagstyle { /* стиль для всего объекта */
    font-size: 12px;
	float: left;
}
.tagstyle a { /* стиль для каждого тега объекта */
    color: #fff;
    padding: 1px 10px;
    background-color: #3f94a9;
    border-radius: 2px;
    line-height: 18px;
}
 
.tagstyle a:hover { /* стиль для каждого тега при наведении на него */
    background-color: #37a4c3;
    color: white;
}

#navigation-m { width:350px;}
#navigation-m ul { width:350px; margin:0px; padding:0px; text-indent: 5px; 
    line-height: 25px; color: #F7F4F4; border-radius: 3px; }
#navigation-m li { list-style: none; } 
 
ul.top-level { background:#666; }
ul.top-level li {
 border-bottom: #fff solid;
 border-top: #fff solid;
 border-width: 1px;
}
 
#navigation-m a {
 color: #EAE9E9;
 cursor: pointer;
 display:block;
 height:25px;
 line-height: 25px;
 text-indent: 10px;
 text-decoration:none;
 width:100%;
}
 
#navigation-m a:hover{
 text-decoration:underline;
}
 
#navigation-m li:hover {
 background: #867C7C;
 position: relative;
}

#catnav li {
padding: 4px 0; }

#catnav a{
color:#4E5354; }

/*убрал сайдбар */

@media (max-width: 1023px) {
#sidebar {
	visibility: hidden;
	display: none;
}
#content {
    max-width: 722px; margin: 0 auto;}
#globalNavi {max-width: 722px; margin: 0 auto;}
#header {max-width: 722px; margin: 0 auto;}
#footerbox{max-width: 682px;}
}

@media (max-width: 730px) {
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
}}

/*стиль для table of c+*/
.toc_title:after {
	content: '';
	display: inline-block;
	width: 720px;
	height: 2px;
	position: relative;
	vertical-align: middle;
	right: -14px;
	margin: 0 -100% 0 0;
	background: #2573A0;
}

.have_bullets {
    overflow: hidden;
    margin: 1px 0 25px 0;
    border-bottom: 2px solid #2573A0;
}
.toc_title {font-weight:bold;}

.have_bullets ol > li a {color: #122f42; border: none;}
.have_bullets ol > li a:hover {color: #2573A0; border-color:#2573A0;}


/*цвет ссылок релайтед в садбаре*/
.yuzo_related_post_widget .relatedthumb a {
    color: #0000cc!important;
}

.prev-next {float: left;
    color: #fff;
    padding: 4px 10px;
    background-color: #3f94a9;
    border-radius: 2px;
    line-height: 18px;
    margin-top: 5px;}

.prev-next a {
    color: white;
}

.prev-next a:hover {
    background-color: #37a4c3;
    color: white;
}

#ya-site-form0 .ya-site-form__search-wrap {border:0px}