/*
* jQuery Mobile
* http://jquerymobile.com
*
* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/


/* Custom CSS for Full Mobile Theme (Style 3) */

/* Table Styling */
* { 
	margin: 0; 
	padding: 0; 
}


	/* 
	Generic Styling, for Desktops/Laptops 
	*/
	table { 
		width: 100%; 
		border-collapse: collapse; 
	}
	/* striping */
	tr { 
		color: #000;
	}
	th { 
		background: #000; 
		color: white; 
		font-weight: normal; 
	}
	td, th { 
		padding: 6px; 
		border: 1px solid #000; 
		text-align: left; 
	}

.ui-content {
border-width: 0;
overflow: visible;
padding: 1em;
}

.ui-body-c {
	background: url('../images/bg-noise.png') 0 0 #666; /* Sets background image and fallback color */
}

.ui-content {
	max-width: 640px;
	margin: 0 auto;
}

div#home h1.logo {
	margin: 15px auto;
	min-height: 45px;
	font-size: 2em;
	text-shadow: 1px 1px 2px #111;
}

div#home h1.logoimg {
	min-height: 60px;
	height: auto;
	margin: 5px auto;
}

div.border-bottom {
	border-bottom: 4px solid #333; /* Color/size of border line under Header content */
}

div.border-top {
	border-top: 4px solid #333; /* Color/size of border line above Footer content */
}

div.innerpage {
	background: #f5f5f5; /* Background color of pages (other than Homepage) */
	text-align: left;
}

img {
	max-width: 100%;
}

/* Styles the image on the Homepage */
img.featured {
	display: block;
	margin: 0 auto;
	padding: 0;
	border-radius: .6em;
	-webkit-box-shadow: 0 0 6px rgba(0,0,0,.6);
	   -moz-box-shadow: 0 0 6px rgba(0,0,0,.6);
	        box-shadow: 0 0 6px rgba(0,0,0,.6);
}

/* Used to center images/items */
div#centerthis {
	margin: 1em auto 0;
	text-align: center;
}

/* Styles the Footer  */
div#footer {
	border: 1px solid 		#333 /*{a-bar-border}*/;
	border-top: 4px solid   #333;
	background: 			#005188 /*{a-bar-background-color}*/;
	color: 					#fff /*{a-bar-color}*/;
	font-weight: normal;
	text-shadow: 0 /*{a-bar-shadow-x}*/ -1px /*{a-bar-shadow-y}*/ 0 /*{a-bar-shadow-radius}*/ #000 /*{a-bar-shadow-color}*/;
}

div#footer h4 {
	color: #fff; /* Controls the color of the text in the Homepage footer */
}

div#page-footer h4 {
	color: #fff; /* Controls the color of the text in the footer (other than the Homepage) */
}

/* All "social" styles used to create the Social Share icons */
ul.social {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.social li {
	display: inline;
	padding: 0 .6em;
	width: 480px;
	margin: 0 auto;
}

div.socialicons {
	margin: 0 auto;
	text-align: center;
}

div.socialicons img {
	padding: 10px;
}

div.text-page h1, div.text-page h2, div.text-page h3 {
	margin-top: 0; /* Removes margin-top from Terms and Privacy pages */
}

/* Styles the video and positions it */
.video {
	width: 95%;
	margin: 15px auto 25px;
	text-align: center;
	border: 4px solid #333;
	-webkit-box-shadow: 0 0 8px #222;
	   -moz-box-shadow: 0 0 8px #222;
			box-shadow: 0 0 8px #222;
}

/* Styles the border color around the slider images */
.flexslider {
	border: 4px solid #333;
}

/********************************************************************
 Override colors from default jquery mobile stylesheet (Swatches "A")
*********************************************************************/

/* Controls the Gradient Background of the Header Area */
.ui-bar-a {
	border: 1px solid 		#333 /*{a-bar-border}*/;
	background: 			#007BCD /*{a-bar-background-color}*/;
	color: 					#fff /*{a-bar-color}*/;
	font-weight: normal;
	text-shadow: 0 /*{a-bar-shadow-x}*/ -1px /*{a-bar-shadow-y}*/ 0 /*{a-bar-shadow-radius}*/ #000 /*{a-bar-shadow-color}*/;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #007BCD /*{a-bar-background-start}*/), to( #005188 /*{a-bar-background-end}*/)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* FF3.6 */
	background-image:     -ms-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* IE10 */
	background-image:      -o-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Opera 11.10+ */
	background-image:         linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/);
}

/* Controls the Gradient Background of the Footer Area */
.ui-btn-up-a {
	border: 1px solid 		#111 /*{a-bup-border}*/;
	background: 			#007BCD /*{a-bup-background-color}*/;
	font-weight: normal;
	color: 					#fff /*{a-bup-color}*/;
	text-shadow: 0 /*{a-bup-shadow-x}*/ 1px /*{a-bup-shadow-y}*/ 0 /*{a-bup-shadow-radius}*/ #111 /*{a-bup-shadow-color}*/;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #007BCD /*{a-bar-background-start}*/), to( #005188 /*{a-bar-background-end}*/)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* FF3.6 */
	background-image:     -ms-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* IE10 */
	background-image:      -o-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Opera 11.10+ */
	background-image:         linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/);
}

/* Controls the Color of the Hover State in Footer Area and the "Back" button in Header */
.ui-btn-hover-a {
	border: 1px solid 		#000 /*{a-bhover-border}*/;
	background: 			#005188 /*{a-bhover-background-color}*/;
	font-weight: normal;
	color: 					#fff /*{a-bhover-color}*/;
	text-shadow: 0 /*{a-bhover-shadow-x}*/ 1px /*{a-bhover-shadow-y}*/ 0 /*{a-bhover-shadow-radius}*/ #111 /*{a-bhover-shadow-color}*/;
}

/* Added to control color of active buttons */

.ui-btn-down-c {
	border: 1px solid 		#000 /*{a-bdown-border}*/;
	background: 			#005188 /*{a-bdown-background-color}*/;
	font-weight: normal;
	color: 					#fff /*{a-bdown-color}*/;
	text-shadow: 0 /*{a-bdown-shadow-x}*/ 1px /*{a-bdown-shadow-y}*/ 1px /*{a-bdown-shadow-radius}*/ #111 /*{a-bdown-shadow-color}*/;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #007BCD /*{a-bar-background-start}*/), to( #005188 /*{a-bar-background-end}*/)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* FF3.6 */
	background-image:     -ms-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* IE10 */
	background-image:      -o-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Opera 11.10+ */
	background-image:         linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/);
}

.ui-btn-active {
	border: 1px solid 		#2373a5 /*{global-active-border}*/;
	background: 			#005188 /*{global-active-background-color}*/;
	font-weight: normal;
	color: 					#fff /*{global-active-color}*/;
	cursor: pointer;
	text-shadow: 0 /*{global-active-shadow-x}*/ 1px /*{global-active-shadow-y}*/ 1px /*{global-active-shadow-radius}*/ #111 /*{global-active-shadow-color}*/;
	text-decoration: none;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #007BCD /*{global-active-background-start}*/), to( #005188 /*{global-active-background-end}*/)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient( #007BCD /*{global-active-background-start}*/, #005188 /*{global-active-background-end}*/); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient( #007BCD /*{global-active-background-start}*/, #005188 /*{global-active-background-end}*/); /* FF3.6 */
	background-image:     -ms-linear-gradient( #007BCD /*{global-active-background-start}*/, #005188 /*{global-active-background-end}*/); /* IE10 */
	background-image:      -o-linear-gradient( #007BCD /*{global-active-background-start}*/, #005188 /*{global-active-background-end}*/); /* Opera 11.10+ */
	background-image:         linear-gradient( #007BCD /*{global-active-background-start}*/, #005188 /*{global-active-background-end}*/);
}

.ui-focus,
.ui-btn:focus {
	-moz-box-shadow: inset 0px 0px 3px 		#005188 /*{global-active-background-color}*/, 0px 0px 9px #005188 /*{global-active-background-color}*/;
	-webkit-box-shadow: inset 0px 0px 3px 	#005188 /*{global-active-background-color}*/, 0px 0px 9px #005188 /*{global-active-background-color}*/;
	box-shadow: inset 0px 0px 3px 			#005188 /*{global-active-background-color}*/, 0px 0px 9px #005188 /*{global-active-background-color}*/;
}
.ui-input-text.ui-focus,
.ui-input-search.ui-focus {
	-moz-box-shadow: 0px 0px 12px 			#005188 /*{global-active-background-color}*/;
	-webkit-box-shadow: 0px 0px 12px 		#005188 /*{global-active-background-color}*/;
	box-shadow: 0px 0px 12px 				#005188 /*{global-active-background-color}*/;	
}


/********************************************************************
 Override colors from default jquery mobile stylesheet (Swatches "B")
*********************************************************************/

/* Controls the Gradient Background of the List Divider (Main Menu) */
.ui-bar-b {
	border: 1px solid 		#333 /*{a-bar-border}*/;
	background: 			#007BCD /*{a-bar-background-color}*/;
	color: 					#fff /*{a-bar-color}*/;
	font-weight: normal;
	text-shadow: 0 /*{a-bar-shadow-x}*/ -1px /*{a-bar-shadow-y}*/ 0 /*{a-bar-shadow-radius}*/ #000 /*{a-bar-shadow-color}*/;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #007BCD /*{a-bar-background-start}*/), to( #005188 /*{a-bar-background-end}*/)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* FF3.6 */
	background-image:     -ms-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* IE10 */
	background-image:      -o-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Opera 11.10+ */
	background-image:         linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/);
}

/* Controls the Gradient Background of the Controlgroup (Call/Email/Text buttons) */
.ui-btn-up-b {
	border: 1px solid 		#111 /*{a-bup-border}*/;
	background: 			#007BCD /*{a-bup-background-color}*/;
	font-weight: bold;
	color: 					#fff /*{a-bup-color}*/;
	text-shadow: 0 /*{a-bup-shadow-x}*/ 1px /*{a-bup-shadow-y}*/ 0 /*{a-bup-shadow-radius}*/ #111 /*{a-bup-shadow-color}*/;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #007BCD /*{a-bar-background-start}*/), to( #005188 /*{a-bar-background-end}*/)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* FF3.6 */
	background-image:     -ms-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* IE10 */
	background-image:      -o-linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/); /* Opera 11.10+ */
	background-image:         linear-gradient( #007BCD /*{a-bar-background-start}*/, #005188 /*{a-bar-background-end}*/);
}

/* Controls the Background of the Hover State (Call/Email/Text buttons) */
.ui-btn-hover-b {
	border: 1px solid 		#000 /*{a-bhover-border}*/;
	background: 			#005188 /*{a-bhover-background-color}*/;
	font-weight: normal;
	color: 					#fff /*{a-bhover-color}*/;
	text-shadow: 0 /*{a-bhover-shadow-x}*/ 1px /*{a-bhover-shadow-y}*/ 0 /*{a-bhover-shadow-radius}*/ #111 /*{a-bhover-shadow-color}*/;
}

/* New CSS added for Full Mobile Site  */

img.shadow {
	width: 100%; 
	position: relative; 
	top: -1px; 
	z-index: 5;  
}

.menu-shadow {
	margin-bottom: 0px !important;
}

.custom-icons .ui-btn .ui-btn-inner { 
	padding-top: 40px !important; 
}

.custom-icons .ui-btn .ui-icon { 
	width: 30px !important; 
	height: 30px !important; 
	margin-left: -15px !important; 
	box-shadow: none !important; 
	-moz-box-shadow: none !important; 
	-webkit-box-shadow: none !important; 
	-webkit-border-radius: 0 !important; 
	border-radius: 0 !important; 
}

/* Controls images used (and positioning) of icons in the footer */
.map-marker .ui-icon { background: url(../images/map-marker.png) 50% 50% no-repeat;  background-size: 19px 27px; }
.info .ui-icon { background: url(../images/info.png) 50% 50% no-repeat;  background-size: 13px 27px; }
.home .ui-icon { background: url(../images/home.png) 50% 50% no-repeat;  background-size: 27px 25px; }
.mail .ui-icon { background: url(../images/mail.png) 50% 50% no-repeat;  background-size: 27px 21px; }

#bg-popup {
	background: #f5f5f5;
}

#pop .ui-dialog-contain > .ui-header {
	border-bottom: 4px solid #333; /* Color/size of border line under Header content */
}

/* Image Gallery (Photoswipe plugin) */

.gallery { 
	list-style: none; 
	padding: 0; 
	margin: 0; 
}

.gallery:after { 
	clear: both; 
	content: "."; 
	display: block; 
	height: 0; 
	visibility: hidden; 
}

.gallery li { 
	float: left; 
	width: 33.33333333%; 
}

.gallery li a { 
	display: block; 
	margin: 5px; 
	border: 1px solid #3c3c3c; 
}

.gallery li img { 
	display: block; 
	width: 100%; 
	height: auto; 
}

.gallery img {
	-webkit-box-shadow: 0px 0px 4px #111;
	-moz-box-shadow: 0px 0px 4px #111;
	box-shadow: 0px 0px 4px #111; 
}

#ImageGallery .ui-content { 
	overflow: hidden; 
}

#centerlocation {
	margin: 0 auto;
	text-align: center;
}

div.location-heading h3 {
	margin-top: 0;
}

div.offer-page h3 {
	margin-top: 0;
}

div.email-form {
	margin: 10px auto;
}

/* END of New */



/*****************************************************************
Media Query Adjustments
******************************************************************/

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

	div#home h1.logo {
		margin: 10px auto;
		min-height: 35px;
		font-size: 1.5em;
		text-shadow: 1px 1px 2px #111;
	}

	.ui-controlgroup-horizontal .ui-btn-inner { 
		height: 22px; 
		line-height: 22px; 
	}

	.ui-btn-inner { 
		font-size: 17px; 
		padding: .6em 17px .6em; 
	}

	div.socialicons img {
		padding: 7px;
	}

}

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

	div#home h1.logo {
		margin: 10px auto;
		min-height: 30px;
		font-size: 1.3em;
		text-shadow: 1px 1px 2px #111;
	}

	.ui-controlgroup-horizontal .ui-btn-inner { 
		height: 20px; 
		line-height: 20px; 
	}

	.ui-btn-inner { 
		font-size: 14px; 
		padding: .6em 14px .6em; 
	}

	div.socialicons img {
		padding: 5px;
	}

}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}