// max-width 480px, portrait phone
@media #{$xsmall-down} {
	.st-container {
		overflow-x: auto;
	}

	.st-content {
		overflow-x: hidden;
	}
}

// max-width 640px, small screens
@media #{$medium-down} {
	body.single-post
	{
		.entry-content.blog-single
		{
			img.aligncenter,
			img.alignnone,
			.wp-caption.aligncenter,
			.wp-caption.alignnone
			{
				width: 100% !important;
				max-width: 100%;
				margin-left: 0;
				clear: both;
				margin-right: 0;
			}

			img.alignleft,
			img.alignright,
			.wp-caption.alignleft,
			.wp-caption.alignright
			{
				width: 50% !important;
			}

			.wp-caption-text
			{
				position: absolute;
				bottom: 25px;
				padding: 15px 20px;
				background: #333333;
				margin: 0;
				font-size: 13px;
			}

			.wp-caption.alignnone .wp-caption-text
			{
				right: -25px;
				max-width: 40%;
			}

			.wp-caption.aligncenter .wp-caption-text
			{
				right: -15px;
				max-width: 40%;
			}

			.wp-caption.alignleft .wp-caption-text
			{
				left: -25px;
				max-width: 100%;
			}

			.wp-caption.alignright .wp-caption-text
			{
				right: -15px;
				max-width: 100%;
			}
		}

		.nav-next a:hover,
		.nav-previous a:hover
		{
			color: #fff;
		}
	}

	.woocommerce-ordering:after
	{
		font-size: 21px !important;
	}

	.catalog-ordering select.orderby
	{
		padding-right: 17px !important;
	}

	.woocommerce-order-received h2
	{
		margin-bottom: 13px;
	}

	.content-area
	{
		padding: 40px 0 0 0;
	}

	.catalog-ordering span.select2-container .selection
	{
		.select2-selection__rendered
		{
			padding-right: 20px;
		}

		.select2-selection__arrow:before
		{
			font-size: 13px;
		}
	}

	.list_shop_categories
	{
		.category_item > a
		{
			//font-size: 10px;
		}
	}


	#button_offcanvas_sidebar_left>span
	{
		padding-right: 4px;
		display: inline-block;
	}

	.woocommerce-ordering select.orderby
	{
		padding-top: 0;
		padding-bottom: 0;
		height: auto;
		line-height: 24px;
		font-size: 13px !important;
	}

	#button_offcanvas_sidebar_left .filters-text
	{
		font-size: 13px;
	}


	.catalog-ordering .select2-container.topbar-language-switcher, .select2-container.wcml_currency_switcher
	{
		font-size: 13px !important;
	}

	// Visual Composer Shortcodes

	.full-width-page .columns
	{
		padding-left: 30px !important;
		padding-right: 30px !important;
	}

	.wpb_wrapper .vc_separator h2
	{
		font-size: 1.875em !important;
		line-height: 1.33333em !important;
	}

	.page-template-page-blank #page_wrapper
	{
		padding-top: 0;
	}
}

// min-width 641px, medium screens
@media #{$medium-up} {
	.row {
		padding:0 50px;
	}

	.row .row {
		padding:0;
	}

	h1, h2
	{
		line-height: 1.13;
	}

	h1 {
		font-size: 3.125rem;
	}

	h2 {
		font-size: 2.3125rem;
	}

	h3 {
		font-size: 1.875rem;
		line-height: 1.2em;
	}

	h4 {
		font-size: 1.4375rem;
		line-height: 1.391304em;
	}

	h5 {
		font-size: 1.125rem;
		line-height: 1.55555em;
	}

	h6 {
		line-height: 1.625em;
	}

	.single .entry-title
	{
		font-size: 4.6875rem;
	}

	.page-title
	{
		font-size: 3.125rem;
		margin-bottom: 28px;
		line-height: 1;
	}


	p
	{
		line-height: 1.5;
		margin-bottom: 1.25rem;
	}

	// Forms

	button,
	.button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"],
	button[type="submit"]
	{
		width: auto;
	}

	.woocommerce .woocommerce-ordering,
	.woocommerce-page .woocommerce-ordering
	{
		margin-left: 0px;
		margin-right: 0px;
	}
	.woocommerce-ordering select.big-select
	{
		width: auto !important;
	}

	// Footer

	#site-footer {
		padding:80px 0 30px;
	}

	.trigger-footer-widget-area {
		display:none;

	}

	.site-footer-widget-area
	{
		display: block;
		margin-bottom: 60px;
	}

	.site-footer-widget-area .columns:nth-child(2n+1) {
		clear:left;
	}

	.footer-navigation-wrapper ul
	{
		margin-bottom: 34px;
	}

	.footer-navigation-wrapper ul li
	{
		display: inline-block;
		padding-right: 14px;
		margin: 0px 10px 15px 0;
		position: relative;
	}

	.footer-navigation-wrapper ul li:after
	{
		content: "";
		display: inline-block;
		width: 0;
		height: 100%;
		border-right: 1px solid;

		opacity: 0.5;

		position: absolute;
		top: -1px;
		right: 0;
	}

	.footer-navigation-wrapper ul li:last-child:after
	{
		display: none;
	}

	.payment_methods
	{
		text-align: left;
	}

	.payment_methods img
	{
		margin-bottom: 0;
	}

	#site-footer .copyright_text
	{
		margin-bottom: 46px;
	}

	// Blog

	.blog-isotope .blog-post,
	.blog-isotope .grid-sizer
	{
		width: 50%;
		padding-left: 35px;
		padding-right: 35px;
	}

	.page-header {
		margin-bottom:104px;
	}

	.entry-header-page
	{
		margin-bottom: 80px;
	}

	.post_meta_archive,
	.entry-title-archive span,
	.gallery-title,
	.entry-content-archive,
	.blog #nav-below.paging-navigation,
	.archive #nav-below.paging-navigation
	{
		margin-left: 0px;
		margin-right: 0px;
	}

	.thumbnail_archive
	{
		margin-top: 0px;
	}

	.page-title-desc,
	.page-type
	{
		margin-bottom: 20px;
	}

	.blog-isotope .entry-content-archive h1,
	.blog-isotope .entry-content-archive h2,
	.blog-isotope .entry-content-archive h3,
	.blog-isotope .entry-content-archive h4,
	.blog-isotope .entry-content-archive h5
	{
		line-height: 1.55555em;
		margin-bottom: 1.25rem;
	}

	.blog-isotope .entry-content-archive,
	.blog-isotope .entry-content-archive p,
	.blog-isotope .entry-content-archive ul,
	.blog-isotope .entry-content-archive ol,
	.blog-isotope .entry-content-archive dl
	{
		line-height: 1.5em;
		margin-bottom: 1.25rem;
	}

	.more-link
	{
		margin-top: 1rem;
	}

	.blog-isotope .blog-post .blog-post-inner
	{
		padding-bottom: 60px;
	}

	.entry-thumbnail
	{
		margin:0 0px  58px;
	}

	.single-post-header.with-thumb .title
	{
		padding: 225px 0 220px 0;
	}

	.post_meta:before
	{
		margin: 39px auto 43px;
	}

	.blog-single .wp-caption-text,
	.blog-page .wp-caption-text
	{
		position: absolute;
		bottom:25px;
		width: 180px;
		padding:15px 20px;
		background: #333333;
		margin: 0;
	}

	.blog-single .wp-caption.alignnone .wp-caption-text,
	.blog-page .wp-caption.alignnone .wp-caption-text
	{
		right: -25px;
	}

	.blog-single .wp-caption.aligncenter .wp-caption-text,
	.blog-page .wp-caption.aligncenter .wp-caption-text
	{
		right: -15px;
	}

	.blog-single .wp-caption.alignleft .wp-caption-text,
	.blog-page .wp-caption.alignleft .wp-caption-text
	{
		left: -25px;
	}

	.blog-single .wp-caption.alignright .wp-caption-text,
	.blog-page .wp-caption.alignright .wp-caption-text
	{
		right: -15px;
	}

	blockquote p {
		padding-left: 43px;
	}

	.gallery br {
		height:0;
		display:block;
	}

	.gallery-columns-1 dl.gallery-item
	{
		width: 100% !important;
		padding-bottom: 100% !important;
	}

	.gallery-columns-2 dl.gallery-item
	{
		width: 50% !important;
		padding-bottom: 50% !important;
	}

	.gallery-columns-3 dl.gallery-item
	{
		width: 33.3333333333% !important;
		padding-bottom: 33.3333333333% !important;
	}

	.gallery-columns-4 dl.gallery-item
	{
		width: 25% !important;
		padding-bottom: 25% !important;
	}

	.gallery-columns-5 dl.gallery-item
	{
		width: 20% !important;
		padding-bottom: 20% !important;
	}

	.gallery-columns-6 dl.gallery-item
	{
		width: 16.6666666666% !important;
		padding-bottom: 16.6666666666% !important;
	}

	.gallery-columns-7 dl.gallery-item
	{
		width: 14.285714% !important;
		padding-bottom: 14.285714% !important;
	}

	.gallery-columns-8 dl.gallery-item
	{
		width: 12.5% !important;
		padding-bottom: 12.5% !important;
	}

	.gallery-columns-9 dl.gallery-item
	{
		width: 11.1111111111% !important;
		padding-bottom: 11.1111111111% !important;
	}

	.gallery-item .gallery-caption
	{
		display: block;
		font-size: 1rem;
		text-align: left;
		line-height: 1.5em;
		color: #999;
		background: #000;
		padding: 9px 20px;

		opacity: 0;
		z-index: -1;

		position: absolute;
		right:  20px;
		bottom: 40px;
		left: 20px;

		transition: opacity 0.3s, bottom 0.3s, z-index 0s ease 0.3s;
		-webkit-transition: opacity 0.3s, bottom 0.3s, z-index 0s ease 0.3s;
	}

	.gallery-item .gallery-caption:after
	{
		content: "";
		display: block;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 6px 6px 0 6px;
		border-color: #000 transparent transparent transparent;

		position: absolute;
		bottom: -6px;
		right: 10px;
	}

	.gallery-item .gallery-caption.show
	{
		opacity: 1;
		z-index: 9;

		bottom: 60px;

		transition: opacity 0.3s, bottom 0.3s, z-index 0.3s;
		-webkit-transition: opacity 0.3s, bottom 0.3s, z-index 0.3s;
	}

	.gallery-caption-trigger
	{
		display: block;
		width: 24px;
		line-height: 24px;
		border-radius: 12px;
		background: rgba(255,255,255,0.3);
		font-size: 14px;
		font-style: italic;
		font-weight: 600;
		font-family: 'Georgia',sans-serif;

		position: absolute;
		right: 24px;
		bottom: 24px;
		z-index: 10;

		transition: all 0.3s;
		-webkit-transition: all 0.3s;
	}

	.gallery-caption-trigger:hover
	{
		background: #fff;
	}

	// Navigation

	.paging-navigation,
	.post-navigation
	{
		background: none;
		height: auto;
		padding: 75px 0;
	}

	.product_navigation .post-navigation
	{
		padding: 40px 0;
	}

	.paging-navigation:after,
	.paging-navigation:before,
	.post-navigation:after,
	.post-navigation:before
	{
		display: none;
	}

	.nav-previous,
	.nav-next
	{
		margin-left:  0;
		margin-right: 0;
		font-size: 1.3125rem;
	}

	.nav-next a,
	.nav-previous a
	{
		font-size: 1.3125rem;
		background: none;
		display: inline-block;
		padding-top: 0;
		height: auto;
	}

	.nav-next a
	{
		text-align: right;
	}

	.nav-previous a
	{
		text-align: left;
	}

	.nav-next a:hover,
	.nav-previous a:hover
	{
		background: none;
	}

	.nav-next a:before,
	.nav-previous a:before
	{
		display: none
	}

	.nav-next .nav-next-title,
	.nav-previous .nav-previous-title
	{
		display: block;
	}

	.nav-next a span,
	.nav-previous a span
	{
		display: inline-block;
	}

	// Paging navigation

	#nav-below.paging-navigation
	{
		margin-bottom: 3px;
		padding: 0 1.5%;
	}

	.paging-navigation .nav-next
	{
		float: right;
	}

	.paging-navigation .fa
	{
		display: inline-block;
	}

	// Error 404, No results

	.error-404,
	.no-results
	{
		margin-top: 0px;
	}

	.error-404 .search-form,
	.no-results .search-form
	{
		display: inline-block;
		padding-bottom: 80px;
	}

	.error-404 input[type="text"],
	.error-404 input[type="search"],
	.no-results input[type="text"],
	.no-results input[type="search"]
	{
		width:300px;
		margin-right: 10px;
	}

	.error-404 h1.page-title
	{
		font-size: 3.75rem;
		margin-bottom: 23px;
	}

	.no-results h1.page-title
	{
		font-size: 6.25rem;
		margin-top: 100px;
		margin-bottom: 30px;
	}

	.error-404-text,
	.no-results-text
	{
		font-size: 1.5rem;
	}

	// Comments

	.comments-area {
		margin:86px 0 65px;
	}

	.comments-title {
		font-size : 30px;
		font-weight: 600;
		text-align : left;
	}

	.comment-list {
		margin: 64px 0 0 !important;
	}

	.comments-area article {
		padding:0;
	}

	.comment-content {
		padding: 0 0 0 100px;
	}

	.comment-author-avatar {
		width:80px;
		height:80px;
		-webkit-border-radius: 80px;
		-moz-border-radius: 80px;
		border-radius: 80px;
	}

	.comment-author-avatar img {
		width:80px;
		height:80px;
	}

	.comment-content .comment-author,
	.comment-content .comment-metadata{
		padding: 0;
	}

	.comment-metadata
	{
		margin-top: -2px;
		margin-bottom: 25px;
	}

	.comment-text p
	{
		margin:15px 0 23px;
	}

	.logged-in-as,
	.comment-notes,
	#reply-title {
		text-align: left;
	}

	.comment-respond {
		margin:30px 0 30px 0;
	}

	.logged-in-as,
	.comment-notes {
		margin-bottom: 1.25rem;
	}

	.comment-list > li:last-child .comment-separator
	{
		opacity: 0;
	}

	#respond
	{
		margin-top: -6px;
	}

	#commentform .comment-notes
	{
		padding: 5px 0 31px;
	}

	#commentform .form-submit {
		margin-top: 20px;
	}

	.comment-separator
	{
		width: 100%;
		height: 0px;
		border-bottom-width: 1px;
		border-bottom-style: solid;
		margin:  32px 0;
	}

	// Widgets

	.widget {
		margin-bottom:80px;
	}

	.woocommerce-pagination
	{
		margin:0px 0 67px;
	}

	.products .out_of_stock_badge_loop
	{
		-webkit-font-smoothing: antialiased;
		-moz-font-smoothing: antialiased;
		-font-smoothing: antialiased;
	}

	.woocommerce .products span.onsale,
	.woocommerce-page .products span.onsale,
	.woocommerce span.onsale,
	.woocommerce-page span.onsale
	{
		font-size: 0.6875rem;
		-webkit-font-smoothing: antialiased;
		-moz-font-smoothing: antialiased;
		-font-smoothing: antialiased;
		font-weight: 600;
	}

	// Visual Composer Shortcodes

	.full-width-page .wpb_wrapper .gallery,
	.full-width-page .wpb_alert.wpb_content_element,
	.full-width-page .wpb_wrapper .wpb_gmaps_widget,
	.full-width-page .wpb_wrapper #map_container,
	.full-width-page .wpb_wrapper .wpb_revslider_element
	{
		margin-left: -60px !important;
		margin-right: -60px !important;
	}

	.wpb_wrapper .vc_separator h2,
	.wpb_wrapper .vc_separator div
	{
		padding: 0 50px;
		white-space: pre;
	}

	.wpb_wrapper .vc_separator.without-separator h2
	{
		white-space: normal;
	}

	.vc_separator_align_left.vc_separator h2,
	.vc_separator_align_left.vc_separator div
	{
		padding: 0 50px 0 0;
	}

	.vc_separator_align_right.vc_separator h2,
	.vc_separator_align_right.vc_separator div
	{
		padding: 0 0px 0 50px;
	}

	.wpb_wrapper .without-separator .vc_sep_holder
	{
		display: none;
	}

	.wpb_tabs.wpb_content_element .wpb_tabs_nav:after {
		background: none repeat scroll 0 0 #ddd;
		bottom: 0;
		content: "";
		height: 1px;
		left: 0;
		position: absolute;
		width: 100%;
		z-index: 0;
	}

	.wpb_tabs.wpb_content_element .wpb_tabs_nav  li
	{
		display: inline-block;
		margin: 0 0px 0px 60px;
		position: relative;
		z-index: 1;
	}

	.wpb_tour.wpb_content_element .wpb_tabs_nav  li:after,
	.wpb_tabs.wpb_content_element .wpb_tabs_nav li:after
	{
		display: none !important;
	}

	.wpb_tour.wpb_content_element .wpb_tabs_nav  li a,
	.wpb_tabs.wpb_content_element .wpb_tabs_nav  li a
	{
		display: inline-block;
		padding: 21px 0;
		border-bottom-color:  transparent;
		border-bottom-width :3px;
	}

	.wpb_tabs.wpb_content_element .wpb_tabs_nav  li a
	{

	}

	.wpb_tour.wpb_content_element .wpb_tabs_nav  li a
	{
		font-size: 0.8125rem;
		margin-bottom: 10px;
	}

	.wpb_tour.wpb_content_element .wpb_tabs_nav
	{
		width: 25%;
		padding-right: 15px;
	}

	.wpb_tour.wpb_content_element .wpb_tour_tabs_wrapper .wpb_tab
	{
		width: 75%;
		padding: 0;
		padding-left:15px;
		padding-bottom: 30px;
	}

	.wpb_tabs.wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header,
	.wpb_tabs.wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab
	{
		padding:30px 0;
	}

	.wpb_tour.wpb_content_element .wpb_tour_next_prev_nav
	{
		width: 75%;
		padding-left: 15px;
		margin-left: 25%;
	}

	.wpb_tour.wpb_content_element .wpb_tour_next_prev_nav span a
	{
		font-size: 1rem;
	}

	.wpb_tour .ui-helper-reset,
	.wpb_tabs .ui-helper-reset,
	.wpb_accordion .ui-helper-reset
	{
		line-height: 1.8;
	}

	.wpb_alert.wpb_content_element .messagebox_text:before
	{
		top: 5px;
	}

	.wpb_wrapper .wpb_toggle,
	#content .wpb_wrapper h4.wpb_toggle
	{
		font-size: 1.3125rem;
		line-height: 2rem;
		padding-left: 40px;
		margin-bottom: 28px;
	}

	.wpb_wrapper .wpb_toggle:last-of-type + .wpb_toggle_content,
	#content .wpb_wrapper  h4.wpb_toggle:last-of-type + .wpb_toggle_content
	{
		margin-top: 16px;
	}

	.wpb_wrapper .wpb_toggle_content
	{
		margin-top:-16px;
		margin-bottom: 31px;
		padding-left: 40px;
	}

	.wpb_heading.wpb_accordion_heading
	{
		margin: 0 0 11px;
	}

	.wpb_wrapper .wpb_content_element .wpb_accordion_header .accordion_title
	{
		font-size: 1.3125rem;
		line-height: 2.3rem;
		padding: 13px 40px 13px 20px;
		font-weight: 600;
	}

	.wpb_wrapper .wpb_accordion .wpb_accordion_wrapper .ui-state-default .ui-icon,
	.wpb_wrapper .wpb_accordion .wpb_accordion_wrapper .ui-state-active .ui-icon
	{
		top: 22px;
	}

	.wpb_wrapper .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_content
	{
		padding-bottom: 27px;
	}

	.wpb_heading.wpb_progress_bar_heading
	{
		font-size: 1.4375rem;
	}
}

// max-width 767px, all mobile devices
@media #{$xmedium-down} {

	.woocommerce-variation-add-to-cart
	{
		height: 53px;
	}
}

// min-width 641px and max-width 1023px, medium screens
@media #{$medium-to-slarge} {
	// Visual Composer Shortcodes

	.full-width-page .columns
	{
		padding-left: 60px !important;
		padding-right: 60px !important;
	}
}

// max-width 1023px, small screens/medium screens
@media #{$slarge-down} {

	.single-post .site-header
	{
		z-index: 1;
	}

	body.tag.archive .large-12.columns.with-sidebar
	{
		padding-right: 0;
	}

	// Visual Composer Shortcodes

	.vc_video-bg.vc_hidden-xs
	{
		display: block !important;
		pointer-events: all;
	}

	body.blog .large-12.columns.with-sidebar
	{
		padding-right: 0;
	}

	body.archive.category .large-12.columns.with-sidebar
	{
		padding-right: 0;
	}

	.blog-sidebar
	{
		position: relative;
		width: 100%;
	}

	.full-width-page .row
	{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.full-width-page .columns .row
	{
		margin-left: 0;
		margin-right: 0;
	}

	.full-width-page .columns .columns
	{
		padding-left: 0px !important;
		padding-right: 0px !important;
	}

	.full-width-page .columns .wpb_content_element
	{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.products li:not(.catalog_mode):hover .product_after_shop_loop_switcher {
		transform: none;
		-ms-transform: none;
		-webkit-transform: none;
	}

	.products li.product_added_to_cart .product_after_shop_loop_switcher
	{
		transform: none;
		-ms-transform: none;
		-webkit-transform: none;
	}

	.product_after_shop_loop {
		height:66px;
	}

	.product_after_shop_loop_switcher .product_after_shop_loop_buttons
	{
		margin-top: -10px;
	}
}

// min-width 1024px, large screens
@media #{$large-up} {

	/*.catalog-ordering
	{
		margin-top: 1px !important;
	}*/

	/*.woocommerce-breadcrumb
	{
		margin-top: 2px !important;
	}*/

	.page-title
	{
		font-size: 6.25rem;
		margin-bottom: 28px;
		line-height: 1;
	}

	// Forms

	select.orderby
	select.topbar-language-switcher,
	select.wcml_currency_switcher
	{
		opacity: 0;
	}

	// Blog

	.blog-isotope .blog-post,
	.blog-isotope .grid-sizer
	{
		width: 33.3333333333%;
	}

	.entry-thumbnail
	{
		padding: 0 25px;
	}

	.blog-single .larger
	{
		width: 915px;
		margin-left: -124px;
		margin-bottom: 1.23em;
		max-width: 915px;

	}

	.parallax-container
	{
		background-attachment: fixed;
	}

	.error-404 input[type="text"],
	.error-404 input[type="search"],
	.no-results input[type="text"],
	.no-results input[type="search"]
	{
		width:470px;
		margin-right: 10px;
	}

	.comment-list ul.children {
		margin: 0 0 0em 120px;
	}

	.previous-image,
	.next-image {
		margin-top:-56px;
	}

	// Shop Catalog

	.shop_header_bkg.parallax
	{
		background-size:cover !important;
		background-position:center top;

		transition: opacity 0s;
		-webkit-transition: opacity 0s;
	}

	.woocommerce-pagination
	{
		margin:0px 0 84px;
	}

	// Offcanvas Left

	.shop-has-sidebar #button_offcanvas_sidebar_left {
		display:none;
	}

	// Footer

	.site-footer-widget-area .columns:nth-child(2n+1) {
		clear:none;
	}

	.site-footer-widget-area .footer-5-columns
	{
		width: 20%;
	}

	.site-footer-widget-area .columns:nth-child(4n+1) {
		clear:left;
	}

	// Visual Composer Shortcodes

	.full-width-page .wpb_wrapper .gallery,
	.full-width-page .wpb_alert.wpb_content_element,
	.full-width-page .wpb_wrapper .wpb_gmaps_widget,
	.full-width-page .wpb_wrapper #map_container,
	.full-width-page .wpb_wrapper .wpb_revslider_element
	{
		margin-left: -15px !important;
		margin-right: -15px !important;
	}

	.full-width-page .column_container
	{
		padding-left: 0.625rem;
		padding-right: 0.625rem;
	}

	.vc_row-fluid.parallax {
		background-size:0 !important;
		background-position:center center;
		background-repeat:no-repeat;
	}

	.vc_row-fluid.parallax.loaded
	{
		background-size:cover !important;
	}

	.full-width-page .boxed-row
	{
		padding-left: 50px;
		padding-right: 50px;
	}

	.wpb_tabs.wpb_content_element .wpb_accordion_wrapper .wpb_accordion_header,
	.wpb_tabs.wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab
	{
		padding:50px 0;
	}

	#site-footer
	{
		position: relative;
		z-index: 99;
	}

	.logged-in.admin-bar .mobile-search
	{
		padding-top: 32px;
	}

	// Gallery

	.gallery-icon a:before
	{
		content: "";
		display: block;

		position: absolute;
		width: 100%;
		height: 100%;

		background: #000;
		opacity: 0;
		z-index: 1;

		transition: opacity 0.35s;
		-webkit-transition: opacity 0.35s;
	}

	.gallery-item:hover a:before
	{
		opacity: 0.6;
	}

	.gallery-icon img
	{
		width: -webkit-calc(100% + 50px);
		width: calc(100% + 50px);
		max-width: none;
		min-height: 100.6%;

		position: absolute;
		left: 0;
		top: 0;

		-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
		transition: opacity 0.35s, transform 0.35s;

		-webkit-transform: translate3d(-40px,0, 0);
		transform: translate3d(-40px,0,0);
	}

	.gallery-item:hover img
	{
		-webkit-transform: translate3d(0px,0, 0);
		transform: translate3d(0px,0,0);

		opacity: .3;
	}
}
