/**********************************
***********************************
*******  SITEWIDE CSS FILE   ******
***********************************
**********************************/



/**********************************
*****  ROOT VARIABLES
**********************************/
:root 
	{
	/*     color pallet     */
	--black: #000000;
	--dark: #180E10;
	--medium: #784753;
	--light: #dab179;
	--contrast: #CD3011;
	--bright: #bf684c;
	--highlight: #FFFF00;
	--cream: #FFF7CE;
	--white: #FFFFFF;
	}

/*
*/

/**********************************
*****  COLOR PALLET RULES
**********************************/
.color-black
	{
	color: var(--black);	
	}	
.color-dark
	{
	color: var(--dark);	
	}
.color-medium
	{
	color: var(--medium);	
	}	
.color-light
	{
	color: var(--light);	
	}	
.color-contrast
	{
	color: var(--contrast);	
	}	
.color-bright
	{
	color: var(--bright);	
	}
.color-highlight
	{
	color: var(--highlight);	
	}	
.color-cream
	{
	color: var(--highlight);	
	}	
.color-white
	{
	color: var(--white);	
	}	


.background-black
	{
	background-color: var(--black);
	color: var(--white);
	}	
.background-dark
	{
	background-color: var(--dark);	
	}
.background-medium
	{
	background-color: var(--medium);	
	}	
.background-light
	{
	background-color: var(--light);	
	}	
.background-contrast
	{
	background-color: var(--contrast);	
	}	
.background-bright
	{
	background-color: var(--bright);	
	}
.background-highlight
	{
	background-color: var(--highlight);	
	}	
.background-cream
	{
	background-color: var(--cream);	
	}	
.background-white
	{
	background-color: var(--white);	
	}	
	

	
	

/**********************************
*******  SITEWIDE PAGE RULES
**********************************/
* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
	}

body
	{
	margin: 0;
	padding: 0;
	width: 100%;
	}

.page
	{
	width: 100%;
	margin: 0;
	padding: 0;
	padding-top: 12em;
	background: var(--white);
	}

.mainContent
	{
	margin: 1em;
	margin-bottom: 2em;	
	display: inline-block;
	}

@media screen and (max-width: 768px)
	{
	.page
		{
		padding-top: 9em;
		}
	}

@media screen and (max-width: 500px)
	{	
	.page
		{
		padding-top: 13em;
		}
	.mainContent
		{
		margin: .5em;
		padding: .5em;
		margin-bottom: 2em;	
		}
	}




/**** Portions of Page Rules ****/
.contentSection
	{
	display: inline-block;
	float: none;
	margin: 1em;	
	}
	
@media screen and (max-width: 600px)
	{
	.contentSection
		{
		display: block;
		margin: 0;
		padding: 0;
		width: 100%;
		text-align: center;	
		}
	}




/**********************************
*******  TEXT RULES  *************
**********************************/
h1, h3, h5
	{
	color: var(--contrast);
	margin-bottom:0;
	}
h2, h4, h6
	{
	color: var(--medium);
	margin-bottom:0;
	}
	
	

p
	{
	color: var(--black);		}


.titled
	{
	font-weight: bold;
	color: var(--bright);
	font-size: 1.1em;
	margin-right: .5em;
	}

.no-margin /*to eliminate margins for text items*/
	{
	margin:0;
	margin-top: .4em;
	}

strong
	{
	color: var(--dark);
	font-size: large;
	}

em
	{
	color: var(--contrast);
	font-size: large;
	}

code
	{
	font-size: 1.5em;
	font-weight: bold;
	}







/******  Links ******/
a:link
	{
	color:var(--contrast);
	}

a:visited
	{
	color:var(--medium);
	}

a:hover
	{
	color:var(--bright);
	}

a:active
	{
	color:var(--dark);
	}






/**********************************
*******  IMG RULES   *********
**********************************/
img
	{
	width: 100%;
	height: auto;
	}

.tetons
	{
	width:30%;
	float:left;
	margin:1em 1em 0 0;
	}


@media screen and (max-width: 500px)
	{
	
	.tetons
		{
		width:40%;
		}
	}

/**********************************
*******  MAIN BANNER RULES   ******
**********************************/

.mainBanner
	{
	position: absolute;
	top: 0;
	z-index: 5;
	width: 100%;
	height: 12em;
	background-image: url(../chidIMGS/banner.jpg);
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
	}

.mainBanner__logo
	{
	max-width: 100%
	height: auto;
	margin: .2em;
	}


.mainBanner__item
	{
	vertical-align: middle;
	font-size: larger;
	font-weight: bold;
	font-style: italic;
	display: inline-block;
	}


.mainBanner__slogan
	{
	color: var(--highlight);
	padding: .75em;
	padding-left: .3em;
	font-size: 3em;
	text-decoration: none;
	}


@media screen and (max-width: 768px)
	{
	.mainBanner
		{
		top: 2em;
		background-size: 850px;
		height: 7.6em;
		}
	.mainBanner__item
		{
		display: block;
		}
	.mainBanner__logo
		{
		width: 80px;
		margin-left: auto;
		margin-right: auto;
		}
	.mainBanner__slogan
		{
		font-size: 2em;
		}
	}


@media screen and (max-width: 500px)
	{
	.mainBanner
		{	
		background-size: 550px;
		top: 8.5em;
		height: 5em;
		}
	.mainBanner__item
		{
		display: block;
		text-align: center;
		}
	.mainBanner__logo
		{
		width: 80px;
		margin-left: auto;
		margin-right: auto;
		}
	.mainBanner__slogan
		{
		padding: .25em;
		font-size: 1.5em;
		}
	}





/**********************************
*******  MAIN FOOTER RULES  *******
**********************************/

.mainFooter
	{
	position: relative;
	bottom: .5em;
	display: table;
	margin-left: 1em;
	font-family: ariel, helvetica, sans-serif;
	font-size: small;
	}
.footNavigation
	{
	margin-right: 1em;
	}






/**********************************
******* PRIMARY NAVIGATION RULES
**********************************/

.primaryNavigation
	{
	position: fixed;
	z-index: 6;
	top: 0;
	background-color: var(--dark);
	width:100%;
	height: 2em;
	}
	
.primaryNavigation__item
	{
	float: left;
	padding: .45em 1em;
	}
	
.primaryNavigation a
	{
	text-decoration: none;
	color: var(--cream);
	font-weight: bold;
	}
	
.primaryNavigation a:hover
	{
	background-color: var(--medium);
	}

@media screen and (max-width: 768px)
	{
	.primaryNavigation
		{
		top: 0;
		}
	}

@media screen and (max-width: 500px)
	{
	.primaryNavigation
		{
		top:0;
		background-color: var(--dark);
		width:100%;
		height: 8.5em;
		}
	.primaryNavigation__item
		{
		float: none;
		display: block;
		text-align: center;
		}
	}





/**********************************
*****  SECONDARY NAVIGATION RULES
**********************************/

.secondaryNavigation
	{
	background-color: var(--light);
	width:100%;
	}
	
.secondaryNavigation a
	{
	text-decoration: none;
	}
	
.secondaryNavigation a:hover
	{
	background-color: var(--highlight);
	}
	
.secondaryNavigation__item
	{
	display: inline-block;
	padding: 1em;
	}
	


@media screen and (max-width: 600px)
	{
	.secondaryNavigation__item
		{
		display: block;
		text-align: center;
		}
	}







/**********************************
*******  TABLE RULES  *********
**********************************/

.linedTable table, th, tr, td
	{
	border: solid 1px var(--black);
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	text-align: center;
	}
	


.colorPallet__table table, th, td
	{
	padding: .5em;
	border: none;
	}




/**********************************
*******  PAGE SPECIFIC RULES
**********************************/

.map
	{
	width: 400px;
	height: auto;
	border:none;
	padding-bottom: 1em;
	}
	
.lotsLink
	{
	padding-top: 3em;
	}

@media screen and (max-width: 600px)
	{
	.map
		{
		width: 100%;
		height: auto;
		}
	.lotsLink
		{
		padding-top: 1em;
		}
	}

	





/**********************************
*******  CAROUSEL SLIDE SHOW RULES
***********************************
*** Taken from W3C code examples
**********************************/

/* Carousel container */
.carousel-container {
  max-width: 450px;
  height: 200px;
  position: relative;
  margin-right: auto;
}


/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "prev button" to the right */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: var(--white);
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: var(--white);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}






/**********************************
*******  ROTATING SLIDE SHOW RULES
***********************************
*** Taken from W3C code examples
**********************************/
/* Rotate container */
.rotate-container {
  position: relative;
  top: 0;
  left: 0;
  margin-right: auto;
  float: left;
  
}

/* Rotate Image Properties */
.rotateImg
	{
	maxheight:400px;
	fmaxwidth:600px;
	}
	
/* Hide the images by default */
.myPics {
    display: none;
}


/* Caption text */
.text {
  color: var(--highlight);
  font-size: 15px;
  font-weight: bold;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: var(--highlight);
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  right: 20px;
}

/* The dots/bullets/indicators */
.bullet {
  cursor:pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}


.thisone, .bullet:hover {
  background-color: #717171;
}



/* Fading animation */
.change {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3s;
  animation-name: fade;
  animation-duration: 3s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
