/*
Theme Name:   Thermalinfo
Template:     colorMag

*/

/* =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: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}


a{
	transition: all 0.2s ease 0s;
-webkit-transition: all 0.2s ease 0s;
-moz-transition: all 0.2s ease 0s;
-o-transition: all 0.2s ease 0s;
 -ms-transition: all 0.2s ease 0s;
}
a:hover{
text-decoration: none;
}

html {
	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/ */
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline:0;
}
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;
	 transition: all 0.15s ease 0s;
    -webkit-transition: all 0.15s ease 0s;
    -moz-transition: all 0.15s ease 0s;
    -o-transition: all 0.15s ease 0s;
}
embed, iframe, object {
	max-width: 100%;
}
/* =GLOBAL
----------------------------------------------- */
body,
button,
input,
select,
textarea {
	color: #444c63;
	/*font: 16px 'Open Sans', serif;*/
	font: 1em 'Open Sans', serif;
	line-height: 1.6;
	word-wrap: break-word;
}
body {
	background-color: #eaeaea;
}

hr {
	border-color: #EAEAEA;
	border-style: solid none none;
	border-width: 1px 0 0;
	height: 0;
	margin: 30px 0;
}

/* =TEXT ELEMENTS
----------------------------------------------- */
p 
{
	line-height: 1.6;
	margin-bottom: 15px;
	font-family: 'Open Sans', serif;
	font-size: 15px;
}
strong {
	font-weight: bold;
	font-size: 14px;
}

cite, em, i 
{
	font-style: italic;
}

pre {
	background-color: #fff;
	margin-bottom: 20px;
	overflow: auto;
	padding: 20px;
	border: 1px solid #EAEAEA;
}
pre, code, kbd, var, samp, tt {
	font-family:"Courier 10 Pitch",Courier,monospace;
	font-size: 14px;
	line-height: 1.4;
	white-space: pre-wrap;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #777777;
	cursor: help;
}
address {
	display: block;
	font-style: italic;
	margin: 0 0 15px;
}

.error404 ins, .category ins  
{
	margin-bottom: 15px;
}

.single ins  
{
	margin: 15px 0 10px 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* =SUPERCRIPT AND SUBSCRIPT
----------------------------------------------- */
sup, sub {
	font-size: 0.733em;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
	padding-left: 1px;
}
sub {
	top: .5ex;
}
dl {
	margin-bottom: 24px;
	font-size: 20px;
}
dt {
	font-weight: bold;
	margin-bottom: 5px;
}
dd {
	margin-bottom: 24px;
}
ul,
ol {
	list-style: none;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin: 0 0 0 10px;
}

/* =BLOCKQUOTE
----------------------------------------------- */
blockquote {
	padding: 30px 30px 20px 45px;
	margin-bottom: 20px;
	background-color: #289dcc;
	color: #FFFFFF;
	border-radius: 5px;
}
blockquote p {
	font-size: 20px;
	font-family: 'Open Sans', serif;
	line-height: 1.4;
	position: relative;
	padding-top: 13px;
	padding-left: 40px;
}
blockquote p:before {
	content: "\f10d";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	color: #FFFFFF;
	font-size: 60px;
	position: absolute;
	top: -27px;
	left: -27px;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	float: right;
}

/* =FORMS
----------------------------------------------- */
input, textarea {
 	-webkit-border-radius: 0px;
}
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea {
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
	padding: 1%;
	border: 1px solid #EAEAEA;
	line-height: 20px;
	width: 98%;
	margin: 3px 0;
	background-color: #F8F8F8;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	    resize: none;
}

input[type="text"].spam
 {
	
	width: 1.5em;
	
}

textarea {
	margin-bottom: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus 
{
outline: none;
border: 1px solid #D4D8DF;
}

input.s 
{
	width: 60%;
	padding: 4px 10px;
	padding-right: 15px;
	height: 36px;
	background-color: #FFFFFF;
	margin: 0;
	margin-right: -8px; /* Добавил, чтоб не сползало*/
	border: 1px solid #eaeaea;
}

.nr input.s 
{
	background-color: #fbfbfb;
}

input.s:focus {
	padding-left: 10px;
	border-color: #3498db;
	text-indent: 0;
	outline: none;
}
.colormag-button,
input[type="reset"],
input[type="button"],
input[type="submit"],
button {
    padding: 2px 9px;
	background-color: #289dcc;
	border: 0px;
	transition: background-color .3s ease-out;
	-webkit-transition: background-color .3s ease-out;
    -moz-transition: background-color .3s ease-out;
    -o-transition: background-color .3s ease-out;
   -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius:3px;
   font-size: 15px;
   -moz-appearance: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: pointer;
	display:inline-block;
   color: #FFFFFF;
   outline: none;
   padding-top: 1px;
}
#search-form input[type="submit"] {
	border-radius: 0;
	margin-left: -8px;
	margin-bottom: 0;
	padding: 6px 10px 5px;
	font-size: 18px;
}
.colormag-button:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
button:hover {
	background-color: #33363B;
}
.previous a,
.next a {
   padding: 5px 0;
	cursor: pointer;
   font-size: 18px;
}
.previous a:hover,
.next a:hover {
	color: #289dcc;
	text-decoration: underline;
}
input[type="reset"]:active,
input[type="button"]:active,
input[type="submit"]:active {
	-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

/* =LINKS
----------------------------------------------- */
a {
	color: #289dcc;
	text-decoration: none;
}
a:focus, a:active, a:hover {
	text-decoration: none;
}

/* =IMAGES
----------------------------------------------- */
figure {
	margin: 0;
	text-align: center;
}
img {
	max-width:100%;
	height:auto;
	vertical-align:top;
	margin-bottom: 18px;
	border-radius: 3px;
}
.entry-content img, .comment-content img, .widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {

}
img.size-full, img.size-large {
	max-width: 100%;
	height: auto;
}
.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 {

}
img#wpstats {
 	display: none;
}

/* =CLEARFIX
----------------------------------------------- */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height:1%;
}
.clearfix {
	display: block;
}

/* =ALIGNMENT
----------------------------------------------- */
.alignleft {
	display: inline;
	float: left;
	margin-right: 30px;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 30px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*****************************************************************/

/* =BODY
----------------------------------------------- */

#page {
	max-width: 1200px;
	margin: 0 auto;
}
.wide {
	padding-top: 0;
	padding-bottom: 0;
}
.wide #page {
	max-width: 100%;
}
.inner-wrap {
	margin: 0 auto;
	max-width: 1140px;
}

/* =HEADER
----------------------------------------------- */
#masthead {
}
#header-meta {
	background-color: #ffffff;
}
#header-text-nav-container {
	background-color: #FFFFFF;
}
/*#header-text-nav-wrap {
	padding: 20px 0 25px;
}*/
#header-left-section {
	float: left;
}
#header-logo-image {
	float: left;
   padding-right: 20px;
}
#header-logo-image img {
	margin-bottom: 0;
}
#header-text {
	/*float: left;
	padding-right: 20px;*/
	padding-top: 5px;
	
}
#site-title {
	padding-bottom: 0;
	line-height: 1.2;
}
#site-title a {
	font-size: 32px;
}

#site-description {
	line-height: 24px;
	font-size: 16px;
	color: #666666;
	padding-bottom: 0px;
	font-family: 'Open Sans', serif;
}
#header-right-section {
	float: right;
}
#header-right-section .widget {
	text-align: right;
	color: #333333;
}
#header-right-section .widget .widget-title {
	padding-bottom: 0;
	font-size: 18px;
	line-height: 1.2;
   padding-bottom: 5px;
}
.header-image {
	margin-bottom: 0;
	border-bottom: 1px solid #EAEAEA;
	width: 100%;
}

/* =HEADER INFO TEXT
----------------------------------------------- */
.small-info-text {
	float: left;
	max-width: 100%;
	padding-right: 15px;
	padding-top: 2px;
}
.small-info-text p {
	font-size: 12px;
	color: #555555;
	margin-bottom: 0;
}

/* =SOCIAL LINKS
----------------------------------------------- */
.fa {
	/*font-size: 22px;*/
	color: #6f7d95;
	padding-right: 5px;
}

.home-icon.front_page_on i.fa {
	padding-right: 0px;
}

.social-links {
	text-align: center;
   float: right;
}
.social-links ul li {
	display: inline;
}
#masthead .social-links i.fa {
   font-size: 23px;
   padding: 0 10px;
}
.social-links i.fa {
	padding: 5px 10px;
	text-align: center;
	transition: background-color 0.2s ease-out 0s;
	-webkit-transition: background-color 0.2s ease-out 0s;
    -moz-transition: background-color 0.2s ease-out 0s;
    -o-transition: background-color 0.2s ease-out 0s;
	font-size: 25px;
}
.social-links i.fa:hover {
	color: #289dcc;
}
.social-links i.fa-twitter {color: #1BB2E9;}
.social-links i.fa-facebook {color: #3B5A9B;}
.social-links i.fa-youtube {color: #ED3F41;}
.social-links i.fa-vimeo-square {color: #44BBFF;}
.social-links i.fa-skype {color: #009CEF;}
.social-links i.fa-linkedin {color: #007BB6;}
.social-links i.fa-google-plus {color: #DC4937;}
.social-links i.fa-github {color: #4183C4;}
.social-links i.fa-flickr {color: #0062DD;}
.social-links i.fa-dribbble {color: #E24D87;}
.social-links i.fa-instagram {color: #3F729B;}
.social-links i.fa-pinterest {color: #D5282E;}
.social-links i.fa-stumbleupon {color: #EC4823;}
.social-links i.fa-tumblr {color: #455469;}
.social-links i.fa-wordpress {color: #21759B;}
.social-links i.fa-codepen {color: #CCCCCC;}
.social-links i.fa-digg {color: #14589E;}
.social-links i.fa-reddit {color: #FF4500;}

/* =SEARCH WIDGET
----------------------------------------------- */

.fa.search-top {
   color: #ffffff;
   cursor: pointer;
   font-size: 21px;
   padding: 11px 12px;
   position: absolute;
   right: 44px;
   top: 0;
}
.fa.search-top:hover {
   background-color: #289dcc;
}
.search-wrap {
   position: relative;
   margin-bottom: 20px;
}

.search-results .search-wrap 
{
    text-align: center;
	margin-bottom: 25px;
}


#primary .search-wrap button 
{  
   border-radius: 0;
   padding: 9px 15px;
   position: relative;
   top: 0;
   left: 0;

}

.search-icon:before {
   content: "\f002";
   font-family: FontAwesome;
   font-style: normal;
   font-weight: normal;
   text-decoration: inherit;
   color: #ffffff;
   font-size: 18px;
}
.search-form-top {
   border: 1px solid #eaeaea;
   display: none;
   padding: 10px;
   position: absolute;
   right: 0;
   top: 44px;
   z-index: 9999;
   background-color: #ffffff;
}

#secondary .search-wrap button {
   right: 26px;
}

/* =RANDOM POST
----------------------------------------------- */
.random-post {
   position: absolute;
   right: 0;
   top: 0;
}
.random-post .fa-random {
   color: #fff;
   font-size: 20px;
   vertical-align: middle;
}
.main-navigation .random-post a {
   padding: 10px 12px;
   border-bottom: none;
}

/* =NAVIGATION
----------------------------------------------- */
nav li > ul,
nav li > ol {
	margin: 0;
	list-style: none;
	display: none;
}
#site-navigation {
   box-shadow: 0 0 2px rgba(0, 0, 0, 0.1) inset;
   position: relative;
   background-color: #232323;
   border-top: 4px solid #289dcc;
}
#site-navigation .inner-wrap {
   position: relative;
}
.home-icon {
   float: left;
}
.home-icon .fa {
   color: #ffffff;
   font-size: 27px;
   padding:0;
}
.home-icon.front_page_on {
   background-color: #289dcc;
}
.main-navigation .home-icon a {
   padding: 7px 10px 6px;
}
.main-small-navigation .home-icon a {
   padding: 7px 10px;
}
.main-navigation {
	width: 100%;
	text-align: center;
}
.main-navigation li {
	float: left;
	position: relative;
	font-family: 'Open Sans', serif;
	font-weight: 300;
}
.main-navigation a {
   color: #ffffff;
	display: block;
	float: none;
	font-size: 14px;
   font-weight: 600;
	padding: 10px 12px;
   text-transform: uppercase;
}
.main-navigation li.default-menu,
li.default-menu {
	display: none;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current-menu-item a:after,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a,
.main-navigation li.menu-item-has-children:hover > a:after 
{
	color: #fff;
}

.main-navigation li.menu-item-has-children > a:after,
.main-navigation li li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after,
.main-navigation li li.page_item_has_children > a:after {
   font-family: FontAwesome;
   font-style: normal;
   font-weight: normal;
   text-decoration: inherit;
   color: #ffffff;
   font-size: 14px;
   padding-left: 6px;
}
.main-navigation li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after {
   content: "\f107";
   color: #ffffff;
}
.main-navigation li li.menu-item-has-children > a:after,
.main-navigation li li.page_item_has_children > a:after {
   content: "\f105";
   position: absolute;
   right: 8px;
}

/* =DROP DOWN
----------------------------------------------- */
.main-navigation .sub-menu,
.main-navigation .children {
   background-color: #232323;
}
.main-navigation ul li ul,
.main-navigation ul li:hover ul ul,
.main-navigation ul ul li:hover ul ul,
.main-navigation ul ul ul li:hover ul ul,
.main-navigation ul ul ul ul li:hover ul ul {
	display:none;
	z-index: 100;
}
.main-navigation ul li:hover ul,
.main-navigation ul ul li:hover ul,
.main-navigation ul ul ul li:hover ul,
.main-navigation ul ul ul ul li:hover ul,
.main-navigation ul ul ul ul ul li:hover ul {
	display:block;
}
.main-navigation ul li ul {
	position: absolute;
	width: 200px;
	top: 42px;
}
.main-navigation ul li ul li {
	float: none;
}
.main-navigation ul li ul li a {
   border-top: none;
}
.main-navigation ul li ul li a,
.main-navigation ul li.current-menu-item ul li a,
.main-navigation ul li ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor ul li a,
.main-navigation ul li.current-menu-ancestor ul li a,
.main-navigation ul li.current_page_item ul li a {
	float: none;
	font-size: 14px;
	height: 100%;
	padding: 10px 15px;
	color: #ffffff;
	width: 170px;
   text-align: left;
   text-transform: none;
}
.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li:hover > a,
.main-navigation ul li.current-menu-item ul li a:hover {
   color: #FFFFFF;
   background-color: #289dcc;
}
.main-navigation ul li ul li ul {
	left: 200px;
	top: 0;
}
.main-navigation select {
	display: none;
}

/* =RESPONSIVE MENU
----------------------------------------------- */
.menu-toggle, .top-menu-toggle {
	display: none;
	cursor: pointer;
}
.site-header .menu-toggle {
	color: #ffffff;
	margin: 0;
	text-align: center;
	font-family: 'Open Sans', serif;
   padding-bottom: 0;
}
.site-header .menu-toggle:hover {
   background-color: #289dcc;
}
.site-header .menu-toggle:before {
	content: "\f0c9";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	font-size: 23px;
	color: #ffffff;
   padding: 8px 12px;
   display: block;
}
.main-small-navigation {
	float: none;
}
.main-small-navigation .menu-primary-container,
.main-small-navigation .nav-menu {
   padding-top: 43px;
}
.main-small-navigation ul {
  margin: 0;
  list-style: none;
}
.main-small-navigation a {
  display: block;
  font-size: 14px;
  color: #333333;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
}
.main-small-navigation .random-post a {
   padding: 7px 12px;
   border-bottom: none;
}
.main-small-navigation li {
  background-color: #FFFFFF;
}
.main-small-navigation li a:hover {
  background-color: #289dcc;
  color: #FFFFFF;
}
.main-small-navigation ul ul a {
  padding-left: 45px;
  text-transform: none;
}
.main-small-navigation ul ul ul a {
  padding-left: 65px;
}
.main-small-navigation .current_page_item > a,
.main-small-navigation .current-menu-item > a {
  background: #289dcc;
  color: #FFFFFF;
}

/* =PAGE HEADER TITLE
----------------------------------------------- */
.page-header .page-title {
	border-bottom: 1px solid #f8f8f8;
	margin-bottom: 30px;
}

/* =CONTENT
----------------------------------------------- */
.sticky {
}
#main {
	padding-top: 30px;
	padding-bottom: 20px;
	background-color: #ffffff;
}

/* =POST FORMAT
----------------------------------------------- */
/* POST FORMAT LINK */
.format-link .entry-content p {
	text-align: center;
	padding-top: 30px;
}
.format-link .entry-content a {
	text-decoration: underline;
	text-transform: uppercase;
	padding: 15px 40px;
	border-radius: 3px;
	background-color: #289dcc;
   color: #FFFFFF;
   transition: background-color 0.3s linear 0s;
   -webkit-transition: background-color 0.3s linear 0s;
    -moz-transition: background-color 0.3s linear 0s;
    -o-transition: background-color 0.3s linear 0s;
    display: inline-block;
}
.format-link .entry-content a:hover {
	background-color: #33363B;
}

/* POST FORMAT ASIDE */
.format-aside .entry-header { display: none; }


/* =2,3,4 COLUMNS
----------------------------------------------- */
/* Two COLUMN */
.tg-one-half {
	float: left;
	width: 48%;
	padding: 0px 0px 30px;
}
.tg-one-half-last {
	float: right;
}

/* =NAVIGATION
----------------------------------------------- */
.default-wp-page {
	clear: both;
}
.default-wp-page .previous {
	float: left;
	padding: 30px 0;
}
.default-wp-page .next {
	float: right;
	padding: 30px 0;
}

/* =WP PAGENAVI PLUGIN
----------------------------------------------- */
.wp-pagenavi {
	text-align: center;
	margin-bottom: 30px;
}
#content .wp-pagenavi .page,
#content .wp-pagenavi a {
	padding: 4px 10px;
	color: #777777;
	border: 1px solid #F2F2F2;
}
#content .wp-pagenavi .current,
#content .wp-pagenavi a:hover {
	padding: 4px 10px;
	color: #FFFFFF;
	background-color: #289dcc;
	border: 1px solid #F2F2F2;
}
#content .wp-pagenavi a,
#content .wp-pagenavi span {
	margin-left: 5px;
	border-radius: 2px;
}
#content .wp-pagenavi span.pages {
	margin-left: 0;
	color: #777777;
	padding: 4px 10px;
	border: 1px solid #F2F2F2;
}


/* =MEDIA
----------------------------------------------- */
.wp-caption {
	border: 1px solid #cccccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
#colophon .wp-caption {
	border: 1px solid #444c63;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.gallery-caption {
}

/* =WORDPRESS GALLERY SUPPORT
----------------------------------------------- */
.gallery {
   margin: 0 auto 15px;
}
.gallery-item {
   display: inline-block;
   padding: 15px 2%;
   text-align: center;
   vertical-align: top;
   width: 100%;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item {
   padding: 15px 1%;
}
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
   padding: 10px 0.5%;
}
.gallery-columns-2 .gallery-item { width:50%; }
.gallery-columns-3 .gallery-item { width:33.33%; }
.gallery-columns-4 .gallery-item { width:25%; }
.gallery-columns-5 .gallery-item { width:20%; }
.gallery-columns-6 .gallery-item { width:16.66%; }
.gallery-columns-7 .gallery-item { width:14.28%; }
.gallery-columns-8 .gallery-item { width:12.5%; }
.gallery-columns-9 .gallery-item { width:11.11%; }
.gallery-icon img {
   margin: 0 auto;
}
.gallery .gallery-caption {
   font-size: 12px;
   line-height: 1.2;
   padding-top: 5px;
}

/* =COMMENTS
----------------------------------------------- */
#comments
{
   padding: 15px 0;
}

#comments i {
	font-size: 14px;
	color: #6f7d95;
	padding-right: 5px;
}

.comment-content a {
	word-wrap: break-word;
}

.comment-content a:hover
{
	color: #e97451;
}

.comment-navigation {
	margin-bottom: 15px;
}
.bypostauthor {
}
#comments .comments-title 
{    margin-bottom: 5px;
}

.avatar {
	border-radius: 50%;
	float: left;
}
.comments-area article header {
	margin: 0;
	overflow: hidden;
	position: relative;
	font-size: 15px;
}
.comments-area .comment-edit-link,
.comments-area .comment-permalink,
.comments-area .comment-date-time,
.comments-area .comment-author-link {
	display: block;
	color: #6f7d95;
}
.comments-area .comment-author-link {
	margin-left: 5px;
	font-weight: bold;
	float: left;
}
.comments-area .comment-date-time
{
	font-size: 11px;
	margin-left: 5px;
	display: inline-block;
}
#content .comments-area article header cite a:hover,
#content .comments-area a.comment-edit-link:hover,
#content .comments-area a.comment-permalink:hover {
	color: #289dcc;
}
.comments-area .comment-author-link a {
	color: #999999;
}
.comments-area .comment-author-link a:hover {
	color: #289dcc;
}
.comments-area .comment-author-link span 
{
	margin-left: 5px;
    background-color: #FFFFFF;
    color: #e97451;
    font-size: 13px;
}

.comments-area article header .comment-edit-link:before{
	content: "\f044";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	color: #AAAAAA;
	font-size: 16px;
	padding-right: 10px;
}

article.comment 
{
    padding: 10px;
	margin-bottom: 20px;
	background: #FAFBFC;
    border-radius: 3px;
	padding-bottom: 5px;
}



article.comment:hover a.comment-reply-link
{
visibility: visible;
}

.comment-content p
{
    padding: 0 5px;
	margin-bottom: 0px;
    padding-top: 5px;
}


li.bypostauthor article
{
	
    background: #F7FDFC;
	  
}

p.comment-awaiting-moderation
{
	color: #3498DB;
	margin-bottom: 0px;
	margin-left: 5px;
}

.comment ul, .comment ol {
   margin: 0 0 20px 20px;
}
.comment ul {
   list-style: square outside none;
}
.comment a.comment-reply-link {
	
	color: #6f7d95;
	font-size: 13px;
	display: block;
	visibility: hidden;
    -webkit-transition:none;
    -moz-transition:none;
    -ms-transition:none;
    -o-transition:none;
    transition:none;
	position: relative;
    bottom: -3px;
    left: 10px;
}
.comment .comment-reply-link:before {
	content: "\f112";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	color: #3397DB;
	font-size: 13px;
	padding-right: 5px;
}
.comment a.comment-reply-link:hover {
	color: #3397DB;
}

.comment-list, .comment-list .children {
	list-style-type: none;
	
}

.comment-list {
	margin-bottom: 25px;
	background: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	padding: 15px 15px 1px 15px;
	
}
.comment-list .children {
   margin-left: 0px;
}

.screen-reader-text { display: none; }
.nav-previous,
.nav-next {
   margin-bottom: 15px;
   text-align: center;
}
.nav-previous a,
.nav-next a {
   
   font-size: 13px;
   color: #6f7d95;
   display: inline-block;
}

.nav-previous a:hover,
.nav-next a:hover {
color: #3498DB;

	
}

 /*-----Подписка в комментах--------*/
#commentform p.checkbox
{
    margin-bottom:0;
}

#commentform a
{
    color: #3498DB;
	display: inline-block;
    margin-bottom: 5px;
	text-decoration: underline;
}
#commentform a:hover
{
   
   color:#1abc9c;
}
 /*-----/Подписка в комментах--------*/


/* =COMMENT FORM
----------------------------------------------- */


#respond 
{
	background: #ffffff;
    padding: 5px 15px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1)
}

#respond h4#reply-title {
	font-size: 17px;
    line-height: 5px;
    margin-top: 25px;
}
#respond h3#reply-title 
{
	margin-top: 5px;
}
#respond h4#reply-title #cancel-comment-reply-link {
	margin-left: 10px;
	margin-left: 1em;
	font-weight: normal;
	font-size: 17px;
	font-size: 0.8em;
	color: white;
    background: #b34345;
    padding: 1px 5px;
    border-radius: 3px;
}
#respond form label {
	display: inline-block;
	line-height: 1.5;
	margin-bottom: 5px;
}
#respond form input[type="text"],
#respond form input[type="email"],
#respond form textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.5;
	padding: 10px;
	width: 100%;
}
#respond form p.form-allowed-tags {
	font-size: 16px;
	line-height: 1;
	color: #5e5e5e;
	display: none;
}
.required {
	color: red;
}
#commentform p span.attention {
	display: block;
	color: #b34345;
    font-size: 14px;
}


h3.comment-reply-title small a
{
	color: #DD4B39;
    font-size: 13px;
    border: solid 1px #DD4B39;
    border-radius: 3px;
    padding: 0 3px;
    display: inline-block;
}




/* =WIDGETS
----------------------------------------------- */
#colophon .widget 
{
   margin-bottom: 20px;
}

#colophon .widget ul li 
{   line-height: 1.6;
	font-size: 12px;
}

#secondary .widget ul li
{
	line-height: 1.5;
}

#secondary .widget ul li li, #colophon .widget ul li li {
	border-bottom: none;
}
#secondary .widget ul ul, #colophon .widget ul ul {
	padding-left: 10px;
}
.widget select {
	border: 1px solid #DDDDDD;
	color: #777777;
	padding: 2px;
	width: 60%;
}
#secondary .widget-title,  #execphp-2 .widget-title, .widget_featured_posts .widget-title, 
.advertisement_above_footer .widget-title, .related-posts-main-title, .type-page .entry-title,
.tg-one-half .widget_execphp .widget-title
 {
border-bottom: 2px solid #3498db;
   font-size: 16px;
   margin-bottom: 15px;
   padding-bottom: 0;
   line-height: 1.2;
   display: block;
   font-weight: bold;
}

.footer-widgets-area .widget-title
 {
	font-size: 16px;
}

.footer-widgets-area .widget-title span   /*Заголовки виджетов в футере*/
{
   color: #eee;
   font-weight: normal;
   display: inline-block;
   margin-bottom: 10px;
   text-shadow: 1px 1px 1px #3498DB;
   text-transform: uppercase;
   
}

#secondary .widget-title span {
 
   display: inline-block;
}
#secondary .widget, .error-404 .widget {
	margin-bottom: 35px;
	font-size: 14px;
   background-color: #ffffff;
}
#secondary .widget p {
   font-size: 14px;
}
/*---Виджет "о сайте"---*/

#secondary .textwidget a:hover 
{
   color: #e97451;
}
#secondary .textwidget p
{
   font-size: 13px;
   text-align: justify;
   margin-bottom: 7px;
}

#secondary .textwidget h1
{
   font-size: 13px;
   padding-bottom: 0;
   margin-bottom: 7px;
   font-weight: normal;
   line-height: 1.6;
   text-align: justify;
   font-family: inherit;
}

/*---/Виджет "о сайте"---*/

.error-404 {
	padding-bottom: 20px;
	text-align: center;
}

/* =FOOTER WIDGET AREA
----------------------------------------------- */
.footer-widgets-wrapper {
	border-top: 1px solid #F2F2F2;
	background-color: #303440;
}
.footer-widgets-area {
	padding-top: 35px;
	padding-bottom: 10px;
	color: #cccccc;
}

.tg-footer-main-widget {
   width: 39.473684%;
   float: left;
   margin-right: 2.631579%
}
.tg-footer-other-widgets {
   float: right;
   width: 57.894737%;
}

.tg-first-footer-widget {
}
.tg-second-footer-widget
{
   width: 27.303030%;
   float: left;
   margin-right: 4.545454%
}

.tg-third-footer-widget {
   width: 67.30303%;
   float: left;
  
}
.tg-fourth-footer-widget {
   width: 30.303030%;
   float: right;
   margin-right: 0;
   display: none;
}

.footer-widgets-area p {
	text-align: left;
	color: #aaaaaa;
}
.footer-widgets-area a {
	color: #FFFFFF;
}
.footer-widgets-area a:hover {
	color: #289dcc;
}

#colophon, #colophon p {
	font-size: 14px;
	line-height: 1.4;
}

/* =FOOTER ADVERTISEMENT AREA
----------------------------------------------- */
.advertisement_above_footer {
   background-color: #ffffff;
}


/* =FOOTER SOCKET AREA
----------------------------------------------- */
.footer-socket-wrapper {
   padding: 20px 0px 50px;
   background-color: #303440;
}
.footer-socket-area {
   width: 100%;
}
.footer-socket-right-section {
   float: right;
}
.footer-socket-left-section {
   float: left;
}
.footer-socket-wrapper .copyright {
   color: #ccc;
   float: left;
   font-size: 14px;
   max-width: 50%;
}
.footer-socket-wrapper .copyright a {
  
   color: #ccc;
  
}
.footer-socket-wrapper .copyright a:hover {
   color: #ffffff;
}
.footer-socket-wrapper .small-menu {
   float: right;
}
.footer-socket-wrapper .small-menu a {
   padding-top: 0;
}
.footer-socket-wrapper .small-menu ul li ul {
   top: 21px;
}

/* =SCROLL UP
----------------------------------------------- */
a#scroll-up /* Перемотка наверх */
{
	bottom: 50%;
	position: fixed;
	right: 5%;
	display: none;
	opacity: 0.2;
	filter:alpha(opacity=20);
	border: none;
	outline:none;
		
}

a#scroll-up i {
	font-size: 40px;
	
}

a#scroll-up .fa
{
	padding: 0;	
}

a#scroll-up:hover {
	opacity: 0.6;
	filter:alpha(opacity=60);
}


/* =PRIMARY AND SECONDARY CONTENT AREA
----------------------------------------------- */
#primary {
	float: left;
	width: 70.17543859%;
}
#secondary {
	float: right;
	width: 27.19298245%;
	margin-bottom: 15px;
}

/* =LEFT SIDEBAR CONTENT LAYOUT
-------------------------------------------------------------- */
.left-sidebar #primary {
	float: right;
}
.left-sidebar #secondary {
	float: left;
}

/* =NO SIDEBAR CONTENT LAYOUT
-------------------------------------------------------------- */
.no-sidebar #primary {
	float: none;
	margin: 0 auto;
}
.no-sidebar-full-width #primary {
	width: 100%;
}
.no-sidebar #secondary,
.no-sidebar-full-width #secondary {
	display: none;
}

.widget_featured_posts .article-content .above-entry-meta .cat-links a {
   background-color: #289dcc;
   border-radius: 3px;
   color: #ffffff;
   font-size: 12px;
   padding: 3px 10px;
}

.widget_featured_posts .article-content .below-entry-meta .posted-on,
.widget_featured_posts .article-content .below-entry-meta .byline {
   padding-right: 10px;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on .fa {
   color: #6f7d95;
   font-size: 10px;
   padding-right: 3px;
}
.widget_featured_posts .article-content .below-entry-meta .byline .fa,
.widget_featured_posts .article-content .below-entry-meta .comments .fa {
   color: #6f7d95;
   padding-right: 5px;
   font-size: 11px;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on,
.widget_featured_posts .article-content .below-entry-meta .byline a,
.widget_featured_posts .article-content .below-entry-meta .comments a {
   font-size: 12px;
   color: #6f7d95;
}

/* =POST CONTENT
----------------------------------------------- */
.page-header .page-title {
   border-bottom: 2px solid #289dcc;
   font-size: 16px;
   margin-bottom: 15px;
   padding-bottom: 0;
   margin-top: 3px;
   text-align: left;
}

.archive #content .post p, .error404  #content .post p, .search  #content .post p
 
{
   font-size: 14px;
   margin-bottom: 0px;
   text-align: justify;
   margin-top: 0px;
}

.taxonomy-description 
{
    padding: 15px;
	padding-top: 7px;
    padding-bottom: 1px;
	margin-bottom: 20px;
}

.taxonomy-description p 
{
 text-align: justify;
 font-size: 14px;
 margin-bottom: 10px;
}

.archive #content .post:nth-child(2n+1) {
   float: right;
   width: 100%;
}
.archive #content .post:nth-child(2n) {
   float: left;
   width: 48.7013%;
   clear: both;
}

.single #content .post,
#content .post, .taxonomy-description 
{
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.archive #content .post, .error404 #content .post 
{
   margin-bottom: 20px;
}
.single #content .post 
{
   margin-bottom: 0;
   padding-bottom: 5px;
}

#content .post .article-content 
{
   padding: 15px;
   padding-top: 0px;
   padding-bottom: 1px;
}
#content .post .article-content .above-entry-meta .cat-links a {
   background-color: #289dcc;
   border-radius: 3px;
   color: #ffffff;
   font-size: 12px;
   padding: 3px 10px;
}

#content .post .article-content .below-entry-meta .posted-on,
#content .post .article-content .below-entry-meta .byline,
#content .post .article-content .below-entry-meta .comments,
#content .post .article-content .below-entry-meta .tag-links {
   padding-right: 10px;
   display: inline-block;
   
}
#content .post .article-content .below-entry-meta .posted-on .fa {
   color: #6f7d95;
   font-size: 10px;
   padding-right: 3px;
}
#content .post .article-content .below-entry-meta .byline .fa,
#content .post .article-content .below-entry-meta .comments .fa,
#content .post .article-content .below-entry-meta .tag-links .fa,
#content .post .article-content .below-entry-meta .edit-link .fa {
   color: #6f7d95;
   padding-right: 5px;
   font-size: 11px;
}
#content .post .article-content .below-entry-meta .posted-on a,
#content .post .article-content .below-entry-meta .byline a,
#content .post .article-content .below-entry-meta .comments a,
#content .post .article-content .below-entry-meta .tag-links a,
#content .post .article-content .below-entry-meta .edit-link a {
  font-size: 12px;
  -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
	display: inline-block;
}
#content .post .article-content .below-entry-meta {
   padding-bottom: 5px;
   color: #6f7d95;
}

.post .entry-title a, .search .entry-title a {
	transition: all 0.4s ease 0s;
	-webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
 }

 
#primary .widget-first .post .entry-content {
	margin-bottom: 0px;
	padding-bottom: 1px;
	
}
 
.post .entry-content
 {
	margin-bottom: 10px;
}

.entry-content ul {
	list-style: square;
}
.entry-content ul {
	padding: 0 0 0 35px;
   margin-bottom: 30px;
}
.post .entry-content ol 
{
padding: 0 0 0 20px;
margin-bottom: 15px;
display: block;
line-height: 1.6;
margin-top: -10px;
font-size: 15px;
}

.entry-content ol li
{
padding-left: 5px;
}
.entry-content li > ul,
.entry-content li > ol {
	margin-bottom: 0;
}

.entry-meta {
	color:#aaa;
	padding-bottom: 20px;
}
.entry-meta .byline i,
.entry-meta .cat-links i {
	padding-left: 5px;
	padding-right: 5px;
	font-size: 16px;
	color: #289dcc;
}
.entry-meta .byline a,
.entry-meta .cat-links a {
	font-size: 20px;
}
.entry-meta .byline,
.entry-meta .cat-links {
}
.entry-meta .byline {
	margin-right: 25px;
}
.entry-meta a {
	color:#289dcc
}
.entry-meta a:hover {
	text-decoration: underline;
}
.entry-meta .sep {
	display:block;
	border-top:1px solid #f2f2f2;
	position:relative;
	margin: 10px 0 10px 0;
}
.entry-meta .post-format {
	padding: 5px;
	position: absolute;
	right: -64px;
	top: -32px;
}
.entry-meta .post-format i {
	background-color: #289dcc;
	border-radius: 5px;
	color: #FFFFFF;
	display: block;
	height: 30px;
	line-height: 30px;
	text-align: center;
	width: 30px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	padding: 12px 8px 8px 8px;
}
.entry-meta .posted-on,
.entry-meta .comments-link,
.entry-meta .edit-link,
.entry-meta .tag-links {
	font-size:12px;
	line-height:20px;
	margin-right:25px;
}
.entry-meta .posted-on a,
.entry-meta .comments-link a,
.entry-meta .edit-link a,
.entry-meta .tag-links a {
	color:#aaa;
	font-size: 14px;
}
.entry-meta .posted-on a:hover,
.entry-meta .comments-link a:hover,
.entry-meta .edit-link a:hover,
.entry-meta .tag-links a:hover {
	color:#289dcc;
	text-decoration:none;
}
.entry-meta .posted-on i,
.entry-meta .comments-link i,
.entry-meta .edit-link i,
.entry-meta .tag-links i {
	font-size:14px;
	padding-right: 5px;
	padding-left: 5px;
	text-decoration:none
}
.entry-content a.read-more:hover {
	text-decoration: none;
}
.single #content .tags a {
	border: 1px solid #EAEAEA;
	padding: 3px 5px;
	border-radius: 3px;
	color: #777777;
}
.single #content .tags a:hover {
	color: #289dcc;
	text-decoration: none;
}

.more-link {
   display: inline-block;
   background-color: #289dcc;
   border-radius: 3px;
}
.more-link span {
   font-size: 12px;
   padding: 5px 10px;
   color: #FFFFFF;
   cursor: pointer;
   display: inline-block;
}
.more-link  span:hover {
   background-color: rgba(0, 0, 0, 0.1);
}

/* =FEATURED BLOG
----------------------------------------------- */
.no-post-thumbnail {
	background-color: #289dcc;
}
.tg-two-column-post-left {
	float: left;
	clear: both;
}
.tg-two-column-post-right {
	float: right;
}
.post-box {
	width: 48.5%;
	height: auto;
   margin-bottom: 30px;
   position: relative;
}
.yes-post-thumbnail.post-box {
	height: auto;
}
.post-box img {
	margin-bottom: 0;
}
.post-box .post-content-area {
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%); /* IE 9 */
   -webkit-transform: translateY(-50%);
   transform: translateY(-50%);
   width: 100%;
   text-align: center;
}
.post-box .entry-title {
	padding-bottom: 0;
}
.post.post-box .entry-title a {
	color: #fff;
	text-shadow: 1px 1px 1px #000000;
	font-size: 28px;
	text-transform: uppercase;
	padding: 10px;
}
.post.post-box .entry-title a:hover {
	color: #289dcc;
}
.post-box .entry-title:after {
	background: none repeat scroll 0 0 #fff;
	content: "";
	display: block;
	height: 2px;
	margin: 15px auto;
	width: 100px;
}
.post-box .entry-meta {
	padding-bottom: 0;
}
.post-box .entry-meta span .fa {
	color: #fff;
}
.post-box .entry-meta .posted-on a,
.post-box .entry-meta .cat-links a  {
	color: #fff;
	text-shadow: 1px 1px 1px #000000;
	font-size: 16px;
}
.post-box .entry-meta .posted-on i,
.post-box .entry-meta .cat-links i {
	color: #ffffff;
}
.post-box .entry-meta .posted-on a:hover,
.post-box .entry-meta .cat-links a:hover {
	color: #289dcc;
	text-decoration: none;
}

/* =FRONT PAGE WIDGET AREAS
----------------------------------------------- */
#primary .widget-first p 
{
   font-size: 14px;
   margin-bottom: 10px;
 }
 
.widget_slider_area {
   float: left;
   width: 55.26315789%;
}
.widget_beside_slider {
   float: right;
   width: 43.85964912%;
}


/* Slider widget meta CSS */
.widget_featured_slider .single-slide {
   position: relative;
}
.widget_featured_slider img {
   margin-bottom: 0;
}
.widget_featured_slider .slide-content {
   position: absolute;
   bottom: 0;
   background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
   background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
   background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
   background: linear-gradient(to bottom, rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.3));
   padding-bottom: 20px;
   padding-left: 5%;
   position: absolute;
   width: 95%;
}
.widget_featured_slider .slide-content .above-entry-meta .cat-links a {
   background-color: #289dcc;
   border-radius: 3px;
   color: #ffffff;
   font-size: 12px;
   padding: 3px 10px;
}
.widget_featured_slider .slide-content .entry-title {
   padding: 10px 0 0;
   font-size: 22px;
}
.widget_featured_slider .slide-content .entry-title a {
   color: #ffffff;
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.widget_featured_slider .slide-content .entry-title a:hover {
   color: #289dcc;
}
.widget_featured_slider .slide-content .below-entry-meta .posted-on,
.widget_featured_slider .slide-content .below-entry-meta .byline {
   padding-right: 10px;
}
.widget_featured_slider .slide-content .below-entry-meta .posted-on .fa {
   color: #ffffff;
   font-size: 10px;
   padding-right: 3px;
}
.widget_featured_slider .slide-content .below-entry-meta .byline .fa,
.widget_featured_slider .slide-content .below-entry-meta .comments .fa {
   color: #ffffff;
   padding-right: 5px;
   font-size: 11px;
}
.widget_featured_slider .slide-content .below-entry-meta .posted-on a,
.widget_featured_slider .slide-content .below-entry-meta .byline a,
.widget_featured_slider .slide-content .below-entry-meta .comments a,
.widget_featured_slider .slide-content .below-entry-meta .comments span {
   color: #ffffff;
   font-size: 12px;
}
.widget_featured_slider .slide-content .below-entry-meta .posted-on a:hover,
.widget_featured_slider .slide-content .below-entry-meta .byline a:hover,
.widget_featured_slider .slide-content .below-entry-meta .comments a:hover {
   color: #289dcc;
}

/* Highlighted posts widget */
.widget_highlighted_posts .single-article {
   position: relative;
   float: left;
   margin-bottom: 10px;
   margin-right: 2%;
   max-width: 49%;
}
.widget_highlighted_posts .single-article:nth-child(even) {
   margin-right: 0;
}
.widget_highlighted_posts img {
   margin-bottom: 0;
}
.widget_highlighted_posts .article-content {
   position: absolute;
   bottom: 0;
   background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
   background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
   background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
   background: linear-gradient(to bottom, rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.8));
   padding-bottom: 10px;
   padding-left: 5%;
   position: absolute;
   width: 95%;
}
.widget_highlighted_posts .above-entry-meta {
   display: none;
}
.widget_highlighted_posts .article-content .above-entry-meta .cat-links a {
   background-color: #289dcc;
   border-radius: 3px;
   color: #ffffff;
   font-size: 12px;
   padding: 3px 10px;
}
.widget_highlighted_posts .article-content .entry-title {
   padding: 10px 0 0;
   font-size: 16px;
}
.widget_highlighted_posts .article-content .entry-title a {
   color: #ffffff;
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.widget_highlighted_posts .article-content .entry-title a:hover {
   color: #289dcc;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on,
.widget_highlighted_posts .article-content .below-entry-meta .byline {
   padding-right: 10px;
}
.widget_highlighted_posts .article-content .below-entry-meta .byline {
   display: none;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on .fa {
   color: #ffffff;
   font-size: 10px;
   padding-right: 3px;
}
.widget_highlighted_posts .article-content .below-entry-meta .byline .fa,
.widget_highlighted_posts .article-content .below-entry-meta .comments .fa {
   color: #ffffff;
   padding-right: 5px;
   font-size: 11px;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on a,
.widget_highlighted_posts .article-content .below-entry-meta .byline a,
.widget_highlighted_posts .article-content .below-entry-meta .comments a,
.widget_highlighted_posts .article-content .below-entry-meta .comments span {
   color: #ffffff;
   font-size: 11px;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .byline a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .comments a:hover {
   color: #289dcc;
}
.widget_highlighted_posts .widget-title {
   color: #555555;
   font-size: 24px;
}

/* TG:All Posts Widget Styling */
.blog .post:nth-child(2n) {
   float: left;
   width: 48.7013%;
   clear: both;
   margin-bottom: 20px;

}
.blog .post:nth-child(2n+1) {
  float: right;
  width: 48.7013%;
  margin-bottom: 20px;
  
}
.blog .post:first-child {
   float: none;
   width: 100%;
   margin-bottom: 20px;
}
.blog .post .article-content .below-entry-meta .edit-link a,
.blog .post .article-content .below-entry-meta .tag-links a {
   font-size: 12px;
}
.blog .post .article-content .below-entry-meta .edit-link .fa,
.blog .post .article-content .below-entry-meta .tag-links .fa {
   color: #6f7d95;
   padding-right: 5px;
   font-size: 11px;
}
.blog .post .article-content .below-entry-meta .tag-links {
   padding-right: 10px;
}
/* Search Page */

.search #primary 
{
    margin-top: 15px;
	margin-bottom: 40px;
}

.search .post:nth-child(2n) {
  
   width: 100%;
   margin-bottom: 20px;
}
.search .post:nth-child(2n+1) {
  
  width: 100%;
  margin-bottom: 20px;
}
.search .post:first-child {
  
   width: 100%;
   margin-bottom: 20px;
}

/* =FRONT PAGE MAIN CONTENT SECTION
----------------------------------------------- */
.main-content-section {
   padding-top: 20px;
}
.main-content-section .tg-one-half {
   width: 48.75%;
   padding-bottom: 0;
}

.posted-on a,
.byline a,
.comments a,
.comments span,
.tag-links a,
.edit-link a {
   color: #6f7d95;
}
.posted-on a:hover,
.byline a:hover,
.comments a:hover,
.tag-links a:hover,
.edit-link a:hover {
   color: #289dcc;
}

/* Featured posts widget */
.widget_featured_posts .article-content .above-entry-meta .cat-links a {
   background-color: #289dcc;
   border-radius: 3px;
   color: #ffffff;
   font-size: 12px;
   padding: 3px 10px;
}
.widget_featured_posts .article-content .entry-title {
   padding: 10px 0 0;
   font-size: 22px;
}
.widget_featured_posts .article-content .entry-title a:hover 
{
   color: #1e73be;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on,
.widget_featured_posts .article-content .below-entry-meta .byline {
   padding-right: 10px;
   display: none;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on .fa {
   color: #6f7d95;
   font-size: 10px;
   padding-right: 3px;
}
.widget_featured_posts .article-content .below-entry-meta .byline .fa,
.widget_featured_posts .article-content .below-entry-meta .comments .fa {
   color: #6f7d95;
   padding-right: 5px;
   font-size: 11px;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on a,
.widget_featured_posts .article-content .below-entry-meta .byline a,
.widget_featured_posts .article-content .below-entry-meta .comments a,
.widget_featured_posts .article-content .below-entry-meta .comments span {
   font-size: 12px;
}


.widget_featured_posts .first-post {
   float: left;
   width: 48.70129870%;
   margin-bottom: 15px;
}


.widget_featured_posts .following-post {
   float: right;
   width: 48.70129870%;
}
.widget_featured_posts .following-post .byline {
   display: none;
}
.widget_featured_posts.widget_featured_posts_vertical .first-post,
.widget_featured_posts.widget_featured_posts_vertical .following-post {
   float: none;
   width: 100%;
}
.widget_featured_posts .single-article {
   background-color: #ffffff;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.widget_featured_posts .article-content {
   padding: 0 15px 5px;
}
.widget_featured_posts .article-content .below-entry-meta 
{
    margin-top: 5px;
}
.widget_featured_posts .article-content .entry-content p 
{
   font-size: 14px;
   line-height: 1.6;
	font-family: 'Open Sans', serif;
	color: #444c63;
}
.widget_featured_posts .following-post .single-article {
   margin-bottom: 15px;
}
.widget_featured_posts .following-post figure {
   float: left;

}
#secondary .widget_featured_posts .following-post .article-content .entry-title {
   font-size: 14px;
   line-height: 1.4;
}
.widget_featured_posts .following-post .article-content .entry-title {
   font-size: 18px;
}
.widget_featured_posts .following-post .article-content .below-entry-meta .posted-on,
.widget_featured_posts .following-post .article-content .below-entry-meta .byline a {
   font-size: 11px;
   color: #6f7d95;
   display: none;
}
.widget_featured_posts .following-post .article-content .below-entry-meta {
   margin-bottom: 0;
}
.widget_featured_posts .following-post img {
   margin-bottom: 0;
}
.widget_featured_posts .following-post .above-entry-meta {
   display: none;
}

.news-bar {
   background-color: #ffffff;
   padding: 8px 0 4px;
   box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
   font-size: 14px;
}
.breaking-news {
   float: left;
}
.breaking-news div {
   display: none;
}
.breaking-news-latest {
   color: #555555;
   margin-right: 0;
   position: relative;
   margin-top: 0px;
   vertical-align: top;
}

.breaking-news div {
   display: inline-block;
   word-wrap: break-word;
}
.date-in-header {
   float: left;
   color: #555555;
   font-size: 14px;
   padding-right: 15px;
}
.newsticker {
   display: inline-block;
   padding-left: 0;
   overflow: hidden;
   height: 20px;
}
.author-box {
   width: 100%;
   display: inline-block;
   padding: 10px;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
   margin-bottom: 25px;
}
.author-img img {
   margin-right: 15px;
}
.author-name {
   padding-bottom: 10px;
   font-size: 20px;
}
.author-description {
}

/* Related Posts */


.single-related-posts img 
{
   margin-bottom: 5px;
   border: solid 1px #F0F0F0;
   transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
   
}
.single-related-posts img:hover, #content .post a img:hover, #secondary .widget .pop-image a img:hover,/*Наведение на картинки*/
.advertisement_above_footer .execphpwidget .pop-image a img:hover, #primary .widget-first a img:hover
 {
   opacity:0.95;
  -moz-opacity:0.95;
  filter: alpha(opacity=95) black;
  -khtml-opacity: 0.95;
 
}

.single-related-posts img:hover/*Наведение на картинку в читайте также*/
 {
   border-bottom: solid 1px #3498DB;
}

.related-posts .single-related-posts:nth-child(3n+3) {
   margin-right: 0;
}
.single-related-posts .article-content {
   padding: 0 10px 5px;
}
.single-related-posts .byline {
   display: none;
}

.single-related-posts .article-content .entry-title a {
   color: #232323;
   text-shadow: none;
}
.single-related-posts .article-content .entry-title a:hover {
   color: #289dcc;
}
.single-related-posts .article-content .below-entry-meta .posted-on,
.single-related-posts .article-content .below-entry-meta .byline {
   padding-right: 10px;
}
.single-related-posts .article-content .below-entry-meta .posted-on .fa {
   color: #888888;
   font-size: 10px;
   padding-right: 3px;
}
.single-related-posts .article-content .below-entry-meta .byline .fa,
.single-related-posts .article-content .below-entry-meta .comments .fa {
   color: #888888;
   padding-right: 5px;
   font-size: 11px;
}
.single-related-posts .article-content .below-entry-meta .posted-on a,
.single-related-posts .article-content .below-entry-meta .byline a,
.single-related-posts .article-content .below-entry-meta .comments a {
   font-size: 12px;
}




/* Sharing Section */

.share-buttons {
   display: inline-block;
}
.box {
   border: 1px solid #eaeaea;
   border-radius: 3px;
   display: inline-block;
}
.count {
   background: none repeat scroll 0 0 #f2f2f2;
   color: #289dcc;
   float: right;
   font-size: 22px;
   padding: 0 16px;
}
.share {
   float: left;
}
#twitter, #facebook, #googleplus, #pinterest {
   float: left;
   padding-right: 20px;
}
.share .fa {
   display: block;
   font-size: 30px;
   line-height: 35px;
   padding: 0 15px;
}
.share .fa-twitter {
   color: #55acee;
}
.share .fa-facebook-square {
   color: #3b5998;
}
.share .fa-google-plus-square {
   color: #dd4b39;
}
.share .fa-pinterest {
   color: #cc2127;
}

.advertisement_125x125 {

}
.advertisement_125x125 img {
   margin-bottom: 8px;
   padding: 0 2px;
}
.advertisement-title {

}
.advertisement_300x250 {

}
.advertisement_300x250 img {
   margin: 0 auto;
   display: block;
}
#header-right-section .advertisement_728x90 {
   margin-bottom: 0;
   padding: 0;
}
.advertisement_728x90 {
   padding: 15px 0 45px;
   display: block;
}
#header-right-section .advertisement_728x90 img {
   padding: 0;
}
.advertisement_728x90 img {
   margin-bottom: 0;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
   padding: 10px;
   display: block;
   margin: 0 auto;
}
.advertisement-content {
   text-align: center;
}

.advertisement_below_post_title {
   float: left;
   width: 300px;
   margin-right: 10px;
}

.image-popup {

}
.featured-image {

}
.post .featured-image {
   text-align: center;
   
}
#site-navigation {
   z-index: 999;
}

.fitvids-video {

}
.video-title {

}

/* Gallery Post Format */
.single-format-gallery {

}
.gallery-post-format {

}
.gallery-images {

}


/*--------------------------------------------------------------
Responsive Structure
--------------------------------------------------------------*/


@media screen and (max-width: 10000px) /*Добавил разрешение*/
{

  #header-text-nav-wrap 
   {
      padding: 35px 0 40px;
   }

#masthead .search-wrap input.s 
{
    width: 12em;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
	margin-top:9px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
	height: 30px;
	color: #444c63;
	padding: 0px 35px 0px 14px;
	font: 0.8125em 'Open Sans', serif;
	margin-right:0;
	border: 0;
}
	
	
#masthead .search-wrap input.s:focus/*, #masthead .search-wrap input.s:hover*/
{
    width: 17em;
   
}


.fa.search-top /*-----Поиск на панели главн меню - кнопка--------*/
{
    color: #ffffff;
    cursor: pointer;
    font-size: 19px;
    padding: 10px 13px;
    position: absolute;
    right: 0px;
    top: 0;
}

.single-related-posts 
{
    width: 32.5%;
    margin-right: 1.25%;
    float: left;
    margin-bottom: 5px;
    margin-top: 5px;
}


.post .featured-image  /* миниатюра в списке статей */
{
   float:left;
   max-width:9em;
   margin:10px;
   margin-right:15px;
   margin-bottom: 0px;
   margin-left: 15px;
}

 .category-spravochniki-skachat .featured-image /* миниатюра в справочниках */
 {
    max-width:6em;
}
 
.advertisement_above_footer .execphpwidget div.pop
{
        display: table-cell;
		padding-right: 15px;
		width: 24%;
		
}

.single-related-posts .article-content .entry-title 
{
   padding: 5px 0 0;
   font-size: 18px;
}

.podpiska form p #s2email /* Поле подписки на емейл */
{
width: 89%;
}

h3.comment-reply-title small a /*  в форме комментариев */
{
	margin-left: 5px;
}

.archive #content .post:hover .below-entry-meta .uptl_container
{
    display: block;
}

.widget_featured_posts .first-post figure
{
  margin: 15px;
  margin-top: 0;
  margin-bottom: 5px;
}

.widget_featured_posts .following-post figure 
{
   margin-right: 10px;
}

.widget_featured_posts .following-post img /*Маленькие картинки в виджетах на главной*/
{
   margin: 7px;
}

 ul.cat li/* список категорий на главной - 3 ряда */
{   width: 32%;
    display: inline-block;
   
}

#secondary .widget .pop-image a img, .advertisement_above_footer .execphpwidget .pop-image a img
{
    float: left;
   	display: list-item;
}
.tg-one-half .widget_execphp
{   display: block;
   
}
#secondary .widget .pop-image a img, .advertisement_above_footer .execphpwidget .pop-image a img
{
    margin-right: 10px;
	margin-bottom: 5px;
}

 #secondary .widget .execphpwidget, .advertisement_above_footer .execphpwidget
{
    padding: 15px;
	padding-right: 10px;
}

#content .post img {
   margin-bottom: 3px;
}

#secondary .biblwidget .pop-image a img
{  width: 22%;
   
}
#header-text 
{
    display: none;
}
.main-content-section /*Основной контент на главной*/
{
   padding-top: 5px;
}

body 
{
	padding-top: 5px;
	padding-bottom: 5px;
	background-size: cover;
}

 .blog ul.cat li:nth-child(22), .blog ul.cat li:nth-child(23), .blog ul.cat li:last-child, .category-svojstva-veshhestv ul.cat li:nth-child(22), .category-svojstva-veshhestv ul.cat li:nth-child(23), .category-svojstva-veshhestv ul.cat li:last-child, .category-svojstva-materialov ul.cat li:last-child, .category-svojstva-gazov ul.cat li:last-child, 
 .category-svojstva-zhidkostej ul.cat li:last-child, .category-svojstva-produktov ul.cat li:nth-child(4), .category-svojstva-produktov ul.cat li:last-child, .category-poznavatelno ul.cat li:nth-child(10), .category-poznavatelno ul.cat li:last-child
{   
    border: none;
 }

.above-entry-meta /*опускаем назв категории*/
{
padding-top: 8px;
} 

#content .post img.alignleft /*Миниатюра в статье*/ 
{
    margin:7px 20px 10px 0px;
	border: solid 1px #F0F0F0;
}

 
 }

@media screen and (max-width: 1190px) 
{
   #page {
      width: 97%;
   }
   .wide #page {
      width: 100%;
   }
   .inner-wrap {
      width: 94%;
   }
   
   #masthead .search-wrap
   {   
	margin-right:5px;
}

.advertisement_above_footer .execphpwidget div.pop:last-child
{
       margin-bottom: 0;
}

.advertisement_above_footer .execphpwidget div.pop
{
        display: table;
		padding-right: 0;
		width: 100%;
}

.single-related-posts .article-content .entry-title 
{
   padding: 0;
   font-size: 17px;
}

 ul.cat li/* список категорий на главной - 2 ряда */
{   width: 48%;
   
}

 .category-svojstva-gazov ul.cat li:nth-child(3), .category-svojstva-zhidkostej ul.cat li:nth-child(3), 
 .category-poznavatelno ul.cat li:nth-child(9), .category-svojstva-materialov ul.cat li:nth-child(9)
{   
    border: none;
 }
 
 .blog ul.cat li:nth-child(22), .category-svojstva-veshhestv ul.cat li:nth-child(22), .category-svojstva-produktov ul.cat li:nth-child(4), 
 .category-poznavatelno ul.cat li:nth-child(9), .category-poznavatelno ul.cat li:nth-child(10)
{   
    border-bottom: 1px solid #DDD;
 }


}


@media screen and (max-width:1030px) { /*Добавил разрешение*/

 #secondary .widget .pop-image a img
{  width: 39%;
   
}
 #secondary .biblwidget .pop-image a img
{  width: 25%;
   
}
.main-content-section /*Основной контент на главной*/
{
   padding-top: 0;
}


}


@media screen and (max-width:830px) { /*Добавил разрешение*/
 
   .main-navigation .home-icon a {
      padding: 7px 10px;
   }
   .widget_slider_area,
   .widget_beside_slider {
      float: none;
      width: 100%;
   }
   .widget_slider_area {
      padding-bottom: 0;
   }
   #primary, #secondary {
      float: none;
      width: 100%;
   }
   
   .fa.search-top /*-----Поиск на панели главн меню--------*/
{
     font-size: 20px;
 }
 
  
.single-related-posts .article-content .entry-title 
{
   padding: 0;
   font-size: 16px;
}

 #secondary .widget .pop-image a img
{  width: 95px;
   
}
 #secondary .biblwidget .pop-image a img
{  width: 10%;
   
}


}

@media screen and (max-width:801px) { /*Добавил разрешение*/
   #header-text-nav-wrap 
   {
      padding: 20px 0;
	  padding-top: 25px;
   }
   #header-left-section {
      float: none;
      margin-bottom: 10px;
   }
   #header-logo-image {
      float: none;
      text-align: center;
      padding-right: 0;
   }
   #header-text {
      float: none;
      text-align: center;
      padding-right: 0;
   }
   #header-right-section {
      float: none;
   }
   #header-right-section .widget {
      text-align:center;
   }
   #header-right-section .widget /*Убираем виджет поиска*/
{
	display:none;
}   

 
}

@media screen and (max-width:768px) {

   #header-left-section {
      float: none;
      margin-bottom: 10px;
   }
   #header-logo-image {
      float: none;
      text-align: center;
      padding-right: 0;
   }
   #header-text {
      float: none;
      text-align: center;
      padding-right: 0;
   }
   #header-right-section {
      float: none;
   }
   #header-right-section .widget {
      text-align:center;
   }
   .menu-toggle {
      display: block;
      float: left;
   }
   .main-navigation ul {
      display: none;
   }
   .main-navigation .home-icon a {
      padding: 7px 10px;
   }
   .widget_slider_area,
   .widget_beside_slider {
      float: none;
      width: 100%;
   }

   #primary, #secondary {
      float: none;
      width: 100%;
   }
   
.tg-footer-main-widget {
      float: none;
      margin-right: 0;
      width: 100%;
   }
   .tg-footer-other-widgets {
      float: none;
      width: 100%;
   }
   .footer-socket-right-section,
   .footer-socket-left-section {
      float: none;
      text-align: center;
   }
   .footer-socket-wrapper .copyright {
      float: none;
      max-width: 100%;
      text-align: center;
   }
   .footer-socket-area .social-links {
      float: none;
   }
   
#header-right-section .widget /*Убираем виджет поиска*/
{
	display:none;
}   


.single-related-posts .article-content .entry-title 
{
   padding: 0;
   font-size: 15px;
}  

.podpiska form p #s2email /* Поле подписки на емейл */
{
width: 96%;
}

.archive #content .post:hover .below-entry-meta .uptl_container
{
    display: none;
}


   
}

@media screen and (max-width: 650px)  /*Добавил разрешение*/
{


.blog .post:first-child,
.blog .post:nth-child(2n),
.blog .post:nth-child(2n+1) 
   {
      float: none;
      width: 100%;
 }
 
.widget_featured_posts .first-post,
.widget_featured_posts .following-post
 {
      float: none;
      width: 100%;
}

   
}   

@media screen and (max-width: 600px) 
{

   #header-text-nav-wrap {
      padding: 10px 0;
	  padding-top: 15px;
   }
   

   .news-bar {
      text-align: center;
   }
   .date-in-header,
   .breaking-news,
   #masthead .social-links {
      float: none;
      max-width: 100%;
   }
   .newsticker li {
      text-align: left;
   }

   

   .gallery-columns-4 .gallery-item,
   .gallery-columns-5 .gallery-item,
   .gallery-columns-6 .gallery-item,
   .gallery-columns-7 .gallery-item,
   .gallery-columns-8 .gallery-item,
   .gallery-columns-9 .gallery-item 
   {
      width:25%;
   }
   
   .single-related-posts /*Центрирум похожие статьи*/
   {
      margin-right: 0;
      width: 100%;
	  
   }

#header-right-section .widget /*Убираем виджет поиска*/
{
	display:none;
}

.single-related-posts .article-content .entry-title 
{
   padding: 0;
   font-size: 17px;
} 

 ul.cat li /* список категорий в - 1 ряд */
 {
    width: 95%;
}

.tg-one-half .widget_execphp/* список категорий на главной */
{   
  display: none;
   
}
.category-svojstva-gazov ul.cat li:nth-child(3), .category-svojstva-zhidkostej ul.cat li:nth-child(3), 
.category-poznavatelno ul.cat li:nth-child(9), .category-svojstva-materialov ul.cat li:nth-child(9),
.category-svojstva-veshhestv ul.cat li:nth-child(23)
{   
    border-bottom: 1px solid #DDD;
 }



}

@media screen and (max-width: 480px) /*Добавил разрешение*/
{
#content .post img.alignleft /*Миниатюра в статье*/ 
{
    border: none;
	float: none;
	margin: 0 auto;
	display: block;
	margin-bottom: 15px;
	margin-top: 10px;
}

#content .category-spravochniki-skachat img.alignleft /*Миниатюра в статье справочника*/ 
{
    border: solid 1px #F0F0F0;
}
   
}

@media screen and (max-width: 420px) 
{
   .main-content-section .tg-one-half {
      width: 100%;
   }
   .tg-second-footer-widget,
   .tg-third-footer-widget,
   .tg-fourth-footer-widget {
      float: none;
      margin-right: 0;
      width: 100%;
   }
   
      
   .gallery-columns-4 .gallery-item,
   .gallery-columns-5 .gallery-item,
   .gallery-columns-6 .gallery-item,
   .gallery-columns-7 .gallery-item,
   .gallery-columns-8 .gallery-item,
   .gallery-columns-9 .gallery-item {
      width:33.33%;
   }
   
#header-right-section .widget /*Убираем виджет поиска*/
{
	display:none;
}   
/*Поиск в гл меню*/
#masthead .search-wrap input.s 
{
    width: 11em;

}

#masthead .search-wrap input.s:focus, #masthead .search-wrap input.s:hover
{
    width: 11em;
}   

/*/Поиск в гл меню*/


.post .featured-image  /* Центрируем миниатюру в списке статей */
{
   float:none;
   max-width:100%;
   margin:10px;
}

.blog .post .featured-image  /* Центрируем миниатюру в списке статей */
{
  margin-top:0;
}


.podpiska form p #s2email /* Поле подписки на емейл */
{
width: 94%;
}

h3.comment-reply-title small a /*  в форме комментариев */
{
	margin-left:0;
	margin-top:10px;
}

.widget_featured_posts .first-post figure
{
  margin: 15px;
  margin-bottom: 5px;
 
}

#header-logo-image 
{
  display: none;
}
#header-text 
{
    display: block;
}
body 
{
	padding-top: 0;
	padding-bottom: 0;
}
#page 
{
    width: 100%;
}

.blog .post:first-child, .blog .post:nth-child(2n), .blog .post:nth-child(2n+1)
{
   padding-top: 10px;
}

.above-entry-meta /*опускаем назв категории*/
{
padding-top: 0;
} 



}
@media screen and (max-width: 380px) 
{
   
 .widget_highlighted_posts .single-article 
 {
      float: none;
      margin-right: 0;
      max-width: 100%;
}

#primary .search-wrap 
{  
     text-align: center;
}

#primary .search-wrap input.s
{  
     width: 70%;
	 
}
   
   .search-wrap button /*Добавил, чтоб не сползало*/
 {
   position: absolute;
   right: 20px;
}
   
#header-right-section .widget /*Убираем виджет поиска*/
{
	display:none;
}

/*Поиск в гл меню*/
#masthead .search-wrap input.s 
{
    width: 8.5em;

}

#masthead .search-wrap input.s:focus, #masthead .search-wrap input.s:hover
{
    width: 8.5em;
}
/*/Поиск в гл меню*/


.post .featured-image  /* Центрируем миниатюру в списке статей */
{
  float:none;
   max-width:100%;
   margin:10px;
}

.single-related-posts .article-content .entry-title 
{
   padding: 0;
   font-size: 16px;
} 

.podpiska form p #s2email /* Поле подписки на емейл */
{
width: 92%;
}

.widget_featured_posts .following-post .article-content 
{
     text-align: center;
}
.widget_featured_posts .following-post figure 
{
    float: none;
	margin-right: 0;
	margin: 0 15px;
	padding-top: 15px;
}

.widget_featured_posts .following-post img {
    margin: 0;
    /*width: 100%;*/
}

 #secondary .widget .execphpwidget, .advertisement_above_footer .execphpwidget
{
    padding: 10px;
	padding-right: 10px;

}

#secondary .widget .pop-image a img, .advertisement_above_footer .execphpwidget .pop-image a img
{
    float: none;
   	display: inline-block;
	width: 100%;
	margin-right:0;
	
}

#secondary .widget .pop-image, .advertisement_above_footer .execphpwidget .pop-image
{
    margin-bottom: 5px;
}

#secondary .widget .execphpwidget div.pop, .advertisement_above_footer .execphpwidget div.pop
{
    text-align: center;
}

.tg-footer-main-widget, .tg-second-footer-widget, .tg-third-footer-widget  /* Центрируем блоки в футере */
{
  text-align: center;
}

 ul.cat li /* список категорий в - 1 ряд */
 {
    width: 94%;
}

#secondary .biblwidget .pop-image a img
{  border: solid 1px #F0F0F0;
   
}

.category-spravochniki-skachat .featured-image a img 
{
    width: 100%;
}



}

/*--------------------------------------------------------------
my
--------------------------------------------------------------*/
 
.footer-widgets-wrapper  /*Верх футера*/
{
	border-top: 1px solid #F2F2F2;
	background-color: #2f364a;
}
.footer-socket-wrapper  /*Низ футера*/
{
   padding: 20px 0px 50px;
   background-color: #2f364a;
}

#header-logo-image img  /*Картинка логотипа*/
{
margin: -5px 0 0 10px;
}


#secondary .widget-title span, .widget_featured_posts .widget-title span, .page-header .page-title span,
#execphp-2 .widget-title span, .advertisement_above_footer .widget-title span, .related-posts-main-title span, .type-page .entry-title,
#comments .comments-title, .tg-one-half .widget_execphp .widget-title span /*Заголовки*/
{
   color: #3498DB;
   text-transform: uppercase;
   display: inline-block;
   padding-bottom: 5px;
   font-size: 17px;
}
#comments h4.comments-title:before
{
   font: normal normal normal 14px/1 FontAwesome;
   content: "\f086";
   font-size: 17px;
}
.type-page .entry-title /*Заголовок обр.связь*/
{
   display: block;
   margin-top: 2px;
}

.archive .article-content h2.entry-title, #primary .widget-first .article-content h2.entry-title, .search h2.entry-title, .error404 h2.entry-title /*Заголовок статьи в рубриках и на главной*/
{
   padding: 7px 0 0px 0px;
   font-size: 19px;
}

#primary .widget-first .article-content h2.entry-title /*Заголовок на главной*/
{
   padding: 10px 0 3px 0px;
   font-size: 19px;
}


#primary .widget-first .article-content h2.entry-title a /*Заголовок статьи на главной - ссылка (надо !!!)*/ 
{
   font-size: 16px;
   color: #444c63;
   display: block;
   line-height: 1.4;
}

.archive .category-eto-interesno h2.entry-title, .archive .category-spravochniki-skachat h2.entry-title  /*Заголовок статьи в рубрике "Это интересно" и "Справочники"*/
{
   padding: 6px 0 0px 0px;
}

.archive .post .article-content h2.entry-title a, .search h2.entry-title a, .error404 h2.entry-title a/*Заголовок статьи в рубриках - ссылка (надо !!!)*/ 
{
   font-size: 17px;
   color: #444c63;
   display: block;
   line-height: 1.35;
}

#content .post .article-content h1.entry-title /*Заголовок статьи в самой статье*/
{
   padding: 10px 0 5px 0px;
   font-size: 19px;
}

.widget_featured_posts .article-content h3.entry-title a, #popular-widget-2 div.pop-inside ul li .pop-title /*Заголовок статьи в виджетах на главной (первый столбик)*/ 
{
   color: #444c63;
   text-shadow: none;
   font-size: 16px;
   -webkit-transition: all 0.4s ease 0s;
   -moz-transition: all 0.4s ease 0s;
   -o-transition: all 0.4s ease 0s;
   transition: all 0.4s ease 0s;
}

.widget_featured_posts .following-post .article-content h3.entry-title  
{
    padding: 0px;
   
}

.widget_featured_posts .following-post .article-content h3.entry-title a /*Заголовок статьи в виджетах на главной (второй столбик)*/ 
{
    font-size: 14px;
	padding: 0px;
	display: block;
    line-height: 1.5;
	padding-top: 5px;
}
   

h1, h2, h3, h4, h5, h6 {
	padding-bottom: 18px;
	color: #444c63;
	font-weight: bold;
	font-family: 'Open Sans', sans-serif;
}

h1 { font-size: 1.25em; line-height: 1.2; }
h2 { font-size: 17px; line-height: 1.2; padding-top: 10px; padding-bottom: 15px; }
h3 { font-size: 16px; line-height: 1.2; padding-bottom: 10px;}
.entry-content h3{ font-size: 15px;}
h4 { font-size: 1em; line-height: 1.2; }
h5 { font-size: 1em; line-height: 1.2; }
h6 { font-size: 1em; line-height: 1.2; }

/*-----Таблицы свойств в статьях--------*/

table.tab_1, table.tab_2, table.tab_3, table.tab_4, table.tab_5, table.tab_10
{ 
 margin-top:5px;
 border-collapse:collapse;
 border-spacing:0;
 border:0;
 border-top:2px solid #3397db;
 border-bottom:1px solid #B1C0D0;
 cursor: default;
 width:100%; 
}

caption
{
 text-align:left;
 padding:3px 0;
 line-height:1.43;
 border-bottom:1px solid #45688e;
 font-size: 13px;
 font-weight:bold;
}

table th
{
 background:#F0F3F6;
 font-weight:bold;
}
table.tab_9 tbody.tbo th
{
 background:#fff;
 font-weight:bold;
}

table td
{
 word-break: break-all;
}

table th, table td 
{
 border:0;
 border-top:1px solid #B1C0D0;
 text-align:center;
 vertical-align: middle;
 padding:2px 10px;
 -webkit-transition: color 0.1s ease-out 0.1s;
 -moz-transition: color 0.1s ease-out 0.1s;
 -o-transition: color 0.1s ease-out 0.1s;
 transition: color 0.1s ease-out 0.1s;
 font-size: 0.875em;
}

table tr td:first-child
{
 background:rgba(66,102,140,0.07);
 font-weight:bold;
}

table.tab_6 tr td:nth-child(3n+4), table.tab_6 tr td:first-child, table.tab_7 tr td:nth-child(2n+3), table.tab_7 tr td:first-child,  table.tab_8 tr td:nth-child(4n+5), table.tab_8 tr td:first-child
{
 background:rgba(66,102,140,0.07);
 font-weight:bold;
 min-width: 33px;
}

table.tab_10 tr td:nth-child(2n+1)
{
 font-weight:bold;
 text-align:left;
}

table.tab_10 tr td:first-child
{
 background:none;
  text-align:left;
}

table.tab_6 th, table.tab_7 th, table.tab_8 th
{
 background:#E3E9EF;
}

table.tab_7 th
{
 word-break: break-all;
}

table.tab_8 th, table.tab_8 td
{
 min-width: 40px;
}

table tr:first-child th
{
border-bottom: 1px solid rgba(66,102,140,0.4);
background: #E3E9EF;
}

table.tab_3 tr td:first-child, table.tab_2 tr th:first-child, table.tab_4 tr td, table.tab_5 tr td
{
 text-align:left;
}

table.tab_5 tr td:first-child
{
 text-align:center;
 width: 20%;
}
   
table.tab_1 tr:nth-child(2n), table.tab_3 tr:nth-child(2n), table.tab_4 tr:nth-child(2n), table.tab_5 tr:nth-child(2n), table.tab_10 tr:nth-child(2n)
{
    background: #F0F3F6; 
} 

.tbo tr:hover td {
 border-bottom:1px solid rgba(66,102,140,0.4);
 border-top:1px solid rgba(66,102,140,0.4);
 color:#0088cc;

}

tbody.tbo tr:hover a{text-decoration:underline; color:#01a6dd;}
tbody.tbo a:link {text-decoration:underline;}
.tab_3 tbody.tbo tr a:hover, .tab_4 tbody.tbo tr a:hover {text-decoration:underline; color:#e97451;}

/*-----/Таблицы свойств в статьях--------*/


.archive #content .post:nth-child(2n) /* Вторая статья в рубрике */
{
   /*float: left;*/
   width: 100%;
   clear: both;
   
}

.main-content-section .tg-one-half  /* Центральная область с виджетами на главной */
{
   width: 100%;
   padding-bottom: 0;
}

.widget_featured_posts img 
{
  margin-top: 15px;
  margin-bottom: 0;
  border: solid 1px #F0F0F0;
}

.colormag-button:hover,  /* Покрытие кнопок */
input[type="reset"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
button:hover 
{
background-color: #2f364a;
}

/*-----Крошки--------*/ 

.breadcrumbs 
{
	font-size: 0.75em;
	margin-bottom: 10px;
}

.home .breadcrumbs 
{
	margin-bottom: 0px;
}

.breadcrumbs span 
{
    margin: 5px 5px;
	padding: 0px 5px;
	background: #3397db;
	border-radius: 3px;
    color: #ffffff;
	display:inline-block;
	-webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.breadcrumbs span:first-child
{
   margin-left:0;
}

.breadcrumbs span:hover 
{
   	background: #1e73be;
}

.breadcrumbs span a
{
    color: #ffffff;
}


.breadcrumbs span.last, .breadcrumbs span.last_2
{
   	padding: 0;
	background: #fbfbfb;
	color: #444c63;
	display: inline;
}

.breadcrumbs span.last_2
{ 
    margin: 0;
}
	    		
.breadcrumbs span.no404
{
    background: #b34345;
    margin: 0 5px;
	padding: 0;
} 

.breadcrumbs span.poisk {
   	margin: 0 0 0 3px;
	padding: 0;
	background: #fbfbfb;
    color: #444c63;
}

.breadcrumbs span.poisk span{
    color: #DD4B39;
	background: #fbfbfb;
	font-size: 1.16667em;
	font-weight:bold;
	margin: 0;
	padding:0;
}

 /*-----/Крошки--------*/  
 

#main  /*основной контент в записи*/
{
	padding-top: 20px;
	padding-bottom: 10px;
	background-color: #ffffff;
}



/*-----Кол-во просмотров статьи и метаданные в related-posts--------*/  
.views, .edit-link, .comments
 { 
 font-size: 12px;
 color: #6f7d95;
 padding-right: 10px;
}

.tag-links  a
 { 
  margin-left: 4px;
}

#content .post .article-content .below-entry-meta .tag-links .fa
 { 
  padding-right: 2px;
}

.single-related-posts .article-content .below-entry-meta .comments .fa 
{
    color: #6f7d95;
    padding-right: 5px;
    font-size: 11px;
}
/*-----/Кол-во просмотров статьи--------*/  


.single-related-posts .article-content .below-entry-meta .posted-on, .single-related-posts .article-content .below-entry-meta .byline
{ 
  display:none;
}

/*-----*Список в статьях*--------*/ 

ul.spisok_2, ul.spisok_2_1 
{
    
    margin: 0;
	list-style-image: url('/Sets/Design/fav6x6_2.png');
	padding-left: 20px;
	padding-bottom: 15px;
	display: inline-block;
	
}
.spisok_2 li, .spisok_2_1 li 
{
    margin: 5px 0;
	padding-left: 5px;
	font-size: 0.9375em;
	line-height: 1.5;
}
.spisok_2_1 li 
{	line-height: 1.3;
}
/*-----/Список в статьях*--------*/ 

.post .entry-content a /*Ссылки в статьях*/
{
	transition: all 0.3s ease 0s;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
}
.post .entry-content a:hover /*Ссылки в статьях*/
{
	color:#e97451;
	text-decoration: underline;
}

/*-----Блок - Похожие статьи--------*/ 

.related-posts-thumbnail
 { 
  text-align: center;
  padding: 5px;
}

.related-posts-main-title .fa 
{
   display: none;
}

.single-related-posts .article-content /*Выравниваем подпись под картинкой*/ 
{
   text-align: center;
}

.single-related-posts .article-content .entry-title a
{
color: #444c63;
font-size: 0.875em;
line-height: 1.2;
transition: all 0.4s ease 0s;
-webkit-transition: all 0.4s ease 0s;
-moz-transition: all 0.4s ease 0s;
-o-transition: all 0.4s ease 0s;
}


.single-post .related-posts
{
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
   background: #ffffff;
   padding: 0 10px;
   padding-bottom: 1px;
}

div.single-related-posts:hover .entry-title a
{
    color:#1e73be;
	
}

/*-----/Блок - Похожие статьи--------*/ 

/*-----ссылки со стрелочками в конце статьи--------*/ 

.default-wp-page .previous {
    float: none;
    padding: 20px 0 0 0; 
    text-align: center;
	
}
.default-wp-page .next 
{
    float: none;
    padding:10px 0 20px 0;
    text-align: center;
}

li.previous a, li.next a {
    cursor: pointer;
    font-size: 13px;
    padding: 4px 6px;
    border-radius: 3px;
    color: #6f7d95;
    font-weight: bold;
    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
    border: 1px solid #D4D8DF;
	text-decoration: none;
	display:inline-block;
	background: #ffffff;
	
 
}
li.previous  a:hover,
li.next  a:hover 
{
	color: #6f7d95;
	border: 1px solid #b9c1cf;
	text-decoration: none;
}

li.previous  a:before 
{
    content: "\f053";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #6f7d95;
    font-size: 12px;
    margin-right:7px;
}

li.next a:after 
{
    content: "\f054";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #6f7d95;
    font-size: 12px;
	margin-left:7px;
}

/*-----/ссылки со стрелочками в конце статьи--------*/ 


/*-----Шапка--------*/ 

#header-text-nav-container {
    background: -moz-linear-gradient(top, #6f7d95 0%, #2f364a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f7d95), color-stop(100%,#2f364a));
    background: -webkit-linear-gradient(top, #6f7d95 0%,#2f364a 100%);
    background-color: -o-linear-gradient(top, #6f7d95 0%,#2f364a 100%);
    background: -ms-linear-gradient(top, #6f7d95 0%,#2f364a 100%);
    background: linear-gradient(to bottom, #6f7d95 0%,#2f364a 100%);
	background-color: #6f7d95;
    -ms-filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=#6f7d95, endColorstr=#2f364a,GradientType=0 );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=#6f7d95, endColorstr=#2f364a,GradientType=0 );
}
/*-----/Шапка--------*/ 

/*-----Поиск-(много еще в респонсив стилях)-------*/ 

#header-right-section .widget 
{
	margin-right: 7px;
}

#header-right-section .widget .search-wrap input.s
{
width: 15.4em;
}

#header-right-section .widget .search-wrap input.s:focus

{
    width: 18em;
}

 #masthead .search-wrap 
 {
    margin-bottom: 0;
	margin-right:-20px;
}
  

#masthead .search-wrap button{
   
    color: #6f7d95;
	background-color: #ffffff;
	position: relative;
    left: -31px;
	padding:0;
	border:0;
	outline:none;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius:15px;
}


#masthead .search-icon:before
{
    color: #6f7d95;
	font-size: 16px;
}

.search-form-top  
{  
    position: absolute;
	padding:0;
    right: 50px;
    top: -5px;
    z-index: 9999;
    background-color: rgba(255,255,255,0.01);
    border: 0;
    opacity: 0.9;
	
}

.search-form-top  .search-wrap button {
    color: #6f7d95;
    background-color: #ffffff;
    position: absolute;
    right: 10px;
    padding: 0;
    border: 0;
    outline: none;
}

a span.relevanssi-query-term/*Подсветка поискового запроса в заголовке*/
{   
   	color: #444c63;
	background: #FDF3E4;
}

.relevanssi-query-term/*Подсветка поискового запроса */
{   
    background: #FDF3E4;
   	color: #DD4B39;
}

.search .post:nth-child(2n) {
   width: 100%;
}

section.no-results .nr
{
    background: #ffffff;
    padding: 5px 15px 1px 15px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}


section.no-results p.nor
{
   font-weight: bold;
   margin-bottom: 20px;
}

section.no-results p.nores span
{
   display:block;
  
}
section.no-results p.nores span:first-child
{
   color:#b34345;
   font-weight: bold;
   margin-bottom: 10px;
}
section.no-results p.nores span:nth-child(2), section.no-results p.nor span
{
   color:#3498DB;
}


/*-----/Поиск--------*/ 

.footer-widgets-wrapper /*-----Верхняя граница футера--------*/ 
{
    border-top: 4px solid #3498db;
	
}

.footer-widgets-wrapper a /*-----Ссылки в футере--------*/ 
{
transition: all 0.4s ease 0s;
-webkit-transition: all 0.4s ease 0s;
-moz-transition: all 0.4s ease 0s;
-o-transition: all 0.4s ease 0s;
font-size: 14px;
display: inline-block;
	
}
.footer-widgets-wrapper a:hover
{
color:#3498db;
	
}

.widget_featured_posts .article-content .entry-content /*расстояние между назв и описанием в новом на сайте*/ 
{
	margin-top: 5px;
}
.widget_featured_posts .first-post .entry-title a
{
	display: inline-block;
}

.textwidget,.arpw-random-post ul
{
	padding: 10px 15px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}



#secondary .widget /*отступ снизу у виджетов в сайдбаре*/
 {
	margin-bottom: 20px;
	margin-top: 2px;
}

#secondary .widget:last-child /*отступ снизу у последнего виджета в сайдбаре*/
 {
	margin-bottom: 0px;
}

/*-----Список статей--------*/ 


.archive #content .post .article-content .below-entry-meta .tag-links, 
.main-content-section #content .post .article-content .below-entry-meta .tag-links/*убираем теги в списке статей и на главной*/
{
    display:none;
}

.archive #content .post .article-content .below-entry-meta 
{
    padding-bottom: 3px;
    padding-top: 2px;
}

.widget_featured_posts .article-content .above-entry-meta .cat-links a, #content .post .article-content .above-entry-meta .cat-links a /*поле вокруг назв категории*/
{
   padding: 2px 8px;
       transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
	color:#f0f0f0;
}


#content .post .article-content .above-entry-meta .cat-links a:hover, .widget_featured_posts .article-content .above-entry-meta .cat-links a:hover/*при навед. на назв категории*/
{   
   	color:#ffffff;
			   
}


.widget_featured_posts .article-content .above-entry-meta .cat-links a[href*="svojstva-veshhestv"],  /*убираем категорию "свойства веществ"*/
 #content .post .article-content .above-entry-meta .cat-links a[href*="svojstva-veshhestv"]
{
       display: none;
   
}

.advertisement_above_footer .execphpwidget h3.entry-title a[href*="temperaturoprovodnost"] /*Переносим длинные слова над футером*/
{
 word-break: break-all;
 display: block;   
}

 .cat-links
 {
    display: inline-block;
}

.single #content .post .article-content .above-entry-meta /*убираем категорию со статьи*/
{
  display:none;
}

/*-----/Список статей--------*/ 


/*-----Главное меню--------*/ 

#site-navigation /*Панель главного меню*/
 {
   box-shadow: 0 0 2px rgba(0, 0, 0, 0.1) inset;
   position: relative;
   background-color: #2f364a;
   border-top: 4px solid #3397db;
}

#menu-glavnoe-menyu a
{
	transition: all 0.1s ease 0s;
-webkit-transition: all 0.1s ease 0s;
-moz-transition: all 0.1s ease 0s;
-o-transition: all 0.1s ease 0s;
}

.main-navigation .sub-menu, /*Подменю главного меню*/
.main-navigation .children 
{
   background-color:  #2f364a;
}

.main-navigation a {
    color: #ffffff;
    float: none;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    text-transform: uppercase;
}
.home-icon .fa {
    color: #ffffff;
    font-size: 23px;
    padding-bottom: 3px;
}


#site-navigation-sticky-wrapper
{
   height: 40px;
}

.main-navigation li.menu-item-has-children > a:after, .main-navigation li li.menu-item-has-children > a:after, .main-navigation li.page_item_has_children > a:after, .main-navigation li li.page_item_has_children > a:after {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #ffffff;
    font-size: 12px;
    padding-left: 6px;
}

li#menu-item-23 a:after, li#menu-item-24 a:after, li#menu-item-25 a:after, li#menu-item-100 a:after
{  font-size: 13px;
margin-top:2px;
}

.main-navigation ul li ul {
    position: absolute;
    width: 210px;
    top: 38px;
}

.main-navigation ul li.current-menu-ancestor ul li a, .main-navigation ul li.current_page_ancestor ul li a, .main-navigation ul li.current_page_item ul li a {
    float: none;
    font-size: 14px;
    height: 100%;
    padding: 8px 15px;
    color: #ffffff;
    width: 185px;
    text-align: left;
    text-transform: none;
	padding-left:10px;
}
.main-navigation ul li ul li a
{  float: none;
    font-size: 14px;
    height: 100%;
    padding: 8px 15px;
    color: #ffffff;
    width: 185px;
    text-align: left;
    text-transform: none;
	padding-left:10px;
	}

.site-header .menu-toggle:before {
    content: "\f0c9";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 19px;
    color: #ffffff;
    padding: 9px 12px;
    display: block;
}

.main-navigation ul li ul li ul {
	left: 210px;
	top: 0;
	width: 225px;
}
 .main-navigation ul li.current-menu-ancestor ul li ul li a, .main-navigation ul li ul li.current-menu-item ul li ul li a, .main-navigation ul li.current-menu-item ul li a, .main-navigation ul li ul li ul a
{
	padding: 8px 15px;
	padding-left:10px;
	width: 200px;
}

 .main-navigation ul li ul li#menu-item-802 a /*стиль для Человек*/
{
	padding: 8px 15px;
	padding-left:10px;
	width: 185px;
}

.main-small-navigation .menu-primary-container,
.main-small-navigation .nav-menu 
{
   padding-top: 40px;
   padding-bottom: 3%;
}
 /*-Иконки-*/
ul#menu-glavnoe-menyu a:before, ul.cat li a:before
{
    font-family: FontAwesome;
	font-weight: normal;
	margin-right: 7px;
}
ul.cat li a:before
{
	color: #1e73be;
}
ul.cat li a:before{content: "\f1c0";} 
li#menu-item-996 a:before{content: "\f1c0";} /*Свойства веществ*/
li#menu-item-114 a:before{content: "\f019";} /*Библиотека*/
li#menu-item-115 a:before{content: "\f1cb";} /*Познавательно*/
ul.cat li a[href*="avtomobili-zapchasti"]:before{content: "\f1b9";} /*Автомир*/
ul.cat li a[href*="obrazovanie"]:before{content: "\f19d";} /*Образование*/
ul.cat li a[href*="tehnicheskie-gazy"]:before{content: "\f134";} /*Технические газы*/
ul.cat li a[href*="instrument"]:before{content: "\f0e3";} /*Инструмент*/
ul.cat li a[href*="oborudovanie"]:before{content: "\f0a0";} /*Оборудование*/
ul.cat li a[href*="uslugi-v-raznyh-sferah"]:before{content: "\f19c";} /*Услуги в разных сферах*/
ul.cat li a[href*="tara-i-upakovka"]:before{content: "\f1b8";} /*Тара и упаковка*/
ul.cat li a[href*="stroitelstvo"]:before{content: "\f12e";} /*Строительство*/
ul.cat li a[href*="gsm"]:before{content: "\f0b0";} /*ГСМ*/
ul.cat li a[href*="dlya-doma-i-dachi"]:before{content: "\f181";} /*Для дома и дачи*/
ul.cat li a[href*="metally"]:before{content: "\f0c1";} /*Для дома и дачи*/


li#menu-item-116 a:before{content: "\f260";} /*Это интересно*/
li#menu-item-802 a:before, ul.cat li a[href*="chelovek"]:before{content: "\f183";} /*Человек*/
li#menu-item-23 a:before{content: "\f1b2";} /*Свойства материалов*/
li#menu-item-57 a:before, ul.cat li a[href*="strojmaterialy"]:before{content: "\f1b3";} /*Стройматериалы*/
li#menu-item-94 a:before, ul.cat li a[href*="metally-i-splavy"]:before{content: "\f0c1";} /*Металлы и сплавы*/
li#menu-item-97 a:before, ul.cat li a[href*="plastmassa-i-plastik"]:before{content: "\f01c";} /*Пластмасса и пластик*/
li#menu-item-96 a:before, ul.cat li a[href*="oksidy"]:before{content: "\f1db";} /*Оксиды*/
li#menu-item-92 a:before, ul.cat li a[href*="drevesina"]:before{content: "\f1bb";} /*Древесина*/
li#menu-item-93 a:before, ul.cat li a[href*="keramika-i-steklo"]:before{content: "\f000";} /*Керамика и стекло*/
li#menu-item-95 a:before, ul.cat li a[href*="mineraly"]:before{content: "\f219";} /*Минералы*/
li#menu-item-98 a:before, ul.cat li a[href*="elementy"]:before{content: "\f0fd";} /*Элементы*/
ul.cat li a[href*="teploizolyatsiya"]:before{content: "\f1b2";} /*Теплоизоляция*/


li#menu-item-25 a:before{content: "\f043";} /*Жидкости*/
li#menu-item-108 a:before, ul.cat li a[href*="voda-i-rastvory"]:before{content: "\f0e9";} /*Вода и растворы*/
li#menu-item-111 a:before, ul.cat li a[href*="toplivo-i-masla"]:before{content: "\f0b0";} /*Топливо и масла*/
li#menu-item-110 a:before, ul.cat li a[href*="organicheskie-zhidkosti"]:before{content: "\f0c3";} /*Органич жидкости*/
li#menu-item-109 a:before, ul.cat li a[href*="zhidkosti-raznye"]:before{content: "\f140";} /*Жидкости разные*/
li#menu-item-24 a:before{content: "\f211";} /*Газы*/
li#menu-item-30 a:before, ul.cat li a[href*="organicheskie-gazy"]:before{content: "\f1cc";} /*Орг газы*/
li#menu-item-107 a:before, ul.cat li a[href*="neorganicheskie-gazy"]:before{content: "\f0c2";} /*Неорг газы*/
li#menu-item-106 a:before, ul.cat li a[href*="gazovye-smesi"]:before{content: "\f216";} /*Газовые смеси*/
li#menu-item-29 a:before, ul.cat li a[href*="gazy-raznye"]:before{content: "\f1be";} /*Газы разные*/
li#menu-item-100 a:before{content: "\f0f5";} /*Пищевые*/
li#menu-item-101 a:before, ul.cat li a[href*="kulinariya-i-hleb"]:before{content: "\f1fd";} /*Кулинария и хлеб*/
li#menu-item-104 a:before, ul.cat li a[href*="ovoshhi-i-frukty"]:before{content: "\f094";} /*Овощи и фрукты*/
li#menu-item-105 a:before, ul.cat li a[href*="produkty-raznye"]:before{content: "\f0f4";} /*Продукты разные*/
li#menu-item-102 a:before, ul.cat li a[href*="molochnye-produkty"]:before{content: "\f182";} /*Молочные продукты*/
li#menu-item-103 a:before, ul.cat li a[href*="myaso-i-ryba"]:before{content: "\f1b0";} /*Мясо и рыба*/


 /*-/Иконки-*/
/*-----/Главное меню--------*/

 /*-----Библиотека--------*/
.bibl_polya
{
    margin-bottom:10px;
	margin-top: 10px;
	font-size: 0.9375em;
	display: inline-block;
	
}
.bibl_polya span
{
    margin-right:5px;
	font-weight: bold;
}

#content .post .bibl_img /*Картинка в статье в библиотеке*/
{
    border: solid 1px #F0F0F0;
	border-radius: 5px;
   
}

div.loadfile /*Ссылка на файл*/
{
	font-size: 17px;
	line-height: 1.2;
	padding-top: 10px;
	padding-bottom: 15px;
	font-weight: bold;
}

.post .entry-content .loadfile a /*Ссылка на файл*/
{
    color: #3498DB;
}

.post .entry-content .loadfile a:hover /*Ссылка на файл*/
{
    text-decoration: none;	
	color: #1e73be;
}
 
 /*-----/Библиотека--------*/
 
 

 /*-----Pagination--------*/
.pagination 
{
    clear:both;
    font-size:15px; 
    line-height:20px;
    text-align: center;
	margin-bottom: 18px;
	
}
 
.pagination span, .pagination a 
{
    margin-right: 5px;
	margin-bottom: 5px;
    padding:5px 10px;
    text-decoration:none;
    width:auto;
    color:#6F7D95;
    background: #f0f0f0;
	border-radius: 3px;
	display: inline-block;
    -webkit-transition: background .3s ease-out;
    -moz-transition: background .3s ease-out;
    -ms-transition: background .3s ease-out;
    -o-transition: background .3s ease-out;
    transition: background .3s ease-out;
}
 
.pagination a:hover
{
    color:#fff;
    background: #1abc9c;
}
 
.pagination span.current
{
    background: #3397db;
    color:#fff;
}
 /*-----/Pagination--------*/

 /*-----список статей в сайдбаре и над футером--------*/
 
 #secondary .widget .execphpwidget div.pop
{
        display: table;
		clear:left;
		margin-bottom: 15px;
}

.advertisement_above_footer .execphpwidget div.pop
{
        clear:left;
		margin-bottom: 15px;
}

 #secondary .widget .execphpwidget div.pop:last-child
{
       margin-bottom: 10px;
}


#secondary .widget .pop-image a img, .advertisement_above_footer .execphpwidget .pop-image a img
{
    margin-top: 5px;
}

#secondary .widget h3.entry-title, .advertisement_above_footer .execphpwidget h3.entry-title
{
    padding-bottom: 5px;
}

#secondary .widget h3.entry-title a, .advertisement_above_footer .execphpwidget h3.entry-title a
{
    line-height: 1.3;
	color:#444c63;
	font-size: 13px;
	text-decoration: initial;
	-webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}


#secondary .widget span.excerpt a, .advertisement_above_footer .execphpwidget span.excerpt a
{
   color:#444c63;
   text-decoration: initial;
}
 #secondary .widget .execphpwidget, .advertisement_above_footer .execphpwidget
{
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	padding-bottom: 1px;
	padding-top: 10px;
}

#secondary .reklama_google .execphpwidget 
{
    box-shadow: none;
    padding: 0;
}
.advertisement_above_footer .execphpwidget
{
    padding: 10px 15px;
		
}
#secondary .widget span.excerpt p, .advertisement_above_footer .execphpwidget span.excerpt p
{
   font-size: 13px;
   line-height: 1.6em;
   margin-bottom: 0px;
   
}

#secondary .widget h3.entry-title a:hover, #secondary .widget div.execphpwidget div.pop:hover h3.entry-title a,
 .advertisement_above_footer div.execphpwidget div.pop:hover h3.entry-title a
{
    color: #1e73be;
}
#execphp-7
{
    padding-bottom: 30px;
}
 /*-----/список статей в сайдбаре и над футером--------*/
 
 /*-----Подписка--------*/
#s2email
{
   margin-top: 10px;
   color: #6f7d95;
}
#content p.s2_error
{
   color: red;
   margin-bottom: 20px;
}
#content p.s2_message
{
   color: #1abc9c;
}
#content form p input[type="submit"]:first-child
{
margin-right:5px;
margin-bottom: 5px;
}

.podpiska form p #s2email
{
margin-top: -5px;
color: #6f7d95;
padding-left: 10px;
padding-right: 10px;
}

.podpiska p
{
margin-bottom: 10px;
}

.podpiska p.s2_error
{
margin-bottom: 6px;

}

.podpiska form p input[type="submit"]
{
margin-top:10px;
padding: 1px 6px;
font-size: 14px;
}
.podpiska form p input[type="submit"]:hover
{
    background: #1e73be;
}
 /*-----/Подписка--------*/
 
#content form.wpcf7-form p input[type="submit"]/*кнопка в контактах*/
{
margin-right: 0;
position: relative;
top: -7px
}

#primary .widget-first/*Отступ сверху на главной*/
{
margin-top:3px;
}
 /*-----Соц кнопки в категориях, в постах и на главной--------*/
.below-entry-meta .uptl_container
{
    display: none;
}


.below-entry-meta .uptl_container ul, #secondary .uptl_container ul, .uptl_container ul
{
    opacity: 0.8;
	-webkit-transition: all 0.6s ease 0s;
    -moz-transition: all 0.6s ease 0s;
    -ms-transition: all 0.6s ease 0s;
    -o-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
}
.below-entry-meta .uptl_container ul
{
    float: right;
	opacity: 0.5;
}

.below-entry-meta .uptl_container ul:hover, #secondary .uptl_container ul:hover, .uptl_container ul:hover
{
   	opacity: 1;
}

 /*-----/Соц кнопки в категориях, в постах и на главной--------*/
.search #secondary
{
       margin-top: -25px;
}

/*-----Счетчики--------*/
div.Ram, div.live 
{
 display: none;
}

/*-----Содержание в некоторых статьях--------*/
.post .entry-content div.sod 
{
display: inline-block;
margin-top: -5px;
}

.post .entry-content  .sod ol 
{
margin-bottom: 10px;
}

/*-----Рамка на изображения--------*/ 
.advertisement_above_footer .execphpwidget .pop-image a img, #secondary .widget .pop-image a img, .archive #content .post img, .search #content .post img, .error404 #content .post img    
{
   border: solid 1px #F0F0F0;
}

.archive #content .post img, .blog #content .post img, .error404 #content .post img, .search #content .post img
{
   width: 120%;
}

.category-spravochniki-skachat #content .post img
{
   width: 100%;
}

/*-----Выделение абзацев в некоторых статьях--------*/
.post .entry-content p.custom 
{
background: #f0f3f6;
border-left: 4px solid #3397db;
border-right: 1px #3397db dashed;
border-bottom: 1px #3397db dashed;
border-top: 1px #3397db dashed;
padding: 10px;
font-size: 14px;
}

/*-----Оформление блока примеров расчета--------*/
.post .entry-content .primer 
{
border: 1px #3397db dashed;
padding: 10px;
padding-bottom: 0px;
margin-bottom: 15px;
}
 
 /*---Переделка оформления---*/

#main, .advertisement_above_footer, #secondary .widget
 {
    background: #fbfbfb;
}
 
#secondary .widget .execphpwidget, .advertisement_above_footer .execphpwidget, .blog .post:first-child, .blog .post:nth-child(2n), .blog .post:nth-child(2n+1),   
.single #content .post, #content .post, .taxonomy-description, .textwidget, .tg-one-half .widget_execphp .execphpwidget
{
   background: #ffffff;
} 
 
 .tg-one-half .widget_execphp .execphpwidget
{
    margin-bottom: 15px;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.blog ul.cat
{   
    padding: 5px 0px 5px 10px;
    margin: 0;
 }
 
 .archive ul.cat
{   padding: 5px 0px 5px 10px;
    margin-bottom:20px;
	background: #ffffff;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
 }
 
 ul.cat li
{   
 	margin: 0 5px;
    border-bottom: 1px solid #DDD;
}
 
 ul.cat li a
{   
    color: #444c63;
    display: inline-block;
    padding: 3px 0;
    text-decoration: none;
	margin-right: 5px;
	font-size: 15px;
    
}

 ul.cat li a:hover
{
    color:#1e73be;	
}

 ul.cat li span
{
font-size: 12px;
color: #6f7d95;	
}

.single #yandex_ad, .search #yandex_ad, .single #yandex_rtb_R-A-114903-4, .search #yandex_rtb_R-A-114903-4
{
margin-top: 20px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
background: #ffffff;
margin-bottom: 5px;
}

.search #yandex_ad, .search #yandex_rtb_R-A-114903-4
{
margin-bottom: -25px;	
}

.type-page .entry-content
{
padding: 15px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
background: #ffffff;
padding-bottom: 1px;
padding-top: 10px;
margin-bottom: 20px;
}	

.search #content .post
{
   padding-top: 1px;
}

li.comment #respond
{
    margin-bottom: 20px;
}

/*-----Формулы--------*/
.post .entry-content .formula 
{
text-align: center;
font-size: 16px;
font-weight: bold;

}



 /*---/Переделка оформления---*/


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 