/* @override 
	http://dvlp.ca/~twin/style/responsive.css
	http://localhost/~cody/twin-valley/style/responsive.css
*/

@media all and (max-width: 540px)  {
	html, body { width: auto; overflow-x: hidden; }
	#headerWrap,
	#header,
	#subHeader,
	#contentWrap,
	#content,
	#main {
		max-width: 100%; 
		width: 100%;
		box-sizing: border-box;
		margin: 0;
		border: 0;
		padding: 0;
	}
	#main * {
		max-width: 100% !important;
	}
	#side {display: none; }	
	div#subHeader { background-image: none; display: none; }
	div#page { background-image: none; background-color: #fff; }
	div#content { width: 100%; min-width: 100%; box-shadow: none; background: none; margin: 0; }
	div#contentWrap { width: auto; max-width: 100%; }
	
	div#main * { height: auto; }
	div#main img { 
		width: auto; 
		max-width: 100%; 
		box-sizing: border-box;
		height: auto; 
	}
	.top-shadow, .right-shadow, .left-shadow { display: none; }
	div#footerWrap { display: none; }
	div#footerContent { margin: 0; display: none; }
	div#footerContent div { display: none; }
	div#footerContent div.leftNoMargin { display: block; float: none;  }
	ul#nav { display: none; }
	div#footer { width: 100%; margin: 0; padding: 0; }
	div#header-inner { width: 100%; }
	.logo { display: none; }
	.icon { display: none; }
	.sectionContainer { display: none; }
	#side .section{ display: none; }
	#main .section {
	margin: 15px 0;
}
	#main .section div.image-col {
	/*display: inline-block;*/
	margin: 0;
	float: none;
	width: 100%;
}

	div#headerWrap { height: 75px !important; margin: 0;background: #000; /*background: #000 url('../images/logo.png') no-repeat 10px center;*/ }
	.mobile-logo-small {
		display: block;
		float:left;
		margin:0 10px;
	}
	div#mobile-menu { display: block; text-shadow: none;  }
	div#mobilenav.navigation a { text-shadow: none;  }
	div#page { margin: 0; width: 100%; }
	input {
		width:100%;
	}
	
	div#main input[type="submit"] {
		float: left;
	    margin: 0 !important;
	    padding: 0;
	}
	div#main .form {
	    
	    padding: 10px !important;
	}
	
	div#main input[type="text"], div#main textarea{
		width: 108% !important;
	}
	
	

}

@media all and (max-width: 768px){
	/*div#subNav { background-image: none; display: none; }
	div#subNavDiv { background: none; display: none}*/
	ul#nav li.current-page a{ 
		background: none !important; }
	#side {
		display:none;
	}
	div#main {
		width: 95% !important; 
		padding: 25px; 
		margin: 0 ; 
		float: left !important; 
		background: none;
	}
}

@media all and (max-width: 1050px) {

	HTML { width: auto; overflow-x: hidden; }
	body { color: #444; font-family: 'Gentium Basic', serif; margin: 0; }
	a{ color: #697E23; font-family: 'Gentium Basic', serif; }
	div#contactInfo a{ color: #000; font-family: 'Gentium Basic', serif; }
	h1,h2,h3,h4,h5,h6 { margin: 0; padding: 0; color: #222; font-family: 'Gentium Book Basic', serif; }
	p { font-family: 'Gentium Basic', serif; color: #000; font-size: 18px; }
	form { margin: 0; }
	.icon{ max-width: 20px; max-height: 20px; border: none; }
	.logo{ float: none; display: none; }
	 h3 {
	 	font-size:1.5em;
	 }
em.icon-envelope-alt {
	margin-right: 18px;
}
em.icon-twitter-sign {
	width: 25px !important;
}
em.icon-facebook-sign {
	width: 25px !important;
}
/*Core Divs*/

#login-box {
	max-width:100%;
	width: auto;
}

#login-box label {
	float:none !important;
}

#login-box .row {
	height:40px;
}

#login-box .row input {
	width:100%;
}

#header-inner {
	width:100% !important;
}

.image-gallery img {
		margin-right: 12px !important;
	}

div#page {
/*	position: relative;*/
	margin: 0 auto;
	text-align: left;
	width: 100%;
	min-width: 100%;
	background: url('../images/texture.jpg') repeat-x center top;
	overflow: hidden;
	/*margin-bottom: -80px;*/

}

div#headerWrap{
	position: relative;
	height: auto;
	margin: 0 auto;
	width: 100%;
	min-width: 100%;
	margin-bottom: -30px;
	text-align: center;
	z-index: 1;
	
}

div#header {	
	margin: 0 auto;
	height: auto;
	width: 100%;
	min-width: 100%;
	background-color: #FFF;
	padding: 0px;	
}

div.wrapper{
	width: 100%; 
	margin: auto;
	overflow:visible;
	z-index: 5;
	background-image: url('../images/headerTexture.png');
	
}
#header-inner {
	width: 100%;
	min-width: 100%;
	margin: 0 auto;	
	height: auto;
	overflow: auto;
}
div#subHeader{
	margin: auto;		
	width: 100%;
	padding-bottom: 20px;
	z-index: 1;
	background-image:url('../images/subFootBG.jpg');
	background-size: 100% auto;	
	background-position: 0% 90%;
	min-height: 150px;
	
}

/*#main {
	width:60% !important;
}*/

div#subNavDiv{
	min-width: 100%;
	background-color: #d5b800;
	opacity: 0.7;
	border-bottom: 1px solid #9d8310;

}

div#main h1 {
	padding: 2px;
	font-size: 2em;
	margin-bottom: 20px;
	border-bottom: 1px solid #CBCBCB;
	padding-bottom: 10px;
}


div#contentWrap{
	position: relative;
	margin: 0 auto;
	/*margin-bottom: -15px;*/
	width: auto;
	min-width: 100%;
	z-index: 2;

}

div#content{	
	position: relative;
	margin: 0 auto;
	width: auto;
	min-width: 100%;
	height: auto;
	border: solid;	
	border-width: 0px;
	border-color: #AAA;
	background-color: #FFF;
	background-repeat: no-repeat;
	background-position: center bottom;
	z-index: 100;
}

div#side h2.headerRibbon {
	width: 75%;
	max-width:100%;
}
div#main .form{
	width: 100%;
	margin-right: 20px;
	margin-bottom: 40px;
	border-color: #CBCBCB;
	background-image: url('../images/formBG.png');
	
	border: 1px solid  #D6D5D1;
	padding: 20px;
	width: auto;
	-webkit-box-shadow:  0px 0px 2px 0px rgba(0, 0, 0, 0.5);
        
        box-shadow:  0px 0px 2px 0px rgba(0, 0, 0, 0.5);
}

div#main .form fieldset{ border: 0; }
div#main .form fieldset label { border: 0; margin: 0; }

div#main .form fieldset input, div#main .form fieldset textarea {
	-webkit-border-radius: 2px;    
    border-radius: 2px;
    border: 0;
    -webkit-box-shadow: inset  0px 0px 2px 0px rgba(0, 0, 0, 0.5);
    box-shadow:  inset 0px 0px 2px 0px rgba(0, 0, 0, 0.5);
}

div#main .form h3 {
	font-family: 'Istok Web', sans-serif !important;	
	font-size: 21px;
	border-bottom: 1px solid #d0d0d0;
	padding-bottom: 10px;	
}
div#main label{
	float: left;
	min-width: 85px;
	font-size: 12px;
	vertical-align: middle;
	font-family:"Arial Black";

}

div#main textarea{
	height: 150px;
	width: 57%;
	font-family:"Arial";
	
}


div#main input[type="text"]{
	width: 92%;
	height: 25px;
	font-size: 14px;
	vertical-align: top;
}

div#main textarea{
	width: 92%;
}

div#main input[type="checkbox"]{
	display:inline-block;
	width: 10px;
}

.note{ color: #000; margin-left: 140px; }

div#main input[type="submit"]{
	margin-left: 87px;
	background-image: url('../images/button.png');
	background-repeat: no-repeat;
	width: 115px;
	height: 30px;
	color: #FFF;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	
}

div#main input[type="submit"]:active{
	background-image: url('../images/buttonClicked.png');
	background-repeat: no-repeat;
}




.sectionContainer{
	width: 250px;
	padding: 2px;
	border: solid;
	border-color: #333;
	border-width: 1px;
}

.section{ margin-left: 15px; width: auto; height: auto; color: #000; }
.section h3{ font-size: 18px; color: #000; }
.section-content{ margin: 5px 5px 5px 5px; }

.moreLinkContainer{
	position: relative;
	float: right;
	clear: none;
	width: auto;
}


div#main img,div#side img{ max-width: 100%; }

img.map-image {	
	border: 1px solid #cccccc;	
}

.safari div#footer {
	padding-top: 100px;	
}
div#footer {
	margin: auto;
	height: 105px;
	width: 100%;
	min-width: 100%;
	text-align: left;
	padding: 5px;
	clear: both;
	color: #AAA;
	padding-top: 25px;
	
}
div#footer a {
	font-family: 'Istok Web', sans-serif !important;	
}

div#footerContent{
	position: relative;
	margin: 0 !important;
	top: 70px;
	width: 100%;
	min-width: 100%;
	overflow: auto;
	/*top: 25px;*/
}
div#footerContent div.left {
	margin: 0 !important;
	margin-right: 10px !important;
	width: 30% !important;
	min-width: 30% !important;
	font-size: 0.95em !important;
}

.left{margin: 5px !important;float: left; width: 20px !important; overflow: auto; font-size: 0.95em !important; }
.left p{font-size: 0.95em !important;}
.left h3{font-size: 0.75em !important;}

div#footerContent div.left p{ font-size: 0.75em;}
div#footer h3{
	font-family: 'Gentium Basic', "Times New Roman", Times, serif;
	font-weight: bold;
	font-size: 0.95em;
	line-height: 28px;
	color: #FFF;
}


div#footerWrap{
	position: relative;
	width: 100%;
	min-width: 100%;
	margin: auto;
	text-align: center;
	background-image:url('../images/footer.jpg');
	background-repeat: repeat-x;
	z-index: 0;
	height: 262px;
}

/* //:: Disabled shadow elements */
.left-shadow{ display: none; }
.top-shadow { display: none; }
.right-shadow{ display: none; }
.bottom-shadow{ display: none; }

/*.left{ float: left; left: 0; margin-left: 25px; }*/
.leftNoMargin{ float: left; padding-right: 20px; width: 30% !important; min-width: 30%!important;overflow: auto; font-size: 0.7em !important;}
.leftNoMargin p{ font-size: 0.95em !important; }
div.left{width: 40px !important;}
div.left p{ font-size: 0.85em !important; }
div.left i{ width: 20px !important; }
div.left a{ font-size: 0.85em !important; }
div.left img{ width: 10px !important;}
.icon-envelope-alt{width: 5px !important;}
.rightFloat img{ display: none; }

.bottomBorder{
	border-bottom: solid;
	border-bottom-width: 1px;
	border-color: #333;
}



div#footer a {
	font-size: 14px;
	text-decoration: none;
	color: #FFF;
	vertical-align: middle;
}

div#footer a:hover{
	text-decoration: underline;
}

div#footerContent{
	width: 100%;
	min-width: 100%;
	margin-top: 35px;
	height: auto;

}

div#footerContent p img {
	margin-top: 0px;
	float: left;
	margin-right: 10px;
}

/*Nav*/

ul#nav {
	margin: 0 auto;
	/*padding: 8px;*/
	width: auto !important;
	min-width: 0 !important;
	background-image: url('../images/headerTexture.png');
	/*height: 65px;*/
	padding: 0;
	float: left;
}

ul#nav ul.subnav{
	display: none;
}

ul#nav li {
	/*float: left;*/
	/*display:inline-block;
	*display:inline; zoom:1;*/
	
}

ul#nav li a {
	display: block;
	color: #FFF;
	font-size: 1.2em;
	font-weight: normal;
	font-family: 'Gentium Basic', serif;
	text-decoration: none;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	/*padding: 30px;
	padding-top: 20px;
	padding-bottom: 33px;*/
	height: 20px;
	margin-top: 0 ;
	/*margin-top: 5px;
	margin-left: -50px !important;
	margin-right: 20% !important;*/
}

ul#nav li.current-page a{
	color: #fad717;
	display: block;
	background: url('../images/nav-arrow.png') bottom center no-repeat;
	margin-top: 0 !important;
}
ul#nav li a:hover{
	color: #fad717;
	border-top: solid;
	border-top-color: #d5b800;
	border-top-width: 5px;
	display: block;
	margin-top: 0;
}



/*Side Navigation - The side navigation bar on the page*/
ul#sideNav, 
.sideNav {
	min-height: 100px;
	max-width: 100%;
	/*margin-bottom: 50px;*/
	font-size: 0.75em;	
	
	
	
}
.current-conditions-heading { 
	font-size: 1.25em;
	font-weight: 700;
	
}
h2.yellow { 
background-image:url('../images/menu-heading-background2.png') !important;


	font-family: 'Istok Web', sans-serif !important;
}
h2.yellow span {
	float: right; display: block; font-size: 14px;
	font-weight: 400;
	margin-top: 4px;
	margin-right: 20px;
}
div.sideNav {
	padding-top: 90px;
	font-size: 0.75em;
	font-family: 'Istok Web', sans-serif;
}

.sideNav span.temp {
	font-size: 1.95em;
	line-height: 35px;	
}
.sideNav hr {
	height: 1px; 
	border: none;
	background-color: #000000;	
}

#weathericon {
	width: 30px;	
}

/*Sub Navigation - Nav that shows up below top Nav on page*/
div#subNav{
	text-align: center;
	overflow: hidden;
}

ul#subNav {
	/*display: inline-block;
	float: left;
	height: auto;
	clear: right;
	background-color: #d5b800;
	padding: 0;
	margin: 0 auto;
	margin-left: 10px;	*/
	width: 100%;
	padding: 0;
	height: auto;
	overflow: auto;
}
#subNavDiv div {
	display: block;
	margin: 0 auto;
		
}
ul#subNav li {	
	/*display: inline-block;
	overflow:hidden;*/

}

ul#subNav li a {
	color: #000;
	line-height: auto;
	padding: 0 10px;
	/*text-align: center;*/
	font-family: "Gentium Book Basic", serif;
	font-weight: bold;
	text-decoration: none;
	opacity: 1;
	display: block;
	font-size: 0.9em;
	opacity: 0.7;	
	height: 40px;
}

ul#subNav li.current-page a,
ul#subNav li a:hover{
	
	/*font-weight: bold;*/
	color: #000;
	opacity: 1;
	background: url('../images/nav-arrow.png') no-repeat bottom center;
}

h1.map{
	padding-bottom: 18px;
	border-bottom: solid;
	border-bottom-color: #CBCBCB;
	border-bottom-width: 1px;
	margin-bottom: 10px;
}

.linkoriginalaspect{
	/*margin-left: 5px;*/
	margin-right: 20px;
	margin-bottom: 20px;
	width: 150px;
	height: 150px;
	padding: 5px;
	border: solid;
	border-color: #CBCBCB;
	border-width: 1px;
	-webkit-box-shadow:  0px 0px 3px 1px rgba(0, 0, 0, 0.25);
        
        box-shadow:  0px 0px 3px 1px rgba(0, 0, 0, 0.25);
}

.originalaspect{
	border: solid;
	padding: 5px;
	border-color: #CBCBCB;
	border-width: 1px;
	width: 550px;
}

.thumb{
	max-width: 100% !important;
	width: auto !important;
	/*border: solid;*/
	/*padding-right: 125px;
	border-color: #CBCBCB*/;
	/*border-width: 1px;*/
	
}

/* //:: Disabled Banner Elements */
#banner { display: none; }
#banner h1 { display: none }
#banner #caption { display: none; }
#banner #frame { display: none; }
#banner #frame img.photo { display: none; }
#banner #frame .frame { display: none; }
#banner #film-strip { display: none; }
#banner #film-strip img { display: none; }

#mobile-menu {
	position: absolute;
	right: 12px;
	float: right;
	display: none; 
	color: #fff;
	padding: 3px 10px;
	cursor: pointer;
	top: 10px;
	font-size: 18px;
	height: 24px;
	text-align: center;
	background-color: #3e3e3e;
	-webkit-border-radius: 2px;
	vertical-align: middle;
    border-radius: 2px;
    font-family: 'Istok Web', sans-serif;
		
}


/*CSS Hacks*/


.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* hides from ie-mac \*/

* html .clearfix {
	height: 1%;
}

/* End hide from IE-mac */



#mobile-nav-wrapper {
	display: none;
	z-index: 10;
	position: absolute;
	top: 50px;
	left: 0;
	width: 100%;
	font-family: 'Istok Web', sans-serif;
}
#mobilenav {
	padding: 10px;
	background: #3E3E3E;
	list-style: none;
	margin: 0;
}
#mobilenav li {
	padding: 0;
}
#mobilenav li a {
	border-bottom: 1px solid #111;
	border-top: 1px solid #555;
	
}
#mobilenav > li:first-child a{
	border-top: navajowhite;
}

#mobilenav li ul {
	padding: 0;
	margin: 0;
}
#mobilenav li ul li {
	margin: 0;
}
#mobilenav li ul li a {
	padding-left: 20px;
}
#mobilenav li.current-page a {
	color: #fff399;
	background: url('../images/subnav-arrow.png') 0px center no-repeat;	
	padding-left: 20px;
	
}
#mobilenav li.current-page {

}


div#mobile-nav-wrapper #mobilenav li.current-page ul.subnav li a {
	color: #fff !important;
	background: none;
}
#mobilenav li:first-child {
	border-top: 0;
}
#mobilenav li:last-child {
	border-bottom: 0;
}
#mobilenav ul {
	list-style: none;
	padding-left: 10px;
}
#mobilenav  a {
	font-family: 'Istok Web', sans-serif !important;
	text-decoration: none;
	color: #fff;
	display: block;
	width: 100%;
	padding: 10px 0;
}
div#overlay {
	position: absolute;
	background: rgba(0,0,0,0.5);
	top: 66px;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
}

.forecast {
	width: 33%;
	float: left;
	text-align: center;	
}
.forecast img { 
width: 48px;	
margin: 5px 0;
	
}

}


@media all and (max-width: 1050px) {
	#headerWrap, 
	#contentWrap, 
	#content,
	#footerWrap,
	#footer {
		max-width: 100%;
		width: auto !important;
		overflow: hidden;
	}
	#subHeader {
		/*max-width: 80%;*/
		width: auto !important;
	}
	.logo {
		height: 65px;
		margin-left: 10px;
	}
	ul#nav {
		height: auto;
		overflow: auto;
	}
	ul#nav li a {
		font-size: 1.1em;
		padding: 15px 10px 25px 10px;
	}
	#banner {
		font-size: 13px;
	}
	#content {
		min-width: 0;
	}
	div#main {
		width: 65%;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	div#main * {
		/*max-width: 85%;*/
	}
	div#side {
		width: 35%;

		-moz-box-sizing: border-box;
		box-sizing: border-box;
		max-width: auto;
		/*display: none;*/
	}
	div#side #sideNav,
	div#side .sideNav {
	max-width:100%;
	width: auto;
	}
	div#main img { 
		width: auto; 
		max-width: 100%; 
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		height: auto; 
	}
	#footerWrap {
	max-width:100%;
	width: auto;
	display: none;
}


}
