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


}

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

	.pagewidth {
		width: 96%;
	}

	#main-bar .cell a, #footer .table:nth-child(1) a {
		font-weight: normal;
	}

	#title-zone .cell:nth-child(1) {
	    width: 20%;
	}

	.home .order-call label span { 
		font-size: 1em;
	}
	.home .order-call label input { 
		height: 30px;
		font-size: 1em;
	}
	.home .order-call input.button { 
		padding: 5px 0px;
		font-size: 18px;
		height: 30px;
	}

}

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

	.visible768 {
		display: inline-block !important;
	}
	.hidden768 {
		display: none !important;
	}

	main, #sidebar {
		width: 100%;
	}
		
	iframe {
		max-width: 100%;
		height:auto;
	}

	#title-zone {
		text-align:center;
	}
	#title-zone .table .cell:nth-child(1) {
		display: inline-block;
		width: 50%;
	}
	#title-zone .table .cell:nth-child(2) {
		display: inline-block;
		width: 50%;
		float: right;
	}
	#title-zone .table .cell:nth-child(3) {
		display: inline-block;
		width: 50%;
		float: right;
		margin-top: -20px;
	}

	.home .main-map .panel {
		position: relative;
		top: 0px;
		left: 0px;
		display: inline-block;
		width: 100%;
	}
	
	#mobile-menu-btn {
//		display: inline-block;
	}
	#mobile-menu-btn.active {
		color:white;
	}
	#header nav {
		position: absolute;
		top: 0px;
		left: -320px;
		width: 300px;
		z-index: 1;
		transition: left 0.3s ease 0s;
		box-shadow: 2px 1px 2px #808080;
		background-color: #393939;
		padding-top: 45px;
		padding-bottom: 15px;
	}
	#header nav.active {
		left: -15px;
	}
	#header nav ul li {
		display: block;
	}

	#header #searchform {
    	position: relative;
    	width: 100%;
	}

	.wp-post-image {
		width: 100%;
		height: auto;
	}

	.home .order-call label { 
		width: 100%;
		display: inline-block;
		margin-bottom: 0px;
		text-align: center;
	}
	.home .order-call label span { 
		width: 100%;
		color: white;
	}
	.home .order-call label input { 
		width: auto !important;
	}
	.home .order-call fieldset {
		width: 50%;
		display: inline-block;
		text-align: center;
		vertical-align: middle;
	}
	.home .order-call input.button { 
		min-width: 200px;
		display: inline-block;
		padding: 5px 0px;
		vertical-align: middle;
		height: 40px;
	}
	.home #wrapper .order-call form {
	    text-align: center;
	}

}


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

	#title-zone .table .cell:nth-child(1) {
		width: 100%;
	}
	#title-zone .table .cell:nth-child(2) {
		width: 100%;
	}
	#title-zone .table .cell:nth-child(3) {
		width: 100%;
		margin-top: 15px;
		margin-bottom: 5px;
	}

	h1 {
	    font-size: 2.2em;
	}
	.home .main-list h2 {
		font-weight: normal;
	}

	#main-bar .cell {
	    width: auto;
	}

	.home .main-list .table.border .cell {
	    border: 1px solid black;
	    padding: 5px 15px;
	    width: auto;
	}

	#footer .table:nth-child(1) a {
	    font-size: 1em;
	}

}


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

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	#commentform input[type=text] {
		max-width: 100%;
	}

	#main-bar .cell {
		display: inline-block;
		width: 100%;
	}

	#header .chat {
		margin-bottom: 5px;
	}

	.home .main-list .table.border .cell {
	    padding: 5px 5px;
	}

	#footer .table .cell {
	    width: 100%;
	    display: inline-block;
	}
	
	
	/************************************************************************************
	POST NAV
	*************************************************************************************/
	.post-nav .prev, .post-nav .next {
		display: block;
		width: 100%;
		clear: both;
		margin-bottom: 10px;
	}
	
	/************************************************************************************
	COMMENTS
	*************************************************************************************/
	.commentlist {
		padding-left: 0;
	}
	.commentlist .commententry {
		clear: left;
	}
	.commentlist .avatar {
		float: left;
		width: 40px;
		height: 40px;
		margin: 0 10px 10px 0;
	}

}


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

	.home .main-list .table.border .row:nth-child(1) .cell {
		font-size: 0.9em;
	}





}