/* Website Colours

Orange color: #e67e22
Dark Orange colour: #cf6d17

*/

/* -------------------------------------------------- */
/* BASIC SETUP */
/* -------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
  color: #333;
  font-family: "Lato", "Arial", sans-serif;
  font-weight: 300;
  font-size: 20px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

/* -------------------------------------------------- */
/* REUSABLE COMPONENTS */
/* -------------------------------------------------- */

.row {
  max-width: 1140px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.box {
  padding: 1%;
}

/* ---------- HEADINGS ---------- */

h1,
h2,
h3 {
  font-weight: 300;
  text-transform: uppercase;
}

h1 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #fff;
  font-size: 240%;
  word-spacing: 4px;
  letter-spacing: 1px;
}

h2 {
  font-size: 180%;
  word-spacing: 2px;
  text-align-last: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

h3 {
  font-size: 110%;
  margin-bottom: 15px;
}

h2:after {
  display: block;
  height: 2px;
  background-color: #e67e22;
  content: " ";
  width: 100px;
  margin: 0 auto;
  margin-top: 30px;
}

/* ---------- PARAGRAPHS ---------- */

.long-copy {
  line-height: 145%;
  width: 70%;
  margin-left: 15%;
}

.box p {
  font-size: 90%;
  line-height: 145%;
}

/* ---------- ICONS ---------- */

.icon-big {
  font-size: 350%;
  display: block;
  color: #e67e22;
  margin-bottom: 10px;
}

.icon-small {
  display: inline-block;
  width: 30px;
  text-align: center;
  color: #e67e22;
  font-size: 120%;
  margin-right: 10px;

  /*secrets to align text and icons*/
  line-height: 120%;
  vertical-align: middle;
  margin-top: -5px;
}

/* ---------- LINKS ---------- */

a:link,
a:visited {
  color: #e67e22;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid #e67e22;
  -webkit-transition:
    border-bottom 0.2s,
    color 0.2s;
  transition:
    border-bottom 0.2s,
    color 0.2s;
}
a:hover,
a:active {
  color: #333;
  border-bottom: 1px solid transparent;
}

/* ---------- BUTTONS ---------- */

/* Add this to the <style> block in index.php OR better, into style.css */
button.btn {
  appearance: none; /* strip browser defaults */
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  display: inline-block;
  padding: 10px 16px; /* match your .btn class */
  border-radius: 999px;
  border: 1px solid #e67e22;
}

/* then apply your variations just like links */
button.btn-full {
  background: #e67e22;
  color: #fff;
}
button.btn-ghost {
  color: #e67e22;
}

.btn:link,
.btn:visited,
input[type="submit"] {
  display: inline-block;
  padding: 10px 30px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 200px;
  -webkit-transition:
    background-color 0.2s,
    border 0.2s,
    color 0.2s;
  transition:
    background-color 0.2s,
    border 0.2s,
    color 0.2s;
}

.btn-full:link,
.btn-full:visited,
input[type="submit"] {
  background-color: #e67e22;
  border: 1px solid #e67e22;
  color: #fff;
  margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
  border: 1px solid #e67e22;
  color: #e67e22;
}

.btn:hover,
.btn:active,
input[type="submit"]:hover,
input[type="submit"]:active {
  background-color: #cf6d17;
}

.btn-full:hover,
.btn-full:active,
input[type="submit"] {
  border: 1px solid #cf6d17;
}

.btn-ghost:hover,
.btn-ghost:active {
  border: 1px solid #cf6d17;
  color: #fff;
}

/* -------------------------------------------------- */
/* HEADER SECTION */
/* -------------------------------------------------- */

.welcome {
  background-image:
    -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.4)),
      to(rgba(0, 0, 0, 0.4))
    ),
    url(/assets/img/welcome.jpg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/assets/img/welcome.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.council,
.about,
.whatson,
.contact {
  background-size: cover;
  background-position: center;
  height: 50vh;
}

.council {
  background-image:
    -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.4)),
      to(rgba(0, 0, 0, 0.4))
    ),
    url(/assets/img/council.jpg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/assets/img/council.jpg);
}

.about {
  background-image:
    -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.4)),
      to(rgba(0, 0, 0, 0.4))
    ),
    url(/assets/img/about.jpg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/assets/img/about.jpg);
}

.whatson {
  background-image:
    -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.4)),
      to(rgba(0, 0, 0, 0.4))
    ),
    url(/assets/img/whatson.jpg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/assets/img/whatson.jpg);
}

.contact {
  background-image:
    -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.4)),
      to(rgba(0, 0, 0, 0.4))
    ),
    url(/assets/img/contact.jpg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(/assets/img/contact.jpg);
}

.head-text-box {
  position: absolute;
  width: 1140px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.logo {
  height: 100px;
  width: auto;
  float: left;
  margin-top: 20px;
}

.logo-black {
  display: none;
  height: 50px;
  width: auto;
  float: left;
  margin: 5px 0;
}

/* ---------- MAIN NAVIGATION ---------- */

.main-nav {
  float: right;
  list-style: none;
  margin-top: 55px;
  word-spacing: 4px;
}

.main-nav li {
  display: inline-block;
  margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
  padding: 8px 0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 90%;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-bottom 0.2s;
  transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
  border-bottom: 2px solid #e67e22;
}

/* -------- DROPDOWN NAVIGATION -------- */

/* Style for dropdown container */
.main-nav .dropdown {
  position: relative;
  display: inline-block;
}

/* Hide dropdown by default */
.main-nav .dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: transparent;
  min-width: 100%;
  z-index: 1;
  box-shadow: none;
  border: none;
  padding-top: 10px;
  margin-left: -40px;
}

/* Style for dropdown links */
.main-nav .dropdown-content a {
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color on hover */
.main-nav .dropdown-content a:hover {
  color: #fff;
}

/* Show dropdown when hovering over the parent item */
.main-nav .dropdown:hover .dropdown-content {
  display: block;
}

/* Style for dropdown links */
.main-nav .dropdown-content a {
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* -------- MOBILE NAVIGATION -------- */

.mobile-nav-icon {
  float: right;
  margin-top: 30px;
  cursor: pointer;
  display: none;
}

.mobile-nav-icon i {
  font-size: 200%;
  color: #fff;
}

/* -------- STICKY NAVIGATION -------- */

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 2px #efefef;
  z-index: 9999;
}

.sticky .main-nav {
  margin-top: 18px;
}

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
  padding: 16px 0;
  color: #333;
}

.sticky .logo {
  display: none;
}
.sticky .logo-black {
  display: block;
}

.sticky .main-nav .dropdown-content {
  background-color: rgba(255, 255, 255, 0.85);
  padding-right: 35px;
}

/* -------- DROPDOWN NAVIGATION -------- */

.dropdown-content a {
  padding-left: 25px;
  font-size: 0.95em;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Optional: add a subtle left border */
.dropdown-content {
  border-left: 2px solid #eee;
  margin-left: 10px;
}

.dropdown-content a::before {
  content: "›";
  margin-right: 8px;
  color: #999;
}

@media (max-width: 768px) {
  .dropdown-content a {
    padding-left: 25px;
    white-space: nowrap; /* prevents wrapping */
  }
}

/* -------------------------------------------------- */
/* WELCOME SECTION */
/* -------------------------------------------------- */

.section-welcome .long-copy {
  margin-bottom: 30px;
}

/* -------- GALLERY SECTION -------- */

.section-gallery {
  padding: 0;
}

.gallery-showcase {
  list-style: none;
  width: 100%;
}

.gallery-showcase li {
  display: block;
  float: left;
  width: 25%;
}

.gallery-photo {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #000;
}

.gallery-photo img {
  opacity: 0.7;
  width: 100%;
  height: auto;
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
  -webkit-transition:
    opacity 0.5s,
    -webkit-transform 0.5s;
  transition:
    opacity 0.5s,
    -webkit-transform 0.5s;
  transition:
    transform 0.5s,
    opacity 0.5s;
  transition:
    transform 0.5s,
    opacity 0.5s,
    -webkit-transform 0.5s;
}

.gallery-photo img:hover {
  opacity: 1;
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}

/* -------------------------------------------------- */
/* COUNCIL SECTION */
/* -------------------------------------------------- */

/* -------- PARISH MEMBERS -------- */

.bio {
  margin-top: 80px;
  margin-bottom: 25px;
}

blockquote {
  padding: 2%;
  line-height: 145%;
}

span {
  font-size: 110%;
  font-style: italic;
  font-weight: 300;
  display: block;
  padding-bottom: 10px;
}

span img {
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  float: left;
}

/* -------- PARISH MEETINGS -------- */

.meetings {
  margin-top: 50px;
}

.meeting-details {
  font-size: 90%;
  line-height: 145%;
  margin-left: 15px;
  text-align: center;
  padding-bottom: 60px;
}

.meeting-details a:link,
.meeting-details a:visited {
  text-decoration: none;
  border: 0;
  color: #e67e22;
  transition: color 0.2s;
}

.meeting-details a:hover,
.meeting-details a:active {
  color: #333;
  text-decoration: underline;
}

/*Plans and Policies*/

.planv-details {
  padding-top: 60px;
}

/* -------- POP UP PDF DECARB PLAN -------- */

/* The modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
/* The modal content */
.modal-content {
  position: relative;
  margin: 5% auto;
  width: 80%;
  height: 80%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* -------- VILLAGE HALL QUESTIONS & ANSWERS -------- */

/* Breadcrumbs + wrapper */
.breadcrumbs {
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem;
}
.breadcrumbs a {
  text-decoration: none;
  border: 0;
}
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Intro callout (uses site orange) */
.intro--qa {
  background: #f7f7f7;
  border-left: 4px solid #e67e22;
  padding: 0.8rem 1rem;
}

/* Search input */
.qa-search {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin: 1rem 0 1.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Categories */
.qa-category {
  margin: 1rem 0;
}

.qa-category h3 {
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 0.3rem;
  margin-bottom: 0.75rem;
}

/* Accordion */
details {
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  margin: 0.6rem 0;
  background: #fff;
}
details[open] {
  border-color: #cf6d17;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 600;
  text-transform: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:focus {
  outline: 2px solid #e67e22;
  outline-offset: 2px;
}

/* Make "Asked by" visible even when the answer is closed */
details > .asked-by {
  display: block;
  margin: 0.25rem 1rem 0.4rem;
  font-size: 90%;
  font-style: italic;
  color: #666;
  background: #fafafa;
  padding: 0.25rem 0.6rem;
  border-left: 3px solid #e67e22;
  border-radius: 2px;
}

/* Override the browser’s default hiding behaviour */
details:not([open]) > .asked-by {
  display: block; /* stay visible even when closed */
}

.answer {
  padding: 0.25rem 1rem 1rem;
  line-height: 1.6;
}

/* Helpers */
.updated {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
}
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -------------------------------------------------- */
/* ABOUT US SECTION */
/* -------------------------------------------------- */

/* -------- OUR HISTORY -------- */

.more-text {
  display: none;
}

.read-more-toggle {
  display: none;
}

/* When checkbox is checked, show more text */
.read-more-toggle:checked + .more-text {
  display: inline;
}

/* Change "Read More" to "Read Less" */
.read-more-toggle:checked + .more-text + .read-more-label::after {
  content: " Read Less";
}

.read-more-label::after {
  content: " Read More";
  color: #e67e22;
  cursor: pointer;
  text-decoration: underline;
}

.section-about img {
  display: block;
  width: 70%;
  margin: 0;
  padding-top: 16px;
  padding-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.useful-business {
  padding-top: 80px;
}

.useful-details {
  padding-top: 20px;
}

.local-business {
  padding-top: 80px;
}

.local-details {
  padding-top: 20px;
}

.box p.business-name {
  font-size: 100%;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  padding-top: 15px;
}

.box .local-details + .business-name {
  margin-top: 35px;
}

.business-email {
  float: none;
  display: table;
  margin-top: 10px;
}

/* -------- GALLERY -------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
  justify-items: center;
}

.polaroid {
  background: white;
  padding: 10px 10px 70px 10px; /* extra padding at bottom for caption */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  width: 250px;
  text-align: center;
  position: relative;
}

.photo {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
}

.event img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.event:hover {
  transform: scale(1.03);
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  color: #333;
}

/* Existing .polaroid style stays as it is, but now add this extra class */
.polaroid:nth-child(4n) {
  transform: rotate(-2deg);
}

.polaroid:nth-child(4n + 1) {
  transform: rotate(2deg);
}

.polaroid:nth-child(4n + 2) {
  transform: rotate(-1.5deg);
}

.polaroid:nth-child(4n + 3) {
  transform: rotate(1.5deg);
}

/* Optional: add a little hover effect for fun */
.polaroid:hover {
  transform: scale(1.02) rotate(0deg);
  transition: transform 0.3s ease;
  z-index: 2; /* bring it slightly above others */
}

/* Lightbox base styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 0 20px white;
  border: 5px solid white;
  border-radius: 10px;
  background: white;
}

.lightbox-caption,
.lightbox-credit {
  color: #eee;
  font-size: 1rem;
  margin-top: 10px;
  text-align: center;
  padding: 0 20px;
}

.lightbox-credit {
  font-size: 0.9rem;
  font-style: italic;
  color: #ccc;
}

.nav-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.prev,
.next {
  display: flex;
  align-items: center; /* Vertically center */
  justify-content: center; /* Horizontally center */
  font-size: 2rem;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 0 10px;
  cursor: pointer;
  user-select: none;
  transition:
    background-color 0.3s,
    transform 0.2s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.85);
  color: #333;
  transform: scale(1.1);
}

.close-btn {
  position: absolute;
  top: 70px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* -------- LOTTERY -------- */

.lottery-details {
  font-size: 90%;
  line-height: 145%;
  margin-left: 15px;
  text-align: center;
  padding-bottom: 20px;
}

/* -------------------------------------------------- */
/* WHAT'S ON SECTION */
/* -------------------------------------------------- */

/* Calendar styles */
#calendar {
  max-width: 100%;
  margin: auto;
  padding-top: 80px;
}

#calendar h2:after {
  background-color: #fff;
  content: " ";
  margin: 0;
}

/* Event styling */
.fc-event-title {
  font-weight: 300 !important;
  white-space: normal !important;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 5px;
  padding-left: 5px;
}

.fc-daygrid-event-dot {
  display: none !important;
}

/* All day events main calendar text*/
.fc-daygrid-block-event .fc-event-main {
  padding-left: 5px;
  background-color: lightblue !important;
  color: #333;
}

/* Background colour for todays date */
.fc-day-today {
  background-color: #ececec !important;
}

/* Change event background color in timeGridWeek and timeGridDay views */
.fc-timeGridEvent,
.fc-timegrid-event {
  background-color: #e67e22 !important;
  border-color: #cf6d17 !important;
  color: white !important;
}

/* Color coding */
.green-event {
  background-color: rgba(0, 128, 0, 0.3) !important;
}
.yellow-event {
  background-color: rgba(255, 255, 0, 0.3) !important;
}
.blue-event {
  background-color: rgba(0, 0, 255, 0.3) !important;
}

/* Popup styling */
#event-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1000;
}

#event-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

#event-popup p {
  font-size: 95%;
}

#popup-image {
  max-width: 100%;
  max-height: 900px;
  width: auto;
  height: auto;
  display: block !important;
  padding-top: 10px;
  padding-bottom: 10px;
}

#popup-close {
  background: #e67e22;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  border: 1px solid #e67e22;
  border-radius: 10px;
  margin-top: 10px;
  transition:
    background-color 0.2s,
    border 0.2s,
    color 0.2s;
}

#popup-add-calendar {
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid #e67e22;
  color: #e67e22;
  background-color: #fff;
  margin-top: 10px;
  transition:
    background-color 0.2s,
    border 0.2s,
    color 0.2s;
}

#popup-close:hover {
  background-color: #cf6d17 !important;
}

#popup-add-calendar:hover {
  background-color: #cf6d17 !important;
  color: #fff !important;
}

/* -------- BOOKINGS -------- */

.long-texthead {
  line-height: 145%;
  width: 60%;
  margin-left: 20%;
}

.long-text {
  line-height: 145%;
  width: 60%;
  margin-left: 20%;
  margin-bottom: 50px;
}

.long-text li {
  padding-top: 10px;
  padding-left: 10px;
}

/* -------------------------------------------------- */
/* CONTACT FORM SECTION */
/* -------------------------------------------------- */

.contact-form {
  width: 60%;
  margin: 0 auto;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 7px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

textarea {
  height: 100px;
}

input[type="checkbox"] {
  margin: 10px 5px 10px 0;
}

*:focus {
  outline: none;
}

.form-messages {
  width: 70%;
  margin: 0 auto;
  padding: 10px;
  border-radius: 3px;
  margin-bottom: 30px;
  color: #333;
  text-align-last: center;
}

.success {
  background-color: rgba(38, 191, 68, 0.8);
}

.error {
  background-color: rgba(209, 46, 46, 0.8);
}

/* -------------------------------------------------- */
/* FOOTER SECTION */
/* -------------------------------------------------- */

footer {
  background-color: #333;
  padding: 50px;
  font-size: 80%;
}

.footer-nav {
  list-style: none;
  float: left;
  color: #888;
}

.social-links {
  list-style: none;
  float: right;
}

.footer-nav li,
.footer-create li {
  display: inline-block;
  margin-right: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}

.footer-nav li:last-child,
.footer-create li:last-child {
  margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.footer-create li a:link,
.footer-create li a:visited {
  text-decoration: none;
  border: 0;
  color: #888;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
  color: #ddd;
}

.ion-social-facebook,
.ion-social-twitter {
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.ion-social-facebook:hover {
  color: #3b5998;
}

.ion-social-twitter:hover {
  color: #00aced;
}

.footer-create li {
  display: inline-block;
  margin-right: 20px;
  float: right;
  color: #888;
}

.footer-create li a:hover,
.footer-create li a:active {
  color: #ddd;
}

footer p {
  color: #888;
  text-align: center;
  margin-top: 20px;
}

/* -------- TERMS & CONDITIONS -------- */

.section-terms ol {
  list-style: decimal-leading-zero;
  list-style-position: outside;
  line-height: 145%;
  width: 60%;
  margin-left: 20%;
  font-size: 80%;
}

.section-terms ol li {
  padding-top: 15px;
}

/* -------- SITEMAP -------- */

.section-sitemap ol {
  list-style: circle;
  list-style-position: outside;
  line-height: 145%;
  width: 60%;
  margin-left: 20%;
  font-size: 80%;
}

.section-sitemap .tier1,
.section-sitemap .tier2,
.section-sitemap .tier3,
.section-sitemap .tier4 {
  padding-top: 15px;
  text-decoration: none;
  border: none;
}

.section-sitemap .tier2 {
  margin-left: 50px;
}

.section-sitemap .tier3 {
  margin-left: 100px;
}

.section-sitemap .tier4 {
  margin-left: 150px;
}

/* -------- ARCHIVE MEETING AND LOTTERY PAGES -------- */

.archive-years {
  margin-top: 50px;
}

.archive-year {
  margin-bottom: 35px;
  border: none;
  padding: 0;
  transition: all 0.3s ease;
}

.archive-year summary {
  list-style: none;
  cursor: pointer;
  text-align: center;
  font-size: 160%;
  font-weight: 400;
  color: #555;
  padding: 15px 0;
  transition: color 0.2s ease;
}

.archive-year summary:focus {
  outline: none;
}

.archive-year summary:focus-visible {
  outline: none;
}

.archive-year summary::-moz-focus-inner {
  border: 0;
}

.archive-year summary {
  border: none;
  background: transparent;
}

.archive-year summary::-webkit-details-marker {
  display: none;
}

.archive-year summary::after {
  content: " ▼";
  font-size: 70%;
  color: #e67e22;
}

.archive-year[open] summary::after {
  content: " ▲";
}

.archive-year summary:hover {
  color: #e67e22;
}

.archive-year .meeting-details {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
