/* ---------------------

Small screens / Tablets (1100px max)

------------------------ */
@media only screen and (max-width: 1100px) {

	body { font-size: 15px; line-height: 24px; }
	p.intro { font-size: 18px; line-height: 27px; }

	/* Fonts */
	h1 { font-size: 48px; line-height: 64px; }
	h2 { font-size: 40px; line-height: 54px; }
	h3 { font-size: 27px; line-height: 37px; }
	h4 { font-size: 20px; line-height: 30px; }
	h5 { font-size: 16px; line-height: 26px; }
	h6 { font-size: 11px; line-height: 19px; }

	/* general */
	#page-content { min-width: inherit; }
	.wrapper { width: 940px; max-width: calc(100% - 100px); }
	.wrapper-small { width: 680px; max-width: calc(100% - 100px); }
	.wrapper-spaced { width: calc(100% - 100px); }

	.product-description .description-inner { padding: 100px 50px; }

	/* decrease menu open size on left position */
	/*header.menu-is-open { width: 320px; }
	nav#main-nav ul { width: 320px; }
	nav#secondary-nav ul { width: 320px; }*/

	/* shop / cart */
	.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals,
	.woocommerce .coupon { width: 55%;	}
}



/* ---------------------

Small Tablets (980px max)

------------------------ */
@media only screen and (max-width: 980px) {

	/* Fonts */
	h1 { font-size: 44px; line-height: 58px; }
	h2 { font-size: 36px; line-height: 50px; }
	h3 { font-size: 25px; line-height: 36px; }
	h4 { font-size: 20px; line-height: 30px; }
	h5 { font-size: 16px; line-height: 26px; }
	h6 { font-size: 11px; line-height: 19px; }


	/* general */
	.wrapper { width: 940px; max-width: calc(100% - 100px); }
	.wrapper-small { width: 680px; max-width: calc(100% - 100px); }
	.wrapper-spaced { width: calc(100% - 100px); }

	/* header */
	header { position: absolute; width: 100% !important; height: 60px; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
	header #logo { height: 40px; width: auto; top: 10px; left: 50%; -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); transform: translateX(-50%); }
	header #logo #light-logo { opacity: 0 !important; visibility: hidden !important; }
	header #logo #dark-logo	{ opacity: 1 !important; visibility: visible !important; }
	#menu-inner { position: fixed; }
	header.menu-is-open #menu-inner { width: 320px; }
	nav#main-nav { width: 260px; padding-left: 30px; max-height: calc(100% - 120px); margin-top: 80px; }
	nav#main-nav ul { width: 220px; }
	nav#secondary-nav { width: 260px; padding-left: 30px; margin-top: 25px; }
	.menu-toggle { width: 80px; height: 60px; }
	#header-footer { left: auto; right: 0; }
	#header-cart { width: 80px; height: 60px; }
	#header-cart #show-cart::before { top: calc(50% - 10px) !important; left: calc(50% - 30px); }
	#header-cart #show-cart:hover::before { left: calc(50% - 35px); }

	header::after { width: 100%; left: 0px; }
	header.menu-is-open::after { left: 320px; opacity: 1; visibility: visible; }

	#hero { width: 100% !important; margin-left: 0px !important; margin-top: 60px; }
	#page-body #hero { margin-top: 0px; }
	#page-body { width: 100% !important; margin-left: 0px !important; }
	#header + #page-body { margin-top: 60px; }
	#footer { width: 100% !important; margin-left: 0px !important; }

	#hero.hero-full { min-height: calc(100vh - 60px); }
	/* #hero.hero-big { min-height: calc(75vh - 60px); }
	.fullwidth-section.fullheight { min-height: calc(100vh - 60px); }
	.column-section.full-height .column { min-height: calc(100vh - 60px); }*/

	#smart-nav.fixed { /*top: 60px;*/ margin-left: 0px; }

	.header-top-bar { width: 100% !important; left: 0px !important; }

	#product-single .single-fixed { width: 100%; }
	#product-single .single-fixed .share { float: left; border-right: 1px solid rgba(0,0,0,0.05); border-left: none; }

	.wrapper .spaced-big .one-half, .wrapper-small .spaced-big .one-half { width: calc(50% - 25px); margin-right: 50px; }
	.wrapper .spaced-big .one-third, .wrapper-small .spaced-big .one-third { width: calc(33.33% - 33.33px); margin-right: 50px; }
	.wrapper .spaced-big .two-third, .wrapper-small .spaced-big .two-third { width: calc(66.6% - 16.66px); margin-right: 50px; }

	#product-step-pre { left: 0px; width: 100%; /*z-index: 10000;*/ }
	#product-step-pre .pre-inner { width: 940px; max-width: calc(100% - 80px); max-height: calc(100% - 100px); }
	#product-step-pre .pre-inner .custom-model > .sr-select > li { width: 230px; margin: 10px 10px; }
	#product-step-pre .pre-inner .custom-model > .sr-select > li > .name { font-size: 14px; }
	#product-single #product-step-final { margin-top: 60px; }
	.product-images { width: 100%; min-height: 60vh; float: none; }
	.product-description { width: 940px; max-width: calc(100% - 100px) !important; margin: 0 auto; float: none; min-height: auto; position: relative; }
	.product-description .description-inner { padding: 50px 0px; }
	.woocommerce .shipping-message { text-align: left; }

	.fullscreen-toggle { display: none; }
	.product-images .product-slider.owl-slider { left: 0%; width: 100%; }
	#back-to-first { /*z-index: 10001;*/ position:absolute; top: 90px; right: 30px !important; }
	#back-to-first span { display: none;  }
	#back-to-first::before, #back-to-first::after { background-color: #ffffff; }

	#hero #page-title .pusher.one-half { width: 48%; }
	#hero #page-title .pusher.one-third { width: 40%; }
	#hero #page-title .pusher.one-fourth { width: 33%; }


	/* isotope grid */
	.isotope-grid[class*='style-modern'] .isotope-item, .isotope-grid[class*='style-modern'] .grid-sizer { width: 50% !important; }
	.isotope-grid[class*='style-modern'] .isotope-item.wide, .isotope-grid[class*='style-modern'] .isotope-item.wide-tall { width: 50% !important; }
	.isotope-grid.isotope-spaced[class*='style-modern'] .isotope-item, .isotope-grid.isotope-spaced[class*='style-modern'] .grid-sizer { width: calc(50% - 30px) !important; }
	.isotope-grid.isotope-spaced[class*='style-modern'] .isotope-item.wide, .isotope-grid.isotope-spaced[class*='style-modern'] .isotope-item.wide-tall { width: calc(50% - 30px) !important; }

	/* mini cart */
	#header-minicart { width: 0px; z-index: 1000; }
	#header-minicart.visible { width: 100%; }
	.menu-cart-content { left: -450px; }
	#header-minicart.visible .menu-cart-content { left: 0px; }

	/* checkout */
	#checkout-columns .column { padding-top: 80px 40px; }

}



/* ---------------------

Smartphones (768px max)

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

	body { font-size: 15px; line-height: 24px; }
	p.intro { font-size: 16px; line-height: 26px; }

	/* Fonts */
	h1 { font-size: 32px; line-height: 46px; }
	h2 { font-size: 28px; line-height: 38px; }
	h3 { font-size: 24px; line-height: 34px; }
	h4 { font-size: 19px; line-height: 29px; }
	h5 { font-size: 15px; line-height: 25px; }
	h6 { font-size: 11px; line-height: 19px; }

	/* general */
	.wrapper { width: 540px; max-width: calc(100% - 40px); }
	.wrapper-small { width: 540px; max-width: calc(100% - 40px); }
	.wrapper .wrapper-small { max-width: 100%; }
	.wrapper-spaced { width: calc(100% - 40px); max-width: calc(100% - 40px); }
	.menu-toggle { width: 50px; height: 60px; }
	#header-cart { width: 50px; height: 60px; }

	/* columns */
	.column { float: none !important; margin-right: 0px !important; width: 100% !important; margin-top: 40px; display: block; }
	div .column:first-child { margin-top: 0px; }
	.column-section.full-height .column { min-height: auto; }
	.column-section .column.empty-content.has-bg { min-height: 50vh; }
	.popup-content .column.empty-content.has-bg { min-height: 30vh; }

	/* bg slider */
	.fullwidth-section .bg-slider, #hero .bg-slider { position: static; top: auto; left: auto; height: 70vh; width: 100%; z-index: auto; }
	#hero .bg-slider + #page-title, .fullwidth-section .bg-slider + .fullwidth-content { position: static !important; top: auto !important; left: auto !important; -webkit-transform: translateY(-40px); -moz-transform: translateY(-40px); -ms-transform: translateY(-40px); -o-transform: translateY(-40px); transform: translateY(-40px); padding: 40px !important; box-sizing: border-box; background: #ffffff; }
	#hero.text-light .bg-slider + #page-title, .fullwidth-section .bg-slider + .fullwidth-content { background: #ffffff; }
	#hero.text-light .bg-slider + #page-title h1, #hero.text-light .bg-slider + #page-title h2, #hero.text-light .bg-slider + #page-title h3, #hero.text-light .bg-slider + #page-title h4, #hero.text-light .bg-slider + #page-title h5, #hero.text-light .bg-slider + #page-title h6,
	.fullwidth-section.text-light .bg-slider + .fullwidth-content h1, .fullwidth-section.text-light .bg-slider + .fullwidth-content h2, .fullwidth-section.text-light .bg-slider + .fullwidth-content h3, .fullwidth-section.text-light .bg-slider + .fullwidth-content h4, .fullwidth-section.text-light .bg-slider + .fullwidth-content h5, .fullwidth-section.text-light .bg-slider + .fullwidth-content h6 { color: #262424; }
	#hero.text-light .bg-slider + #page-title, .fullwidth-section.text-light .bg-slider + .fullwidth-content { color: rgba(0,0,0,0.6);  }
	#hero.text-light .bg-slider + #page-title .amount, #hero.text-light .bg-slider + #page-title .amount strong,
	.fullwidth-section.text-light .bg-slider + .fullwidth-content .amount,
	.fullwidth-section.text-light .bg-slider + .fullwidth-content .amount strong { color: #262424 !important; }
	#hero.text-light .bg-slider + #page-title .amount .woocommerce-Price-currencySymbol,
	#hero.text-light .bg-slider + #page-title .amount .currency,
	.fullwidth-section.text-light .bg-slider + .fullwidth-content .amount .woocommerce-Price-currencySymbol,
	.fullwidth-section.text-light .bg-slider + .fullwidth-content .amount .currency { color: rgba(0,0,0,0.6) !important; }

	.fullwidth-section .bg-slider + .fullwidth-content { width: 540px; max-width: calc(100% - 40px); margin: 0 auto; }
	.fullwidth-section .bg-slider + .fullwidth-content .wrapper { width: 100%; max-width: 100%; }

	/* hero */
	#hero #page-title .pusher.one-half { width: 100%; }
	#hero #page-title .pusher.one-third { width: 100%; }
	#hero #page-title .pusher.one-fourth { width: 100%; }

	#product-single .buy-now-fixed { display: none; }
	.product-description { max-width: calc(100% - 40px) !important; }

	#footer .column { text-align: center;  }

	#simple-instagram-wrap .simple-instagram-list li.simple-instagram-list-item { width: calc(50% - 25px); }

	#smart-nav.fixed { position: absolute !important; top: auto !important; bottom: 0 !important; left: 50% !important; }
	#smart-nav { width: 270px; }

	.sr-products li { width: 100% !important; float: none !important; height: 75vh !important; }

	.header-top-bar { max-height: 50px; }
	body.home .header-top-bar { display: none; }

	#product-single .single-fixed { width: 100%; }
	#product-single .single-fixed .buy-now { width: 50%; }
	#product-single .single-fixed .buy-now a { height: 20px; line-height: 20px; padding: 15px 0; width: 100%; text-align: center; }
	#product-single .single-fixed .buy-now a > span { font-size: 11px; }
	#product-single .single-fixed .buy-now a .price { display: none; }
	#product-single .single-fixed .wood-types { padding: 12px 0 10px 0; height: 30px; width: 50%; border: none; }
	#product-single .single-fixed .wood-types small { font-size: 11px; display: inline-block; line-height: 19px; margin-right: 5px; }
	#product-single .single-fixed .wood-types .sr-product-wood { margin-top: 0px; display: inline-block; }
	#product-single .single-fixed .wood-types .sr-product-wood li { margin: 0 3px; width: 19px; height: 19px; top: 2px; }
	#product-single .single-fixed .wood-types .sr-product-wood li img { width: 19px; height: 19px; }
	#product-single .single-fixed .share { float: left; border: none; padding: 0; height: auto; }
	#product-single .single-fixed .share small { display: none; }
	#product-single .single-fixed .share ul { overflow:hidden;  margin: 0; }
	#product-single .single-fixed .share ul li { float: left; }
	#product-single .single-fixed .share ul li a { width: 40px !important; height: 50px !important; line-height: 50px !important; padding: 0; color: #ffffff !important; }
	#product-single .single-fixed .share ul li a:before { font-size: 16px; }
	#product-single .single-fixed .share ul li.facebook a { background: #446ebf; }
	#product-single .single-fixed .share ul li.twitter a { background: #39aadc; }
	#product-single .single-fixed .share ul li.pinterest a { background: #c81e1e; }

	.counter .counter-value.anim { opacity:1; }
	.counter .counter-value.anim .main { display: block; }
	.counter .counter-value.anim .digit { display: none; }
	.counter .counter-value { font-size: 78px; line-height: 90px; }
	.counter .unit { font-size: 20px; line-height: 30px; }
	.counter .counter-name { font-size: 12px; }

	blockquote { font-size: 24px; line-height: 36px; }
	.column:not(.one-full) blockquote { font-size: 17px; line-height: 28px; }


	/* shop / cart */

	.woocommerce table.shop_table_responsive tr td::before { display: none;}
	.woocommerce table.shop_table_responsive.cart tr td { text-align: left !important; display: table-cell; }
	.woocommerce table.shop_table_responsive.cart tr td.product-price { display: none; }
	.woocommerce table.shop_table_responsive.cart tr td.product-thumbnail { display: none; }
	.woocommerce table.shop_table_responsive.cart tr td.product-name { width: 70%; }
	.woocommerce table.shop_table_responsive.cart tr td.product-quantity { width: 90px; min-width: 90px; }
	.woocommerce table.shop_table_responsive.cart tr td.product-subtotal { width: 90px; min-width: 90px; text-align: right !important; }

	.woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td { background: inherit; }
	.total-table table.shop_table_responsive tbody th, .total-table table.shop_table_responsive tbody td { display: table-cell; width: 100% !important; min-width: 50% !important; }

	.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals,
	.woocommerce .coupon { width: 100%;	}


	/* shop / checkout */
	.woocommerce .woocommerce-checkout #order_review table.shop_table { width: 100%; float: none; }
	.woocommerce .woocommerce-checkout #order_review #payment { width: 100%; float: none; }
	.woocommerce form.checkout_coupon .input-text { width: 55%; }
	.woocommerce form.checkout_coupon .button { width: 45%; padding-left: 0px; padding-right: 0px; }
	.woocommerce-checkout p.form-row { width: 100%; margin-right: 0; }

	/* shop / product */
	.product-description .woocommerce-variation { float: none; }
	.product-description .woocommerce-variation-add-to-cart { float: none; margin-top: 20px; position:relative; }

	#product-step-pre .pre-inner .custom-model > h1 { display: none; }
	#product-step-pre .pre-inner .custom-model > .sr-select > li { width: 120px; margin: 0 5px 10px 0; }
	#product-step-pre .pre-inner .custom-model > .sr-select > li > .name { font-size: 14px; margin-top: 5px; }

	/* mini cart */
	.menu-cart-content { left: -100%; width: 100%; }
	#header-minicart.visible .menu-cart-content { left: 0px; }
	#header-minicart .close-cart { position: absolute; top: 10px; right: calc(50% - 10px); }
	.menu-cart-content .close-cart::after, .menu-cart-content .close-cart::before { background-color: #262626;}
	.menu-cart-content .close-cart:hover::after, .menu-cart-content .close-cart:hover::before { background-color: #666666; }

	.menu-cart-content .cart-bottom {  padding: 15px 15px; }
	.menu-cart-content .cart-bottom .total { margin-bottom: 15px; }
	.menu-cart-content .cart-list { max-height: calc(100% - 150px); margin-top: 25px; }
	ul.cart_list li { padding: 15px !important; }
	ul.cart_list li .item-image { width: 50px !important; max-height: 60px !important; }
	ul.cart_list li .item-details { width: calc(100% - 65px); margin-left: 15px; }

	/* checkout */
	#checkout-columns::before { display: none; }
	#checkout-columns .column { padding: 50px 15px; }
	.woocommerce .checkout #billing_address_1_field.form-row,
	.woocommerce .checkout #shipping_address_1_field.form-row,
	.woocommerce .checkout #billing_address_2_field.form-row,
	.woocommerce .checkout #shipping_address_2_field.form-row { width: 100%; float: none; }



	/* spacings */
	#hero #page-title { padding-top: 60px; padding-bottom: 60px; }
	.fullwidth-section .fullwidth-content { padding: 60px 0 !important; }
	.sr-order-details { margin-top: 60px; }

	.add-to-cart { margin-top: 40px; }
	.sr-custom-variation { margin-top: 40px; }
	.model-selection { margin-top: 40px; }
	.column-section { margin-top: 40px; }
	div .column-section:first-child { margin-top: 0px; }
	.woocommerce form.checkout_coupon { margin-bottom: 40px; }
	.woocommerce-thankyou-order-details { margin-top: 40px !important; }

	form .form-row { margin-top: 20px; }
	form .form-submit { margin-top: 20px; }
	blockquote cite { margin-top: 20px; }
	.product-description .excerpt { margin-top: 20px; }
	#product-step-pre .pre-inner .custom-model > .sr-select { margin-top: 20px; }

	.spacer-mini { height: 15px; }
	.spacer-small { height: 20px; }
	.spacer-medium { height: 40px; }
	.spacer-big { height: 60px; }

}


@media only screen and (max-width: 640px) {
	#hero .bg-slider + #page-title, .fullwidth-section .bg-slider + .fullwidth-content { padding: 20px !important; }

	/* isotope grid */
	.isotope-grid { width: 100%; left: 0; }
	.isotope-grid.isotope-spaced { width: calc(100% - 40px); left: 0px; }
	[class*='wrapper'] .isotope-grid.isotope-spaced { width: 100%; }
	.isotope-grid.isotope-spaced .isotope-item, .isotope-grid.isotope-spaced .grid-sizer { margin-right: 0px; }

	.isotope-grid[class*='style-modern'] .isotope-item, .isotope-grid[class*='style-modern'] .grid-sizer { width: 100% !important; }
	.isotope-grid[class*='style-modern'] .isotope-item.wide, .isotope-grid[class*='style-modern'] .isotope-item.wide-tall { width: 100% !important; }
	.isotope-grid.isotope-spaced[class*='style-modern'] .isotope-item, .isotope-grid.isotope-spaced[class*='style-modern'] .grid-sizer { width: 100% !important; }
	.isotope-grid.isotope-spaced[class*='style-modern'] .isotope-item.wide, .isotope-grid.isotope-spaced[class*='style-modern'] .isotope-item.wide-tall { width: 100% !important; }

	.sr-button.button-merge + .sr-button::before { display: none; }

}
