/*
 * Theme Name: Simple Puzzle
 * Description: Responsive clean WordPress theme
 * Theme URI: http://wp-puzzle.com/simple-puzzle/
 * Author: WP Puzzle
 * Author URI: http://wp-puzzle.com/
 * Version: 1.0.1
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: light, two-columns, one-column, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images,sticky-post, threaded-comments, translation-ready
 * Text Domain: simplepuzzle
 */


/*! normalize.css v3.0.2 | MIT License | git.io/normalize 
 * ============================================================================ */ 
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0;max-width:100%;}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
/* ============================================================================ */ 

/* grid 
 * ============================================================================ */ 
.grid{width:90%;margin-left:auto;margin-right:auto}.grid [class*=col]{width:100%;margin-left:0}
@media screen and (min-width:1024px) {.grid{width:100%}.grid [class*=col]{float:left}.grid:after,.grid:before,.grid .newrow:before{display:table;line-height:0;content:""}.grid:after,.grid .newrow,.grid .newrow:before{clear:both}.grid [class*=col]{margin-left:1.694915254%;margin-right:0}.grid .newrow,.grid [class*=col]:first-of-type{margin-left:0}
.grid .col1{width:6.779661017%}.grid .col2{width:15.25423729%}.grid .col3{width:23.72881356%}.grid .col4{width:32.20338983%}.grid .col5{width:40.6779661%}.grid .col6{width:49.15254237%}.grid .col7{width:57.62711864%}.grid .col8{width:66.10169492%}.grid .col9{width:74.57627119%}.grid .col10{width:83.05084746%}.grid .col11{width:91.52542373%}.grid .col12{width:100%}}
.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}
.on-mobile{display:block}.on-desktop{display:none}@media srceen and (min-width:1024px){.on-mobile{display:none}.on-desktop{display:block}}
/* ============================================================================ */ 

/* layout
* ============================================================================ */ 
html { height: 100%; }
body { background-color: #f6f6f6; min-width: 280px; padding: 0; margin: 0; }

#header { padding: 30px 0;background-size:cover; position: relative; }
.home-header{position: absolute;left: -9999px;top: -9999px;}
#main { padding: 0 0; margin: 0; }
#content { padding: 20px 0 0; }
#sidebar { display: none; padding: 40px 0 0;}
#secondbar { display: none; }
#footer { margin: 0; padding: 40px 0; }

.inner { margin: 0 auto; max-width: 1160px }
.pagewrapper {padding:0 5%;background:#fff; }


/* adaptive layout */
@media screen and (min-width:768px) {
	#content { padding: 40px 0; }
}	
@media screen and (min-width:1024px) {
	#header { padding-bottom: 70px; position: static; }
	.pagewrapper { margin-top:-40px;padding:0;position: relative; }
	.layout-leftbar .pagewrapper:after, .layout-rightbar .pagewrapper:after,
	.layout-both .pagewrapper:before, .layout-both .pagewrapper:after { 
		content: ''; height: 100%; width: 1px; display: block; position: absolute; top: 0;
		background-color: #E0E0E0; border: 40px solid #fff; border-width: 40px 0; box-sizing: border-box; 
	}
	.layout-both .pagewrapper:before { left: 23.27586206896552%; } 
	.layout-both .pagewrapper:after { right: 23.27586206896552%; } 
	.layout-leftbar .pagewrapper:after { right: 68.96551724137931%; }
	.layout-rightbar .pagewrapper:after { left: 68.96551724137931%;  }	

	#content { width: 62.06896551724138%; float: left; padding: 40px 0 40px 3.44827586206897%; }
	#sidebar { width: 24.13793103448276%; float: right; display: block; padding: 40px 3.44827586206897% 0 0;}
	
	.layout-leftbar #sidebar { padding: 40px 0 40px 3.44827586206897%; }
	.layout-leftbar #content { padding: 40px 3.44827586206897% 0 0;}

	.layout-leftbar #sidebar { float: left; }
	.layout-leftbar #content { float: right; }
	.layout-full #sidebar { display: none; }
	.layout-full #content { float: none; width: auto; padding-right: 40px; }
	.layout-center #sidebar { display: none; }
	.layout-center #content { float: none; width: 62.17616580310881%; margin-left: auto; margin-right: auto; }

	.layout-both #content { float: left; width: 48.27586206896552%;/*51.72413793103448%; */}
	.layout-both #sidebar, .layout-both #secondbar { display: block; width: 17.24137931034483%;}
	.layout-both #sidebar { float: right; }
	.layout-both #secondbar { float: left; padding: 40px 20px 0 40px;}
}	
@media screen and (min-width:1180px) {
	.pagewrapper {border-radius:10px;border: 1px solid #e0e0e0}
}	
/* ============================================================================ */ 


/* HTML Tags
 * ============================================================================ */ 
body {
	font: normal 18px/1.27em 'PT Sans', Tahoma, Verdana, Segoe, sans-serif;
	color: #474747;
	word-wrap: break-word;
}
a {	color: #006699; text-decoration: none; position: relative; transition: color 0.2s; }
a:hover { color: #00b9eb; }

p { padding: 0 0 1em 0; margin: 0; }
p:last-child { padding-bottom: 0; }

h1, h2, h3, h4, h5, h6 { 
	color: #474747;
	margin: 1em 0 0;
	padding: 0 0 0.5em;
	line-height: 110%;
	font-family: 'PT Sans', TimesNewRoman, Tahoma, Verdana, Segoe, sans-serif;
	font-weight: bold;
	margin: 1em 0 0;
}

h1 { font-size: 28px; color: #5a5a5a; border-bottom: 4px double #e0e0e0; padding-bottom: 10px; margin: 0 0 10px; }
h2 { font-size: 28px; color: #006699; }
h3 { font-size: 22px; color: #474747; }
h4 { font-size: 20px; color: #2d2d2d; }
h5, h6 { font-style: italic; font-size: 18px; color: #474747; }

input, textarea, a { outline: none; }

ul { padding-left: 25px; }
ol { padding-left: 40px; margin-top: 0; counter-reset: section; }
li { list-style-type: none; margin-bottom: 15px; position: relative; color: #474747; }
ul > li > li { padding-left: 50px; }
ul > li:before { content: ''; position: absolute; display: block; top: 8px; left: -25px; width: 12px; height: 11px; background-image: url(img/social-buttons.png); background-position: -219px -91px; }
ol li:before { counter-increment: section; content: counter(section) ""; position: absolute; display: block; padding: 4px 10px; background-color: #005782; color: #fff; left: -40px; top: 0; border-radius: 5px; font-weight: bold; text-align: center; font-size: 14px; vertical-align: middle; }

blockquote { background-color: #8cbad1; font-style: italic; width: 83%; margin-left: -5%; padding: 20px 5% 20px 22%; position: relative; text-align: right; color: #003752; }
blockquote:before { content: ''; position: absolute; display: block; top: 20px; left: 20px; width: 32px; height: 28px; background-image: url(img/social-buttons.png); background-position: -135px -93px; }

input[type=file]{
	border-radius: 3px;
    border: 0;
    margin: 10px 0;
    font-size: 16px;
}
input[type=text], 
input[type=email], 
input[type=password], 
textarea { 
	padding: 9px 10px 9px 40px;
    font-size: 16px;
    line-height: 18px;
   	border-radius: 3px; 
	border: 1px solid #ccc; 
	font-style: italic; 
	width: 100%; 
	box-sizing: border-box; 
	font-size: 16px; 
	line-height: 18px;; 
}
/* ============================================================================ */ 




/* ============================================================================
 * HEADER
 * ============================================================================ */ 

.infobar { background: #006699; position: relative; box-shadow: inset 0 -1px 5px rgba(0, 0, 0, .3); }
.navigation-social, .main-menu { display: none; }

.logo {text-align:center;font-size:50px;letter-spacing:-0.03em;
 	font-weight:bold;line-height:50px;padding:0;color:#069; }
 #logo {max-height: 100px; width: auto;}
.sitedescription {font-style: italic;font-size:16px;text-align: center}

/* ___ mobile menu-buttons ____ */
.mobbar { background: #005C89; }
.mm-button { text-transform: uppercase; font-size: 14px; font-weight: bold; width: 41.666666%; box-sizing: border-box; color: #7ea7bc; border-right: 1px solid #006699; float: left; text-align: center; padding: 15px 0; line-height: 20px;;}
.mobile-search {width:16.666666666%;padding:0;position:relative; }
.mm-button.opened { color: #fff; background: #006699; }

/* ____ pages menu ____ */
.top-pages {
	display: none; position: absolute; background: #069; padding: 0; margin: 0; 
	top: 0; left: 0; width: 100%; z-index: 100; max-width: 300px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.top-pages li:before {display: none;}
.top-pages .menu-item, .top-pages .page_item, .top-pages .cat-item {padding: 0;margin: 0;}
.top-pages .menu-item a, .top-pages .page_item a, .top-pages .cat-item a, 
.top-pages .menu-item span, .top-pages .page_item span, .top-pages .cat-item span {
	padding: 17px 20px; margin: 0; color: #fff; font-size: 15px; line-height: 16px; 
	display: block; border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.top-pages .sub-menu, .top-pages .children { padding: 0; margin: 0; }
.top-pages .sub-menu li a, .top-pages .children li a, 
.top-pages .sub-menu li span, .top-pages .children li span { padding-left: 50px; }

/* ___ search topbar ___ */
#topsearch { right: 0; top: 0; width: 100%; z-index: 1; display: none; position: absolute; background: #069; }
.search-button { height: 30px; width: 30px; fill: #7ea7bc; margin: 13px auto 0; }
.search_submit { position: relative; position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border: 10px solid #005c89; background-color: #005c89; color: #8bb9d1; background-image: url(img/social-buttons.png); background-position: -194px -92px; }
input.s {width:100%;box-sizing:border-box;height:50px;border:none;box-shadow:none;background-color:#005c89;color:#fff;font-size:16px;padding:0 40px 0 20px; }
input.s::-webkit-input-placeholder {font-style:italic;color:#8cbad1;}
input.s::-moz-input-placeholder {font-style:italic;color:#8cbad1;}
input.s::-ms-input-placeholder {font-style:italic;color:#8cbad1;}

/* ======================================================================== */



/* ========================================================================
 *            CONTENT
 * ======================================================================== */

/* ____ review post ____ */
.review_title {color:#595959;font-size:24px;line-height:24px;margin-top: 0;}
.review_title a:hover { color: #00b9eb; }
.review img.thumbnail { display: none; }
.review .entry-meta { display: none; }
.review .entry p { color: #737373; font-size: 16px; line-height: 18px; padding-bottom: 20px; }
.more-link { color: #fff; padding: 10px 20px 10px 20px; background-color: #006699; border-radius: 5px; position: relative; display: inline-block; overflow: hidden; margin: 20px 0 0; transition: ease 0.3s; }
.more-link:hover { color: #fff; background-color: #0089ce; padding: 10px 52px 10px 20px; }
.more-link:before { content: ""; display: block; position: absolute; background-image: url(img/social-buttons.png); background-position: -183px -116px; height: 18px; width: 20px; left: 130%; top: 50%; margin-top: -9px; opacity: 0.6; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; }
.more-link:hover:before { left: 80%; }

.inform {margin-bottom:60px;}
.inform p { font-style: italic}


/* ____ entry ____ */
.entry a:hover {
	color: #069;
}
.entry a::after {
	position: absolute; top: 100%; left: 0; width: 100%; height: 1px; 
	background: #006699; content: ''; opacity: 0;
	
	-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}
.entry a:hover::after {
	height: 1px;
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}
.review.sticky {
    border: 4px double #e0e0e0;
    padding: 30px;
    margin-bottom: 60px;
}

/* ___ meta info ___ */
.entry-meta { color: #a5a5a5; font-size: 13px; padding: 0; margin: 0 0 30px; }
.entry-meta a { color: #a5a5a5; }
.entry-meta a:hover { color: #00b9eb; }
.entry-meta span { padding: 0 10px 0 0; position: relative; }
.entry-meta .date { padding-left: 20px; }
.entry-meta .date:before { content: ''; position: absolute; display: block; top: 1px; left: 0; 
	width: 14px; height: 14px; background: url(img/social-buttons.png) -19px -90px no-repeat; 
}


/* ___ images ___ */
.entry iframe { max-width: 100%; }
.entry img { max-width: 100%; height: auto; margin-bottom: 10px; margin-top: 8px; }
.alignleft img {display: block;margin: 0 auto 0 0;}
.alignright img {display: block;margin: 0 0 0 auto;}
img.alignleft, .alignleft { float: left; margin-right: 20px; margin-left: 0; }
img.alignright, .alignright { float: right; margin-left: 20px; margin-right: 0; }
.aligncenter, div.aligncenter, img.centered { display: block; margin-left: auto; margin-right: auto; }
.attachment, .caption, .gallery-caption { text-align: center; }
.attachment .navigation { height: 150px; }
.wp-caption, .attachment img { text-align: center; max-width: 100%; }
.wp-caption img { margin-top: 0; margin-bottom: 0;}
.wp-caption p.wp-caption-text { font-size: 12px; color: #222; margin: 0 0 15px; }
.entry .wp-smiley { margin: 0; padding: 0; border: 0; }

img { max-width: 100%; height: auto;}
.entry img {max-width: 100%;height: auto;}
img.aligncenter {display: block;margin: 0px auto;}
.thumbnail { margin: 0 auto; display: block; }



/* ____ social share  ____ */
.stats { border-top: 4px double #e0e0e0; margin: 30px 0px; }
.social-share { margin: 0; text-transform: uppercase; font-weight: bold; border-bottom: 4px double #e0e0e0; padding: 20px 0 15px; }
.social-share .like { color: #006699; }
.social-share .social_item { height: 30px; width: 30px; border-radius: 3px; display: inline-block; background: url('img/social-buttons.png'); margin: 0 5px 0 0; padding: 0; }
.social-share .social_item:hover {  }
.social-share .tw { background-color: #58c3f8; background-position: 0 -10px; }
.social-share .fb { background-color: #324596; background-position: -30px -10px; }
.social-share .vk { background-color: #16648b; background-position: -60px -10px; }
.social-share .go { background-color: #c63700; background-position: -90px -10px; }
.social-share .od { background-color: #ef8505; background-position: -120px -10px; }
.entry .social-items ul, .entry .social-items li {padding-left: 0;}
.entry .social-items li:before {display: none;}
.social-items a:hover:before, .social-items a:hover:after {display: none;}

/* ____ total views ____ */
.view-box { padding: 0; margin: 0; font-size: 15px;/*float: right;*/ }
.view-box .view { margin: 10px 0 0; line-height: 14px; color: #555555; padding: 8px 5px 8px 55px; width: 50px; background-color: #e0e0e0; position: relative; border-radius: 3px; display: block; }
.view-box a:hover { color: #006699; }
.view-box .view::after { border-right: 1px solid #fff; content: ''; display: block; position: absolute; top: 0px; left: 8px; height: 48px !important; width: 34px; background-color: transparent; opacity: 1; }
.view-box .view:before { content: ''; display: block; position: absolute; height: 8px; width: 16px; left: 13px; top: 9px; background-image: url(img/social-buttons.png); background-position: -58px -92px; border-right: none; opacity: .8; }
.view-box .comment:before { background-position: -159px -143px; height: 12px; width: 16px; }


/* ___ subscribe ____ */
.insider .subscribe-form { text-align: center; position: relative; margin: 50px 32px; }
.insider #subscribe-us { border-radius: 5px; display: block; border: 1px solid #b3b3b3; font-style: italic; color: #7d7d7d; font-size: 15px; padding: 10px; padding-left: 14px; min-width: 220px; margin: 0 auto; margin-bottom: 20px; }
.insider #submit-us { color: #fff; font-size: 15px; font-weight: bold; background-color: #006699; border: none; padding: 10px; text-transform: uppercase; border-radius: 5px; text-align: center; margin-bottom: 20px; }


/* ___ pagination ____ */
.wp-pagenavi { padding: 50px; }
.review { padding-bottom: 30px; border-bottom: 4px double #e0e0e0; margin-bottom: 30px; }
.wp-pagenavi { padding: 30px 40px 0px 40px; position: relative }
.wp-pagenavi a, .wp-pagenavi span { border: 1px solid #e0e0e0; color: #5a5a5a; font-size: 16px; padding: 5px 12px 7px; border-radius: 5px; }
.wp-pagenavi .current { background-color: #006699; color: #fff; border: none; }
.wp-pagenavi .pages { border: none; padding-right: 24px; }
.wp-pagenavi .pages, .wp-pagenavi .first, .wp-pagenavi .last, .wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink { position: absolute; display: block; }
.wp-pagenavi .first, .wp-pagenavi .last { bottom: 46px; }
.wp-pagenavi .first { left: 0px; }
.wp-pagenavi .last { right: 0px; }
.wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink { top: 0 }
.wp-pagenavi .previouspostslink { left: 0; }
.wp-pagenavi .nextpostslink { right: 0 }
.wp-pagenavi .pages { top: -49px; left: 50%; margin-left: -67px; }
.wp-pagenavi  .page { margin-top: 45px; margin-right: 10px; }
.wp-pagenavi .current { margin-right: 10px; }
.wp-pagenavi a, .wp-pagenavi span { padding: 13px 20px 13px; }
.wp-pagenavi .page.show-none { display: none; }
.wp-pagenavi .previouspostslink, .wp-pagenavi .first, .wp-pagenavi .nextpostslink, .wp-pagenavi .last { padding: 12px 20px }
.insider .subscribe-form { margin: 50px 32px 20px 32px; }
.wp-pagenavi { border-bottom: 4px double #e0e0e0; margin-top: 40px; text-align: center; margin: 80px 20px 50px; padding: 80px 0 126px 0; }
.wp-pagenavi .first { padding: 12px 39px; }
.wp-pagenavi .last { padding: 12px 23px; }

.page-numbers { border: 1px solid #e0e0e0; color: #5a5a5a; font-size: 16px; padding: 5px 12px 7px; border-radius: 5px; }
.page-numbers:hover { background: #069; border-color: #069; color: #fff; }




/* ___ prev next posts  ___ */
.post-nav-links .view { background-color: #e0e0e0; color: #494949; box-sizing: border-box; width: 100%; margin: 20px 0; position: relative; }
.post-nav-links .view:hover { background-color: #006699;  }
.post-nav-links a { display: block; font-size: 18px; font-weight: bold; line-height: 18px; }
.post-nav-links .view:hover a { color: #fff; }
.post-nav-links .prev a { padding: 20px 5% 20px 15%; text-align: right; }
.post-nav-links .next a { padding: 20px 15% 20px 5%; text-align: left; }
.post-nav-links .view:after { content: ''; height: 28px; width: 28px; top: 50%; margin-top: -14px; background: url(img/social-buttons.png) -46px -141px no-repeat; position: absolute;  border: none; }
.post-nav-links .prev:after { left: 10px; }
.post-nav-links .next:after { right: 10px; background-position: -46px -141px; transform: rotate(180deg); }
.post-nav-links .view:hover:after { background-position: -74px -141px; transform: rotate(180deg); }
.post-nav-links .next:hover:after { background-position: -74px -141px; transform: rotate(360deg); }


/* ___ related posts ___ */
/*.featured-posts { margin-top: 40px; }*/
.widget-title, #reply-title { text-transform: uppercase; color: #5a5a5a; font-weight: bold; border-bottom: 4px double #e0e0e0;	/*display: block;*/ padding: 0 0 3px; margin: 0 0 20px; }
.featured-posts a { color: #494949; font-weight: bold; margin-top: 12px; margin-bottom: 6px; font-size: 18px; }
.featured-posts a:hover { color: #006699; text-decoration: underline; }
.the-same-post img { display: none; }
.posts-768 { }
.the-same-post { margin-bottom: 30px; line-height: 15px; }



/* ___ comments ____ */
#comments { margin-top: 60px; }
.comment-list {padding: 0;margin: 0;}
.comment-list li:before { display: none; }
.comment-body {margin: 0 0 20px 0;padding: 0;}
.comment-author .fn { text-transform: uppercase; color: #2f2f2f; font-size: 15px; font-weight: bold; display: inline; }
.comment-author .avatar { display: none; }
.comment-author {float: left; margin-right: 20px;}
.comment-metadata { display: inline; font-style: italic; font-size: 14px}
.comment-metadata a { color: #898989; }
.comment-metadata .edit-link { margin-left: 10px; }
.comment-content { margin: 10px 0 0; padding: 0px; color: #707070; font-size: 16px; line-height: 18px; }
.comment a:hover { color: #006699; }
.comment .reply {text-align: right;}
.comment-reply-link { font-weight: bold; color: #727272; text-transform: uppercase; font-size: 13px; }
.bypostauthor .comment-author .fn, .bypostauthor .comment-author a {color: #00b9eb;}
.pingback .comment-body { margin: 0; background: #eee; padding: 20px; border-radius: 3px; }
#comments .children { margin: 0; padding: 0; }


/* ___ respond ____*/


#respond {margin: 80px 0 0;}
#reply-title {font-size: 16px;}

.comment-form textarea { padding-left: 10px; }
.comment-form > p {font-size: 16px;font-style: italic;}
.comment-form .row { display: block; padding: 0; margin-bottom: 10px; position: relative; }
.row-message { clear: both; }
.row-name:before, .row-email:before, .row-site:before { content: ''; display: block; position: absolute; height: 16px; width: 18px; left: 11px; top: 12px; background-image: url(img/social-buttons.png); t: ; }
.row-name:before { background-position: -112px -92px; }
.row-email:before { background-position: -111px -109px; height: 12px; top: 15px; }
.row-site:before { background-position: -112px -122px; height: 18px; top: 10px; }
.comment-form .form-submit { padding: 10px 0; clear: both; }
.comment-form #submit {
	color: #fff;
	font-size: 16px;
	font-style: normal;
	padding: 10px 48px 10px 15px;
	border-radius: 5px;
	display: block;
	margin: 0 auto;
	position: relative;
	border: none;
	background: url(img/social-buttons.png) 207px -155px no-repeat #006699;
	transition: background-color 0.2s;
}
.comment-form #submit:hover {background-color: #003e5d;}
/* ========================================================================== */



/* ========================================================================== *
 * 	HOME
 * ========================================================================== */

/* ___ big slider ____ */
.first-slider { margin-bottom: 20px; width: 110%; margin-left: -5%; position: relative; }
.first-slider:before { content: ''; position: absolute; bottom: -40px; height: 40px; width: 100%; background: #fff; z-index: 999; }
.bxslider li {margin:0; }
.bxslider li:before { display: none; }
.bxslider { margin: 0; padding: 0; }
.bxslider .slider-title { color: #fff; line-height: 26px; margin: 0; padding: 0 0 20px; }
.bxslider .slider-text { color: #8cbad1; font-size: 16px; overflow: hidden; max-height: 126px; padding: 0; line-height: 18px; }
.bxslider .slider-img { display: block;overflow: hidden}
.bxslider .inside-info { padding: 30px 20px 20px; background: #006699; }
.bxslider .more-link { background-color: rgba(0, 0, 0, .2); color: #8cbad1; margin: 20px 0 0; display: inline-block;; }
.bxslider .jread:before { left: 130%; }
.bxslider .jread:hover:before { left: 80%; }

/* slider styles default */
.bx-wrapper { margin: 0 auto 0px; padding: 0; *zoom: 1; z-index: 99; position: relative; background-color: #fff }
.bx-wrapper img { width: auto; height: auto; margin: 0; padding: 0; display: block;; }
.bx-wrapper .bx-viewport { -webkit-transform: translatez(0); -moz-transform: translatez(0); -ms-transform: translatez(0); -o-transform: translatez(0); transform: translatez(0); }
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto { position: absolute; top: 20px; left: 15px; width: 300px; height: 10px; }
.wrapper .bx-loading { min-height: 50px; background: url(img/bx_loader.gif) center center no-repeat #fff; height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: 2000; }
.bx-wrapper .bx-pager { text-align: left; font-size: .85em; font-family: Arial; font-weight: bold; color: #666; }
.bx-wrapper .bx-pager .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item { display: inline-block; *zoom: 1; *display: inline; }
.bx-wrapper .bx-pager.bx-default-pager a { background: #fff; opacity: 0.4; text-indent: -9999px; display: block; width: 40px; height: 5px; margin: 0 3px; outline: 0; }
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active { background: #fff; opacity: 1; }
.bx-wrapper .bx-controls-direction a { position: absolute; outline: 0; width: 32px; height: 32px; color: transparent; z-index: 3; }
.bx-wrapper .bx-controls-direction a.disabled { display: none; }
.bx-wrapper .bx-controls-auto { text-align: center; }
.bx-wrapper .bx-controls-auto .bx-start { display: block; text-indent: -9999px; width: 10px; height: 11px; outline: 0; background: url(images/controls.png) -86px -11px no-repeat; margin: 0 3px; }
.bx-wrapper .bx-controls-auto .bx-start:hover, .bx-wrapper .bx-controls-auto .bx-start.active { background-position: -86px 0; }
.bx-wrapper .bx-controls-auto .bx-stop { display: block; text-indent: -9999px; width: 9px; height: 11px; outline: 0; background: url(images/controls.png) -86px -44px no-repeat; margin: 0 3px; }
.bx-wrapper .bx-controls-auto .bx-stop:hover, .bx-wrapper .bx-controls-auto .bx-stop.active { background-position: -86px -33px; }
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager { text-align: left; width: 80%; }
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto { right: 0; width: 35px; }
.bx-wrapper .bx-caption { position: absolute; bottom: 0; left: 0; background: #666; background: rgba(80, 80, 80, 0.75); width: 100%; }
.bx-wrapper .bx-caption span { color: #fff; font-family: Arial; display: block; font-size: .85em; padding: 10px; }




.featured-posts .entry-meta { padding: 0px; margin: 10px 0 0 0; }
.featured-posts .post-title {position: relative;}
.widget-link { position: absolute; right: 0; top: -6px; background-image: url(img/social-buttons.png); height: 13px; width: 16px; background-position: -3px -143px; }
.widget-link:hover { background-position: -20px -143px; }

.the-same-post { line-height: 16px; }
.the-same-post .entry-meta span { padding-left: 20px; }
.the-same-post .entry-meta span:before { content: ''; position: absolute; display: block; top: 1px; left: 0px; width: 14px; height: 14px; background: url(img/social-buttons.png) -19px -90px no-repeat; }


/*.home .post-title { position: relative; }*/
.featured-posts { margin-top: 60px; }
/*.bxslider .entry-meta:before { top: 0; }*/
.with-picture a { color: #006699; font-size: 24px; line-height: 24px; letter-spacing: -1.1px; }
.with-picture a {color:#006699;font-size:24px;line-height:24px;letter-spacing:-1.1px; }
.with-picture img { display: block; padding-bottom: 12px; width: 100%; height: auto; }
.with-picture .wrap-img { display: block; max-height: 250px; overflow: hidden; }

/*.home .posts-768 { margin-top: 0; }*/
/*.home .featured-posts { margin-top: 30px; }*/

/*Стили для внутреннего слайдера*/
.bx-wrapper .second-slider ul li { min-height: 240px; padding-bottom: 30px; }
.second-slider li:before { display: none; }
.bx-wrapper ul li { min-height: 200px; overflow: hidden; }

/**/
.big-posts a { font-size: 24px; line-height: 24px; }
.big-posts p { color: #878787; font-size: 16px; }
.favorite-posts { clear: both; }
/*.home .wlist { margin-top: 50px; padding-left: 0; }*/
/*.home ul>li:before { display: none; }*/

/*Последний блок*/
.last-block-wrapper { padding-bottom: 1px; }
.last-block { margin: 25px 0 30px 20px; }
.discuss-title { padding: 6px 14px; background-color: #006699; color: #fff; text-transform: uppercase; font-size: 15px; font-weight: bold; border-radius: 5px; display: inline; }
.last-block-wrapper li { margin-left: 20px; }
.last-block-wrapper li span { font-size: 16px; }
.last-block-wrapper a { color: #5a5a5a; }
.end-block li:before { content: ''; position: absolute; display: block; top: 3px; left: -26px; width: 16px; height: 12px; background-image: url(img/com.png); }
.end-block { padding-bottom: 40px; }
.featured-posts .entry-meta { margin-top: 5px; }
.little-wrapper .entry-meta { margin-top: 10px; }

/*Второй слайдер*/
.featured-posts .bx-wrapper { }
.featured-posts .bx-wrapper .bx-viewport { background-color: #fff; height: 271px; }
.featured-posts .second-slider .inside-info a { color: #fff; position: absolute; top: 0px; left: 50%; margin-left: -135px; font-size: 24px; padding-right: 20px; max-width: 270px; text-align: center; }
.featured-posts .second-slider { position: relative; margin: 0; padding: 0; }
.featured-posts .bx-wrapper .bx-pager, 
.featured-posts .bx-wrapper .bx-controls-auto { left: 110px; margin-left: -92px; top: auto; bottom: 30px; }
.featured-posts .second-slider img { margin: 0 auto; max-height: 311px; max-width: 352px; }
.with-picture .bx-next, .home .with-picture .bx-prev { color: transparent; }
.widget_recent_comments span { color: #5a5a5a; font-size: 16px; }
.big-wrapper p.theexcerpt { color: #888; font-size: 16px; line-height: 18px; }
.big-wrapper .bititle { font-size: 24px; line-height: 18px; }

.wrap-second-sl .bx-controls-direction{position: absolute;
    right: 120px;
    bottom: 100px;}

/* ========================================================================== */


/* ==========================================================================
 *  sidebar
 * ========================================================================== */
.wlist, #wlist { padding: 0;margin: 0;}
.widget:before {display: none;}
.widget { margin: 0 0 50px; font-size: 16px; line-height: 18px }
.widget a { color: #5a5a5a; }
.widget a:hover { color: #006699; }
.widget-title { font-size: 15px; }

.wlist > li:before, #wlist > li:before {display: none;}
.widget ul, .wlist > li ul, #wlist > li ul { margin: 0; padding: 0; position: relative; }
.widget ul ul, .wlist > li  ul ul, #wlist > li  ul ul { margin-top: 10px; }
.widget ul > li, .wlist .categories ul > li, #wlist .categories ul > li { padding-left: 30px; }
.widget ul > li:before, .wlist .categories ul > li:before, #wlist .categories ul > li:before { 
	content: ''; position: absolute; display: block; top: 1px; left: 0px; 
	width: 16px; height: 16px; background: url(img/social-buttons.png) -253px -93px no-repeat; 
}
.widget ul > li:hover:before { background-position: -253px -93px} 

.widget_recent_entries ul > li:before { background-position: -79px -91px; width: 14px; }
.widget_recent_entries ul > li:hover:before { background-position: -93px -91px; }

.widget_recent_comments ul > li:before { background-position: -37px -91px;  top: 3px; }
.widget_recent_comments ul > li:hover:before { background-position: -37px -91px; }

.social-buttons-wlist { padding-bottom: 20px; text-align: center; }
.widget_social .sidebar-buttons { height: 40px; width: 40px; border-radius: 5px; }
.widget_social .tw { background-position: -150px 0px; margin-right: 0; }
.widget .counter { border-radius: 5px; height: 40px; }
.widget .counter span { float: right; padding: 10px 8px 10px 0px; font-family: 'PT Sans Narrow', sans-serif; font-weight: bold; color: #4b4b4b; font-size: 15px; display: none; }
.widget_social .fb { background-position: -190px 0px; width: 39px; margin-right: 0; }
.widget_social .go { background-position: -229px 0px; margin-right: 0; }
.widget_social .counter { display: inline-block; margin-right: 6.75%; }
.widget_social form { position: relative; }
.widget_social #subemail { border-radius: 5px 0 0 5px; display: inline-block; border: 1px solid #b3b3b3; font-style: italic; color: #7c7c7c; font-size: 15px; padding: 7px; padding-right: 30px; }
.widget_social .counter:last-child { margin-right: 0; }
#wlist #subsubmit { display: inline-block; color: #fff; font-size: 15px; font-weight: bold; background-color: #006699; border: none; padding: 8px 10px; text-transform: uppercase; border-radius: 0 5px 5px 0; right: 0px; position: absolute; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; }
#wlist #subsubmit:hover { background-color: lightblue; color: #005c89; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; }

/* ========================================================================== */



/* ==========================================================================
 *  FOOTER
 * ========================================================================== */

#footerbar { background: #fff; z-index: 999; position: relative; padding: 40px 0 0; }
#footerbar .wlist { padding: 40px 0 0; margin: 0; border-top: 4px double #eee; }
#footerbar .widget {margin-bottom: 50px;}
#footerbar .widget:before {display: none;}
#footerbar .widget-title { border-bottom: none; padding: 5px 14px; font-size: 16px; background-color: #006699; display: inline-block; color: #fff; border-radius: 5px; }

#footer { font-size: 14px; text-align: center; margin-top: 0; margin-bottom: 0; }
#footer p { color: #5a5a5a; line-height: 5px; }
#footer a:hover { text-decoration: underline; }
#toTop { position: fixed; z-index: 1000; bottom: 20px; right: 20px; margin: 0; padding: 14px 12px; display: none; cursor: pointer; background: #222; color: #fff !important; border-radius: 3px; transform: rotate(-90deg); font-size: 24px; text-align: center; transition: background-color 0.2s; }
#toTop:hover { background: #999; text-decoration: none !important; border-radius: 3px; }







/* ==========================================================================
 *  
 *  
 *  				*****  ADAPTIVE *****
 *  
 *  
 * ========================================================================== */





/** TABLET
 * ========================================================================== */
@media screen and (min-width:768px) {

	blockquote { margin-left: 40px; margin-right: 0px; width: auto; border-radius: 5px; padding: 20px 20px 20px 60px; }

	.infobar { height: 50px; position: relative; }
	.infobar .inner { width: 90%; }
	.top-pages { left: auto; right: 5%; }
	#topsearch { width: 300px; right: 5%; }
	.mobbar {box-shadow: inset 0 0px 0px rgba(0, 0, 0, .3);width: 300px;float: right;}

	.review h2 { font-size: 36px; line-height: 36px; }
	.review img.thumbnail { display: block; margin-top: 5px; margin-bottom: 20px; }
	.insider #subscribe-us { border-radius: 5px 0 0 5px; display: inline-block; border: 1px solid #b3b3b3; font-style: italic; color: #7c7c7c; font-size: 15px; padding: 8px; padding-right: 30px; width: 300px; position: relative; }
	.insider #submit-us { display: inline-block; color: #fff; font-size: 15px; font-weight: bold; background-color: #006699; border: none; padding: 9px 17px; text-transform: uppercase; border-radius: 0 5px 5px 0; right: 172px; position: absolute; }
	.wp-pagenavi { border-bottom: 4px double #e0e0e0; margin-top: 40px; text-align: center; padding: 14px 0 60px 0; margin: 50px 40px 50px; }
	.wp-pagenavi .previouspostslink { left: 101px; bottom: 47px; }
	.wp-pagenavi .first { left: 0px; }
	.wp-pagenavi .nextpostslink { right: 121px; bottom: 47px; }
	.wp-pagenavi .last, .wp-pagenavi .first { padding: 12px 20px; bottom: 47px; }


	/* ------------------------------- */
	.entry-meta:before { background-image: none; }
	h1 { font-size: 36px; /*padding-top: 20px;*/ }
	.entry ul { padding-left: 80px; margin-top: 0; }
	.entry ol { padding-left: 90px; }
	.thumbnail { float: left; margin-right: 30px; }

	.navigation-social { display: block; float: left; }
	.navigation-social .social_item { float: left; height: 50px; width: 50px; margin: 0; background: url('img/social-buttons.png') 0 0 no-repeat #005c89; border-right: 1px solid #006699; transition: background-color 0.2s; }
	.navigation-social .social_item:hover {background-color: #003E5D}
	.navigation-social .tw { background-position: 0px -40px;  }
	.navigation-social .fb { background-position: -50px -40px; }
	.navigation-social .vk { background-position: -100px -40px; }
	.navigation-social .you { background-position: -150px -40px; }
	.navigation-social .go { background-position: -200px -40px; }

	/*.tablet-nav {*/
	.the-same-post { float: left; margin-top: 10px; width: 48%; margin-right: 2%; line-height: 18px; margin-bottom: 0; }
	.the-same-post:nth-child(2n) { margin-right: 0; margin-left: 2%; }
	.row-name, .row-email, .row-site { width: 32%; margin-right: 2%; float: left; }
	.row-submit { padding: 0px; width: auto; float: right; }
	/*.post-nav-links .next { width: 48%; padding: 20px 7% 20px 5%; float: right; }*/
	/*.post-nav-links .prev { width: 48%; float: left; padding: 20px 5% 20px 7%; }*/
	.the-same-post .wrap-img { display: block; float: left; margin-right: 10px; margin-bottom: 10px; }
	.featured-posts .entry-meta span { position: relative; /*margin-left: 20px;*/ }
	.view-box { float: right; margin-top: -85px; }
	.view-box > li { margin-bottom: 0; }
	.row-site { margin-right: 0; }
	.the-same-post img { display: block; }
	.with-picture .wrap-img { max-height: 140px; }

	#comments .children { margin-left: 30px; }
	.comment-form #submit {margin-right: 0;}

	.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto { bottom: 10px; top: auto; }
	.bxslider .inside-info { float: right; width: 45%; box-sizing: border-box; padding: 40px; }
	.bxslider .slider-img { display: block; width: 55%; /*overflow: hidden;*/ position: absolute; /*height: 100%;*/ }
	.bxslider .slider-img img { min-height: 100%; max-width: none; }
	.bx-wrapper .bx-controls-direction a { opacity: 0.4; height: 40px; width: 40px; background-image: url(img/social-buttons.png); background-position: -113px -143px; }
	.bx-wrapper .bx-controls-direction a:hover { opacity: 1; }
	.with-picture .bx-prev, .with-picture .bx-next,
	.wrap-second-sl.bx-wrapper .bx-controls-direction a { display: none; }
	.bx-wrapper .bx-next { top: 20px; left: 70px; background-position: 0 0; }
	.bx-wrapper .bx-prev { top: 20px; left: 29px; transform: rotate(180deg); }

	.featured-posts .wrap-second-sl .bx-pager { bottom: 20px; }
	.featured-posts .second-slider img { display: block; width: 100%; }
	.featured-posts img { display: none; }
	.featured-posts .with-picture { width: 50%; float: left }
	.featured-posts .with-picture img { display: block; height: auto; width: 100%; }
	.with-picture .wrap-img { display: block; max-height: 150px; overflow: hidden; }
	.with-picture img { display: block; }
	.the-same-post .wrap-img { float: none; margin: 0 0 5px 0; }
	.the-same-post { margin-top: 0; }
	.the-same-post:nth-child(2n) { margin-left: 0; }
	.featured-posts.with-picture img { display: block; }
	.with-picture .widget-title { }
	.with-picture .the-same-post { width: 100%; float: left; }
	.the-same-post { line-height: 16px; float: left; width: 100%; margin-bottom: 20px; }
	.with-picture img { margin-bottom: 17px; padding-bottom: 0; }
	.first-news { width: 30%; float: left; box-sizing: border-box; margin: 0 5% 0 0; }
	.big-wrapper .the-same-post .wrap-img { width: 94%; }
	.first-news:last-child { margin-right: 0; }
	
	.big-wrapper .the-same-post img { display: block; }
	.big-wrapper .the-same-post .anoncethumb { display: block; float: left; margin: 0; }

	/*Слайдер*/
	.wrap-second-sl { width: 46%; float: right; margin-top: 26px; }
	.wrap-second-sl  .bx-wrapper { margin-top: 0; }

	/*Блоки с картинками */
	.with-picture .posts-768 { }
	.with-picture .the-same-post:last-child { margin-right: 0; }
	.with-picture .the-same-post:last-child:before { content: ''; display: table; clear: both; }
	.little-wrapper { margin-bottom: 40px; }
	.little-wrapper .the-same-post { width: 48%; margin-right: 4%; margin-top: -10px; }
	.little-wrapper .the-same-post:nth-child(2n) { margin-right: 0; }

	/*Последний блок с картинками*/
	.big-posts img { display: block; box-sizing: border-box; float: left; width: 100%; }
	.big-posts .entry-meta { display: block; width: 45%; float: left; margin-top: 10px; }
	.big-posts p { width: 48%; float: left; box-sizing: border-box; margin-top: 10px; }
	.the-same-post.big-posts .wrap-img { float: left; margin-top: 0; width: 48%; margin-right: 4%; }

	.featured-posts .little { width: 48%; float: left; }


	/* ___ footerbar ___ */
	#footerbar .wlist ul { padding-left: 25px; }
	#footerbar .widget { width: 46%; float: left; }
	#footerbar .widget:nth-child(3n) li { width: 40%; float: left; }
	#footerbar .widget:nth-child(3n) li:nth-child(even) { margin-left: 8% }
	#footerbar .widget:nth-child(3n) { width: 100%; }
	#footerbar .widget:nth-child(3n+1) { margin-right: 8%; }

}





/** DESKTOP
 * ========================================================================== */

 @media screen and (min-width:1024px) {

	
	.infobar { margin: 0 auto; height: 40px}
	.infobar .inner {width: auto;}
	.mobbar {display: none;}
	.navigation-social  .social_item { height: 40px; width: 40px; }
	.navigation-social .tw { background-position: -5px -45px;  }
	.navigation-social .fb { background-position: -55px -45px; }
	.navigation-social .vk { background-position: -105px -45px; }
	.navigation-social .ok { background-position: -175px -139px; }
	.navigation-social .yt { background-position: -155px -45px; }
	.navigation-social .go { background-position: -205px -45px; }

	.logo,.sitedescription { text-align: left; }

	#topsearch {display: block;position: static;float: right;}
	.searchform {position: relative;}
	input.s { height: 40px;}
	.search_submit { right: 0; top: 0px; }

	/*.menu {*/
	#categories {display: none;}
	.top-pages { display: block; float: right; text-align: right; margin: 10px 0; padding: 0; position: static; background: transparent; max-width: none; box-shadow: 0 0 0 transparent; }
	.top-pages .menu-item, .top-pages .page_item { display: inline-block; border-bottom: 5px solid transparent; } 
	.top-pages .menu-item a, .top-pages .menu-item span, .top-pages .page_item a, .top-pages .page_item span { padding: 10px; border: 0; display: inline-block; color: #595959; font-size: 15px; line-height: 20px; font-weight: bold; text-transform: uppercase; border-radius: 5px; transition: background-color 0.2s; }
	.top-pages li.current-menu-item span, .top-pages li.current_page_item span, .top-pages a:hover { background-color: #dedede; }
	.top-pages .sub-menu:before, .top-pages .children:before { content: ''; display: block; position: absolute; top: -6px; right: 20px; height: 6px; width: 15px; background-image: url(img/social-buttons.png); background-position: -237px -93px; transition: all 0.1s; }
	.top-pages .sub-menu, .top-pages .children { display: none; position: absolute; width: 260px; right: 0px; z-index: 100; overflow: visible; background: #069; border-radius: 5px; padding: 0; margin: 0; top: 45px; }
	.top-pages li:hover > .sub-menu, .top-pages li:hover > .children { display: block; }
	.top-pages .sub-menu .menu-item, .top-pages .children .page_item { display: block; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
	.top-pages .sub-menu .current-menu-item span, .top-pages .children .current_page_item span {background: #00b9eb !important;}
	.top-pages .sub-menu li a, .top-pages .children li a, .top-pages .sub-menu li span, .top-pages .children li span { display: block; text-transform: none; font-weight: normal; text-align: left; padding: 15px 20px; color: #fff; text-transform: none; border-radius: 0; }
	.top-pages .sub-menu li a:hover, .top-pages .children li a:hover { background-color: #00b9eb; }
	.top-pages .sub-menu li:last-child, .top-pages .children li:last-child { border: 0; }
	.top-pages .sub-menu li:first-child a, .top-pages .children li:first-child a, .top-pages .sub-menu li:first-child span, .top-pages .children li:first-child span { border-radius: 5px 5px 0 0 !important; }
	.top-pages .sub-menu li:last-child a, .top-pages .children li:last-child a, .top-pages .sub-menu li:last-child span, .top-pages .children li:last-child span { border-radius: 0 0 5px 5px; }
	.top-pages .sub-menu .sub-menu, .top-pages .children .children { top: 0; left: 100%; }
	.top-pages .sub-menu .sub-menu:before, .top-pages .children .children:before { top: 50%; left: -5px; }

	/* ___ main menu ___ */
	.main-menu { display: block; margin: 0; border-bottom: 1px solid #c2c2c2; text-align: left; background: #efefef; background: -webkit-linear-gradient(top, #efefef 0%, #e0e0e0 100%); background: linear-gradient(to bottom, #efefef 0%, #e0e0e0 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef', endColorstr='#e0e0e0', GradientType=0); padding: 0; border-radius: 10px 10px 0 0; /*overflow: hidden;*/ position: relative; z-index: 99; }
	.main-menu li { padding: 0; margin: 0; display: block; float: left; }
	.main-menu li:before { display: none; }
	.main-menu li:first-child a { border-radius: 10px 0 0 0; }
	.main-menu a, .main-menu span { color: #595959; font-size: 16px; text-shadow: 0 1px 0 rgba(255, 255, 255, .3); font-weight: normal; text-transform: none; padding: 14px 27px; border-right: 1px solid #c2c2c2; display: block; transition: background 0.2s; margin: 0; }
	.main-menu a:hover, .main-menu .current-menu-item span, .main-menu .current-menu-item a { background: #069; color: #fff; text-shadow: 0 0 transparent; }
	.layout-lefetbar #main-menu:before, .layout-rightbar #main-menu:before, .layout-both #main-menu:before { content: ''; display: block; width: 100%; height: 40px; background: #fff; position: absolute; top: 101%; z-index: 99; }

	/* ___ content ____ */
	.content { width: 66.97%; padding: 40px; margin: 0;	float: left; border-right: 1px solid #e0e0e0; box-sizing: border-box; }
	.post { padding: 0; }
	h1 { margin-top: 0; padding-top: 0; line-height: 34px; }
	
	/* comments */
	.comment-body { margin: 0 0 30px 80px; position: relative; }
	.comment-author .avatar { margin-right: 20px; float: left; display: block; border-radius: 3px; position: absolute; top: 6px; left: -80px; }

	/* prevv & next post*/
	.post-nav-links .view { width: 48%; }
	.post-nav-links .prev { float: left; }
	.post-nav-links .next { float: right; }
	.post-nav-links .prev a { padding: 20px 20px 20px 60px; text-align: right; }
	.post-nav-links .next a { padding: 20px 60px 20px 20px; text-align: left; }
	/*.post-nav-links a:hover { color: #fff; background-color: #006699; transition: ease-out 0.3s; }*/
	/*.prev:hover:before { background-position: -73px -140px; transform: rotate(180deg); }*/
	/*.next:hover:before { background-position: -73px -140px; transform: rotate(0deg); }*/

	footer { border-top: none; }
	.center:after { right: 6%; }


/* -------------------*/ 
	.review img.thumbnail { display: block;		/*padding: 12px 0;*/ padding: 0; }
	.insider .subscribe-form { display: none; border-bottom: none; }
	.review { padding-bottom: 30px; }

	/* pagination */
	/*.wp-pagenavi, */
	.avd-pagination { padding: 0; margin-top: 0; }
	.page-numbers { 
		/*position: static; top: auto; bottom: auto; left: auto; right: auto;*/ 
		display: inline-block; /*text-indent: -9999px;*/ padding: 4px 12px; height: 23px; position: relative; margin-bottom: 10px; 
	}


	.wp-pagenavi .pages, .wp-pagenavi .first, .wp-pagenavi .last, .wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink, .wp-pagenavi .nextpostslink { position: static; top: auto; bottom: auto; left: auto; right: auto; display: inline-block; text-indent: -9999px; padding: 4px 16px; height: 23px; position: relative; margin-bottom: 10px; }
	.wp-pagenavi a, .wp-pagenavi span { margin-right: 6px; }
	.wp-pagenavi .pages { text-indent: 0; padding-left: 0; margin-left: 0px; }

	.previouspostslink:before, .first:before, .nextpostslink:before, .last:before { text-indent: 0px; position: absolute; }
	.previouspostslink:before, .first:before, .nextpostslink:before, .last:before { content: ''; right: 10px; top: 11px; background-image: url(img/social-buttons.png); }
	.previouspostslink:before, .nextpostslink:before { height: 10px; width: 9px; background-position: -9px -91px; }
	.first:before, .last:before { height: 10px; width: 10px; background-position: 0px -91px; }
	.nextpostslink:before, .last:before { transform: rotate(180deg); }
	.wp-pagenavi .page.show-none { display: inline-block; }
	.wp-pagenavi .page, .wp-pagenavi .current { padding: 5px 12px 7px; }
	.wp-pagenavi { border-bottom: none; text-align: left; }

	/*.insider .post {*/
	.review { border-bottom: 4px double #e0e0e0; margin-bottom: 30px; }
	.wp-pagenavi { margin: 0 40px }


	/* ___ slider ____ */
	.first-slider { margin: 40px 40px 0; width: auto; }
	.first-slider img { /**/ box-sizing: border-box; }
	.more-link:before { opacity: 0.6; }
	.bxslider .inside-info { border-left: 1px solid #fff;width: 30%; min-height: 300px; }
	.bxslider .slider-img { width: 70%; min-height: 300px; height: 100%; }
	
	/* top cateroties */
	.first-news { box-sizing: border-box; width: 31%; margin: 0 3.5% 0 0; padding: 0; }
	.first-news:last-child { margin-right: 0; }
	.featured-posts img { display: block; }
	.featured-posts .entry-meta span { padding-left: 20px; }
	.the-same-post .wrap-img { margin-right: 10px; float: left; max-height: 100px; overflow: hidden; }

	.featured-posts .sl-r { width: 47.5%; margin-bottom: 30px; }
	
	.home .with-picture .posts-768 .big-wrap { box-sizing: border-box; float: left; margin-right: 0; margin-bottom: 12px; height: 200px; }
	.featured-posts.with-picture { margin-top: 60px; width: 61.20689655172414%; float: left; }

	/*Самые популярные*/
	.little-wrapper { width: 31%; float: left; }
	.the-same-post .little  .entry-meta span { margin-left: 0; }
	.big-wrapper { float: right; width: 65.74074074074074%; }
	.featured-posts .little { width: 100%; box-sizing: border-box; margin-top: 0; margin-bottom: 20px; }
	.little img { margin-bottom: 3px; float: left; margin-right: 10px; }
	.featured-posts .with-picture {width: 65.74074074074074%;float: left;}
	.favorite-posts .post-title { margin-bottom: 20px; }
	.the-same-post.big-posts { margin-top: 0; }
	.little-wrapper .the-same-post:nth-child(2n) { margin-right: 4%; }
	.little-wrapper .the-same-post { width: 100%; margin-top: 0; }

	.the-same-post .entry-meta:before { display: none; }
	.wrap-second-sl { width: 31%; float: right; }
	.with-picture .the-same-post:nth-child(2n+1) { margin-right: 5%; }
	.featured-posts.favorite-posts .entry-meta { margin-left: 0; }
	.featured-posts .entry-meta { margin-top: 10px;		/*Стили категорий*/ }
	.the-same-post { margin-bottom: 10px; }
	.little-wrapper { margin-bottom: 0; float: left; }
	.sl-r .wrap-img { margin-right: 0; }

	/*Стили к transition*/
	.footerbar .widget_recent_posts:nth-child(2) { margin-right: 1%; }
	.with-picture .wrap-img { float: none; max-height: 200px; }
	.big-posts img { width: 100%; }
	.big-posts { margin-bottom: 20px; }
	.big-wrapper .anoncethumb { width: 61.20689655172414%; float: left; margin: 0 20px 0 0; min-height: auto;; }
	.big-wrapper .anoncethumb { width: 48%; float: left; margin: 0 20px 0 0; }
	.big-wrapper .the-same-post .wrap-img { max-height: 215px; width: 100%;  }
	.big-wrapper .the-same-post .wrap-img img { height: auto; width: 100%; max-height: none;}

	.big-wrapper .the-same-post .anoncethumb { margin-right: 20px; }

	/*Стили для transition*/
	.wrap-img { display: block; position: relative; float: left; }
	.anoncethumb .wrap-img:before { transition: background-color 1s; position: absolute; content: ''; background-color: transparent; top: 0; left: 0; right: 0; bottom: 0; }
	.anoncethumb:hover .wrap-img:before { background-color: rgba(0, 101, 153, .85); z-index: 10; background-image: url('img/cover.png'); background-repeat: no-repeat; background-position: center center; }

	#footerbar { padding: 40px 40px 0; margin-bottom: 40px; }
	#footerbar .widget:nth-child(3n), #footerbar .widget:nth-child(3n+1), 
	#footerbar .widget {width: 30%;margin-right: 5%;padding: 0;}
	#footerbar .widget:nth-child(3n) {margin-right: 0;}
	#footerbar .widget:nth-child(3n) li:nth-child(even),
	#footerbar .widget:nth-child(3n) li { width: auto; float: none; margin-left: 0; }

	#header .inner, .infobar .inner { width: auto; padding: 0 40px;}

}

@media screen and (min-width:1200px) {
	#header .inner, .infobar .inner { width: 100%; padding: 0; }
}
@media screen and (min-width:1162px) {
	.widget .counter span { float: right; padding: 8px 6px 8px 4px; font-family: 'PT Sans Narrow', sans-serif; font-weight: bold; color: #4b4b4b; font-size: 15px; }
	.widget .counter span { display: block; border: 1px solid #b3b3b3; float: left; border-radius: 0 5px 5px 0; border-left: none; }
	.widget_social .sidebar-buttons { border-radius: 5px 0 0 5px; float: left; transition: ease-out 0.3s; }
	.widget_social .counter { display: inline-block; width: 27.5%; margin-right: 6.75%; }
}

.fullsidebox {background: url("img/fullform.png") no-repeat scroll 0 0 transparent; height: 94px; width: 650px;position:relative;}
.fullsidepole {background: url("img/fullinput.png") no-repeat scroll 0 0 transparent; border: none !important; height: 27px; padding-left: 25px !important; width: 190px !important; position: absolute; right: 60px; top: 14px;}
.fullsidebut {background: url("img/fullbut.png") no-repeat scroll 0 0 transparent; border: medium none; color: #c8c8c8; cursor: pointer; font-weight: bold; height: 27px; position: absolute; right: 12px; top: 14px; width: 71px; text-shadow: 0 0 1px #FFFFFF;}
.fulltxt {color: #4D6780; font-family: Times New Roman; font-size: 20px; font-weight: bold; left: 75px; position: absolute; text-shadow: 0 1px 1px #FFFFFF; top: 12px;}
.fulltxtsubs {position: absolute; color: #90897D; font-size: 12px;left: 75px;top: 30px; font-family: Times New Roman;}
.fulltxtaccept {bottom: 15px; color: #A59F94; font-size: 9px; left: 60px; position: absolute;}
/* форма подписки в сайдбаре */
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,400italic,700,700italic&subset=latin,cyrillic);
.subscribe20 {
background: url("http://galga.ru/wp-content/uploads/2016/12/feed-obod.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
margin: 0;
padding: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow:  0 1px 0 0 rgba(255, 255, 255, 0.88) inset, 0 0 1px 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow:  0 1px 0 0 rgba(255, 255, 255, 0.88) inset, 0 0 1px 0 rgba(0, 0, 0, 0.5);
box-shadow:  0 1px 0 0 rgba(255, 255, 255, 0.88) inset, 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
.subscribe20 .inner {
background: #f6f6f6;
font: 13px/18px Verdana,Arial,sans-serif;
margin: 0;
padding: 20px 90px 20px 30px;
position: relative;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.subscribe20 .stamp {
background: url("http://galga.ru/wp-content/uploads/2016/12/feed-konvert.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
height: 64px;
position: absolute;
right: 0;
top: 12px;
width: 88px;
}
.subscribe20 h3 {
margin-top: 0;
color: #283537;
font: bold 20px/24px "Roboto Condensed",Arial,sans-serif;
text-transform: uppercase;
}
.subscribe20 #asd_subscribe_form {
display: inline-block;
margin: 0;
position: relative;
}
.subscribe20 p {margin: 0 0 10px;}
.subscribe20 .submit_group{position: relative;}
.subscribe20 input[name="asd_email"] {
box-shadow: 0 0 5px 0 #bbbbbb inset, 0 1px 0 0 #ffffff;
font: normal 18px/31px "Roboto Condensed",Arial;
width: 219px;
background: linear-gradient(to bottom, #ffffff 0px, #e7e7e7 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 1px solid #ababab;
border-radius: 5px;
color: #283537;
margin: 0;
padding: 4px 6px;
position: relative;
text-decoration: none;
outline: 0 none;
}
.subscribe20 input[name="asd_submit"] {
margin-top: -14px;
padding: 4px 10px;
position: absolute;
right: 7px;
top: 50%;
border: 0 none;
color: #ffffff;
font: normal 16px/18px "Roboto Condensed",sans-serif;
text-shadow: none;
text-transform: uppercase;
cursor: pointer;
background: #F64214;
background: -moz-linear-gradient(top,#f64214 0,#cb3914 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#F64214),color-stop(100%,#CB3914));
background: -webkit-linear-gradient(top,#F64214 0,#CB3914 100%);
background: -o-linear-gradient(top,#f64214 0,#cb3914 100%);
background: -ms-linear-gradient(top,#f64214 0,#cb3914 100%);
background: linear-gradient(to bottom,#F64214 0,#CB3914 100%);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-box-sizing:  border-box;
-moz-box-sizing:  border-box;
box-sizing:  border-box;
}
.subscribe20 input[name="asd_submit"]:hover{
background: #CB3914;
background: -moz-linear-gradient(top,#cb3914 0,#f64214 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#CB3914),color-stop(100%,#F64214));
background: -webkit-linear-gradient(top,#CB3914 0,#F64214 100%);
background: -o-linear-gradient(top,#cb3914 0,#f64214 100%);
background: -ms-linear-gradient(top,#cb3914 0,#f64214 100%);
background: linear-gradient(to bottom,#CB3914 0,#F64214 100%);
}
.subscribe20 input[name="asd_submit"]:active{background: #cb3914;}