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

.m-only {
	display: block;
}

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

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

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

header .inner {
	/* width: 100%; */
}
	
/* 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;
}

/* NAV *********************************************************** */
nav {
   	position: relative;
    float: left;
    width: 100%;
    height: auto !important;
}
    
.flexnav {	
	padding: 0px;
	margin: 0px;
    overflow: hidden;
}
	
.flexnav-show {
	border-top: 1px solid black;
    margin-bottom: 20px;
}

.flexnav li ul {
    width: 100%;
    position: relative;
}
	
.flexnav li {
    width: 100%;
    float: left;
    text-align: center;
}

.flexnav li a {
    float: left;
    width: 100%;
    padding: 17px;
    border-bottom: 1px solid black;
} 

.flexnav .touch-button {
    display: block;
}
    
.menu-button {
    display: block;
}
/* FEATURED *********************************************** */
    
.nav-arrows .arrow {
    width: 35px;
}

.featured h2 {
    font-size: 30px;
    line-height: 33px;
} 

/* 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%;
}
    
/* HOMEPAGE ******************************** */
    
.ctaitem {
    width: 100%;
    padding-bottom: 50%;
    float: left;
}

.ctaitem h2 {
    margin-top: 16%;
}
    
/* 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;
}
    
/* 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: 50%;
	padding: 5px 5px 5px 30%;
	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;
}

/* ADDED STYLES ******** */
    
.logo {
    position: relative;
    float: left;
    top: 0px;
    max-width: 180px;
}

.logo img {
    max-height: 100%;
    width: 100%;
    float: left;
}

.logo a {
    float: left;
    /* display: block; */
    width: auto !important;
}

h1, h2 {
    font-size: 24pt;
    line-height: 27pt;
}

.content .inner .w100_left#homepage {
    padding: 50px 0px;
}

.cta_service {
    width: 100%;
    padding-bottom: 49%;
    margin-left: 0px;
    margin-bottom: 10px;
}

.cta_service:nth-of-type(3) {
    margin-left: 0px;
}

.blogposts .titlewrap {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    float: left;
    width: 100%;
    transform: none;
    margin-bottom: 16px;
}

.blogposts .titlewrap h2 br {
    display: none;
}

.blogposts .titlewrap .button {
    float: none;
    margin-top: 0px;
    display: table;
    margin: auto;
}

.blogposts .titlewrap h2 {
    float: left;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.blog_post {}

.postwrap.w80_right {
    width: 100%;
}

.blog_post {
    width: 100%;
    margin-bottom: 32px;
    margin-left: 0px;
    margin-right: 0px;
}

.content.servicearea h2 {
    width: 220px;
}

.content.servicearea h2::after {
    border-left: 110px solid transparent;
    border-right: 110px solid transparent;
}

.content.servicearea {
    padding-top: 50px;
}
    
.projectpost {
    width: 100%;
    padding-bottom: 100%;
    margin-left: 0px;
    margin-right: 0px;
}

.projectpost p {
    display: none;
}
    
.headingarea h1 {
    font-size: 24pt;
    line-height: 27pt;
}
    
.serviceimg {
    width: 65%;
    padding-bottom: 65%;
    margin-left: 17.5%;
    margin-bottom: 21px;
    float: left !important;
}

.service_section .servicedetails {
    width: 100%;
    text-align: center;
}
    
.service_section .buttonarea {
    float: none;
    display: table;
    margin: auto;
}
    
.gallerywrap a {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 16px;
    padding-bottom: 69%;
}
    
.awarditem {
    width: 98%;
}
	
	.content video {
    width: 100% !important;
}

    
}
