/* Nathan DeWitt - IFT 301 Final Project */

HTML, body {
	margin: 0px;
	padding: 0px;
	border: 0px;
	background-color: PowderBlue;
} /* Zero out margins, set background color for all pages */

.header {
	position: relative;
	width: 100%;
	height: auto;
	max-height: 370px;
	border-radius: 1px;
	margin-bottom: 10px;
	text-align: center;
} /* Header picture on all pages */

a:hover {
	opacity: 0.7;
	border-radius: 8px;
} /* Fade pictures when hovering */

.header-text {
	position: relative;
	bottom: 60px;
	right: 10px;
	color: GhostWhite;
	text-align: right;
	font-family: "Courier New", monospace;
	font-size: 32px;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-shadow: 4px 6px 4px #000000;
} /* "WD FARM LITTLE FREE LIBRARY" text in header */
		
.links {
	width: 100%;
	height: 200px;
	border-radius: 8px;
	opacity: 1;
} /* Links to other pages */

.current-page {
	width: 100%;
	height: 200px;
	border-radius: 8px;
	opacity: 0.5;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
} /* Current page is faded and monochrome */

.column .current-link-text {
	opacity: 0.5;
	top: 50%;
	left: 50%;
	bottom: 60px;
	position: relative;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
} /* Text box above picture of current page */

.column .link-text {
	transition: .5s ease;
	opacity: 1;
	top: 50%;
	left: 50%;
	bottom: 60px;
	position: relative;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
} /* Text box above link pictures */

.text {
	background-color: SteelBlue;
	color: White;
	font-size: 20px;
	padding: 16px 32px;
	border-radius: 4px;
	font-family: Verdana, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
} /* Text on text boxes */

.column:hover .links {
	opacity: 0.3;
} /* Fade links when hovering */

.column:hover .link-text {
	opacity: 1;
} /* Keep link text at full opacity */

.column {
	float: left;
	width: 19%;
	padding: 5px;
	margin-left: 5px;
} /* 19% to fit 5 pictures in one row with space to spare for margins */

.row::after {
	content: "";
	clear: both;
	display: table;
} /* Resets the picture after moving mouse off of the link */

.row {
	margin-bottom: -200px;
} /* Clear gap between links and title */
				
.center {
	text-align: center;
	font-family: arial;
	font-weight: bold;
	width: 30%;
	margin-left: 35%;
} /* Centered text */

img {
	box-shadow: 2px 2px 10px #000;
} /* Shadow under every img for depth */

.footer {
	text-align: center;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 300;
	text-transform: lowercase;
	margin: auto;
	line-height: 3em;
} /* Links at bottom of each page */
		
.left {
	text-align: justify;
	text-justify: inter-word;
	font-family: arial;
	padding: 10px;
	width: 65%;
	padding-left: 50px;
	letter-spacing: 0.09em;
	line-height: 1.5em;
	display: inline-block;
	float: left;
} /* Left aligned paragraph text */

.left:first-letter, .right:first-letter {
	font-size: 30px;
	font-weight: 900;
	font-family: "Times New Roman", serif;
} /* Text decoration for the first letter of each paragraph, left and right */

.right {
	text-align: right;
	float: right;
	font-family: arial;
	padding: 60px;
	margin-right: 50px;
	width: 65%;
	text-align: justify;
	text-justify: inter-word;
	letter-spacing: 0.09em;
	line-height: 1.5em;
	display: inline-block;
} /* Right aligned paragraph text */

.centered-images {
	height: auto;
	margin: auto;
	width: 30%;
	position: relative;
} /* Images that need to be centered in the page */

iframe {
	border-radius: 10px;
	border: 0;
	box-shadow: 2px 2px 10px #888;
} /* Add box shadow and rounded corners to Google Maps iframe */

hr {
	width: 90%;
	position: relative;
} /* Leave some space on each side of hr */

h1 {
	font-family: "Courier New", monospace;
	font-size: 34px;
	letter-spacing: 0.20em;
	text-shadow: 1px 1px 15px #111111;
	background: -webkit-linear-gradient(#800000, #808000);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 900;
} /* Title text for each page, slight gradient for effect */

.january, .february, .march, .april, .may, .june, .july, .august, .september, .october, .november, .december {
	display: none;
} /* For events page, hide all elements until activated with js */

/* The following four determine link decorations and coloring, also adding an effect for clicked links */
a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
	color: DarkRed;
}

a:hover {
	text-decoration: underline;
}

a:active {
	text-decoration: underline;
	text-shadow: 1px 3px 6px #3f3f3f;
}

.eventbox {
	margin: auto;
	width: 60%;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 50px;
} /* For box that will hold event info */

.month {
	padding: 50px 25px;
	width: 90%;
	background: LightSlateGray;
	text-align: center;
	border-radius: 20px;
	border: 2px solid black;
} /* Month header on events list */

.day:nth-child(even) {
	padding: 40px 25px;
	width: 90%;
	background: LightSkyBlue;
	text-align: center;
	border-radius: 10px;
	border: 2px solid black;
}

.day:nth-child(odd) {
	padding: 40px 25px;
	width: 90%;
	background: LightSteelBlue;
	text-align: center;
	border-radius: 10px;
	border: 2px solid black;
} /* The above two alternate background color for each event */

table {
	margin: auto;
	border-collapse: collapse;
}

td.first-row-left {
	border-radius: 10px 0 0 0;
}

td.first-row-right {
	border-radius: 0 10px 0 0;
	border: 0;
}

td.last-row-right {
	border-radius: 0 0 10px 0;
}

td.last-row-left {
	border-radius: 0 0 0 10px;
} /* Add rounded corners to top and bottom of entire table */

td:nth-child(even) {
	padding: 20px 10px;
	width: 60%;
	background: LightSkyBlue;
	text-align: left;
	border: 0;
	font-style: oblique;
	font-weight: 900;
} /* Book titles */

td:nth-child(odd) {
	padding: 20px 10px;
	width: 40%;
	background: LightSlateGray;
	text-align: left;
	border: 0;
} /* Book authors */

table {
	text-align: center;
	font-family: Verdana, sans-serif;
	font-weight: 200;
	font-size: 20px;
	width: 70%;
	margin: auto;
	border-collapse: separate;
} /* Centered text */

.day .date {
	float: left;
	width: 10%;
	font-family: /*Arial, sans-serif;*/ "Noto Sans", sans-serif;
	font-weight: 900;
	font-size: 32px;
	color: #0c0a01;
} /* For each event, put the date on the left side, set width to keep extra space for event info */

.day .event {
	width: 90%;
	font-family: Arial, sans-serif;
	font-size: 32px;
	font-variant: small-caps;
	text-shadow: 5px 5px 8px #000;
	font-stretch: ultra-expanded;
	letter-spacing: 0.1em;
	display: inline;
	text-align: left;
	color: white;
	padding-left: 150px;
} /* Text for each event */

.day .event .subtext {
	font-size: 24px;
} /* For additional info on events page */

.day ul {
	list-style-type: none;
} /* Using an unordered list for the events, make sure there is nothing in front of each list item */

.month ul {
	margin: 0;
	list-style-type: none;
	font-family: Verdana, sans-serif;
	font-weight: 650;
	text-shadow: 2px 2px 5px #000;
} /* Text decoration for the month in the events list */

.month ul li {
	color: white;
	font-size: 26px;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.month .prev {
	float: left;
	padding-top: 5px;
	color: silver;
	font-size: 26px;
	text-shadow: 2px 2px 5px #000;
}

.month .next {
	float: right;
	padding-top: 5px;
	color: silver;
	font-size: 26px;
	text-shadow: 2px 2px 5px #000;
} /* The above two are decoration for the < and > month navigation for the events list */

button {
	background-color: inherit;
	border: 0;
} /* This makes the navigation arrows appear directly on the box */

button:hover {
	cursor: pointer;
} /* Otherwise, hovering did not change the cursor so user may not know they can click */

a span {
	display: none;
	position: absolute;
	color: #fff;
	background-color: #000;
	border: 4px solid white;
	padding: 15px;
	opacity: 0.9;
	box-shadow: 10px 10px 10px #333;
	max-width: 600px;
} /* This is the box that will appear when hovering over an event for more info */

span::after {
	content: '';
	position: absolute;
	bottom: -10px;
	width: 10px;
	height: 10px;
	left: 50%;
	margin-left: -5px;
}

a .event {
	position: relative;
}

a:hover span {
	display: block;
	text-align: left;
} /* Ensures the box displays when hovering */

.month span {
	color: silver;
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.ee {
	text-transform: lowercase !important;
	font-variant: none !important;
} /* Special font for e e cummings */

fieldset {
	text-align: left;
	width: 700px;
	height: auto;
	font-size: 24px;
	letter-spacing: 0.1em;
	font-family: Verdana, sans-serif;
	border: 6px solid black;
	border-radius: 15px;
	color: black;
	background-color: LightSlateGray;
	padding: 15px;
	margin: auto;
	box-shadow: 1px 1px 5px #000;
}

.form-text {
	margin: 20px 20px 0 20px;
	text-align: right;
	padding-bottom: 20px;
	font-size: 16px;
}

textarea {
	margin-left: 20px;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 1px 1px 5px #000;
}

input {
	border-radius: 5px;
	box-shadow: 1px 1px 5px #000;
}

input.button {
	padding: 5px;
	font-size: 20px;
	margin-right: 20px;
}

.request {
	max-height: 500px;
	overflow-y: scroll;
	padding: 20px;
	width: 1000px;
	margin: auto;
} /* Book request can get lengthy, so adding a scrollbar to not have a very large page */