/****** Media Queries *****/



/* for 1030px or less */

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

	#wrapper { width:auto; margin:0 20px 30px;}

}

/* for 1014px or less */

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

	#upperleft { width:auto;}

	#social-icons { float:right; margin-bottom:5px;}

	#image-slides { width:67%;}

	#upper-content-area-widget { width:30%;}

	#hp-testi { width:auto; background-size:100% 100%;}

	#hp-testi .widget .testi-author { background-position:right 0;}

	.bx-wrapper .slide { width:auto!important;}

}

/* for 875px or less */

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

	#upper-content-area { text-align:center;}

	#image-slides,
	#upper-content-area-widget { float:none; display:inline-block; vertical-align:top;}

	#image-slides { width:100%;}

	#upper-content-area-widget { width:55%; text-align:left; margin:30px 0 0;}

	#hp-testi { height:auto; padding-bottom:30%;}

	#hp-testi .widget .testi-author { background-position:80% 0;}

	#hp-testi .widget { padding:65px 50px 30px 40px;}

}

/* for 770px or less */

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

	#page-entry { text-align:center;}

	#main-left { margin-bottom:55px;}

	#main-left,
	#main-right { float:none; display:inline-block; vertical-align:top; width:100%; text-align:left;}

	.shadows-smaller::after { background-position:50% 50%; left:0;}

}

/* for 715px or less */

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

	#upperleft,
	#social-icons { float:none; text-align:center;}

	#upperleft { position:relative; padding-bottom:25px;}

	#upperleft:before { position:absolute; content:''; bottom:1px; left:0; right:0; width:75%; height:1px; margin-left:auto; margin-right:auto; background:#737373;}

	#upperleft:after { position:absolute; content:''; bottom:0; left:0; right:0; width:75%; height:1px; margin-left:auto; margin-right:auto; background:#000;}

	#upperright { width:auto; float:none; text-align:center; padding:10px 0 0;}

	#social-icons ul li { float:none; display:inline-block;}

	#contactnum { float:none; text-align:center; display:block; background:none; padding:12px 0 13px; width:auto; margin: 10px 0 25px;}

	#contactnum span { display:none;}

	#taptocall { display:block; width:auto;}

	.shadows::before { left:0;}

	.shadows::after { left:inherit;}

}

/* for 630px or less */

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

	#navbar { height:auto; background:none;}

	#pagenav ul li { display:block; background:url(../images/nonactive_hover.png) no-repeat 0 0; margin-bottom:10px; box-shadow:0 0 10px rgba(0,0,0,0.5); background-size:100% 100%;}

	#pagenav ul li:hover > a,
	#pagenav ul li.current_page_item > a,
	#pagenav ul li.current_page_ancestor > a { border-top:0; background:url(../images/active_hover_bg.png) no-repeat 0 0; background-size:100% 100%;}

	#pagenav ul li:hover,
	#pagenav ul li.current_page_item,
	#pagenav ul li.current_page_ancestor { background:none;}

	#hp-cols { text-align:center;}

	#hp-cols .col { float:none!important; display:inline-block; vertical-align:top; margin-bottom:30px; width:80%; text-align:left;}

	#hp-cols .col-content-entry .readmore { display:block;}

	#upper-content-area-widget { width:90%;}

}

/* for 570px or less */

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

	#page-content .main-title { background-size:100% 100%;}

	img.alignleft,a img.alignleft,
	img.alignright,a img.alignright { display:block; margin:0 auto 1em; float:none;}

}

/* for 511px or less */

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

	#taptocall a { font-size:26px;}

}

/* for 450px or less*/

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

	#taptocall a { font-size:22px;}

}

/* for 425px or less */

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

	#taptocall a { font-size:20px;}

	#hp-testi { margin:0;}

	#hp-testi .widget { padding:65px 30px 30px 25px;}

	#hp-testi .widget .testi-author { background-position:right 0;}

	#page-content .main-title h1,
	#sidebar .main-title h2 { font-size:17px;}

}



/* for 350px or less */

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

	#taptocall a { font-size:17px;}

	.shadows { width:100%;}

	.shadows::before { width:100%; background-size:100% 100%;}

}

