/* ----------------------------------------------------------------------------------
	RESPONSIVE LAYOUTS
---------------------------------------------------------------------------------- */




/* Desktop / Laptop */
@media only screen and (max-width: 980px) {
	.s-header-prenav{
		padding:0 5px;

	}
	#logo{
		padding:0 10px;
	}
	.s-catalog-item{
		margin:5px;
	}
	.s-catalog-main-wrap,.s-catalog-wrap{
		justify-content: space-around;
	}
	.s-catalog-item{
		max-width:250px;
	}
	.s-item__photo{
		min-width: 300px;
	}
	.size-thumbnail {
		max-width:130px;
	}
	.s-block-info__items-wrap .s-block-info_item{
		max-width:200px;
	}

}

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

	.s-header-phone{
		margin:0 15px;
		
	}
	.s-header-prenav{
		justify-content: space-around;
	}

	
}
	
/* iPad & Tablet  Включение мобильного меню*/
@media only screen and (max-width: 868px) {

	.s-btn-calc{
		display:block;
		margin-top:20px;

	}
	.s-btn-calc{
		
		text-align:center;
	}
	.s-btn-zakaz{
		margin-left:30px;
	}
	#header-core{
		margin-top:30px;
	}
	.s-main-photo-block{
		justify-content: space-around;
	}


	.s-catalog-item{
		max-width:200px;
	}


	/* Header */
	#header {
		padding: 10px;
	}
	#logo {
		float: none;
		position: static;
		text-align: center;	
	
	}
	#header-core{
		align-items:center;
	}
	.s-nav-block{
		align-self: center;
	}
	#logo img {
		max-height: 70px;
	}
	#header-links,
	#pre-header-search {
		display: none;
	}
	#header-responsive {
		z-index: 110;
		left:0;
		right:0;
		position:fixed;
		top:0;
		display: flex;
		background: #333;
		justify-content: space-between;
		align-items: center;

	}
	#header-responsive{

	}
	.s-btn-responsive-wrap{


	}
	#header-responsive ul {
		margin: 0;
	}
	#header-responsive li {
		list-style: none;
	}
	#header-responsive .sub-menu li,
	#header-responsive .sub-menu li:hover {
		padding: 0;
	}
	#header-responsive li a {
		display: block;
		padding: 10px 25px;
		border-bottom: 1px solid #F0F0F0;
	}
	#header-responsive li a:hover,
	#header-responsive li.current_page_item > a {
		color: #F33F3F;
	}
	#header-responsive-inner {
		border-left: 1px solid #F0F0F0;
		border-right: 1px solid #F0F0F0;
	}

	.nav-collapse {
		overflow: hidden;
		height: 0;
	}
	.btn-navbar {
		display: flex;
		padding: 10px 10px;
		background-color: #9a3334;
		//border: 1px solid #222;
		max-width:80px;
		float:right;
		align-items:center;
	}
	#menu-header_menu{
		margin-left:0px;
	}
	#menu-header_menu li{
		list-style-type: none;
	}
	#menu-header_menu li a{
		width: 100%;
		//background:#fff;
		display:inline-block;
		padding:7px 7px 7px 15px;
		font-size:16px;
		Color:#fff;
		transition:0.5s;

	}
	.menu-item-has-children>a:after{
		position: relative;
		content: "\02C5";
		padding-left: 3px;
		transition:0.5s;
		transform: rotate(0deg);
		display:inline-block;
		margin-left:10px;
	}
	.s-wrap__resp-menu{
		display:block;
	}
	#header-responsive-inner{
		clear:both;
		position:relative;
		transition:0.1s;

	}
	#menu-header_menu{
		overflow-y:scroll;
		overflow-x:hidden;
	}
	.s-wrap__resp-menu{
		position:fixed;
		right:0;
		top:41px;
		//height:calc(100vh - 39px);
		background:#3e4753;
		z-index:101;
		width:250px;

	}
	.s-wrap__resp-menu .sub-menu{
		background:#222;
		margin-left:0px!important;
	}
	.s-wrap__resp-menu .sub-menu a{
		font-size:14px!important;
		transition:0.5s;
	}

	.js-nav-a_open-close__CLOSED a:after{

		content:'\02C5';
		transform: rotate(90deg);
		
		
	}
	.s-bg-menu{
		position:fixed;
		top:41px;
		left:0;
		bottom:0;
		right:250px;
		background:#fff;
		opacity:0.85;
		z-index:100;
		display:none;
	}
	.js-bg-menu__ACTIVE{
		display:block!important;
	}
	#header-responsive-inner .menu-header_menu-container{
		position:relative;
		z-index:101;
	}
	.btn-close-menu{
		position:absolute;
		z-index:101;
		padding:10px 20px;
		background:#999;
		right:100%;
		color:#fff;
		cursor:pointer;
		font-size:20px;
	}
	#menu-header_menu{
		height:calc(100vh - 41px);
	}
	#header-responsive-inner.collapse{
		overflow:hidden;
	}
	#header-responsive-inner.in{
		overflow:visible!important;
	}
	.s-header-callback{
		display:none;
	}
	.s-header-mess .whatsapp{
		color:#25D366;
	}
	.s-wrap__call-block{
		color:#fff;
		cursor:pointer;
		position:relative;
		z-index:150;
	}
	.s-wrap__call-block .s-fixed-phone{
		position:absolute;
		top:150%;
		left:-50px;
		background:#fff;
		
		width:200px;
		font-size:15px;
		transition:0.5s;
		overflow:hidden;
		box-shadow:0 0 16px 0px #111;
		color:#222;
		font-weight:bold;
		max-height:0px;
	}
	.s-wrap__call-block .s-fixed-phone.active{
		max-height:200px;
		padding:10px;
		z-index:150;
	}
	.s-fixed-phone-last-block{
		border-top:1px dotted #999;
		display:inline-block;
	}
	.s-wrap__call-block .s-fixed-phone a{
		display:flex;
		margin:10px 0;
		align-items:center;
	}
	.s-wrap__call-block .s-fixed-phone img{
		margin-right:3px;
	}

	.s-header-mess .viber{
		color:#8f5db7;
	}
	.s-header-mess .telegram{
		color:#0088cc;
	}
	.btn-navbar b{
		color:#fff;
		padding-right:10px;
		font-weight:normal;
		font-size:14px;
	}
	.s-block-munu-icon{
		align-self: flex-end;

	}
	.btn-navbar .icon-bar {
		display: block;
		width: 20px;
		height: 3px;
		margin: 0 0 0 auto;
		background-color: #FFF;
	}
	.btn-navbar .icon-bar + .icon-bar {
		margin-top: 3px;
	}
	.nav-collapse.collapse {
		-webkit-transition: height 0.35s ease;
		-moz-transition: height 0.35s ease;
		-ms-transition: height 0.35s ease;
		-o-transition: height 0.35s ease;
		transition: height 0.35s ease;

		position: relative;
		//overflow: hidden;
		height: 0;
	}
	.s-btn-responsive-wrap .collapsed{
		//overflow:hidden;
	}
	/* Slider */
	#slider {
		padding: 0 10px;
	}
	#slider .rslides-container {
		padding: 0;
	}

	/* Intro / Outro */
	.action-text.action-teaser h3, 
	.attention_text h3 { 
		margin-top: 0px; 
	}

	/* Footer */

	/* Sidebar */

	/* Blog */

	/* Post */
	.commentlist .children .children .children { 
		margin: 0px; 
	}

	/* Portfolio */
	.hover-excerpt {
		display: none;
	}
	.da-thumbs li article h3 {
		padding: 0;
	}

	/* Project */

	/* Contact */

	/* Widgets */
	.s-dop-param__title{
		margin-left:5px!important;
	}

}

@media only screen and (max-width: 768px) {
	.s-item__descr .s-item__param{
		margin:0 5px;
	}
	.s-dop-param .s-dop-param__title{
		margin: 0 3px;
	}
	.pag {
		text-align: center;
		margin: 40px 0 10px;
		list-style: none;
		font-size:15px;

	}
	.pag .pag-previous{
		display:none;
	}
	.s-item__photo{
		min-width:250px;
	}
	.s-item__descr{
		padding-left:5px;
	}
	.size-thumbnail{
		max-width:110px;
	}
	.s-item{
		flex-direction:column;
	}
	.s-item__photo{
		justify-content:center;
		align-items:center;
	}
	.s-dop-sale{
		max-width:30%;
		
	}
	.s-block-dop{
		align-items:center;
	}
		.s-block-dop{
		flex-direction:column;
	}
	.s-dop-sale{
		display:none;
	}

	.s-oneblock-afterslider{

	}
}


/* Small Tablets & Larger Phones */
@media only screen and (max-width: 685px) {
	
	.s-block-info__items-wrap .s-block-info_item{
		max-width:150px;
	}
	.s-bg-menu{
		position:fixed;
	}

	



	/* Main */
	#pre-header-links-inner,
	#breadcrumbs,
	#sidebar,
	#intro.option3 .page-teaser,
	#footer-menu,
	.meta-author	{
		display: none;
	}
	#main-core,
	#intro.option1, 
	#intro.option2 {
		margin-left: 0px;
	}
	#main {
		width: 100%;
	}
	#main-core, 
	#intro,
	.commentlist .children .children {
		margin: 0px;
	}
	#intro.option1 #intro-core {
		display: block;
	}
	.notification-text {
		display: block;
		margin-bottom: 5px;
	}

	/* Featured Slider */
	#slider .featured-excerpt {
		display: none;
	}

	/* Portfolio */

	/* Single Post Share */
	#author-image,
	#author-text {
		width: 100%;
		float: none;
	}
	#author-text {
		margin: 20px 0px 0 0px;
	}
	#author-text h3,
	#author-text p {
		margin-left: 30px;
		padding-right: 40px;
	}
	.commentlist .children .children {
		margin: 0px;
	}
	#footer-core #footer-col1{
		text-align:center;
	}
	#footer .widget h3{
		text-align:center;
	}
	
	#footer-core .sub-menu{
		margin-left:10px;
	}

	/* Intro / Outro */	
	.action-text.three_fourth,
	.action-button.one_fourth.last {
		width:100%;
		float:none;
		margin-right:0px;
	}
	.action-button h4 {
		padding: 10px 10px;
		margin: 0px;
	}
	.action-text {
		padding-bottom: 10px;
	}
	.action-text > h3 {
		margin-top: 0px;
	}
	.action-text,
	.attention_text {
		text-align: center;
	}

	/*contacts*/
	.s-contacts-wrap__text{
		display:flex;
		flex-wrap:wrap;
	}
	.s-contact-elem{
		width:45%;
	}

}


/* iPhone (Landscape) */
@media only screen and (max-width: 568px) {
	.s-afterslider__WRAP{
		padding:10px 10px 0px 10px;
	}
	.s-dop-param__title{
		margin-left:5px!important;
	}
	.s-block-info__items-wrap .s-block-info_item{
		max-width:300px;
		display:inline-block;
	}
	.s-block-info__items-wrap{
		justify-content: space-around;
		text-align:center;
		align-items:center;
	}
	.s-block-info__items-wrap a{
			text-align:center;
			max-width:300px;
			margin-bottom:15px;
	}
	.s-block-info__items-wrap{
		flex-direction:column;
	}
	
	.s-catalog-item{
		max-width:300px;
	}
	#footer-core ul{
		margin-left:130px;
	}


	.s-block-homeheader__WRAP{
		flex-direction:column;
	}

	.s-slider-adds{
		flex-direction:row;
		margin:5px;
	}
	.s-slider-oneadds{
		margin:5px;
	}
	.s-slider{
		margin:5px;
	}
	.s-header-prenav{
		flex-direction: column-reverse;
	}
	.s-header-adress{
		flex-direction:row;
		flex-wrap:wrap; 
		justify-content: center;
		font-size:16px;
		margin-top:5px;
	}

	/* Main */
	#notification-core .notification-text {
		display: block;
		margin-bottom: 5px;
	}

	/* Featured Slider */
	#slider .featured-title span {
		font-size: 20px;
	}
	#slider .featured-link a {
		padding: 3px 15px;
		margin: 0px;
	}

	/* Portfolio */
	.element.column-1 ,
	.element.column-2 ,
	.element.column-3 ,
	.element.column-4 {
		width: auto;
	}
	#filter.portfolio-filter {
		margin: 0;
	}
	#filter.portfolio-filter li {
		display: block;
		padding-right: 1px;
	}
	#filter.portfolio-filter li a {
		width: 100%;
		padding: 5px 20px;
		border-bottom: 1px solid #EEE;
	}
	#filter.portfolio-filter > li:first-child a {
		border-top: 1px solid #EEE;
	}
	#filter.portfolio-filter li:after {
		content: "";
	}
	#filter.portfolio-filter li a:hover,
	#filter.portfolio-filter li a.selected {
		color: white;
		background: #F33F3F;
	}

	/* Blog */
	.blog-style1 .entry-content {
		margin-top: 20px;
	}

	/* Single Post */
	#sharemessage {
		text-align: center;
		margin-bottom: 15px;
		padding: 0;
	}
	#shareicons {
		padding: 0;
	}
	#sharemessage,
	#shareicons {
		width: 100%;
		display: block;
		text-align: center;
	}
	#comments {
		margin-right: 0;
	}
	#nocomments {
		margin-left: 0;
	}
	
	/* Single Post Share */	
	#author-image {
		display: none;
	}
	#author-text {
		margin: 0px;
	}
	#author-bio .author-description {
		padding-right: 50px;
	}
	span.post-title {
		display:none;
	}
	p.form-submit {
		margin-bottom: 0px;
	}
	#shareicons a {
		float: none;
		margin-left: 10px;
		margin-right: 10px;
	}
	.form-allowed-tags {
		display: none;
	}

	/* Intro / Outro */
	.action-text h3, .action-text p {
		margin-left: 0px;
		margin-right: 0px;
	}
	.action-button p {
		margin-left: 0px;
		margin-right: 0px;
	}

	/* Shortcode Content */
	.one_half,
	.one_third,
	.two_third,
	.one_fourth,
	.three_fourth,
	.one_fifth,
	.two_fifth,
	.three_fifth,
	.four_fifth,
	.one_sixth,
	.five_sixth {
		width:100%;
		float:none;
		margin-right:0px;
	}
	#footer .widget-area.one_half,
	#footer .widget-area.one_third,
	#footer .widget-area.two_third,
	#footer .widget-area.one_fourth,
	#footer .widget-area.three_fourth,
	#footer .widget-area.one_fifth,
	#footer .widget-area.two_fifth,
	#footer .widget-area.three_fifth,
	#footer .widget-area.four_fifth,
	#footer .widget-area.one_sixth,
	#footer .widget-area.five_sixth {
		width:100%;
		float:none;
		margin-right:0px;
	}
	.border {
		margin-left:10px;
		margin-right:10px;
	}

	.pricing-table.style1 span {
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		background: none !important
	}
	.pricing-table.style2 .pricing-package {
		float: none;
		display: block;
		margin: 0 auto 20px;
		max-width: 100% !important;
		width: 100% !important;
	}
	.pricing-table.style2 .pricing-package.big {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-ms-transform: scale(1);
		-o-transform: scale(1);
		transform: scale(1);
	}
	/* Bootstrap Menu */
	#logo {
		float: none;
		text-align: center;
	}
	.btn-navbar {
		float: none;
	}
	
	/* Widgets */
	.thinkup_widget_categories li span {
		float: none;
		padding-left: 5px;
	}
	.thinkup_widget_flickr .flickr-photo {
		width: auto !important;
		margin-right: 5px !important;
	}
}


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

	/* Single Post Share */
	#shareicons a {
		margin-left: 5px;
		margin-right: 5px;
	}
	.commentlist .children {
	margin: 0 0 0 25px;
	}

	/* Portfolio */

	/* Shortcodes */

}


/* Retina Display */
@media only screen and 
        (-webkit-min-device-pixel-ratio: 1.5), only screen and 
        (-o-min-device-pixel-ratio: 3/2), only screen and 
        (min-device-pixel-ratio: 1.5) {
}