/*
Theme Name: Relax
Theme URI: http://smthemes.com/relax/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 2.2
License: Creative Commons 3.0
Theme date: 12/09/2014
License URI: license.txt
Tags: black, green, dark, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/


/*	-==========================- GENERAL -==========================-  */
/*------------------------------ PAGE ------------------------------*/
@import url(css/font.css);
@import url(https://fonts.googleapis.com/css?family=Cuprum:400,700&subset=latin,cyrillic);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700&subset=latin,cyrillic);

html {
	background:url(images/back.png) center;
	background-color:#fff;
}
body {	
	color:#222222;
	position:relative;
	font-family: 'Open Sans', sans-serif;
}


.bodysite {
	max-width: 1200px;
	margin: 0 auto;
	}

.leftcontent {
	float:left;
	width: 900px;
	}

#secondsidebar {
	float: left;
	width: 300px;
	position: relative;
	background: #f1eee9;
	padding:10px 10px 10px 15px;
	border-top: 5px solid #ececec;
	border-right: 5px solid #ececec;
	border-bottom: 5px solid #ececec;
	box-sizing: border-box;
}

.logo {
	margin-left: 20px;
}
a {
	color:#181818;
}
a:hover {
	color:#3134bc;
}
a.post_ttl, .post-caption h1 {
	color:#181818;
	font-size:20px;
	font-family: 'Cuprum', sans-serif;
	font-weight: bold;
}
h2 a.post_ttl:hover{
	color:#3134bc;
}
.page-title {
	color:#3134bc;
	font-size:20px;
	font-family: 'Cuprum', sans-serif;
	font-weight: bold;
}



/*------------------------------ HEADER ------------------------------*/
#header .container{
	position:relative;
	text-align:center;
}
#secondarymenu-container {
	position:relative;
}


/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	height:23px;
	line-height:23px;
	color:#a3a3a3;
}
.searchbtn {
	height:23px;
	width:17px;
	margin-right:10px;
}
.searchform {
	height:23px;
	background:#181818;
	border:1px solid #454545;
	margin:0;
}

/*------------------------------ CONTENT ------------------------------*/
.one-post { 
	margin-bottom:30px;
}
.articles .post-body {
	line-height:21px;
}
.articles .post-caption { 
	padding:0;
}
.articles .post-caption h2, .articles .post-caption h1 {
	background:#babab8;
	padding:9px 21px;
}
#commentform #submit, input.readmore, a.readmore {
	background: #f4f4f1;
	border:none;
	border-top:1px solid #e3e3e0;
	border-bottom:1px solid #e3e3e0;
	width:100%;
	text-align:right;
	color:#181818;
	font-size:13px;
	text-transform:lowercase;
	padding:4px 15px !important;
}
a.readmore { 
	margin:0;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	color:#3134bc;
	text-decoration:none;
}
.featured_image{
	border:1px solid #babab8;
	background:#fff;
	padding:3px;
	margin:0 0 0 9px !important;
}
.fimage { 
	position:relative;
	z-index:99;
}
.post-meta { 
	background:#e9e9e6;
	padding:9px 21px !important;
	border-top:1px solid #fafaf7;
	color:#2E2E2E;
	font-size:12px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300; 
}
.post-meta a { color:#2E2E2E; text-decoration:underline; }
.post-meta a:hover { color:#3134bc; }
.post-date { 
	position:absolute;
	left:-9px;
	top:38px;
	background:url(images/post-date.png) top no-repeat;
	color:#fff;
	font-size:13px;
	font-family: 'Open Sans', sans-serif;
	text-align:center;
	padding:11px 21px;
}
.post-date .day { 
	float:left;
	font-size:48px;
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
}
.post-date .meta { 
	float:left;
	text-transform:lowercase;
	text-align:left;
	margin-top:-10px;
	margin-left:6px;
	background:url(images/post-date-meta.png) left no-repeat;
	padding-left:6px;
}
.fimage.no_thumb { margin-top:0; }
.fimage.no_thumb .post-date{ 
	position:relative;
	float:left;
	left:0;
	top:0;
}
.articles .fimage.no_thumb .post-date{ 
	background:none;
	color:#e9e9e6;
	padding:18px 21px 10px;
	background:url(images/date-sepa.png) right no-repeat;
	margin-right:20px;
}
.articles .fimage.no_thumb .post-date .meta { 
	margin-left:0;
	background:none;
}
.page .articles .post-caption .post-head.no_thumb { margin-left:0; }
.articles .post-caption .post-head.no_thumb h2, .articles .post-caption .post-head.no_thumb h1 { 
	padding-bottom:30px;
}
.page .articles .post-caption .post-head.no_thumb h2, .page .articles .post-caption .post-head.no_thumb h1 {
	padding-bottom:9px !important;
}
.googlemap {
	padding:0;
	border:none;
}
.widget_posts ul li img,.widget_flickr a {
	border:none;
	padding:0;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:left;
}
.page-numbers {
	padding:5px 10px;
	font-family: 'Cuprum', sans-serif;
	font-weight: bold;
	font-size:20px;
}
a.page-numbers,
body.woocommerce nav.woocommerce-pagination ul li a,
body.woocommerce-page nav.woocommerce-pagination ul li a,
body.woocommerce #content nav.woocommerce-pagination ul li a,
body.woocommerce-page #content nav.woocommerce-pagination ul li a,
body.woocommerce nav.woocommerce-pagination ul li span,
body.woocommerce-page nav.woocommerce-pagination ul li span,
body.woocommerce #content nav.woocommerce-pagination ul li span,
body.woocommerce-page #content nav.woocommerce-pagination ul li span {
	background:none !important;
	color:#babab8;
	text-decoration:none;
}
a.page-numbers:hover, 
span.page-numbers,
body.woocommerce nav.woocommerce-pagination ul li span.current,
body.woocommerce-page nav.woocommerce-pagination ul li span.current,
body.woocommerce #content nav.woocommerce-pagination ul li span.current,
body.woocommerce-page #content nav.woocommerce-pagination ul li span.current,
body.woocommerce nav.woocommerce-pagination ul li a:hover,
body.woocommerce-page nav.woocommerce-pagination ul li a:hover,
body.woocommerce #content nav.woocommerce-pagination ul li a:hover,
body.woocommerce-page #content nav.woocommerce-pagination ul li a:hover,
body.woocommerce nav.woocommerce-pagination ul li a:focus,
body.woocommerce-page nav.woocommerce-pagination ul li a:focus,
body.woocommerce #content nav.woocommerce-pagination ul li a:focus,
body.woocommerce-page #content nav.woocommerce-pagination ul li a:focus  {
	color:#3134bc;
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	background:#fffffc;
	border-bottom:1px solid #babab8;
	border-top:1px solid #babab8;
	color:#787878;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

#footer a{}

#footer h3{
	font-family: 'Cuprum', sans-serif;
	font-weight: bold;
	font-size:20px;
	color:#2E2E2E;
}
#footer .widget_archive ul li a, 
#footer .widget_categories ul li a, 
#footer .widget_meta ul li a, 
#footer .widget_pages ul li a, 
#footer .widget_recent_entries ul li a{
	text-decoration:none;
	text-transform:uppercase;
}

#footer .container {
}
.footer_txt {
	color:#787878;
}
#footer .footer_txt .container {
}
.footer-widgets {
}
/*------------------------------ WIDGETS AND SLIDER ------------------------------*/
.content-r .sidebar.right, .content-lr .sidebar.right, .content-r2 .sidebar.left, .content-r2 .sidebar.right {
	margin-left:5px;
}
.content-l .sidebar.left, .content-lr .sidebar.left, .content-l2 .sidebar.left, .content-l2 .sidebar.right{
	margin-right:5px;
}

.widget_archive ul li:before, 
.widget_categories ul li:before, 
.widget_meta ul li:before, 
.widget_pages ul li:before, 
.widget_recent_entries ul li:before{
	content:none !important;
}
#content .widget .caption h3 {
	color:#181818;
	font-family: 'Cuprum', sans-serif;
	font-weight: bold;
	font-size:20px;
	background:#babab8;
	padding:10px 20px;
	border-bottom:1px solid #929290;
	margin-bottom:20px;
}
#content .widget_archive ul li a, 
#content .widget_categories ul li a, 
#content .widget_meta ul li a, 
#content .widget_pages ul li a, 
#content .widget_recent_entries ul li a{
	text-decoration:none;
}
#content .widget {
	margin-bottom:20px;
}
.widget_posts .day{}
.widget_posts .date{}
.tabs_captions .scaption{
	background:#e9e9e6;
	border:1px solid #c2c2bf !important;
	color:#646464;
	font-family: 'Cuprum', sans-serif;
	font-weight: bold;
	font-size:18px;
	padding:4px 8px !important;
	margin:3px;
}
.tabs_captions .scaption.active, .tabs_captions .scaption:hover{
	background:#babab8;
	border:1px solid #929290 !important;
	color:#181818;
}
.fp-next{
	background-position:left 50%;
	width:27px;
}
.fp-prev {
	background-position:right 50%;
	width:27px;
	
}
	
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content {
		padding-left:15px;
	}
	#header { 

	}
	#header .back { 
		background:url(images/header.png) center repeat;
		-moz-background-size: 100%; 
		-webkit-background-size: 100%; 
		-o-background-size: 100%;
		background-size: 100%;
		max-height:600px;
		width:100%;
		position:absolute;
		left:0;
		right:0;
		top:0;
		bottom:0;
	}
	.no-slider #header .back { 
		height:136px;
	}
	#header .bottom-back {
		height:85px;
		bottom:106px;
		background:url(images/header-repeat.png) repeat-x;
		position:absolute;
		left:0;
		right:0;
		z-index:10;
	}
	#header .sofa { 
		background:url(images/sofa.png) bottom no-repeat;
		bottom:110px;
		width:900px;
		height:185px;
		position:absolute;
		z-index:999;
		left:0;
		right:0;
		margin:0 auto;
	}
	.no-slider #header .bottom-back, .no-slider #header .sofa { display:none; }
	.content-r #main_content, .content-r2 #main_content{
		padding:0 10px 20px 0;
	}
	.content-l #main_content, .content-l2 #main_content{
		padding:0 0 20px 20px;
	}
	.content-lr #main_content{
		padding:0 20px 20px;
	}
	.content-n #main_content { 
		padding:0 0 20px;
	}
	#content .container {
	}
	#logo {
		position:absolute;
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:136px;
		position:relative;
		z-index:999;
	}
	
	
	#secondarymenu {
		float:right;
		height:34px;
	}
	#secondarymenu a {
		padding:0 9px;
		height:34px;
		line-height:34px;
		color:#fff;
		font-family: 'Open Sans', sans-serif;
		text-transform:lowercase;
		font-size:12px;
	}
	#secondarymenu a:hover{
		text-decoration:underline;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:35px;
		z-index:18;
		position:relative;
		margin:0 auto 25px;
		z-index:9999;
	}
	#mainmenu {
		float:none;
		height:35px;
		background:#181818;
		display:inline-block;
		border-radius:0 0 11px 11px;
		-moz-border-radius:0 0 11px 11px;
		-webkit-border-radius:0 0 11px 11px;
	}	
	.menusearch {
		width:160px;
	}
	.menusearch #s { 
		width:105px;
	}
	#mainmenu li a {
		padding:0 14px;
		font-size:15px;
		font-family: 'Cuprum', sans-serif;
	font-weight: bold;
		color:#fff;
		height:35px;
		line-height:35px;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		color:#ddd;
	}


	#header li ul {	top:57px; }
	#header #mainmenu li ul { top:37px; }
	
	#header li ul .transparent {	}
	#header li ul .inner { 
		background:#525252; 
		padding:0 !important;
	}
	#header #mainmenu li ul .transparent {	}
	#header #mainmenu li ul .inner { 
		border-bottom:3px solid #535353;
		background:#999; 
		padding:0 !important;
		border-radius:0 0 5px 5px; 
		-moz-border-radius:0 0 5px 5px; 
		-webkit-border-radius:0 0 5px 5px; 
	}
	
	#header ul.children li, #header .sub-menu li { height:auto !important; }
	#header ul.children li a, #header .sub-menu li a {
		color:#2E2E2E; 
		height:auto !important;
		padding:5px 20px !important;
		text-align:left;
		font-family: 'Open Sans', !important;
		font-weight: 300;
		text-transform:lowercase;
		text-decoration:none !Important;
	}
	#header ul.children li a:hover, #header .sub-menu li a:hover {
		color:#fff !important;
	}
	
	#header #mainmenu ul.children li a, #header #mainmenu .sub-menu li a {
		font-family:'Cuprum', !important;
		font-size:15px !important;
		font-weight: bold;
		color:#fff;
		text-transform:none !important;
	}
	#header #mainmenu ul.children li a:hover, #header #mainmenu .sub-menu li a:hover {		
		color:#ddd !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		border:1px solid #f4f4f1;
		width:898px;
		height:311px;
		margin:0 auto 150px;
	}
	.slider {
		position:absolute;
	}
	.fp-next, .fp-prev {
		margin:142px 24px;
		width:57px;
		height:57px;
	}
	.fp-title{
		background:url(images/fp-title.png);
		padding:20px;
		border-top:1px solid #525252;
		border-bottom:1px solid #525252;
	}
	.fp-title a { 
		color:#181818;
		font-size:30px;
		font-family: 'Cuprum', sans-serif;
	font-weight: bold;
		text-decoration:none !Important;
	}
	
	.fp-prev-next-wrap {
		margin:0 0px;
		z-index:999;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:311px;
		width:898px;
		position:relative;
		z-index:900;
	}
	.fp-content-fon {
		display:none;
	}
	.fp-content { 
		left:266px;
		right:266px;
		height:167px;
		bottom:30px;
		text-align:left;
		font-size:13px;
		z-index:9999;
	}
	.fp-more {
		background:#babab8; 
		border:1px solid #8f8f8d;
		color:#fff !Important;
		text-transform:lowercase !important;
		text-decoration:none;
		display:block;
		width:78px;
		height:25px;
		line-height:25px;
		text-align:center;
		margin:-19px auto 0;
	}
	.fp-content p { 
		background:url(images/fp-content.png);
		color:#757575;
		padding:20px 20px 30px;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}
	
	#footer .footer_txt  {
		margin:0 auto;
		padding-left:0;
		padding:20px 0;
	}
	#footer .footer_txt .container { padding-left:20px; }
	
	

}	

/* WooCommerce */
.woocommerce a.button.alt, 
.woocommerce-page a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce-page button.button.alt, 
.woocommerce input.button.alt, 
.woocommerce-page input.button.alt, 
.woocommerce #respond input#submit.alt, 
.woocommerce-page #respond input#submit.alt, 
.woocommerce #content input.button.alt, 
.woocommerce-page #content input.button.alt,
.woocommerce-page #content .products li a.button {
	background: #f4f4f1 !important;
	border:none !Important;
	border-top:1px solid #e3e3e0 !important;
	border-bottom:1px solid #e3e3e0 !important;
	color:#181818 !important;
	text-transform:lowercase !important;
	text-shadow:none !Important;
	box-shadow:none !Important;
	font-weight:normal !Important;
}
.woocommerce a.button.alt:hover, 
.woocommerce-page a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce-page button.button.alt:hover, 
.woocommerce input.button.alt:hover, 
.woocommerce-page input.button.alt:hover, 
.woocommerce #respond input#submit.alt:hover, 
.woocommerce-page #respond input#submit.alt:hover, 
.woocommerce #content input.button.alt:hover, 
.woocommerce-page #content input.button.alt:hover,
.woocommerce-page #content .products li a.button:hover  {
	color:#3134bc !Important;
}
.widget.woocommerce.widget_product_search #s {  
	background:#181818 !important;
	border:1px solid #454545 !important;  
	color:#fff !important;
}
.widget.woocommerce.widget_product_search #searchsubmit {
	background:#262626;
	padding:2px 6px;
	color:#fff;
}
.widget.woocommerce.widget_product_search #searchsubmit:hover { 
}
.widget.woocommerce.widget_product_search { 
}
.woocommerce table.shop_table, .woocommerce-page table.shop_table {
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle { 
	background:#babab8 !Important;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce-page .widget_price_filter .ui-slider .ui-slider-range { 
	background:#e9e9e6 !Important;
}
.woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3 { 
}
.woocommerce-page #main_content > #container > #content { 
	padding:15px 0 !Important;
}

/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
		background:#353535;
	}
	#logo {
		float:left;
		margin-left:15px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		position:absolute;
		right:15px;
		top:40px;
	}
	#secondarymenu-container {
		padding-top:0px;
	}
	#secondarymenu {
		clear:both;
	}
	#secondarymenu li {
		
	}
	#secondarymenu li a{
		padding:15px;
		font-size:12px;
		color:#fff;
		text-transform:lowercase;
		font-family: 'Open Sans', sans-serif;
	}
	#header li ul{
		padding:0 0 0 15px;
	}
	#header li ul li a{
		padding:0;
	}	
	#mainmenu-container {
		clear:both;
		padding-bottom:10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#fff;
		text-decoration:none;
		font-size:15px;
		font-family: 'Cuprum', sans-serif;
	font-weight: bold;
		padding:10px 15px;
		display:block;
	}

	
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;margin-top:28px;}
	#header {
		background:#353535;	
	}
	#logo {
		margin-top:5px;
	}
	.featured_image {
		margin-bottom:15px !Important;
	}
	.post-head {
		margin:0 !important;
		clear:both !important;
	}
	.no_thumb .post-date { 
		background:#babab8 !important;
	}
	.searchbtn {
		width:auto !important;
	}
	#secondarymenu-container {
		padding-top:6px;
	}
	#secondarymenu, #mainmenu {
		background:#fff;
		padding:0 2%;
		margin-top:10px;
	}
	#secondarymenu li, #mainmenu li {
		border-top:1px solid #d7d7d7;
	}
	#secondarymenu li a, #mainmenu li a{
		color:#363636;
		text-decoration:none;
	}
	.fp-next, .fp-prev {
		margin:0 -5px;
	}
	.footer-widgets .widgetf:first-child {
		border:none;
	}
	
	#footer {
		width:100%;
	}
	.widgetf {
		border-top:1px solid #d3d3d3;
	}
	.articles .post-date {
		float:none;
	}
	.articles dt p img {
		display:none;
	}
	.fp-nav {
		bottom:-18px;
	}
	.slider-container {
		padding-bottom:20px;
	}
	#s {
		width:70%;
	}
}