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

.m-only {
	display: block;
}
.m-none {display: none;}
.m-only-inline {
	display: inline-block;
}

.t-only, .d-only, .w-only {
	display: none;
}

.inner {
	width: 90%;
	margin: auto;
}

header .inner {
    width: 100%;
}
    
.logo img { height: 110px; padding: 20px 0px 20px 20px; margin-top: 46px; }
.header_login { width: 100%; height: 46px; margin: 0; padding:12px 15px 7px; font-size: 14px; text-align: right; position: absolute; top: 0;}
.header_login img { float: none !important;}
header .phonenumber { font-size: 24px; margin: 8px 10px 0 0; }

	
/* TABLET ******************************************************** */

table { 
	display: -webkit-flex;
	overflow: scroll;
	position: relative;
}
	
table tbody::after {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 40px;
    background-image: url(../images/arrow_table.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: 0.3s;
    opacity: 0.8;
	display: none;
}
	
table caption {
    padding: 13px;
}
    
/* FEATURED ************************************ */

.featured_slider .slide {
    padding-bottom: 75%;
}
.featured .slidercontent {
    bottom: 20px;
}
.featured .button {
    width: 70px;
    height: 70px;
    margin: 0 15px 0 0;
    padding: 8px 0 0 0;
    font-size: 16px;
    line-height: 18px;
}
.featured h2 {
    font-size: 46px;
    line-height: 43px;
    margin: 6px 0;
}

.featured p {
    font-size: 14px;
    line-height: 16px;
    margin:5px 0 0 0;
}        

.nav-arrows .arrow {
    width: 35px;
}

.featured h2 {
    font-size: 30px;
    line-height: 33px;
} 
    
.content .inner .w100_left {
    padding: 30px 0px;
}
.content .inner .products_page_gallery {padding:0 0 30px 0;} 
.bg_mid_grey {
    padding: 30px 0;
}
/* HOMEPAGE */
#homepage h1 {
    font-size: 30px;
    line-height: 32px;
    margin: 10px 0 20px;
}
#homepage h2 {
    font-size: 18px;
    line-height: 24px;
    margin: 0px 0 20px;
    padding: 0;
}
#homepage p {
    font-size: 15px;
    margin: 0px 0 30px;
    padding: 0;
}
.homepage_products h3 {
    width: 100%;
    font-size: 22px;
    line-height: 24px;
    margin:20px 0 15px 0;
    text-align: center;
}
.homepage_products .button { width: 70px; min-width: 10px; font-size: 14px; line-height: 16px; margin: 0 1% 0 0; padding:8px 5px ; text-align: center;}
.product_item {
    width: 48%;
    padding-bottom: 45%;
    margin:1%;
}  
.product_item .content_absolute {
    padding: 0 2%;
}
.content .inner .homepage_products .product_item h2 {
    font-size: 16px;
    line-height: 21px;
    margin-top: 33%;
}
    
.product_x_3 .product_item {
    width: 100%;
    padding-bottom: 100%;
    margin: 0 0 15px 0;
}
.content .inner .homepage_products.product_x_3 .product_item h2 {
    margin-top: 81%;
    font-size: 20px;
    line-height: 26px;
    padding: 0 4%;
}
    
#post-384 figure {
    width: 100% !important;
    margin: 0 0 40px 0 !important;
}

.gallery-columns-4 .gallery-item {
    max-width: 100%;
}
    
ul.products li {
    /*width: 100%;
    margin: 15px 0 0 0;*/
	width: 48%;
    margin: 1%;
}
ul.products li a img {
    width: 100%;
    margin: 0;
}
ul.products li a h2 {
    width: 100%;
}
    
/* CTA/ICON AREA */
    
.ctaarea { padding-bottom: 50px; background-image: url("/wp-content/themes/tmwp2020/images/bg_cta_mob_SPC007Rooms-V1-1.jpg");}
.ctaarea::before { opacity: 0.4; }
.ctaarea h3 {
    font-size: 30px;
    margin: 60px 0 0px;
}    
.ctaitem {
    width: 100%;
    padding-bottom: 0px;
    float: left;
}
.ctaitem h2 { margin-top: 0; }
.ctaitem p { font-size: 13px; }
.ctaitem .content_absolute {
    position: relative;
    padding:150px 2% 0;
}
    
/* FOOTER FORM & BROCHURE */
.content_form_brochure .inner { width: 100%; }
.content_form_brochure .w50_left { padding: 60px 30px 60px 30px; background-color: #3e414f; }
.content_form_brochure .w50_right { padding: 60px 0px 60px 30px; background-color: #ebebeb;}
.content_form_brochure h2 {
    font-size: 22px !important;
    line-height: 34px !important;
    margin: 20px 0 30px;
}
.content_form_brochure .w50_left .inputfield:nth-child(2), .content_form_brochure .w50_left .inputfield:nth-child(3) {
    width: 100%;
    margin-left: 0;
}

/* LAYOUT ELEMENTS *********************************************** */

.w20_left, .w20_right {
	width: 100%;
	float: left;
}

.w30_left, .w30_right {
	width: 100%;
	float: left;
}

.w40_left, .w40_right {
	width: 100%;
	float: left;
}

.w50_left, .w50_right {
	width: 100%;
	float: left;
}

.w60_left, .w60_right {
	width: 100%;
	float: left;
}

.w70_left, .w70_right {
	width: 100%;
	float: left;
}

.w80_left, .w80_right {
	width: 100%;
	float: left;
}

.w100_left, .w100_right {
	width: 100%;
	float: left;
}

.sidebar {
	width: 100%;
	display: block;
	vertical-align: auto;
	margin-left: 4%;
}
    

    
/* CONTENT ************************* */
    
.content .inner .w100_left img.alignright, .content .inner .w100_left img.alignleft {
    float: left;
    width: 100%;
    margin: 0px;
    margin-bottom: 15px;
    margin-top: 10px;
}
.headingarea .inner {
    padding: 35px 0px;
}
.headingarea h1 {
    font-size: 24px;
}
.gallery_item {
    width: 100%;
    padding-bottom: 100%;
    margin: 0 0 4% 0;
}
	
.blogpost .blog_image {
    width: 100%;
    margin-right: 0%;
	margin-bottom: 20px;
    padding: 0 0 45% 0;
}
.blogpost.w-image .postexcerpt {
    width: 100%;
}
    
/* PRODUCT PAGE */
.product_page .w50_left {float: right; width: 100%;}
.product_page .w50_right {float: left; width: 100%; padding:10px 0px 0 0; margin-top:-125px;}
.product_page_content h2 {
	width:100%;
    font-size: 20px;
	text-align:center;
    line-height: 30px;
    margin: 0 0 15px 0;
}
.product_page_content p {
	text-align:center;
}
.product_page_content p a {
	float:none !important;
	display:inline-block;
    font-size: 16px;
    padding:10px 0;
	margin:0 auto;
} 
.product_points h3 {
    float: left;
    font-size: 15px;
    width: 50%;
    clear: none;
    margin: 5px 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
    line-height: 20px;
}
.product_page .featured .featured_slider .slide { padding-bottom: 120%;}
.tabssection .button {width: 100% !important; min-width: 10px; background-color: #777777; margin: 0 0 5px 0;}
    
.tabssection .button:hover {opacity: 1.0;}
.tabssection .tabs a:hover {opacity: 1.0;}

/* FOOTER ************************** */
    
.subscribe form {
    width: 100%;
    margin: auto;
}

/* CART ***************************************************** */

.cart .row_heading {
	display: none;
}

.cart .image {
	display: block;
	width: 30%;
	padding: 5px;
	vertical-align: top;
	float: left;
}

.cart .name {
	display: block;
	width: 60%;
	padding: 5px;
	vertical-align: top;
	float: left;
}

.cart .quantity {
	display: block;
	width: 70%;
	padding: 5px 5px 5px 0%;
	vertical-align: middle;
	float: left;
	clear: both;
}

.cart .price {
	display: block;
	width: 30%;
	padding: 15px 5px 5px 5px;
	vertical-align: middle;
	float: left;
}

.cart .item_total {
	display: inline-block;
	width: 100%;
	padding: 5px;
	vertical-align: inherit;
	font-weight: bold;
	text-align: right;
}

.cart .remove {
	/*position: absolute;
	top: 0px;
	right: 10px;
	display: block;
	padding: 5px;
	vertical-align: inherit;*/
}

.cart .totals {
	display: inline-block;
	width: 49%;
	padding: 10px 0px;
	text-align: right;
	font-weight: bold;
}

.cart .totals_title {
	display: inline-block;
	width: 49%;
	padding: 10px 0px;
	text-align: left;
	font-weight: bold;
}

.cart .button_left {
	display: block;
	margin: 10px 0px 0px 0px;
	float: none;
}

.cart .button_right {
	display: block;
	margin: 10px 0px 0px 0px;
	float: none;
}

.cart .spacer {
	display: none;

}
.cart .postage {
	display: none;

}

input[name="cardnumber"] {
	display: inline;
	width: 100%;
}

select[name="expiry_m"],
select[name="expiry_y"] {
	width: 30%;
	margin-right: 3%;
}

input[name="cvn"] {
	width: 30%;
	margin-right: 0%;
}

.pay_method {
	width: 50%;
	margin-bottom: 10px;
}

button.login_button,
button.guest_button,
button.billing_button,
button.shipping_button,
button.cc_button,
button.pp_button,
button.dd_button,
button.cash_button {
	width: 100%;
	float: none;
}
	    
/* FOOTER */
footer .logo {width: 100%; text-align: center;}
footer .logo a {float: none; margin: auto; text-align: center;}
footer .logo a img {margin:30px 0 0 0; padding: 0; height: 80px;}

footer p { font-size: 13px;
    text-align: center;
    margin: 30px 0 10px;
    width: 100%;
}
.footernav li, .footernav li a {
    width: 100%;
    text-align: center;
    padding:5px 0;
}
.menu-footer-menu-container {position: relative; top: 0; right: 0; width: 100%; margin: 0;}
	
/* WOO COMMERCE */

.page-id-465 .headingarea {display:none !important;}
.page-id-465.logged-in .headingarea {display:block !important;}

#post-465 .woocommerce {display: flex; flex-flow: column;}
#post-465 .woocommerce nav.woocommerce-MyAccount-navigation {order:2; width:100% !important; margin-top:20px;}
#post-465 .woocommerce .woocommerce-MyAccount-content {order:1; width:100% !important;}
#post-465 .woocommerce .woocommerce-MyAccount-content p.m-only {float:left; width:100%; clear:both;}
#post-465 .woocommerce .woocommerce-MyAccount-content p a.button {width:100%; margin:4px 0px;}
#post-465 .product_x_3 {display:none;}
	
/*	
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
	-webkit-appearance:block;
   opacity: 1;
display:block;
}*/
.woocommerce div.product form.cart {
    margin-bottom: 0.5em;
}
.single_add_to_cart_button {width:100% !important; /*margin:50px 0 0 !important;*/}
	
.woocommerce div.product p.price, .woocommerce div.product span.price {
    font-size: 1em;
	 color:#000000;
}
tr .woocommerce-Price-amount {font-family: 'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif; font-size:1.2em;}
tr.order-total .woocommerce-Price-amount {font-family: 'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif; font-size:1.5em;color: #77a464;}
p.price small {font-size:1em;}
.m2output {position:relative; /*top:-115px;*/ background-color:#eee9a2; padding:10px;}
	
.item_stock_levels {clear:both; border-top:solid 1px #eeeeee;border-bottom:solid 1px #eeeeee; padding:12px 0; font-family: 'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif;}
.product_meta {position: relative;
    /* top: -40px; */
    margin-bottom: 40px;
	}
	
.woocommerce h2 {
    margin: 0px 0px 15px 0px;
}
.woocommerce-MyAccount-content {
    float: left;
    width: 68% !important;
}	
nav.woocommerce-MyAccount-navigation {
	width:28% !important ;
}
nav.woocommerce-MyAccount-navigation ul li {
	width:100% ;
}
nav.woocommerce-MyAccount-navigation ul li a {
	font-size:11px;
	line-height:15px;
	padding:15px 0;
}
	#post-897 iframe {
		height:200px;
	}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	width:100%;
   padding: 1.2em 1em !important;
	margin: 5px 0 ;
}
	
/**/
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 0 0 1em;
    margin: 0 0 0em;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background-color: #eee9a2;
}
.woocommerce div.product .woocommerce-tabs .panel {
    margin: 0 0 30px !important;
    padding:15px 15px 0;
	border-right: 1px solid #d3ced2;
	border-bottom: 1px solid #d3ced2;
	border-left: 1px solid #d3ced2;
}
	
	
.woocommerce table.shop_table {
	display:table;
    border: 1px solid rgba(0,0,0,.1);
    margin: 10px -1px 24px 0;
    text-align: left;
    width: 100%;
    border-collapse: separate;
    border-radius: 5px;
}
.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
    display: block;
    width: 100%;
    float: left;
    text-align: right!important;
}
.woocommerce table.shop_table_responsive tr td.product-remove {
    height:42px;
}
.woocommerce table.shop_table_responsive tr td.product-name[data-title="Product"] {
    font-family: 'Avenir Next LT W01 Demi', Helvetica, Arial, sans-serif;
}
.woocommerce table.shop_table_responsive tr.woocommerce-shipping-totals td select {margin:8px 0;}
.woocommerce header.woocommerce-Address-title {padding:12px 12px 0; margin:0 0 10px !important;}	
.woocommerce header.woocommerce-Address-title h3 {width:75%; float:left;}
.woocommerce header a.edit {float: right;}
.woocommerce-account .content_form_brochure, .woocommerce-cart .content_form_brochure, .woocommerce-checkout .content_form_brochure {display:none;}
	
}