/*   
Theme Name: faleev.com
Theme URI: https://github.com/saxap/clean-wp-template
Version: 3.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting
Author: saxa:p
Author URI: http://dontforget.pro
*/

img.alignright {
	float: right;
	margin-left: 5px;
}

.alignleft {
	float: left;
	margin-right: 5px;
}

.aligncenter {
	display: block;
	margin: auto;
}

html {
	margin: 0;
	padding: 0;	
	min-width: 1000px;
}

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	margin: 0;
	padding: 0;
	font-size: 16px;
    background: #ffffff url(images/all-bg.png) repeat-x left top;
	color: #333;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

* {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.clear {
	clear: both;
}

input {
    font-size: 12px;
    color: #000000;
    padding: 6px;
    border: 1px solid #e0e0df;
    vertical-align: middle;
    background: url(images/search-input-bg.png) repeat-x left top;
}

table {
    border-collapse: collapse;
}

h1 {
    font-size: 23px;
    margin-top: 0px;
    font-weight: normal;
    color: #4366a6;
}

h2 {
    font-size: 20px;
    margin-top: 0px;
    font-weight: normal;
    color: #666666;
    letter-spacing: 0px;
}

.wrapper {
	width: 95%;
    margin: auto;
    padding-top: 7px;
    min-width: 1000px;
}

header {
    width: 100%;
    background: url(images/header-bg.png) repeat-x left top;
    height: 77px;
    position: relative;	
	display: -webkit-box;	
	display: -webkit-flex;	
	display: -ms-flexbox;	
	display: flex;
}

.logo {
    padding: 11px 19px 13px 13px;
}

.logo img {
	min-width: 257px;
}

.main_menu {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	list-style-type: none;
	margin-bottom: 0;
    margin-top: 28px;
	padding: 0;
}

.main_menu a {
	display: block;
    background: url(images/menu-item-border.png) no-repeat left top;
    text-decoration: none;
    padding: 15px 15px 0px 15px;
    text-align: center;
    margin-bottom: 1px;
    color: #333;
	height: 48px;
}

.navbar {
	width: 100%;
}

.main_menu li {
	width: 100%;
    white-space: nowrap;	
}

.current-menu-item a {
	color: #4366a6;
}

.main-img {
    height: 240px;
    width: 100%;
    background: url(images/main-img-bg.png) repeat-x left top;
    position: relative;
}

.main-img .quote {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 310px;
	color: #fff;
	padding-left: 10px;
	line-height: 1.3;
}

.main-img .quote .author {
	text-align: right;
	font-style: italic;
	font-size: 12px;
}

.main-img .quote span {
	margin-left: -10px;
}

.border_style {
    border: 1px solid #dfdfdf;
    padding: 4px;
	background: #fff;
}

.box {
    background: url(images/grad-box-bg.png) repeat-x left 26px;	
}

.box_title {
    font-size: 13px;
    margin: 0px 0px 10px 0px;
    font-weight: bold;
    color: #ffffff;
    display: block;
    background: url(images/title-blue-bg.png) repeat-x left top #3371bc;
    padding: 5px 6px 6px 25px;
}

.box_title_green {
    font-size: 13px;
    margin: 0px 0px 10px 0px;
    font-weight: bold;
    color: #ffffff;
    display: block;
    background: url(images/title-green-bg.png) repeat-x left top #38a02a;
    padding: 5px 6px 6px 25px;	
}

.left_sidebar {
    min-width: 273px;
	width: 273px;
	margin-right: 31px;
}

.left_sidebar .border_style {
	height: 100%;
	background: url(images/left-column-bg.jpg) no-repeat center bottom #ffffff;
	padding-bottom: 230px;
}

.content_wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
	margin-top: 13px;
}

.main_content {
	width: 100%;
}

.content_box {
	padding: 20px 30px 30px 30px;
}

.content_box a {
    color: #38a02a;
	font-weight: 600;
}

.content_box a:hover {
    text-decoration: none;
}

.box ul {
    padding: 0px 25px 10px 25px;
	margin: 0;
	list-style-type: none;
}

.box ul a {
    padding-left: 15px;
    background: url(images/arrow-left.png) no-repeat left 5px;
    display: block;
    color: #000000;
    text-decoration: none;
}

.box ul a:hover {
    color: #666666;
}

.box ul li {
    margin: 0px;
    padding: 0px;
    line-height: 15px;
    padding: 10px 0;
    background: url(images/dashed-border.png) repeat-x left bottom;
	font-size: 13px;
}

.box ul li:last-child {
	background: none;
}

.footer_menu {
	list-style-type: none;
	padding: 10px 0px 0px 0px;
	margin: 0;
	text-align: center;
}

.footer_menu li {
	display: inline-block;
}

.footer_menu li a {
    color: #666666;
    font-weight: bold;
	text-decoration: none;
	font-size: 14px;
}

.footer_menu li a:hover {
	color: #999;
}

.copyright {
	text-align: center;
	font-size: 13px;
	margin: 20px 0;
}

.Font20px {
    font-size: 20px;
}

.FC25 {
    color: #FF00FF;
}

.search-btn {
    padding: 0px;
    border: 0px;
    vertical-align: middle;
    background: url(images/search-btn.png) no-repeat left top;
    width: 29px;
    height: 27px;
}

.home .search {
	text-align: right;
    margin: 6px 0;
}

.bordered {
    border-top: 4px solid #eeeeee;
    padding: 20px 0px 0px 0px;
    margin-top: 20px;
}

.left_sidebar .search {
	margin: 0 0 4px 0;
}

.input_search {
	width: 230px;
}

.tac {
	text-align: center;
}

.pagination {
	list-style-type: none;
	padding: 0;
	text-align: center;
}

.pagination li {
	display: inline-block;
}

.pagination li a {
	padding: 5px 8px;
}

.paginator {
	text-align: center;
    margin: 25px 0;
}

.stati h2 {
	margin-bottom: 10px;
}

.stati h2 a {
	color: #4366a6;
	font-size: 18px;
}

.post_view {
    background: url('images/view.png') left 2px no-repeat;
    padding-left: 25px;
}

.share_btn, .wpulike {
	text-align: center;
}

.wp_ulike_likers_wrapper {
    left: 50%;
    margin-left: -24px;
}

.dashed {
    padding: 20px 0px 20px 0px;
    background: url(images/dashed-border.png) repeat-x left top;
}

.category-7 .paginator {
	border-top: 4px solid #eeeeee;
    padding: 20px 0px 0px 0px;
}

.last_posts .title {
	font-size: 13px;
    margin: 0px;
    font-weight: bold;
    color: #4366a6;
}

.last_posts ul {
	list-style-type: none;
	padding: 0;
}

.last_posts ul li {
    margin: 0px;
    line-height: 15px;
    background: url(images/dashed-border.png) repeat-x left bottom;	
	font-size: 13px;
	padding: 5px 0px 9px 0px;
}

a.arrow {
    font-weight: bold;
    color: #999999;
    padding-left: 15px;
    background: url(images/arrow-left.png) no-repeat left 6px;
    display: block;
    margin: 10px 0px 0px 0px;
}

.last_posts a.arrow {
	font-size: 13px;
}

.last_posts_wrapper {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.last_posts {
	width: 33%;
	padding-right: 20px;
}

.wp-caption-text {
	margin: 0;
}

table td {
    border: 1px solid #dfdfdf;
    padding: 4px;
    background: #ffffff;
}

.text_box {
	text-align: center;
	font-size: 13px;
}

.text_box a {
    color: #38a02a;	
}

.text_box .feedback {
	text-align: left;
}

.enter-btn {
    padding: 0px;
    border: 0px;
    vertical-align: middle;
    background: url(images/enter-btn.png) no-repeat left top;
    width: 29px;
    height: 27px;
}

.feedback {
	padding: 0px 20px 10px 20px;
}

.feedback input, .feedback textarea {
	width: 100%;
	resize: none;
	font-family: 'Roboto', sans-serif;
}

.feedback textarea {
	height: 100px;
}

.feedback input {
	margin-bottom: 10px;
}

.jump_posts {
	width: 100%;
}

.jump_posts a {
	max-width: 350px;
}

.jump_posts a:nth-child(1) {
	float: left;
}

.jump_posts a:nth-child(2) {
	float: right;
}

.breadcrumbs {
    padding-bottom: 10px;
    background: url(images/dashed-border.png) repeat-x left bottom;
    width: 100%;
	margin-bottom: 20px;
}

.masseg_404 {
	text-align: center;
	font-size: 20vh;
	color: #179106;
	padding-top: 10vh;
}

div.wpcf7-response-output {
	margin: 0;
}

.btn_wrapper {
	position: relative;
}

.ajax-loader {
	position: absolute;
    right: -20px;
    top: 5px;
}

.wpcf7-not-valid-tip {
	display: none !important;
}

.wpcf7-not-valid {
	border: 1px solid red;
}

#comments {
	padding: 40px 0 20px 0;
}

#comments .wpulike {
	display: none;
}

#wpcomm button, #wpcomm input[type="button"], #wpcomm input[type="reset"], #wpcomm input[type="submit"] {
	color: #000 !important;
}

.mask {
	display: none;
}

.hamburger {
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  -webkit-transition-property: opacity, -webkit-filter;
  transition-property: opacity, -webkit-filter;
  -o-transition-property: opacity, filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  -webkit-transition-duration: 0.15s;
       -o-transition-duration: 0.15s;
          transition-duration: 0.15s;
  -webkit-transition-timing-function: linear;
       -o-transition-timing-function: linear;
          transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
    position: absolute;
    top: 7px;
    right: 0;  }
  .hamburger:hover {
    opacity: 0.7; }

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #000;
    -webkit-border-radius: 4px;
            border-radius: 4px;
    position: absolute;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.15s;
         -o-transition-duration: 0.15s;
            transition-duration: 0.15s;
    -webkit-transition-timing-function: ease;
         -o-transition-timing-function: ease;
            transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -10px; }
  .hamburger-inner::after {
    bottom: -10px; }
.hamburger--slider .hamburger-inner {
  top: 2px; }
  .hamburger--slider .hamburger-inner::before {
    top: 10px;
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    -o-transition-property: transform, opacity;
    transition-property: transform, opacity;
    transition-property: transform, opacity, -webkit-transform;
    -webkit-transition-timing-function: ease;
         -o-transition-timing-function: ease;
            transition-timing-function: ease;
    -webkit-transition-duration: 0.15s;
         -o-transition-duration: 0.15s;
            transition-duration: 0.15s; }
  .hamburger--slider .hamburger-inner::after {
    top: 20px; }

.hamburger--slider.is-active .hamburger-inner {
  -webkit-transform: translate3d(0, 10px, 0) rotate(45deg);
          transform: translate3d(0, 10px, 0) rotate(45deg); }
  .hamburger--slider.is-active .hamburger-inner::before {
    -webkit-transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
            transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
    opacity: 0; }
  .hamburger--slider.is-active .hamburger-inner::after {
    -webkit-transform: translate3d(0, -20px, 0) rotate(-90deg);
            transform: translate3d(0, -20px, 0) rotate(-90deg); }
	
#mob_menu {
	display: none;
}	

.left_sidebar_title {
	display: none;
}

.forum_list {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.forum_list_wrapper {
	width: 47%;
}

.forum_list ul {
	list-style-type: none;
	padding: 0;
}

.forum_list li {
    margin: 0px;
    line-height: 15px;
    background: url(images/dashed-border.png) repeat-x left bottom;
    font-size: 13px;
    padding: 5px 0px 9px 0px;
}

.forum_list_wrapper h3 {
    font-size: 13px;
    margin: 0px;
    font-weight: bold;
    color: #4366a6;	
}

.read_more {
	display: inline-block;
	margin-top: 10px;
	
}

.forum_list a.arrow {
	font-size: 13px;
}

.content_box .forum_link {
	margin: 5px 0;
	display: inline-block;
	color: #4366a6;
	text-decoration: none;
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	
	/*Disable Animation on Mobile Devices*/
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		animation: none !important;
	}

}

@media only screen and (max-width : 640px) {
	html {
		min-width: 100%;
	}
	
	body {
	    font-size: 14px;	
		background: none;
		border-top: 5px solid #3371BC;
		word-wrap: break-word;
	}
	
	.wrapper {
		min-width: 100%;
	}
	
	.main_menu {
		display: none;
	}
	
	#top__menu #left_menu .box {
		background: none;
	}
	
	.last_posts_wrapper {
		-webkit-flex-wrap: wrap;
		    -ms-flex-wrap: wrap;
		        flex-wrap: wrap;
	}
	
	.last_posts {
		width: 100%;
		padding-right: 0;
		margin-bottom: 30px;
	}
	
	.last_posts_wrapper .last_posts:last-child {
		margin-bottom: 0;
	}
	
	.content_wrapper {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	
	.left_sidebar {
		-webkit-box-ordinal-group: 3;
		-webkit-order: 2;
		    -ms-flex-order: 2;
		        order: 2;
		min-width: 100%;
		width: 100%;
		margin: auto;		
	}
	
	.main_content {
		-webkit-box-ordinal-group: 2;
		-webkit-order: 1;
		    -ms-flex-order: 1;
		        order: 1;
	}
	
	.left_sidebar .feedback {
		max-width: 290px;
		margin: auto;
	}
	
	.footer_menu {
		padding: 0 15px;
	}
	
	.home .main_content .search {
		display: none;
	}
	
	.main-img {
		background: none;
		height: auto;
	}
	
	.main-img .quote {
		top: 20px;
		right: 0;
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
		font-size: 15px;
	}	
	
	.content_box {
		padding: 20px 15px 30px;
	}
	
	h1 {
		font-size: 20px;
		line-height: 1.3;
	}
	
	h2 {
		font-size: 18px;
		line-height: 1.3;
	}
	
	.mask {
		background: rgba(0,0,0,0.2);
		display: block;
		position: absolute;
		width: 100%;
		height: 100%;
	}
	
	.left_sidebar .border_style {
		background: none;
		padding: 20px 0 0 0;
	}
	
	footer {
		margin-top: 20px;
	}
	
	.footer_menu li a{
		font-size: 13px;
	}
	
	#top__menu .box_title {
		background: none;
		color: #000;
	}
	
	header {
		display: block;
		height: auto;
		background: none;
	}
	
	#mob_menu {
		display: block;
	}
	
	#top__menu {
		display: none;
	}
	
	.search>div {
		max-width: 290px;
		margin: auto;
		text-align: center;
	}
	
	.thumb-wrap {
	  position: relative;
	  padding-bottom: 56.25%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
	  padding-top: 30px;
	  height: 0;
	  overflow: hidden;
	}
	.thumb-wrap iframe {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	}	
	
	.wp-pagenavi a, .wp-pagenavi span {
		text-decoration: none;
		border: 1px solid #BFBFBF;
		padding: 3px 5px;
		margin: 2px;
		display: inline-block;
	}	

	.wp-pagenavi .pages {
		display: block;
	}

	#wpcomm {
		padding: 1px 0 0px 0;
		margin: 7px auto 0px auto;
	}
	
	#comments {
		padding: 40px 0 0 0;
	}	
	
	.jump_posts a {
		float: none !important;
		margin: 10px 0;
		display: block;
	}
	
	.respons_table,
	.respons_table tbody,
	.respons_table tr, 
	.respons_table td {
		display: block;
		width: 100%;
		height: 100%;
	}
	
	img.alignright, img.alignleft {
		display: block;
		float: none;
		margin: auto;
	}
	
/* 	.left_sidebar #left_menu .box:nth-child(1) ul li {
		display: none;
	} */
	
	.left_sidebar #left_menu .box:nth-child(1) ul li:nth-child(1) {
		display: block;
	}
	
/* 	.left_sidebar #left_menu .box:nth-child(2) ul li:nth-child(5),
	.left_sidebar #left_menu .box:nth-child(2) ul li:nth-child(6) {
		display: none;
	} */
	
/* 	.left_sidebar #left_menu .box:nth-child(3),
	.left_sidebar #left_menu .box:nth-child(4) {
		display: none;
	} */
	
	.left_sidebar_title {
		display: block;
		text-align: center;
		margin-top: 20px;
		font-size: 25px;
	}
	
	.forum_list {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	.forum_list_wrapper {
		width: 100%;
	}	
	
	.forum_list .forum_list_wrapper:nth-child(2) {
		margin-top: 35px;
	}

	
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

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

	.logo img {
	    max-width: 195px;	
		min-width: auto;
	}

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}