/*
 MyWork CMS Mobile Framework - Stylesheet
 Author: Martin Krestan | Jeramy Simpson
 Author URL: http://www.mywork.com.au
 Version: 1.0
*/

/************************************************************************************
New Asset Styling and Global Overrides
*************************************************************************************/
/* Inputs */
textarea,
input[type="text"],
input[type="password"],
.form-element textarea,
select {
	width: 100%;
	float: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	*width: expression((this.parentNode.clientWidth - parseInt(this.currentStyle['paddingLeft']) - parseInt(this.currentStyle['paddingRight'])) + 'px');
}
input[type="text"] {
	width: 72%;
}
#regbox input[type="text"]{
	width: 100%;
}
input:focus,
textarea:focus,
select:focus {
	border: 1px solid #aaaaaa;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
}
/* .form-element label {
	display: none;
} */
/* Float Fix for inline errors */
.form-element input[type="text"] {
/*  float: none;*/
}
/* Layout */
#container-all-outer,
#container-all-inner {
	width: 100%;
	overflow: visible;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#container-all {
	display: block;
	min-width: 100%;
	width: 100%;
	overflow: visible;
	margin-left: auto;
	margin-right: auto;
}
/* Mobile Menu */
.mobile-header {
	line-height: 100%;
	margin: 0px;
	padding: 0px;
	width: 100%;
	display: none;
	position: relative;
	z-index: 30;
	background: #48454D;
	z-index: 9999;
}
.mobile-header ul {
	margin: 0px;
	padding: 0px;
	z-index: 30;
	list-style: none;
}
.mobile-header ul li {
	float: left;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	position: relative;
	z-index: 30;
	width: 25%;
}
.mobile-header ul li.m-email,
.mobile-header ul li.m-call {
	width: 50%;
}
.mobile-header ul li.m-call {
	display: none;
}
.mobile-header ul li a {
	margin: 0px;
	padding: 10px 0px;
	width: auto;
	display: block;
	text-align: center;
	font-size: 12px;
	line-height: 12px;
	color: #ffffff;
	background: none;
}
.mobile-header ul li.m-email a,
.mobile-header ul li.m-call a {
	background-color: #48454D;
}
.mobile-header ul li a i {
    display: block;
    font-size: 14px;
    height: 14px;
    line-height: 14px;
    margin: 0px auto 5px auto;
}
.mobile-header ul li.active a {
	background-color: #343136;
}
.mobile-header ul li.m-menu a span.menu-open,
.mobile-header ul li.m-menu.active a span.menu-close {
	display: inline;
}
.mobile-header ul li.m-menu.active a span.menu-open,
.mobile-header ul li.m-menu a span.menu-close {
	display: none;
}
/* Mobile Menu */
.mobile-menu {
	background: #48454D;
	margin: 0px;
	padding: 0px;
	width: 200px;
	text-transform: none;
	font-size: 12px;
	position: absolute;
	top: 50px;
	z-index: 9998;
	display: none;
}
.mobile-menu-bg {
	background: #48454D;
	margin: 0px;
	position: fixed;
	width: 200px;s
	top: 0px;
	bottom: 0px;
	z-index: 9997;
	display: none;
	height: 100%;
}
/* Top Level Menu Navigation */
.mobile-menu ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	width: 100%;
}
.mobile-menu ul > li {
	width: 100%;
	border-bottom: 1px solid #ffffff;
	display: block;
	float: none;
}
.mobile-menu ul li a {
	font-size: inherit;
	margin: 0px;
	z-index: auto;
	padding: 15px;
	background: none;
	width: auto;
	text-transform: none;
	line-height: 15px;
	border: 0px;
	display: block;
	color: #ffffff;
	text-align: left;
	font-weight: bold;
	background: none;
}
.mobile-menu ul li a:hover {
	color: #F47621;
}
/* Second Level Menu Navigation */
.mobile-menu ul ul li {
	border-bottom: 0px;
	padding-left: 20px;
	width: auto;
}
.mobile-menu ul ul li a {
	color: #cccccc;
}
/* Third Level Menu Navigation */
.mobile-menu ul ul ul li {
}
.mobile-menu ul ul ul li a {
	color: #999999;
	font-weight: normal;
}
/* Header */
/* Call To Action */
.call-to-action .contact-email a.email i {
	display: none;
}
/* View Full / Mobile Site Buttons */
.view {
	display: none;
	text-align: center;
	margin: 20px 0px;
}
.view a {
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	background-color: #777777;
	background-image: linear-gradient(to bottom, #777777, #555555);
	background-image: -moz-linear-gradient(top,  #777777 0%, #555555 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#777777), color-stop(100%,#555555));
	background-image: -webkit-linear-gradient(top,  #777777 0%,#555555 100%);
	background-image: -o-linear-gradient(top,  #777777 0%,#555555 100%);
	background-image: -ms-linear-gradient(top,  #777777 0%,#555555 100%);
	background-image: linear-gradient(to bottom,  #777777 0%,#555555 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#777777', endColorstr='#555555',GradientType=0 );
	background-repeat: repeat-x;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #B3B3B3;
	border-image: none;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
	color: #dddddd;
	cursor: pointer;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.75);
	vertical-align: middle;
	padding: 12px;
	display: inline-block;
	width: auto;
}
.view a:hover,
.view a:active,
.view a:focus {
	background-color: #555555;
	color: #ffffff;
	background-position: 0 -15px;
	text-decoration: none;
	transition: background-position 0.1s linear 0s;
}
.view a + a {
	margin-left: 10px;
}
/* Footer */
/* Advanced Footer */
.footer-contact .contact-email a.email i {
	display: none;
}
#menu {
	width:560px;
}

/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {

	/* CSS Mobile Reset */
	body {
		word-wrap: break-word;
		-webkit-text-size-adjust: none;
		line-height: 175%;
	}
	/* Links */
	a {
		font-weight: normal;
	}
	/* Structure */
	#container-all-outer div {
		box-sizing: border-box; 
		-moz-box-sizing: border-box; 
		-webkit-box-sizing: border-box;
		*width: expression((this.parentNode.clientWidth - parseInt(this.currentStyle['paddingLeft']) - parseInt(this.currentStyle['paddingRight'])) + 'px');
	}
	/* Image Overrides */
	#wrapper img,
	#wrapper img[style] { 
		border: 0px !important; 
		max-width: 100% !important; 
		height: auto !important;
	}
	/* Mobile Menu */
	.mobile-header {
		display: block;
	}
	#linkCOunter {
		display: none;
	}
	.mobile-menu,
	.mobile-menu.active,
	.mobile-menu-bg.active {
		display: block;
	}
	/*Headings*/
	h4 {
		font-size:11px;
	}
	/* Tables */
	table[style] { 
		width: auto !important; 
		border-collapse: collapse !important;
		border-spacing: 0px !important; 
	}
	/*Tables page id 13*/ 
	.page13 #wrapper table tbody tr td img,.page13 #wrapper table tbody tr td img[style] {
		width:100% !important;
		height:auto !important;
		padding:10px 0px 10px 0px;
	}
		/* Responsive Tables */ 
	/* Force table to not be like tables anymore */
	.page13 table,
	.page13 thead,
	.page13 tbody,
	.page13 th,
	.page13 td,
	.page13 tr { 
		display: block; 
		width: 100%;
	}
	.page13 table[style] {
		height:auto;
	}
	.page13 tbody{
		width: auto;
	}
	/* Hide table headers (but not display: none;, for accessibility) */
	.page13 thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	.page13 tr [style]{ 
		/* border: 1px solid #ccc; */ 
		width: auto !important;
	}
	.page13 td[style] {
		width: auto;
	}
	/*contact form*/
		.footer-form .contact-form {
		width: auto;
		display: block;
		margin: 0px 20px;
	}
	.footer-form .contact-form .column.large {
		width: auto;
		margin: 0px 0px 0px 326px;
		float: none;
	}
	/* Tables */
	table[style] { 
		width: auto !important; 
		border-collapse: collapse !important;
		border-spacing: 0px !important; 
	}
	/* Forms */
	keygen,
	select,
	input.submitbutton { 
		-webkit-border-radius: 0px;
		border-radius: 0px;   
	}
	.formError.inline .formErrorContent {
		width: 100%;
	}

	/* Call To Action */
	.call-to-action  {
		right:79px;
		top:88px;
	}
	.call-to-action .contact-social {
		top:0px;
		left:150px;
	}
	.call-to-action .contact-email {
		display:none;
	}
	/*Tagline*/
	#tagline{
		top:133px;
		left:20px;
	}
	/* Navigation Bar*/
	#menu {
		display: none;
	}
	/* Layout */
	#container-all-outer {
		width: 100%;
		overflow: hidden;
		display: block;
	}
	#container-all-inner {
		width: 100%;
		overflow: hidden;
		display: block;
	}
	#container-all {
		display: block;
		min-width: 320px;
		width: auto;
		overflow: hidden;
	}
	#header {
		width:100%;
	}
	#register {
		top:118px;
		right:22px;
	}
	#register a {
		font-size:12px;
	}
	/* Body */
	#wrapper {
		width: auto;
		padding: 20px 20px 20px 20px;
	}
	/* Content Container Resets */
	.heading,
	.content-middle,
	.content-left,
	.content {
		width: 100%;
		margin-left: 0px;
		margin-right: 0px;
	}
	.content-left {
		width: 67%;
	}
		.content_top {
		height:295px;
	}
	.sidebar {
		margin: 0px;
	}
	/* Page Headings */
	.heading {
		margin: 10px 0px 30px 0px;
	}
	body.home .heading {
		width:64%;
	}
	/* Photo Gallery */
	.gallery-container {
		width: auto;
	}
	.thumbnail-all {
		margin: 3%;
		width: 27%;
	}
	.gallery-text {
		width: auto;
	}
	/* Breadcrumbs */
	.breadcrumb {
		width: auto;
	}
	/* Google Map */
	.iframe-rwd  {
		position: relative;
		padding-bottom: 65.25%;
		padding-top: 30px;
		height: 0px;
		overflow: hidden;
	}
	.iframe-rwd iframe {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
	}
	/* View Full / Mobile Site Buttons */
	.view {
		display: block;
	}
	.view a#view_mob_link {
		display: none;
	}
	.view a#view_full_link {
	}
	/* Home-Bottom */
	#home-bottom {
		width: 100%;
		padding:0px 20px;
	}
	/* Footer */
	#footer {
		width: 100%;
		padding-left: 0px;
		padding-right: 0px;
	}
	/* Advanced Footer */
	.footer-custom {
		margin: 0px 20px;
	}
	.footer-about {
		display: block;
		width: 100%;
		margin: 0px 0px 30px 0px;
				float:none;
	}
	.footer-custom .mini_sitemap,
	.footer-contact {
		width: 45%;
		margin: 0px;
		float:none;
	}
	/* Footer MyWork */
	.footer-mywork {
		width: 100%;
		padding: 10px 30px;
		text-align: center;
	}
	.footer-mywork-bottom {
		width: 100%;
	}
	.footer-mywork-bottom span.center {
		margin-left:-67px;
	}
	.footer-mywork span.left {
		margin-right: 30px;
		/*float: none;*/
		display: inline;
	}
	/* Footer Sitemap*/
	.mini_sitemap ul {
		padding: 0px 15px;
	}
	.mini_sitemap ul.top li {
		width: auto;
		padding: 0px;
		margin: 0px 10px;
	}
	.mini_sitemap ul.top > li > a {
		border: 0px;
		padding: 0px;
		margin: 0px;
	}
	.mini_sitemap ul.top ul {
		display: none;
	}
	/* Slideshow */
/*	#slider-container {
		margin-bottom: 20px;
	}
	#slider-wrapper[style] {
		width: 100% !important;
		height: auto !important;
	}*/
		.logo a img {
		margin-left: 10px;
		padding:5px 0px 5px 0px;
	}
				#wrapper table tbody tr td img, #wrapper table tbody tr td img[style] {
		width:170px!important;
		height:auto !important;
	}
	#topbar {
		display: none;
	}
	.nivo-caption {
		padding:11px 11px;
	}
	.nivo-caption p {
		font-size:16px;
	}
		.nivo-caption p.intro {
		font-size:24px;
		margin-top:6px;
	}
}

/************************************************************************************
smaller than 900
*************************************************************************************/
@media screen and (max-width: 900px) {

	.content-left {
		width: 64%;
	}

	.sidebar {
		margin: -26px 0px 0px 0px;
	}
		.nivo-caption {
		padding:9px 7px;
	}
	.nivo-caption p {
		font-size:15px;
	}
		.nivo-caption p.intro {
		font-size:22px;
		margin-top: 4px;
	}
			.content_top {
		height:295px;
	}

}

/************************************************************************************
smaller than 840
*************************************************************************************/
@media screen and (max-width: 840px) {

/*	.contact-form {
		margin-left: 0px;
	}*/
				.nivo-caption {
		padding:7px 5px;
	}
	.nivo-caption p {
		font-size:14px;
	}
		.nivo-caption p.intro {
		font-size:20px;
		margin-top: 4px;
	}

}

/************************************************************************************
smaller than 800
*************************************************************************************/
@media screen and (max-width: 800px) {

	/* Header */
	#header {
		margin: 0px 0px;
	}
	/* Logo */
	.logo {
		margin: 0px 0px 0px 0px;
	}
	.logo a {
		display: block;
	}

	/* Call To Action */
	.call-to-action .contact-email {
		display: none;
	}
	.social-email {
		display: inline-block !important;
	}
/*	.call-to-action {
		position: relative;
		text-align: center;
		top: 0px;
		width: 100%;
	}
	.call-to-action .contact-social a.social-mobile {
		display: inline-block;
	}*/
	.content-left {
		float: none;
		width: 100%;
	}
	.sidebar,
	.home .bottom_widget {
		float: none;
		margin: 0px 0px 0px 0px;
		width: 100%;
	}
		#wrapper table tbody tr td img, #wrapper table tbody tr td img[style] {
		width:100%!important;
		height:auto !important;
	}
		.content_top {
		height:305px;
	}
					.nivo-caption {
		padding:6px 4px;
	}
	.nivo-caption p {
		font-size:13px;
	}
		.nivo-caption p.intro {
		font-size:19px;
		margin-top: 3px;
	}


}

/************************************************************************************
smaller than 768
*************************************************************************************/
@media screen and (max-width: 768px) {

	#contact-right {
		display:block;
		width:100%;
	}
	#contactForm {
		margin:0px;
	}


}
/************************************************************************************
smaller than 767
*************************************************************************************/
@media screen and (max-width: 767px) {

	/*****************************
	 Contact Form
	*****************************/
	input[type="text"] {
		width: 80%;
	}
	.footer-form .contact-form .column.small,
	.footer-form .contact-form .column.large {
		margin: 0px;
		width: 100%;
		float: none;
		display: inline-block;
	}
	.footer-form .contact-form .column.small {
		margin-bottom: 10px;
	}
	body.home .heading {
		width:100%;
	}

	#home-bottom-left {
		display: block;
		width:100%;
		margin:0px;
		float:none;
	}
		#home-bottom-right {
		display: block;
		width:100%;
		margin:0px;
		float:none;
	}
				.nivo-caption {
		padding:7px 5px;
	}
	.nivo-caption p {
		font-size:12px;
	}
		.nivo-caption p.intro {
		font-size:18px;
		margin-top: 4px;
	}
}

/************************************************************************************
smaller than 700
*************************************************************************************/
@media screen and (max-width: 700px) {

#slider-wrapper{
	display:none;
}
.slider-gap{
	display:none;
}
#slider-container{
	display:none;
}
.content_top {
	display:none;
}
#tagline{
	color:#F47621;
}
body.home #tagline{
	color:#F47621;
}
}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {

	body {
		font-size: 14px;
	}
	/* Photo Gallery */
	.gallery-container {
		width: auto;
	}
	.gallery-text {
		width: auto;
	}
	/* Breadcrumbs */
	.breadcrumb {
		font-size: 10px;
	}
	/* Footer*/
	#footer {
		/* display: none; *//* Comment in only if you are using the standard footer */
	}
	/* Advanced Footer */
	.footer-custom {
		margin: 0px 20px;
		text-align: center;
	}
	.footer-custom .mini_sitemap,
	.footer-contact {
		width: 100%;
		margin: 0px;
	}
	.footer-custom .mini_sitemap {
		margin: 0px 0px 30px 0px;
	}
	.mini_sitemap ul.top li {
		text-align: center;
	}
	.footer-contact div {
		padding: 5px 0px !important;
		background: none !important;
	}
	.footer-contact div > span.label {
		display: inline;
	}
	.footer-mywork {
		width: 100%;
		text-align: center;
	}
	#wrapper table tbody tr td img, #wrapper table tbody tr td img[style] {
		width:100% !important;
		height:auto !important;
		padding:10px 0px 10px 0px;
	}
		/* Responsive Tables */ 
	/* Force table to not be like tables anymore */
	table,
	thead,
	tbody,
	th,
	td,
	tr { 
		display: block; 
		width: 100%;
	}
	table[style] {
		height:auto;
	}
	tbody{
		width: auto;
	}
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	tr [style]{ 
		/* border: 1px solid #ccc; */ 
		width: auto !important;
	}
	td[style] {
		width: auto;
	}
	h4 {
		font-size: 16px;
	}


}

/************************************************************************************
smaller than 610
*************************************************************************************/
@media screen and (max-width: 610px) {

	/* Header */
	/* #header {
		background-image: none;
	} */
	/* Photo Gallery */
	.thumbnail-all {
		margin: 3%;
		width: 44%;
}
	#header {
		height:234px;
	}
		.call-to-action {
		position:relative;
		width:auto;
		left:0px;
		margin: 0 auto;
		text-align: center;
		width:255px;
		top:35px;

	}
	.call-to-action .contact-phone {
	
		background: transparent;
		position:relative;
		width:157px;
		float:left;

	}
	.call-to-action .contact-phone span{
		color:#57486F;
	}
	.call-to-action .contact-social {
			position:relative;
			text-align: left;
			left:0;
			width:69px;
			float:left;

	}
/*	#header {
		height:145px;
	}*/
	#register {
		width: 100%;
		text-align: center;
		left:auto;
		right:auto;
		top:192px;

	}
		#tagline {
		font-size:;
		width: 100%;
		text-align: center;
		left:10px;
	}
	.logo {
		text-align:center;
	}
	.logo a img {
		margin: 0px;
	}

}

/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 560px) {



}

/************************************************************************************
smaller than 520
*************************************************************************************/
@media screen and (max-width: 520px) {


}

/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen and (max-width: 480px) {

	/* Headings */
	h1 {
		font-size: 22px;
		text-align: left;
	}

	h2 {
		line-height: 140%;
		font-size: 20px;
	}
	h3 {
		line-height: 140%;
		font-size: 18px;
	}
	h4 {
		line-height: 140%;
		font-size: 18px;
	}
	h5 {
		line-height: 140%;
		font-size: 18px;
	}
	h6 {
		line-height: 140%;
		font-size: 18px;
	}

	.blog-image {
		display:block;
		float:none;
		padding:30px;
		margin-bottom:10px;
	}
		.blog-image img[style]{
		width:100% !important;
		height:auto;
	}
	.blog-content.image-left{
		margin:0 0 0 0px;
	}
	#wrapper img, #wrapper img[style] {
    border: 0 none !important;
    height: auto !important;
    max-width: 200% !important;
}
}

/************************************************************************************
smaller than 440
*************************************************************************************/
@media screen and (max-width: 440px) {

	/* Photo Gallery */
	.thumbnail-all {
		margin: 0px 0px 20px 0px;
		width: 100%;
	}
	.footer-mywork {
		padding-bottom:0px;
	}
	.footer-mywork-bottom {
		padding-top:0px;
	}
	.footer-mywork-bottom span.right-footer {
		width:100%;
		display:block;
		text-align: center;
		float: none;
		margin:0px;
		padding-bottom: 10px;
	}
	.footer-mywork-bottom span.left{
		width:100%;
		display:block;
		text-align: center;
		float: none;
		margin:0px;
		padding-bottom: 10px;
	}
	.footer-mywork-bottom span.center{
		width:100%;
		display:block;
		text-align: center;
		float: none;
		margin:0px;
		padding-bottom: 10px;
	}
	.footer-mywork span.right-footer {
		width:100%;
		display:block;
		text-align: center;
		float: none;
		margin:0px;
		padding-bottom: 10px;
	}
	.footer-mywork span.left{
		width:100%;
		display:block;
		text-align: center;
		float: none;
		margin:0px;
		padding-bottom: 10px;
	}
	.footer-mywork span.center{
		width:100%;
		display:block;
		text-align: center;
		float: none;
		margin:0px;
		padding-bottom: 10px;
	}
}

/************************************************************************************
smaller than 320
*************************************************************************************/
@media screen and (max-width: 320px) {

	h1 {
		font-size: 20px !important;
	}
	.breadcrumb {
		display: none;
	}

}