/*  Small screens */
@media only screen { } /* Define mobile styles */

@media only screen and (max-width: 40em) { 
	.template-fullwidth .fullinner{width: 100%; max-width: 100% !important;}
	.template-fullwidth .site-main{padding: 0 !important;}
	.contentinner{width:  96%;}
	.headerinner{width: 98%;}
	.tagline{
		position: relative;
		z-index: 0;
		left: 0;
		bottom: 0;
		width: 100%;
		padding: 0;
		
	}
	.site-footer{background url(images/footerbgmobile.jpg) center top; background-size: auto; padding: 20px 0;}

	.footer-contact h2{line-height: 1.4;}
	.entry-title{text-align: center;}
	.contentblock p{width: 100%;}
	.tagline h2{line-height: 42px;}
	.header-logo-phone{background: url(images/mobileheader.jpg); background-size: none;}
	#logo{display: block; margin: 0 auto;}
	.address,.headercontact{width: 100%; margin: 10px 0;}
	.headercontact .button{margin-bottom: 10px;}
	
} /* max-width 640px, mobile-only styles, use when QAing mobile issues */

/*  Medium screens */
@media only screen and (min-width: 40.063em) { } /* min-width 641px, medium screens */

@media only screen and (min-width: 40.063em) and (max-width: 63.938em) {
	.template-fullwidth .fullinner{width: 100%; max-width: 100% !important;}
	.template-fullwidth .site-main{padding: 0 !important;}
	.contentinner{width:  96%;}
	.headerinner{width: 98%;}
	.footer-contact h2{line-height: 1.4;}
	.tagline{
		position: relative;
		z-index: 0;
		left: 0;
		bottom: 0;
		width: 100%;
	}
	.header-logo-phone{background: url(images/mobileheader.jpg); background-size: none;}
	#logo{display: block; margin: 0 auto;}
	.address,.headercontact{width: 48%; margin: 1%;}
	.headercontact .button{margin-bottom: 10px;}
 } /* min-width 641px and max-width 1023px, use when QAing tablet-only issues */

/* Large screens */
@media only screen and (min-width: 64.000em) { } /* min-width 1024px, large screens */

@media only screen and (min-width: 64.000em) and (max-width: 90em) { 
	.template-fullwidth .fullinner{width: 100%; max-width: 100% !important;}
	.template-fullwidth .site-main{padding: 0 !important;}
	.contentinner{width:  96%; max-width:1200px;}
	.headerinner{width: 98%;}
	#logo{
		float: left;
    		width: 300px;
	}
	.tagline{bottom: 50px; left: 60px;}
} /* min-width 1024px and max-width 1440px, use when QAing large screen-only issues */

/*  XLarge screens */
@media only screen and (min-width: 90.063em) { } /* min-width 1441px, xlarge screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) {
	.template-fullwidth .fullinner{width: 100%; max-width: 100% !important;}
	.template-fullwidth .site-main{padding: 0 !important;}
	.contentinner{width:1200px;}
	.headerinner{width: 98%; max-width: 1600px;}

 } /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */

/*  XXLarge screens */
@media only screen and (min-width: 120.063em) { 
	.template-fullwidth .fullinner{width: 100%; max-width: 100% !important;}
	.template-fullwidth .site-main{padding: 0 !important;}
	.contentinner{width: 1200px;}
	.headerinner{width: 1600px;}
} /* min-width 1921px, xxlarge screens */

/*  Tablet Portrait screens */
@media only screen and (min-width: 37.500em) and (max-width: 56.250em) and (orientation: portrait) {
.hide-tablet-portrait {display: none !important;}
.show-tablet-portrait {display: inherit !important;}
 } /* tablet-only issues min-600px max-900px */