body {
  font-family:Tahoma,sans-serif;
  background: darkgreen;
  background-size: cover;
  background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: left top;
}
.main-table {
	width: 100%;
	border-collapse: separate;
}
th {
	width: 100%;
	text-align: left;
	padding: 25px;
  background-image: url(/seb-photos/webimages/header-garter.png);
  background-size: 50%;
  background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: top left;
	background-clip: border-box;
	border: none;
	border-radius: 20px;
  color: white;
}
td {
	border: 5px solid black;
	text-align:left;
}
.year {
  border:none;
  color: darkorange;
  text-shadow:
    -1px -1px 10px darkgreen,
    1px -1px 10px darkgreen,
    -1px 1px 10px darkgreen,
    1px 1px 10px darkgreen;
  font-size: 120px;
  float: left;
  padding-left: 300px;
}
.subtitle {
  font-size:45px;
  text-decoration: none;
  text-shadow:
    2px 0 darkgreen,
    -2px 0 10px darkgreen,
    0 2px 10px darkgreen,
    0 -2px 10px darkgreen,
    2px 2px 10px darkgreen,
    -1px -1px 10px darkgreen,
    1px -1px 10px darkgreen,
    -1px 1px 10px darkgreen;
  border: none;
  padding: 15px;
}
.sidebarL {
  background: none;
  border: none;
  padding: 10px;
  width: 10%;
  vertical-align: top;
}
.button {
  display:inline-block;
  width: 100%;
  height: 75px;
  background-color: peachpuff;
  border: 5px solid darkorange;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  color: darkgreen;
  padding: 5px 5px;
  cursor: pointer;
  margin:2px;
  text-align:center;
  transition-duration: 0.2s;
}
.button:hover {
  background-color: green;
  color:white;
}
.button-s {
  display:inline-block;
  width: 100%;
  height: 75px;
  background-color: maroon;
  border: 5px solid chocolate;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  padding: 5px 5px;
  cursor: pointer;
  margin:2px;
  text-align:center;
  transition-duration: 0.2s;
}
.button-s:hover {
  background-color: oldlace;
  color:maroon;
}
.locked {
  display:inline-block;
  width: 100%;
  height: 75px;
  background-color: peachpuff;
  border: 5px solid darkorange;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  color: darkgreen;
  padding: 15px 30px;
  margin:2px;
  text-align:center;
  transition-duration: 0.2s;
  opacity: 0.5;
  cursor: not-allowed;
}
.centered {
  width: 70%;
  margin: auto;
  text-align: center;
}
.submit {
  display:inline-block;
  width: auto;
  height: auto;
  background-color: peachpuff;
  border: 5px solid darkorange;
  border-radius: 20px;
  font-size: 40px;
  font-weight: bold;
  color: darkgreen;
  padding: 10px 10px;
  cursor: pointer;
  margin: auto;
  text-align: center;
  transition-duration: 0.2s;
}
.submit:hover {
  background-color: green;
  color:white;
}
.main-body {
	background-color: cornsilk;
	border: 5px solid darkgreen;
	border-radius: 20px;
	margin: 5px;
	padding: 25px;
	width: 100%;
	height: 100%;
	vertical-align: top;
}
.footer {
  color: darkorange;
  font-size: 20px;
  text-align: center;
  width: 50%;
  background: none;
  border: none;
  border-radius: 20px;
  margin-left: 0;
  padding: 10px 10px 10px 30px;
}
h1 {
  font-size: 45px;
  color: white;
  text-align:center;
  background-color: darkgreen;
  border-style: hidden;
  border-radius: 20px;
  padding: 10px;
  margin: 10px
}
h2 {
  font-size: 25px;
  text-align:center;
  padding: 10px;
}
h3 {
  font-size: 20px;
  padding: 10px;
}
h4 {
  font-size: 25px;
  text-align: center;
  color: darkred;
  text-decoration: underline darkred solid;
  padding: 2px 10px 2px;
  margin: 1px 1px 1px;
	width: auto;
}
h4 {
  font-size: 20px;
}
a {
  font-size: inherit;
  color: inherit;
  text-decoration: inherit;
}
.mini-link {
  font-size: 20px;
  color: darkgreen;
  text-align: inherit;
  text-decoration-line: underline;
}

#count-start, #count-end, #vote-start, #vote-end {
  color: darkred;
}
p {
  font-size: 20px;
  padding: 10px;
}
ul {
  list-style: square;
  color: darkgreen;
  font-size: 20px;
  background-color: cornsilk;
  border: 5px solid darkorange;
  border-radius: 20px;
  margin-left: 0;
  padding: 10px 10px 10px 50px;
}
li {
  padding-left: 1em;
  padding-top: 5px;
  padding-bottom: 5px;
  text-indent: -1em;
}
ol {
  list-style-type: decimal;
  color: darkgreen;
  font-size: 20px;
  background-color: cornsilk;
  border: 5px solid darkorange;
  border-radius: 20px;
  margin-left: 0;
  padding: 10px 10px 10px 50px;
}
.list-header {
  font-size: 120%;
  font-weight: bold;
  margin-left: 0;
  padding: 0;
}
.list-subtitle {
  font-style: italic;
}

.img {
  max-width: 900px;
}

.photo-vote {
  max-width: 900px;
  max-height: 900px;
  cursor: not-allowed;
}

.photo-win {
  max-width: 700px;
  max-height: 700px;
}

.photo-runner {
  max-width: 240px;
  max-height: 240px;
}

.pagination {
  display: inline-block;
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.active-pagination {
  background-color: peachpuff;
  border-radius: 5px;
  border: solid darkorange 2px;
}

.pagination a:hover:not(.active) {
  background-color: darkorange;
  border-radius: 5px;
}

/*MOBILE MENU*/

.mobile-nav {
  position: relative;
  padding: 10px;
  display: none;
}

.menu-dropdown {
  font-size: 40px;
  padding: 10px;
  overflow: hidden;
  background-color: cornsilk;
  border-style: solid;
  border-color: darkorange;
  border-radius: 20px;
  color:darkgreen;
  position: relative;
  cursor:pointer;
}

.dropdown-content {
  display: none;
  font-size: 40px;
  padding: 10px;
  overflow: hidden;
  background-color: peachpuff;
  border-style: solid;
  border-color: darkorange;
  color: darkgreen;
  position: relative;
  min-width: 160px;
  z-index: 1;
}

.dropdown-item {
  background-color: peachpuff;
  position: relative;
  text-decoration: underline solid;
  padding: 5px;
}

.dropdown-locked {
  background-color: peachpuff;
  color: #809F5D;
  position: relative;
  text-decoration: none;
  padding: 5px;
  cursor: not-allowed;
}

.dropdown-content a {
  display: block
}

.dropdown-content a:hover {
  background-color: cornsilk;
  color: darkgreen;
}

.mobile-nav:hover .dropdown-content {
  display: block;
  }
  
.mobile-nav:hover .menu-dropdown {
  background-color: cornsilk;
  }

/*Mobile query*/

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/*Remove desktop sidebar and adjust placement*/
	.sidebarL {
	   display: none;
	}
	.year {
	  padding-left: 100px;
	}
	.submit {
	  width: 80%;
	  height: 250px;
	}
	.footer, table {
	  width: 100%;
	  max-width: 760px;
	  border-collapse: collapse;
	  padding: 0;
	  margin: 0;
	}
	th {
	  padding: 0;
	  width: 100%;
	  max-width: 760px;
	  background-position: top left;
	}
	
	/*Display mobile sidebar*/
	.mobile-nav, table, th, td, tr { 
		display: block; 
	}
	
	/*Hide dropdown content if not tapped*/
	.dropdown-content {
	  display: none;
	}
}

