/* ---------------------------------------------------------------------------------------------------------- 
Media queries -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
@media screen and (max-width: 1367px) {
		body					{ font-size:0.875em; }
}
@media screen and (max-width: 860px) {
		.topSpacer				{ height:5em; }
		#iframe-bottom			{ max-height:7em; }
		#mainNav ul		{ text-align:left; }
		#mainNav ul li	{ margin:0.2em 0; }
		#mainNav ul li a	{  }
}
@media screen and (max-width: 700px) {
		.showMenuLabel			{ display:block; cursor:pointer; position:fixed; right:0; top:0; min-height:30px; width:100%; height:auto; padding:0.5em; margin:auto; z-index:9998;
								  background:url(images/menu.svg) #FFF no-repeat; background-size:30px 30px; background-position:97% 0.5em; }
		#mainNav				{ width:60%; height:100%; position:fixed; top:0; left:auto; right:100%; overflow:auto; z-index:99999; margin:0; padding:0.5em; box-sizing:border-box; box-shadow:0 3px 5px rgba(0,0,0,0.2); background-color:#f9f9f9;
								  -webkit-transition:right 300ms linear;
								  -moz-transition:right 300ms linear;
								  -o-transition:right 300ms linear;
								  transition:right 300ms linear; }
		#showMenu:checked ~ #mainNav { right:40%; }
		#mainNav.fixed			{ top:0; width:60%; max-width:60%; padding:0.5em; }
		#mainNav ul				{ text-align:left; }
		#mainNav ul li			{ display:block; margin:0; }
		#mainNav ul li a		{ display:block; text-align:left; margin:auto; padding:0.75em; border-top:1px solid #CCC; font-size:1.125em; }
		#mainNav li ul			{ display:none; position:relative; z-index:999999; left:auto; top:auto; width:auto; max-width:100%; }
		#mainNav li ul li a		{ width:auto; border:0; padding:0.5em; margin-left:1em; }
		#mainNav li:hover > ul	{ display:block; visibility:visible; opacity:1; border:0; }
		
		#menuLabel				{ display:block; }
		
		#google_translate_wrapper { display:block; position:relative; top:auto; right:auto; margin:1em auto auto 0.5em; text-align:left; }
		/*#gTranslate				{ position:relative; top:auto; right:auto; margin:1em auto auto 0; }*/
		
		.topSpacer				{ height:1em; }

		.boxItem				{ flex:1 1 48%; margin:1%; }
		.boxItem:last-child		{ margin:1%; }
	
		.oneColumn				{ width:100%; padding:4% 0; }
		.leftColumn,
		.rightColumn			{ width:100%; float:none; padding:4% 0; }

		#instaBox .bgLine1,
		#instaBox .bgLine2		{ width:15%; }
		
		footer .lowerContent ul li 	{ display:inline-block; width:49%; margin-bottom:5%; }
}
@media screen and (max-width: 500px) {
		#mainSlideshow			{ height:15em; }
		.boxItem				{ height:18em; }
		.boxItem header			{ width:auto; left:5% !important; right:5% !important; top:auto !important; bottom:0.75em !important; transform:none !important; }
		article					{ padding:2em; }
		.gallery ul				{ column-count:3; }
		#instaBox .bgLine1,
		#instaBox .bgLine2		{ display:none; }
		.snapwidget-widget		{ min-height:auto; }
}