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



/**********************************
*****  ROOT VARIABLES
**********************************/
:root 
	{
	/*     color pallet     */
	--black: #000000;
	--dark: #0F5E1D;
	--medium: #4AA433;
	--light: #AECEA5;
	--contrast: #24D1E2;
	--bright: #FFE91A;
	--highlight: #FFFC93;
	--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-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-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;
	display: table;
	background: var(--white);
	}

.mainContent
	{
	position: relative;
	margin: 1em;
	}

.indexContent
	{
	position: relative;
	width: 100%;
	background-color: var(--light);
	display: table;
	margin-bottom: 2em;	
	}


@media screen and (max-width: 500px)
	{
	.mainContent
		{
		display: block;
		margin: 1em;
		padding: 0;
		margin-bottom: 2em;	
		}
	}




/**** Portions of Page Rules ****/
.contentSection
	{
	float: left;
	margin: 1em;
	}
	
.introSection
	{
	max-width: 95%;
	margin: auto;
	padding-bottom: 2em;
	}
	
.gallerySection
	{
	position: relative;
	max-width: 65%;
	margin-top: 1em;
	margin: auto;
	text-align: center;
	}
	
@media screen and (max-width: 500px)
	{
	.contentSection
		{
		margin: 0;
		padding: 0;
		width: 100%;
		display: block;
		}	
	.gallerySection
		{
		position: relative;
		margin-top: 0;
		max-width: 100%;
		left: 0;
		}
	.introSection
		{
		max-width: 100%;
		padding-bottom: 1em;
		}		
	}




/**********************************
*******  TEXT RULES  *************
**********************************/
h1, h3, h5
	{
	color: var(--dark);
	margin-bottom:.25em;
	}
h2, h4, h6
	{
	color: var(--medium);
	margin-bottom:.25em;;
	}

	

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


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

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

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

code
	{
	font-size: 1.1em;
	font-weight: bold;
	color: green;
	background-color: var(--highlight);
	}

.bookTitle
	{
	font-style: italic;
	text-decoration: underline;
	}

.artTitle
	{
	font-style: italic;
	text-align: center;
	color: var(--dark);
	font-weight: bold;
	font-size: 16px;
	padding-bottom: .5em;
	}






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

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

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

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






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


	
.galleryPic
	{
	margin: 3px;
	margin-bottom: 6px;
	box-shadow: 3px 6px 5px #888888;
	}
	
.indexPic
	{
	max-width: 40%;
	margin-left: auto;	
	margin-right: auto;
	margin-bottom: 2em;
	}

.lonePic
	{
	max-width:40%;
	margin:auto;'
	}

.bioPic
	{
	max-height: 400px;
	max-width: 300px;
	margin-right: 1em;
	}

.bioBanner
	{
	max-width: 100%;
	max-height: 80px;
	float:left;
	margin-right: 1em;
	}

.about__right
	{
	float: right;
	padding-left: 1em;
	max-width: 30%;
	}
.about__left
	{
	float: left;
	padding-right: 1em;
	max-width: 30%;
	}

.shop
	{
	max-width:48%;
	margin:2px;
	float: left;
	}


@media screen and (max-width: 768px)
	{
	.indexPic
		{
		max-width:70%;
		}	
	}

@media screen and (max-width: 500px)
	{
	.indexPic
		{
		max-width:80%;
		}	
	.bioPic
		{
		max-width:40%;
		}	
	.bioBanner
		{
		max-width:40%;
		}
	.about__right
		{
		display: block;
		float: none;
		max-width: 100%;
		margin: auto;
		padding: 0;
		}
	.about__left
		{
		display: block;
		float: none;
		margin: auto;
		padding: 0;
		max-width: 100%;
		}
	.shop
		{
		max-width: 100%;
		float: none;
		margin: auto;	
		}
	.lonePic
		{
		max-width:95%;
		}
	}


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

.mainBanner
	{
	position: relative;
	top: 0;
	width: 100%;
	height: 70px;
	background-color: var(--light);
	font-size: 2.5em;
	font-style: italic;
	font-weight: bolder;
	text-align: center;
	}

.mainBanner_name
	{
	width: 100%;
	text-decoration: none;
	color: var(--dark);
	}

@media screen and (max-width: 768px)
	{
	.mainBanner
		{
		padding-top: .5em;
		font-size: 1.75em;
		}
	}
@media screen and (max-width: 500px)
	{
	.mainBanner
		{
		padding-top: .75em;
		font-size: 1.25em;
		}
	}
@media screen and (max-width: 400px)
	{
	.mainBanner
		{
		font-size: 1em;
		}
	}



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

.mainFooter
	{
	display: table;
	margin:auto;
	margin-bottom: 1em;
	font-family: ariel, helvetica, sans-serif;
	font-size: 12px;
	text-align: center;
	}
.footNavigation
	{
	margin-left: 1em;
	}






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

.primaryNavigation
	{
	position: absolute;
	top: 0;
	z-index: 10;
	background-color: var(--light);
	float: none;
	}
	
.primaryNavigation__item
	{
	padding: .4em;
	padding-bottom: .2em;
	}


.primaryNavigation a
	{
	text-decoration: none;
	color: var(--bright);
	font-size: medium;
	}
	
.primaryNavigation a:hover
	{
	color: var(--dark);
	}

@media screen and (max-width: 500px)
	{
	.primaryNavigation a
		{
		font-size: small;
		}
	}



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

.secondaryNavigation
	{
	position: relative;
	top: -18px;
	height: 2em;
	background-color: var(--white);
	padding: 0;
	z-index: 10;
	font-size: medium;
	overflow: hidden;
	}
	
.secondaryNavigation a
	{
	text-decoration: none;
	color: var(--dark);
	}
.secondaryNavigation a:hover
	{
	text-decoration: none;
	color: var(--white);
	background-color: var(--medium);
	}
	
.secondaryNavigation__item
	{
	display: inline-block;
	position: relative;
	margin-right: 3px;
	padding: 3px 5px 3px 5px;
	background-color: var(--light);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	z-index: 10;
	}
		
.secondaryNavigation__selected
	{
	display: inline-block;
	position: relative;
	margin-right: 3px;
	padding: 3px 5px 3px 5px;
	background-color: var(--dark);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	z-index: 20;
	}		
a.secondaryNavigation__selected
	{
	color: var(--highlight);
	font-weight: bold;
	}
	
	









/**********************************
*******  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;
	}

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

	





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

/* Carousel container */
.carousel-container {
  max-width: 450px;
  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;
  margin-right: auto;
}

/* Rules for image size, etc. */
/* Hide the images by default */
.myPics {
    display: none;
}



/* Number text (1/3 etc) */
.gallery-caption {
  color: var(--bright);
  font-size: 15px;
  position: absolute;
  top: -20px;
  left: 5px;
  margin:0;
  padding:0;
}


/* Caption text */
.text {
  font-weight: bold;
}

.bullet-container
	{
	position: absolute;
	top: -30px;
	left: 5px;
	width:100%;
	text-align:right; 
	margin-top:.5em;
	}


/* The dots/bullets/indicators */
.bullet {
  cursor:pointer;
  height: 8px;
  width: 8px;
  margin: 0 1px;
  background-color: var(--dark);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}


.thisone, .bullet:hover {
  background-color: var(--bright);
}



/* 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}
}
