/*   
Theme Name:		TentFlex
Theme URI: 
Description: 	More To The Picture child theme
Version: 1.1
Template: 		moretothepicture
@author   		moretothepicture
@license 		https://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
@link    	 	https://www.moretothepicture.com
License: 		GNU General Public License v2.0
License URI: 	https://www.gnu.org/licenses/gpl-2.0.html	
*/


	body, input[type="submit"], select, input[type="checkbox"], input[type="radio"], input[type="file"], input, textarea, .insta_text {color: #454347;}
	
	a:link, a:visited, a:active, a:hover  {text-decoration: none;}
	a:hover, .show_hide:hover  {cursor: pointer;}
	
	.wrapped {padding: 0 14px; margin: 0 auto; overflow: hidden; min-width: none; width: 976px;}
	.group {margin: 0 -14px 0 0;}
		
	#wrap {position: relative; padding: 0; width: 100%;}
	#wrap img {backface-visibility: hidden;}
	
	img[class*=wp-image-]:hover {cursor: pointer;}

	#header, .fetaured_img {margin: 0 0 14px;}
	#header .header_inner {position: relative; overflow: visible;}
	#header .m2tp_logo {padding: 57px 0 14px;}
	#header .site_tagline {position: absolute; bottom: 7px; right: 14px; max-width: 760px; overflow: hidden; text-align: right;}	
	#content {float: left; width: 480px; padding: 0 14px 0 0;}
	#content .is_single.hentry, #comments {padding: 14px 14px 1px; margin: 0 0 14px;}
	.post-nav {display: none;}
	.single_nav {margin-bottom: 14px; overflow: hidden;}
	.nav-previous {float: left; text-align: left; width: 50%;}
	.nav-next {float: right; text-align: right; width: 50%;}
	
	#aside {overflow: hidden;}
	
	#footer {clear: both;}

	#body_dull {opacity: 1;}
	
	ul.primary_menu {position: absolute; top: 14px; right: 14px; text-align: right;}
	ul.primary_menu li {display: inline-block; padding: 0 0 14px 14px; position: relative;}
	ul.primary_menu li:hover {z-index: 99999;}
	ul.primary_menu li a {padding: 0;}
	ul.primary_menu ul.sub-menu {width: 150px;}
	ul.primary_menu li.menu-item-has-children > ul.sub-menu {display: none; position: absolute; padding: 4px 14px; right: 0; top: 23px; z-index: 9999; border: none;}	
	ul.primary_menu li.menu-item-has-children > ul.sub-menu ul.sub-menu {right: 100%; top: -4px;}
	ul.primary_menu li.menu-item-has-children:hover > ul.sub-menu {display: block;}
	ul.primary_menu li.menu-item-has-children > ul.sub-menu > li,  
	ul.primary_menu li.menu-item-has-children > ul.sub-menu li.menu-item-has-children:hover > li {padding: 5px 0; display: block;}	
	ul.primary_menu li.menu-item-has-children.current-menu-item, 
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor {position: static;}
	ul.primary_menu li.menu-item-has-children.current-menu-item > ul.sub-menu, 
	ul.primary_menu li.menu-item-has-children.current-menu-item:hover > ul.sub-menu, 
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor > ul.sub-menu,
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor > ul.sub-menu li.current-product-ancestor > ul.sub-menu{display: block; top: 25px; padding: 0 0 20px; background: none; width: 768px; right: 0; z-index: 9; border: none;}	
	ul.primary_menu li.menu-item-has-children.current-menu-item > ul.sub-menu ul.sub-menu, 
	ul.primary_menu li.menu-item-has-children.current-menu-item:hover > ul.sub-menu ul.sub-menu, 
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor > ul.sub-menu ul.sub-menu {right: 0; top: 25px;}
	ul.primary_menu li.menu-item-has-children.current-menu-item > ul.sub-menu li, 
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor > ul.sub-menu li {padding: 0 0 7px 14px; display: inline-block;}
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor li.menu-item-has-children.current-menu-ancestor:hover, ul.primary_menu li.menu-item-has-children.current-menu-ancestor > ul.sub-menu li.current-product-ancestor  {position: static;}
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor li.menu-item-has-children.current-menu-ancestor:hover > ul {display: block; top: 25px; padding: 0 0 20px; background: none; width: 100%; right: 0; z-index: 9; border: none;}
	ul.primary_menu li.menu-item-has-children.current-menu-ancestor li.menu-item-has-children.current-menu-ancestor:hover ul.sub-menu  li{padding: 0 0 14px 14px; display: inline-block;}

	ul.primary_menu li.hidden {display: none;}
	
	/* 4th+ levels can F-Off */
	ul.primary_menu li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu  li.menu-item-has-children ul.sub-menu{display: none !important;}
	
	#small_menu_button {display: none; position: absolute; top: 14px; right: 14px; text-align: right;}	
	#small_menu_page_title_text {padding: 0 10px 0 0; vertical-align: top; float: left;}
	#small_menu_icon {display: inline-block; width: 39px; height: 28px;}
	#small_menu_button:hover {cursor: pointer;}
	
	ul.small_menu {display: none; z-index: 102; position: absolute; top: 0; left: 0; right: 0; height: auto; padding: 20px 0; text-align: center; max-width: 466px; margin: 0 auto;}
	ul.small_menu ul.sub-menu {display: block; opacity: 0; height: 0; position: static; overflow: hidden; padding: 0; margin: 0 auto; width: 100%;}
	ul.small_menu ul.show_sub.sub-menu {height: auto; opacity: 1; padding: 0 14px 5px 0;}
	ul.small_menu li {padding-right: 40px;}
	ul.small_menu li ul li {padding-right: 0;}
	ul.small_menu li ul > li.menu-item-has-children{padding-right: 40px;}
	ul.small_menu li a {display: block; padding: 10px 10px 20px; text-align: right; background: none; width: 100%;}
	ul.small_menu > li:last-of-type a {padding: 10px;}
	
	input, textarea {width: 100%;}
	input[type=image] {background-color: transparent !important;}
	#m2tp_cookie_policy form#cookie_accept input{padding: 0; margin: 0; vertical-align: unset; background: none;}	
	#m2tp_cookie_policy #cookie_policy_inner{padding: 30px 10px;}
	#m2tp_cookie_policy div.initial_text {padding: 0;}
	.search-form, #error404-searchform {position: relative; margin: 0 0 14px; padding: 0 30px 0 0; height: 38px; overflow: hidden;}
	body.error404 input {width: 100%;}
	input.search-submit, .woocommerce-product-search button[type="submit"], #error404-searchsubmit, .prod_gall, input#searchsubmit {width: 30px; height: 36px; position: absolute; top: 0; bottom: 0; left: auto; right: 3px; text-indent: -9999px;}
	input[type="submit"]:hover, .search-submit:hover, .woocommerce-product-search button[type="submit"]:hover, #error404-searchsubmit:hover, .prod_gall:hover {cursor: pointer;}
	input#searchsubmit {height: 41px;}
	#error404-s {border: 1px solid #ddd;}
	#error404-searchsubmit {border: 1px solid #ddd; border-left-width: 0;}
	#m2tp_internal_slideshow .big_slideshow_img {display: none;}
	#m2tp_internal_slideshow .big_slideshow_img {height: 100%; position: relative; width: 100%;}
	#m2tp_internal_slideshow .big_slideshow_img .slideshow_img_wrap img {position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: auto; max-height: 100%;}
	#m2tp_internal_slideshow .next_arrow {float: right; cursor: pointer;}
	#m2tp_internal_slideshow .previous_arrow {float: left; cursor: pointer;}
			
	h1 {margin: 0 0 14px; padding: 0 14px 0 0;}
	h2.entry-title {margin: 0 0 10px; padding: 0 14px 0 0;}
	body.is_singular .entry-content h2 {margin: 0 0 4px;}
	.entry-content h3 {margin: 0 0 14px;}
	.entry-content h4 {margin: 0 0 4px;}
	.entry-content h5 {margin: 0 0 4px;}
	.blog_image_container {float: right; margin: 0 0 0 14px; width: 226px; min-height: 168px; max-height: 300px; text-align: center; position: relative;}
	body.single .blog_image_container {float: none; margin: 0 0 14px; width: auto; min-height: none; max-height: 100%;}
	.entry-content ul {margin-left: 0;}
	.entry-content ul li {padding: 0 0 6px 16px; background-position: 0 8px; background-repeat: no-repeat;}
	body.ie .entry-content ul {margin-left: 14px;}
	body.ie .entry-content ul li {list-style-type: disc; padding-left: 0;}
	.entry-content ul.child_links {margin: -14px 0 7px;}
	.entry-content ul.child_links.blocked {margin: 0 0 14px;}
	.entry-content ul.child_links li {display: inline;}
	.entry-content ul.child_links.blocked li {display: block;}
	.entry-content ul.child_links li a {display: inline-block; margin: 0 14px 7px 0; vertical-align: bottom;}
	
	.site_link,
	.site_link * {-webkit-transition: background .5s, height .5s, padding .5s, font-size .5s;}
	.site_link  {position: relative; padding: 14px; margin: 0 0 14px; clear: left;}
	body.page .site_link  {visibility: hidden;}
	body.page.home .site_link  {visibility: visible;}
	.site_link h2.link_text {margin: 0;}
	.site_link h3.link_text {margin: 2px 0 0;}
	.site_link .more_link {width: 100%; height: 100%; position: absolute; top: 0; left: 0;}
			
	.page_quotes {position: relative; padding: 14px 10px; clear: both;}
	.page_quotes .quote_inner {position: relative;}
	.page_quotes .page_quotes_text {margin: 0 0 14px;}
	.page_quotes .page_quotes_credit {margin: 5px 0 0;}
	.page_quotes .quote {width: 64px; height: 54px; position: absolute; top: 0;}
	.page_quotes .left_quote {left: 0; right: auto; transform: scaleX(-1)}
	.page_quotes .right_quote {left: auto; right: 0;}
	
	body.is_singular #content .entry-content .page_quotes .page_quotes_credit {margin-top: 14px !important;}
	
	#case_loop {width: 100%; overflow: hidden; position: relative; margin: 0; display: inline-block; vertical-align: top;} 
	body.wider_content.portrait.page #case_loop {max-width: 226px;}
	#case_loop .colour_block.no_image .case_hover {display: inline-block !important;}
	.colour_block > .case_hover {display: none; position: absolute; top: 0; bottom: 0; left: 0; right: 0; padding: 14px;}
	.colour_block:hover > .case_hover, .colour_block.no_featured .case_hover{display: block;}
	.case_hover_table {display: table; width: 100%; height: 100%;}
	.case_hover_cell {display: table-cell; vertical-align: middle;}
	.case_image {position: absolute; top: 0; bottom: 0; left: 0; right: 0;}
	.case_link {position: absolute; top: 0; left: 0; right: 0; bottom: 0;}
	.colour_block.no_featured > .case_hover {display: block;}
	.back_to_cases {padding: 0 0 14px; display: block;}
	
	.insta_plugin_wrap {margin: -10px;}
	
	#comments {padding: 14px;}
	#comments textarea {margin: 0 0 14px;}
	#comments input#comment_submit {border: 0; padding: 7px 10px; text-align: center; margin: 14px 0;}
	#commentform label {display: inline-block;}
	
	/* home page & home intro text */
	#page_banner {margin: 0 0 14px; display: block; position: relative;}
	#page_banner .banner_text_inner {padding: 14px;}
	#page_banner h1 {background: none !important;}
	#content #page_banner .banner_text_inner {padding: 14px 0 1px;}
	
	body.page-template-full-width #content .home_extra_text.col_wrap .is_single.hentry {background: none !important; margin: 0;}
	
	#home_slideshow {margin: 0 0 14px; position: relative; overflow: hidden; height: 530px;}
	#m2tp_slideshow {overflow: hidden;}
	#m2tp_slideshow .slide_meta {position: absolute; top: 14px; bottom: 14px; right: 0; left: 14px; text-align: left; overflow: hidden;}
	.slide_meta_block {height: 100%;}	
	.slide_meta_wall {display: inline-block; height: 100%; vertical-align: middle;}
	.slide_content div {opacity: 0;}
	.no-carousel .slide_content div {opacity: 1;}
	.slide_content {display: none; bottom: 14px; width: 100%; left: 100%; padding: 14px; position: absolute;}
	.no-carousel .slide_content{left: 14px;}
	.slide-cell.is-selected .slide_content{display: inline-block;} 
	.slideshow_img, .homeslide_img{position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: none;}
	#slideshow_img_1, .homeslide_img {display: block;}	
	.slide_meta_link {vertical-align: middle; display: inline-block;}
	#featured_image {position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: 0;} 
	#progress_bar {background: rgba(255, 2555, 255, .5); height: 4px; position: absolute; top: 0; width: 0; z-index: 99;}
	.latest_news {padding: 14px; overflow: hidden; position: relative; margin: 0 0 14px; min-height: 204px;}
	.latest_news, 
	.latest_news * {-webkit-transition: background .5s, height .5s, padding .5s, font-size .5s;}
	.latest_news .inner_news {overflow: hidden;}
	.latest_news .news_img {position: relative; float: right; margin: 0 0 0 28px; width: 226px; height: 170px;}
	body.square .latest_news .news_img {height: 226px;}
	body.portrait .latest_news .news_img {height: 176px; width: 132px;}
	.latest_news a.image_link {width: 100%; height: 100%; position: absolute; top: 0; left: 0;}
	.latest_news .title_wrap {position: absolute; top: 14px; bottom: 14px; left: 14px; right: 254px;}
	body.portrait .latest_news .title_wrap {right: 160px;}
	.latest_news .news_title{margin: 0; display: inline-block; vertical-align: middle; word-break: break-word;}
	.latest_news .news_excerpt {display: block; max-width: 498px; padding: 0 0 28px;}
	.latest_news .read_more {position: absolute; bottom: 10px; left: 14px;}
	.latest_news h3.read_more {position: static;}
	#content  .has_images_wrap {display: none;}
	.featured_text_wrap.archive_ad .news_title, .featured_text_wrap.archive_ad .news_title p:last-of-type {margin: 0;}
	.youtube_wrap {margin: 0 0 14px;}
	
	body.page-template-full-width:not(.woocommerce-order-received) #content {float: none; width: 100%; padding: 0;}
	body.page-template-full-width:not(.woocommerce-order-received) .news_excerpt {padding-bottom: 21px; max-width: 100%;}
	
	body.page-template-full-width .col_wrap {margin: 0 0 14px 0; position: relative; }
	body.page-template-full-width .col {display: inline-block; vertical-align: top;}
	body.page-template-full-width .col_inner {border: none; position: relative; padding: 0 0 1px; margin: 0; overflow: hidden;}
	body.page-template-full-width .col2 .col, body.page-template-full-width .col-2 {width: 50%;}
	
	body.page-template-full-width .home_extra_text .col_inner {border: solid 14px transparent; border-width: 0 14px 0 0; position: relative; padding: 0 0 1px; margin: 0 -7px 0 0;}
	body.page-template-full-width .home_extra_text .col:last-of-type .col_inner {border-right-width: 0; margin: 0 0 0 -7px; border-left-width: 14px;}

	body.page-template-template-checkout.page-template-full-width #content .is_single.hentry{margin: 0 0 14px;}
	
	body.is_singular.woocommerce-checkout .entry-content h2 {margin: 0 0 14px;}
	
	/*! Flickity v2.0.10
	https://flickity.metafizzy.co
	---------------------------------------------- */
	
	.flickity-enabled {position: relative;}
	.flickity-enabled:focus{outline:0}
	.flickity-viewport {position: absolute; width: 100%; height: 100%;}
	.product-carousel, .no-carousel, .slide-carousel {overflow:hidden;position:absolute;top: 0; bottom: 0; left: 0; right: 0;}
	.flickity-slider{position:absolute;width:100%;height:100%}
	.flickity-enabled.is-draggable{-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
	.flickity-enabled.is-draggable .flickity-viewport{cursor:move;cursor:-webkit-grab;cursor:grab}
	.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down{cursor:-webkit-grabbing;cursor:grabbing}
	.flickity-prev-next-button {position:absolute; margin: -13px 0 0; top:50%;width:36px;height:36px;border:none;cursor:pointer; z-index: 10;}
	.product_loop_wrap .flickity-prev-next-button {display: none;}
	.product_loop_wrap .product-carousel:hover .flickity-prev-next-button {display: block;}
	.flickity-prev-next-button:disabled{opacity:0;cursor:auto}
	.flickity-prev-next-button svg{display: none;}
	.flickity-page-dots{display: none; position:absolute;width:100%;top:0;padding:14px;margin:0;list-style:none;text-align:left;}
	.flickity-rtl .flickity-page-dots{direction:rtl}
	.flickity-page-dots .dot{display:inline-block; width:22px; height:22px; margin: 0 14px 0 0; cursor:pointer}
	.prod-cell, .slide-cell {width: 100%; height: 100%;}
	.flickity-prev-next-button.previous {left: 5px;}
	.flickity-prev-next-button.next {right: 5px;}
	.loop_img.no_image {position: absolute; top: 0; left: 0; bottom: 0; right: 0;}
	.is-hidden {display: none;}
	html.no-js .is-hidden {display: block;}
	
	.flickity-prev-next-button, #internal_slideshow_wrap .slide_arrows, #insta_next.insta_button, .insta_button  {background-size: 40px; background-position: 100%; background-repeat: no-repeat;}
	.flickity-prev-next-button.previous, #internal_slideshow_wrap .slide_arrows.previous_arrow, #insta_prev.insta_button {transform: scaleX(-1); background-position: 0 left; background-repeat: no-repeat;}
	ul.small_menu li.menu-item-has-children  {background-size: 20px !important; background-position: calc(100% - 14px) 12px !important; background-color: none; background-repeat: no-repeat !important;}
	.search-submit, .woocommerce-product-search button[type="submit"], #error404-searchsubmit, .prod_gall, input#searchsubmit{background-position: 50% 50%; background-size: 22px; background-repeat: no-repeat;}

	#home_slideshow .flickity-prev-next-button {display: none;}
	#home_slideshow .flickity-page-dots{display: block}
	body.ie #home_slideshow {display: none;}
	img.home_img {visibility: hidden;}
	img.home_img.flickity-lazyloaded, body.ie img.home_img {visibility: visible;}
	img.object {object-fit: cover; object-position: 50% 50%; width: 100%; height: 100%;}
	.abs {position: absolute; top: 0; bottom: 0; right: 0; left: 0;}
	
	svg {display: block; width: 100%; height: 100%;}
	select {
		display: block;
		padding: 10px 36px 10px 5px;
		border: 1px solid #eee;
		width: 100%;
		max-width: 100%; 
		margin: 0 0 14px;
		-moz-appearance: none;
		-webkit-appearance: none;
		appearance: none;
		background-position: 100% 0;
		background-repeat: no-repeat;
		outline: none;
	}
	select::-ms-expand{
		display: none;
	}
	select:focus {
		outline: none;
	}
	select option {
		font-size:16px;
		outline: none;
		border: none !important;
	}
	select option:first-of-type {
		font-size:14px;
	}
	
	.more_text {margin: 0 0 20px;}
	.more_or_less{margin: 0 0 20px;}	
	.more_or_less .icons {padding: 0 0 0 4px;}
	.more_or_less:hover {cursor: pointer;}
	.post_more_inner, .less {display: none;}
	
	.post_gal:hover {cursor: pointer;}
	
	/* contact page */
	.iframe_wrap {margin: 0 0 14px; max-height: 520px;}
	#contact_content {position: relative; padding: 0 0 14px;}
	#contact_content .contact {margin: 0 0 14px;}
	#contact_content .contact_company {margin: 40px 0 0;}
	#contact_content .contact_company .contact_1 {margin: 0 0 1px;}
	#contact_content .contact_company .contact_2 {margin: 0 0 7px;}
	
	/* single */
	body.is_singular .entry-meta, body.single .entry-meta, #wrap .is_single .entry-meta, .m2tp_authordata {display: none;}
	body.single #more_posts_loop {float: left; width: 480px; padding: 0 14px 0 0;}
	body.single .widget_container {margin: 0 0 0 480px;}
	body.single .more_posts_header {margin: 0 0 14px; overflow: hidden; padding: 14px 14px 1px;}
	body.single .more_posts_header h3 {margin: 0 0 10px;}
	
	/* index loops */
	.post_loop_wrap {padding: 14px 14px 1px; margin: 0 0 14px;}
	.loading_more {height: 15px; display: block; text-align: center; clear: both; margin: 0 0 20px;}	
	.entry-meta  {display: none; opacity: .5;}
	body.blog .entry-meta, body.archive .entry-meta {display: block;}
	body.loop div.hentry{margin: 0 0 14px; overflow: hidden;}
	body.loop div.is_single.hentry{min-height: 100%;}
	
	/* sidebar */
	.widget-wrap {margin: 0 0 14px; overflow: hidden; padding: 14px 14px 1px;}
	h5.widgettitle {margin: 0 0 10px;}
	.widget-wrap ul {overflow: hidden;}
	.widget-wrap li {float: left; padding: 0 14px 14px 0;}
	#aside .tagcloud {margin: 0 0 14px;}
	
	/* logos */
	#the_logos_inner {margin: 0 -14px 0 0;}
	.logo {display: inline-block; vertical-align: middle; margin-left: 0;}
	.logo_inner {margin: 0 14px 14px 0; text-align: center;}
	.logo_inner img {max-width: 120px;}

	/* shares */
	.share_links_container {margin: 0 0 14px; padding: 15px 14px 1px;}
	.share_links {overflow: hidden;}
	#share_intro {margin: 0;}
	.item_share_text {vertical-align: sub; display: inline-block;}
	.share_item {position: relative; margin: 0 20px 14px 0; display: inline-block; height: 25px;}
	a.share_link {display: inline-block; width: 30px; height: 30px; vertical-align: top; margin-left: 4px;}
	#facebook_count a.share_link {margin-left: -4px;}
	
	/* footer */
	.small_footer, #small_quotes_cta {display: none;}
	.footer {margin: 0 0 14px; padding: 14px 14px 10px;}
	.small_footer .footer {margin: 0; background: none;}
	.footer .footer_content {margin: 0 0 14px; overflow: hidden;}
	.footer .footer_content.level_2 {margin: 0;}
	#wrap .footer .level_4 {clear: both; float: none; width: 100%; margin: 0;}
	#wrap .footer .level_4 li {display: inline-block; margin: 0 14px 14px 0;}
	.footer .level_6 {margin: 0 0 3px; clear: left;}
	.footer .level_5 {margin: -6px 0 28px; clear: left;}
	.footer .footer_icon {padding-left: 3px;}
	.footer span.footer_phone {padding: 0 20px 0 0;}
	.footer .footer_share_block {display: inline-block; margin: 0 13px 14px 0;}
	.footer .footer_icon a {display: inline-block; vertical-align: bottom; width: 30px; height: 30px;}
	
	.col_wrap {margin: 0 -14px -14px 0; overflow: hidden;}
	.col {width: 100%; float: left;}
	.col_inner {margin: 0 14px 14px 0; position: relative; padding: 0 0 1px;}
	.col:last-of-type .col_inner {border: none;}
	.col5 .col {width: 20%;}	
	.col4 .col {width: 25%;}	
	body.wider_content .col4 .col{width: 33.333%;}
	.col3 .col {width: 33.333%;}	
	.col2 .col, .col-2 {width: 50%;}	
	.col-60 {width: 60%;}
	.col-40 {width: 40%;}

	#instagram_loop_wrap .col4 .col {width: 240px; height: 240px;}
	
	.anr_captcha_field_div {margin-top: 14px;}
	
	/*! page images
	---------------------------------------------- */
	.slide_wrap {margin: 0 -14px 0 0; overflow: hidden; position: relative; height: 100%;}
	.page_gallery {margin: 0 14px 14px 0; float: left; width: 226px; height: 170px; position: relative; overflow: hidden; cursor: pointer; max-width: 706px;}
	.square .page_gallery {height: 226px;}
	.portrait .page_gallery {height: 300px;}
	.slide_img_1.page_gallery  {width: 100%; height: 100%;}
	.square .slide_img_1.page_gallery{max-height: 100%; height: auto;}
	.portrait .slide_img_1.page_gallery {max-height: 100%; height: auto;}
	.featured_image {margin: 0 14px 14px 0; position: static;}
	
	body.wider_content .slide_img_1.page_gallery {max-width: 100%;}	
	.square .slide_img_1.page_gallery {max-width: 706px;}
	.portrait .slide_img_1.page_gallery {max-width: 466px; max-height: 614px;}
	body.wider_content.portrait .slide_img_1.page_gallery {max-height: 100%;}	
	#small_images {width: 226px; height: 538px; display: block; vertical-align: top; overflow: hidden;}
	body.square #small_images {width: 226px; height: 706px; display: block;}
	body.portrait #small_images {width: 466px; height: 614px; display: block;}
	body.wider_content #small_images {display: none;}
	body.square.wider_content #small_images {height: 100%;}
	.slide_1_wrap, #content .media_first_wrap  {display: none;}
	#content .slide_1_wrap .page_gallery{float: none;}
	
	.responder, .iframe_wrap {width: 100%; height: 100%; max-width: 1200px; max-height: 900px; padding-top: 76%;}
	.insta_image .responder {max-height: 600px;}
	.iframe_wrap {padding-top: 55%;}
	.portrait .responder, .responder.portrait {max-width: 900px; max-height: 1200px; padding-top: 132%;}
	.square .responder, .responder.square {max-width: 1200px; max-height: 1200px; padding-top: 100%;}
	
	.page_down {display: none;}
	
	#page_images .slide_1_wrap {display: block;}
	.slide_1_wrap {margin-right: 0; position: relative;}
	body.wider_content .slide_1_wrap {margin-right: -14px;}
	body.wider_content.portrait .slide_1_wrap {margin-right: 0px;}
	
	body.single-product #wrap .slide_1_wrap {margin: 0 0 14px;}
	
	.slide_img_2 {display: none;}
	#small_images .slide_img_2{display: block;}
	.slide_img_3 {display: none;}
	#small_images .slide_img_3{display: block;}
	.slide_img_4 {display: none;}
	#small_images .slide_img_4{display: block;}		
	
	body.square .slide_img_2 {display: none;}
	body.square #small_images .slide_img_2{display: block;}
	body.square .slide_img_3 {display: none;}
	body.square #small_images .slide_img_3{display: block;}
	body.square .slide_img_4 {display: none;}
	body.square #small_images .slide_img_4{display: block;}
	
	body.portrait .slide_img_2 {display: none;}
	body.portrait #small_images .slide_img_2{display: block;}
	body.portrait .slide_img_3 {display: none;}
	body.portrait #small_images .slide_img_3{display: block;}
	body.portrait .slide_img_4 {display: none;}
	body.portrait #small_images .slide_img_4{display: block;}
	body.portrait .slide_img_5 {display: none;}
	body.portrait #small_images .slide_img_5{display: block;}		
	
	body.wider_content .page_gallery {display: block;}
	
	body.landscape.stretch_images .slide_1_wrap {margin-right: -14px;}
	body.landscape.stretch_images .page_gallery {display: inline-block; max-width: 100%; max-height: 537px;}
	body.landscape.stretch_images #small_images {display: none;}
	
	.flex-viewport {margin: 0 0 14px;}
	
	h2.slide_meta_title {color: #fff;}
	
	body.home .is_single.entry-content {max-width: 720px; margin: 0;}
	body.home.is_singular #wrap .is_single.hentry {margin: 0 0 14px;}

	.latest_news .read_more {left: 14px;}
	.featured_banner {position: relative; margin: 0 0 14px; text-align: left; height: 390px; transition: none;}
	#m2tp_featured_page_wrap .featured_banner {visibility: hidden;}
	.page_img {max-width: 720px; position: absolute; top: 0; bottom: 0; left: 0; right: auto; width: 100%;}
	.page_text {max-width: 706px; position: absolute; top: 0; bottom: 0; left: auto; right: 0; width: 100%; overflow: hidden;} 
	.featured_banner.even .page_img {left: auto; right: 0;} 
	.featured_banner.even .page_text {left: 0; right: auto;}
	.body_bordered_right {border-right: 14px solid transparent;}
	.body_bordered_left {border-left: 14px solid transparent;}
	.mobile_responder {display: none;}	
	
	.featured_prods .page_gallery {text-align: center;}
	.inner_cta {vertical-align: middle; background: none; position: absolute; top: 0; bottom: 0; left: 0; right: 0; padding: 14px; display: none;}
	.page_gallery:hover .inner_cta {display: block;}
	.the_wall {height: 100%; display: inline-block; vertical-align: middle;}
	.featured_text_wrap {display: inline-block; vertical-align: middle; padding: 14px; max-height: 270px; overflow: hidden;}
	.featured_prods .featured_text_wrap {padding: 1px;}
	.featured_text_wrap h2 {background: none !important;}
	.read_more {margin: 14px 0 0; background: none !important;}
	#cookie_policy_inner .read_more {margin: 0;}
	.product_title {margin: 0 0 4px;}
	.the_text {position: relative;}
	.product_title_inner {position: relative; display: inline-block; vertical-align: middle; max-height: 82px; overflow: hidden;}
	.see_more_from {margin: 0 0 2px;}
	
	.entry-meta {margin: 0 0 7px;}
	.entry-content input, .entry-content textarea, .entry-content select {display: block; max-width: 100%; width: 100%; outline: none !important;}
	.entry-content input.button {display: inline-block;}
	.entry-content input[type="text"], input.search-field {height: 36px;}
	.entry-content table {text-align: left;}
	.m2tp_submit {font-weight: normal;}
	.m2tp_submit:hover {background: none;}
	
	h5.widgetheader {display: inline-block; vertical-align: top;}
	
	#comments h2, span#reply-title {margin: 0 0 14px;}
	.comment_container> img {float: right; margin: 0 0 14px 14px;}
	.comment p {clear: none; margin: 0;}
	#comments li {clear: both;}
	.commentlist li {margin: 0 0 14px; overflow: hidden;}
	#commentform #submit {margin: 14px 0;}
	
	#commentform .star-rating {padding: 10px 0 0;}
	#respond {overflow: hidden;}
		
	#extra_images {clear: both;}
	#main_aside {position: relative;}
		
	form input[type="image"]{width: auto;}
	
	#wrap .widget_products .widget-wrap {padding: 0; background: none; margin: 0;}
	#wrap .widget_products .widget-wrap h5.widgettitle {padding: 14px;}
	
	.footer .footer_content.level_1, .footer .footer_content.level_2 {display: inline-block; margin-right: 20px;}
	
	.top_close_strip, #meta_strip_top, .quickview_close {height: 40px; z-index: 9999; position: fixed; top: 0; left: 0; right: 0;}
	.closer {display: inline-block; width: 24px; height: 24px;}
	.closer {position: absolute; right: 10px; left: auto; top: 8px;}
	.closer:hover {cursor: pointer;}
	
	/* media query global scope */	
	@media only screen and (min-width: 0px){
		.wrapped {width: 100%;}		
		.wrapped {max-width: 1454px;}
		body.wider_content #content {width: 720px;}
	}
	
	/* 1456px */
	@media only screen and (max-width: 1480px){
		.wrapped {max-width: 1214px;}
		body.single .widget_container {margin: 0;}	
		.col4 .col {width: 33.333%;}
		body.wider_content .col4 .col {width: 50%;}
		.slide_1_wrap {margin-right: -14px;}
		#wrap  #small_images {width: 100%; display: block; height: 100%;}
		
		#wrap  #small_images {display: none;}
		#extra_images .page_gallery {display: inline-block;}
		
		body.square .slide_1_wrap {margin-right: -14px;}

		body.portrait .slide_1_wrap {margin-right: 0;}
		body.portrait #wrap #small_images {width: 226px; height: 614px; display: inline-block;}
		body.portrait #small_images .slide_img_4{display: none;}
		body.portrait #small_images .slide_img_5{display: none;}
		body.portrait #extra_images .slide_img_4 {display: inline-block;}
		body.portrait #extra_images .slide_img_5 {display: inline-block;}
		body.portrait #extra_images .slide_img_2 {display: none;}
		body.portrait #extra_images .slide_img_3 {display: none;}
		body.wider_content.portrait #wrap #small_images {display: none;}
		body.wider_content.portrait #extra_images .slide_img_2 {display: inline-block;}
		body.wider_content.portrait #extra_images .slide_img_3 {display: inline-block;}

		body.wider_content.portrait .slide_1_wrap {margin-right: -14px;}
		
		.page_text {max-width: 466px;}
		
		.featured_text_wrap {max-height: 100%;}
	}
	
	/* 976px */
	@media only screen and (max-width: 1240px){
		#wrap  #aside #small_images {display: none;}
		body.portrait .slide_1_wrap {margin-right: -14px;}
		body.portrait #extra_images .slide_img_2 {display: inline-block;}
		body.portrait #extra_images .slide_img_3 {display: inline-block;}		
		body.square .slide_img_1.page_gallery {max-height: 466px;}
		.wrapped {max-width: 974px;}		
		body.single #more_posts_loop {width: 480px; float: none;}
		body.single .widget_container {margin: 0;}
		
		#nav {position: static;}
		body.single #wrap #single_widgets {width: 240px;}	
		body.wider_content #content, body.loop #content, body.single #content{width: 480px;}
		body.single.wider_content #content{width: 720px;}
		body.page-template-full-width #content{float: none; width: 100%; padding: 0;}
		.lt_1400 {display: none;}
		#wrap .blog_image_container {float: none; margin: 0 0 14px; width: 100%; height: auto;}
		body.wider_content .col4 .col, .col4 .col {width: 50%;}
		
		.page_img {max-width: 480px}
		
		.footer .footer_icon {padding: 0 14px 0 3px;}
				
		body.two_col_home #wrap .latest_news img {float: none; margin: 0 0 14px; width: auto; height: auto;}
		body.two_col_home #wrap .latest_news {padding: 14px 14px 40px; height: auto;}
		body.two_col_home .latest_news .title_wrap {position: static;}
		body.two_col_home #wrap .latest_news {padding: 14px 14px 40px;}
		body.two_col_home #wrap .latest_news img {float: none; margin: 0; width: auto; height: auto; max-width: 100%;}
		body.two_col_home .latest_news .news_img {float: none; margin: 0 0 14px; max-width: 100%;}
		body.two_col_home .latest_news .read_more {left: 14px;}
		
		/* probably touch by this width */
		.product_loop_wrap .flickity-prev-next-button {display: block;}
		
		body.single.wider_content  #more_posts_loop {width: 240px;}
		
	}
	
	/* 736px */
	@media only screen and (max-width: 1023px){
		.wrapped {max-width: 494px;}
		
		.slide_img_1.page_gallery {width: auto;}
		
		#wrap ul.primary_menu {display: none;}
		#wrap #small_menu_button{display: block;}
		body.no-js #wrap #small_menu_button {display: none;}
		body.no-js ul.small_menu {display: block; position: static;}
		#wrap .latest_news img {float: none; margin: 0 0 14px; width: auto; height: auto;}
		#wrap .latest_news {padding: 14px 14px 40px; height: auto;}
		.latest_news .title_wrap {position: static;}
		body.single #wrap #latest_articles {width: 100%; float: none;}
		body.single #wrap #single_widgets {width: 100%; float: none;}
		#wrap .latest_intro {width: auto; margin: 0 14px 14px 0;}
		.slide_1_wrap, #content .media_first_wrap {display: block;}
		#aside .slide_1_wrap, #aside .media_first_wrap, #product_images  {display: none;}
		#content #tiled_slideshow {margin: 0 0 14px; width: auto; float: none;}
		#upper_pics_wrap {height: auto; margin: 0;}	
		#lower_pics_wrap {height: auto;}
		
		.insta_button {margin: 0 300px 0 0;}
		#insta_next.insta_button {margin: 0 0 0 300px;}
		#instagram_wrap {max-height: none; max-width: 600px; height: auto; overflow: auto; top: 30px;}
		.caption{height: 100%;}
		.insta_text {max-height: none; max-width: 600px; height: auto; padding-bottom: 120px;}
		body.wider_content .col4 .col, .col4 .col {width: 50%;}
		#wrap .latest_news img {float: none; margin: 0 0 14px; width: auto; height: auto;}

		#wrap #header {margin: 0 0 14px;}
		#wrap #header .site_tagline {display: block !important; position: static; text-align: left; margin: 0; max-width: 100%; max-height: none; padding: 14px 0;}
		#wrap #content {float: none; width: auto;}
		#wrap #content{padding: 0;}
		#footer, .site_link, .page_quotes {display: none;}
		.small_footer, #small_quotes_cta{display: block;}
		#small_quotes_cta .site_link, #small_quotes_cta  .page_quotes, .is_single.hentry .page_quotes {display: block;}
		#aside, body.wider_content #aside, body.loop #aside, body.single #aside {margin: 0;}
		#wrap .latest_news {padding: 14px 14px 40px;}
		body.home #wrap .latest_news img {float: none; margin: 0; width: auto; height: auto; max-width: 100%;  position: static;}
		body.home #wrap .latest_news .news_img {float: none; margin: 0 0 14px; width: 100%; height: auto; position: static;}
		.latest_news .read_more {left: 14px;}
				
		#contact_header, #header_social_content {margin: 0 0 14px; display: none;}
		
		.body_bordered_right, .body_bordered_left {border: none;}
		.page_img, .page_text {position: static; max-width: 100%;}
		.featured_banner {display: block; height: auto; max-height: 100%;}
		#wrap .featured_text_wrap.latest_news {padding: 14px;}
		
		body.page-template-full-width .col2 .col, body.page-template-full-width .col-2, body.wider_content .col4 .col, .col4 .col {width: 100%;}
		#wrap #header .header_inner{padding-top: 40px; height: auto;}
		
		body.page-template-full-width .home_extra_text .col_inner, body.page-template-full-width .home_extra_text .col:last-of-type .col_inner{border: none; margin: 0;}
		body.home.is_singular #wrap .home_extra_text .is_single.hentry {margin-bottom: 0;}
		
		body.page-template-full-width .home_extra_text.col_wrap {margin: 0 0 14px;}
		
		#header .m2tp_logo {padding: 14px 0 0; margin-right: 54px;}
		body.page-template-full-width:not(.woocommerce-order-received) .footer .footer_content {float: none; margin-right: 0; display: block;}
		.level_1 span {display: block;}
		.level_1 span.footer_text.email {display: inline;}
		.footer span.footer_phone {padding: 0 0 14px;}
		
		#home_slideshow {height: 330px;}
		
		body.single.wider_content  #more_posts_loop {width: auto; padding: 0;}
		body.single.wider_content .widget_container {margin: 0;}	
		
	}
	
	/* 100% */
	@media only screen and (max-width: 494px){
		.wrapped {max-width: 466px;}
		#wrap .footer_newsletter_span {display: none;}
		body.page-template-front-page #wrap #home_page_banner .header_text{width: 100%; margin: 0 0 14px;}
		#wrap #home_page_banner .padd{width: 100%; max-width: 100%;}
		body.page-template-front-page #wrap #home_page_banner .header_text_inner{width: 100%; padding: 14px 28px 14px 14px;}
		body.has_no_images #wrap #home_page_banner, body.page-not_home #wrap #home_page_banner{background: none;}
		#wrap .footer_text.email {display: block; margin: 4px 0 0;}
		#wrap .footer .footer_content.level_2 span.footer_text {display: none;}
		#wrap .latest_articles {margin: 0;}
		#wrap #case_loop, #wrap .slide_wrap, #wrap #instagram_loop_wrap .col_wrap, #wrap .home_tiled_ext, #wrap #lower_pics_wrap {background: none;}
		body.m2tp_default #wrap .page_gallery {float: none; margin: 0 14px 14px 0; width: auto; height: auto; display: block;}
		#case_loop .colour_block {float: none; height: auto; width: auto; margin: 0 0 14px;}
		.colour_block > .case_hover, #instagram_loop_wrap .col4 .col {width: 100%; height: 100%;}
		#content #tiled_slideshow {height: auto;}
		.footer .footer_content.level_1, .footer .footer_content.level_2 {display: block;}
		.footer .footer_icon {padding: 0;}
		.featured_text_wrap {max-height: 637px;}
		.featured_text_wrap.archive_ad {max-height: 100%;}
	}