﻿/* 
   Hillman Community Center Style Sheet
   Filename: styles.css

   Author:   Johnathon Clayton
   Date:     3/15/2021
 */

/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200&display=swap');

/* reset styles */
html {
   font-size: 14px;
   overflow-x: hidden;
   width: auto;
}
a, article, body, div, figure, footer, header, 
h1, h2, h3, img, li, nav, p, section, ul {
   border: 0;
   padding: 0;
   margin: 0;
}
img {
   max-width: 100%;
   height: auto;
   width: auto;
}
ul {
   list-style-type: none;
}
body {
	height: auto;
}

video {
	width: 600px;
	height: auto;
}

/* site navigation */
.navigation {
	background-color: #0a5412;
	width: 100%;
	z-index: 2;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 87px;
}
.logo-background {
	position: absolute;
	left: 150px;
	top: 0;
	padding: 3.5em;
	background: #0a5412;
	z-index:1;
	box-shadow: -5px 0 25px #292929;
}
.nav-bar {
	position: absolute;
	left: 500px;
	top: -11px;
	text-align: center;
	z-index:1;
	display: inline;
}
.nav-bar a, .nav-bar button{
	font-family: "Open Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
	float: left;
	margin-top: 34px;
	background: #0a5412;
	font-size: 1.3em;
	line-height: 1.4em;
	color: white;
	padding: 14px 16px;
	padding-bottom: 24px;
	width: auto;
	border: none;
}
.nav-bar a:link, .nav-bar a:visited, .nav-bar a:hover, .nav-bar a:active {
	text-decoration: none;
}
.nav-bar button{
	float:left;
	padding-bottom: 25px;
}
.dropdown-content-township-info, .dropdown-content-board-info{
	display: none;
	background-color: #eee;
	width: 160px;
	z-index: 1;
	position: absolute;
	top: 98px;
}
.dropdown-content-township-info a, .dropdown-content-board-info a{
	float: none;
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
	background-color: #eee;
	margin-top: 0;
	font-size: 1em;
}
.dropdown-township-info:hover .dropdown-content-township-info {
  display: block;
}
.dropdown-board-info:hover .dropdown-content-board-info {
  display: block;
}
.dropdown-township-info {
	position: absolute;
	left: 260px;
	width: 200px;
}
.dropdown-board-info {
	position: absolute;
	left: 110px;
	width: 200px;
}
.dropdown-content-township-info a:hover, .dropdown-content-board-info a:hover {
  background-color: #ddd;
}
#background-rect {
    width: 100vw;
    height: 9vh;
    background: #0a5412;
}
#indexLinkGrid {
	bottom: 0px;
}

/* main content */
body {
	background-color: rgb(104, 104, 104, 0.2);
}
#rectangle {
	width:100vw;
    height:466px;
    background: #C7D6C8;
	z-index: 1000;
}

/* Slideshow for homepage */
#slideshow {
	overflow: hidden;
	height: 510px;
	width: 728px;
	margin: 0 auto;
	margin-bottom: 0;
	text-align: center;
	position: relative;
	bottom: 450px;
}
.slide-wrapper {
	width: 4368px;
	-webkit-animation: slide 15s ease infinite;
}
.slide {
	float: left;
	height: 510px;
	width: 728px;
}
@-webkit-keyframes slide {
  14% {margin-left: 0px;}
  19% {margin-left: -728px;}
  33% {margin-left: -728px;}
  38% {margin-left: -1456px;}
  52% {margin-left: -1456px;}
  57% {margin-left: -2184px;}
  71% {margin-left: -2184px;}
  76% {margin-left: -2912px;}
  95% {margin-left: -2912px;}
}
.slidelabel {
	color: white;
	background-color: rgb(186, 186, 186, 0.73);
	font-size: 30px;
	position: relative;
	bottom: 100px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-decoration: none;
	font-family: "Dosis", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
}

/* drafting plan for homepage */
#draftingPlan, .bodyContainer {
	display: flex;
	align-items: center;
	padding: 12px;
	background-color: white;
	font-family: "Dosis", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
	position: absolute;
	top: 614px;
	height: 235px;
	width: 832px;
	margin-bottom: 10px;
	left: 50%;
	transform: translateX(-424px);
}
#draftingPlanText {
	float: left;
	width: 60%;
}
#draftPlanPic {
	float: right;
	width: 30%;
	height: auto;
	padding: 31px;
}
#draftRecPlanButton {
	font-family: "Open Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
}

/* body */
.announcementP{
	font-family: "Open Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
	font-size: 3rem;
	padding-bottom: 20px;
}
.announcementH2{
	font-size: 5rem;
	padding-bottom: 1.5rem;
}
.bodyPara{
	font-family: "Open Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
	font-size: 1rem;
	padding-bottom: 15px;
}
.bodyH2{
	font-size: 2.5rem;
	padding-bottom: 1rem;
}
.bodyContainer {
	height: auto;
	position: relative; 
	top: -250px;
}
#indexBodyContainer {
	position: relative;
	top: -150px;
}
.bodyText {
	float: left;
	width: 690px;
}
.linkGrid {
	float: right;
	position: relative;
}
.linkGridHead th{
	text-align: left;
	padding: 10px;
	background: #0a5412;
	color: white;
}
.infoTableHead {
	font-size: 1.5rem;
}
.linkGridBody td {
	border: 2px solid rgb(186, 186, 186, 0.73);
	width: 96px;
	height: 96px;
	text-align: center;
	vertical-align: center;
	padding-bottom: 5px;
}
.linkGridBody a:link, .linkGridBody a:visited, .linkGridBody a:hover, .linkGridBody a:active {
	text-decoration: none;
	color: #0a5412;
}
.boardMember {
	font-size: 1.5rem;
}
.zoningButtons {
	position: absolute;
	top: 500px;
}
.calendar {
	border: auto;
	margin: 0 10%;
	width: 80%;
	height: 600px;
}
#areaEvents {
	position: relative;
	bottom: 200px;
}
.stylizedButton {
	background-color: white;
	text-decoration: none;
	border: 4px solid #0a5412;
	font-size: 1rem;
	font-family: "Open Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
	padding: 5px;
	border-radius: 24px;
}
.stylizedButton a:link, .stylizedButton a:visited, .stylizedButton a:hover, .stylizedButton a:active {
	text-decoration: none;
	color: #0a5412;
}

/* footer section */
footer {
	width: 100%;
	background-color: #0a5412;
	height: 160px;
	position: relative;
	bottom: 150px;
	margin-bottom: 0px;
}
.footerPara {
	font-size: 15px;
	color: white;
	text-align: center;
	padding: 15px;
	font-family: "Open Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
}