/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/

header {
  display: flex;
  align-items: center;
  padding: 10px;
}

Style for the logo container
.logo-container {
  margin-right: 10px;
}

/* Style for the logo */
.logo {
  width: 175px; /* Adjust the width as needed */
  padding-top: 2vh;
  margin-right: 1vw;
  margin-left:1vw;
  height: auto;
  background-color: transparent; /* Set the background color to transparent */
}


.navbar {
  padding-top: 1vh;
  margin: 0;
}

.spacer {
  margin-left: 5vh;
}     

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 10px 0px 1px 30px; */ /* margin around the navbar */
  font-size: 18px;
  font-weight: 600;
  color: #F5D7DB;
  white-space: nowrap;
  transition: 0.3s;
  text-underline-offset: 1vh;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #977075;
}
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;  
  opacity: 0;
  visibility: hidden;
  background: #444344;
  box-shadow: 20px 20px 60px #323031;
  transition: 0.3s;
}
.navbar .dropdown ul li {
  min-width: 200px;
}
.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 500;
}
.navbar .dropdown ul a i {
  font-size: 12px;
}
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: none;
}
.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}
.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}
@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    right: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #FFF;
  font-size: 90px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
.mobile-nav-toggle.bi-x {
  color: rgb(228, 11, 11);
}

.navbar {
  padding-top: 2vh;
  margin: 0;
}

 @media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
 }


.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(7, 25, 33, 0.9);
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}
.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 3vh;
  color: #0f394c;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #49b5e7;
}
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
  margin: 15px;
}
.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}
.navbar-mobile .dropdown ul li {
  min-width: 200px;
}
.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #49b5e7;
}
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* Global Styles */
body {
  font-family: 'Trebuchet MS', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #161617; /*main background color excluding image which is set elsewhere*/
}

.container { /*think this is formatting for all containers, then we specify later per container*/
  max-width: 100vh;
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 15vh;
  padding-left: 5h;
  padding-right: 5vh;
}

.body_container {
  padding-top: 15vh;
}

h1 {
  text-align: center;
  color: #F5D7DB; /* Change title color */
  font-size: 3.5vw; /* Increase font size */
  font-weight: light;
  margin: 10px, 0; /* Adjust margins */  
}

h2 {
  text-align: left;
  color: #F5D7DB; /* Change title color */
  font-size: 2.5vw; /* Increase font size */
  font-weight: light;
  margin: 10px 0; /* Adjust margins */  
}

p {
  text-align: center;
  color: #F5D7DB;
  font-size: 1.7vw;
  line-height: 1.5;
}


/* Resetting default styles for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style for the search container */
.search-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background-color: none; /*change colour to see container to position search boxes*/
}


.search-input { /*not sure what this does */
  position: relative;
  display: inline-block;
}

/* CSS to style the suggestions box */
.autocomplete-suggestions {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 1;
  /* Adjust the top property to position the suggestion box below the search bar */
  top: 100%; /* You can adjust this value as needed */
}

/* Style each suggestion item */
.autocomplete-suggestions div {
  padding: 5px;
  cursor: pointer;
}

/* Highlight suggestion on hover */
.autocomplete-suggestions div:hover {
  background-color: #f2f2f2;
  color: black;
}

/* Style for the date dropdown */
.date-dropdown {
    display: flex;
    align-items: center;
}

.date-dropdown label {
    margin-right: 10px;
}

.date-dropdown input[type="date"] {
    padding: 0.5rem 8px; /* Adjust padding for height */
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    width: 100%; /* Set the width to 100% to scale with text length */
    height: 100%; /* Set the height to 100% to match the text input */
}

.date-range-picker {
    position: relative;
}

.date-range-picker i {
    position: absolute;
    /* left: 5px; Adjust the position of the calendar icon */
    top: 50%;
    transform: translateY(-50%);
    color: #555; /* Adjust the icon color */
    cursor: pointer;

}

/* Hide the input's border */
.date-range-picker input {
    border: none;
	  height: 6vh; /* Set a fixed height to match the text input */
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 17vw; /*set minimum width of text box to fit widst*/
}

/* Style for the search input and button */
.search-input {
    display: flex;
    align-items: center;
	  height: 6vh; /* Set a fixed height to match the date input */
}

.pac-target-input { /* this is the styling for the location search box */
  display: flex;
  align-items: center;
  height: 6vh; /* Adjust this height as needed */
  border: 1px solid #ccc;
  border-radius: 5px; /* Adjust this value to control the roundness of the corners */
  width: 17vw; /*set minimum width of text box to fit widst*/

}

#search {
    padding: 0.5rem 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* margin-right: 10px; */
    /* width: 300px; */
    height: 100%; /* Set the height to 100% to match the date input */
}


#search-button {
    padding: 0.5rem 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#search-button:hover {
    background-color: #0056b3;
}

/* loading animation */

/* Variable Declarations */
:root {
  --loader-width: 250px;
  --loader-dot-size: 20px;
}

/* Container Styles */
.loader_container {
  /* background-color: red; */
  height: 100px;
  width: 100%;
  margin: auto;
  padding-left: 5vw;
  padding-right: 5vw;
  font-family: Helvetica;
  color: #F5D7DB;
  position: relative ;
}

/* Loader Styles */
.loader {
  height: var(--loader-dot-size);
  width: var(--loader-width);
  position: relative;

  margin: auto;
}

/* Loader Dot Styles */
.loader--dot {
  height: var(--loader-dot-size);
  width: var(--loader-dot-size);
  border-radius: 100%;
  background-color: black;
  position: absolute;
  /* border: 2px solid white; */
  animation-name: loader;
  animation-timing-function: ease-in-out;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.loader--dot:first-child {
  background-color: #F5D7DB;
  animation-delay: 0.5s;
}

.loader--dot:nth-child(2) {
  background-color: #F5D7DB;
  animation-delay: 0.4s;
}

.loader--dot:nth-child(3) {
  background-color: #F5D7DB;
  animation-delay: 0.3s;
}

.loader--dot:nth-child(4) {
  background-color: #F5D7DB;
  animation-delay: 0.2s;
}

.loader--dot:nth-child(5) {
  background-color: #F5D7DB;
  animation-delay: 0.1s;
}

.loader--dot:nth-child(6) {
  background-color: #F5D7DB;
  animation-delay: 0s;
}

/* Loader Text Styles */
.loader--text {
  position: relative;
  top: 200%;
  left: 12%;
  right: 0;
  width: 15rem;
  margin: auto;
}

.loader--text::after {
  content: "Working Some Magic";
  font-weight: bold;
  animation-name: loading-text;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

/* Keyframe Animations */
@keyframes loader {
  15% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(calc(var(--loader-width) - var(--loader-dot-size)));
  }
  65% {
    transform: translateX(calc(var(--loader-width) - var(--loader-dot-size)));
  }
  95% {
    transform: translateX(0);
  }
}

@keyframes loading-text {
  0% {
    content: "Working Some Magic";
  }
  25% {
    content: "Working Some Magic.";
  }
  50% {
    content: "Working Some Magic..";
  }
  75% {
    content: "Working Some Magic...";
  }
}

/* Events Container */
.events-container {
  /* background-color: #fff; */
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  padding: 20px;
  border-radius: 5px;
}

.no-events-message {
  font-weight: bold;
  color: #F5D7DB;
  font-size: 20px;
  text-align: center;
}


.events-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.events-table th,
.events-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  color:#fff

}

.events-table th {
  color: #F1916D;
  font-weight: bold;
  text-align: left;
}

.events-table a {
  color: #F1916D;
  text-decoration: none;
}

/* Additional Styling */
/* .cool-wrapper {
  background-color: #FF5A5F;
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  margin-top: 20px;
}

.cool-message {
  font-size: 24px;
  font-weight: bold;
} */

/* Responsive Styles */
@media screen and (max-width: 600px) {
  .container {
    padding: 10px;
  }

  .search-form input[type="text"] {
    width: 100%;
    max-width: 300px;
  }

  .events-container {
    padding: 10px;
  }
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.container {
  min-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding-top: 15vh;
  padding-left: 5vw;
  padding-right: 5vh;
}


#footer {
  background: #fff;
  /* padding: 0 0 30px 0; */
  color: #F5D7DB; /*this is the font colour of the "Comedy Finder name and email in the bottom */
  font-size: 14px;
  background: none; /*change this to 0f394c */

}


#footer .footer-top {
  padding: 60px 0 30px 0;
  background: none;
  margin: 0px;
}

#footer .footer-second {
  /* padding: 60px 0 30px 0; */
  background: #0D6D7D;
  margin: 0px;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}
#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}
#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  position: relative;
  margin-bottom: 0;
  font-family: "Lato", sans-serif;
  color: #F5D7DB;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #F5D7DB;
  position: relative;
  padding-bottom: 12px;
}


#footer .footer-top .footer-links {
  margin-bottom: 30px;
  
}
#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #F5D7DB;
  font-size: 18px;
  line-height: 1;
}
#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}
#footer .footer-top .footer-links ul a {
  color: #F5D7DB;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #977075;
  font-size: 20px;

}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px; /* Adjust the space between icons as needed */
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #776f76;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #1da2e0;
  color: #fff;
  text-decoration: none;
}
#footer .copyright {
  float: left;
  color: #fff; /* this is the colour of the copyright text at the bottom */
}
#footer .credits {
  float: right;
  font-size: 13px;
  color: #4c290f;
  margin-bottom: 30px;
}

@media (max-width: 575px) {
  #footer .copyright, #footer .credits {
    float: none;
    text-align: center;
  }
}

#footer .footer-second .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-second .footer-links ul i {
  padding-right: 2px;
  color: #ffc857;
  font-size: 18px;
  line-height: 1;
}
#footer .footer-second .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
#footer .footer-second .footer-links ul li:first-child {
  padding-top: 0;
}
#footer .footer-second .footer-links ul a {
  color: #ffc857;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}
#footer .footer-second .footer-links ul a:hover {
  text-decoration: none;
  color: #db3a34;
  font-size: 20px;

}
#footer .footer-second .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #49b5e7;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#footer .footer-second .social-links a:hover {
  background: #1da2e0;
  color: #fff;
  text-decoration: none;
}

/* Media query for smaller screens */
@media (max-width: 991px) {
  /* Adjust styles for smaller screens */

  .body_container {
    padding-top: 10vh;
  }

  .logo {
    width: 30vw; /* Adjust the width as needed */
    padding-top: 2vh;
    margin-right: 1vw;
    margin-left:1vw;
    height: auto;
  }

  h1 {
    font-size: 12vw; /* Increase font size */
  }

  h2 {
    font-size: 7vw; /* Increase font size */
  }

  p { 
    font-size: 5vw;
  }

  
 .input-search {
    font-size: 5vw;
 }
  .search-container {
    display: flex;
    flex-direction: column;
  }

  .search-container > div {
    /* Apply styles to each direct child div of .search-container */
    margin-bottom: 10px; /* Adjust the margin as needed for spacing between elements */
  }

  .location-input,
  .date-range-picker,
  .search-input {
    /* Apply styles to the relevant input containers */
    display: flex;
    height: 6vh;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%; /* Make the inputs full width */
  }

  .location-input input,
  .date-range-picker input,
  .search-input input {
    /* Apply styles to the input elements */
    width: 100%;
    border: none;
    height: 100%;
    padding: 5px; /* Adjust padding as needed */
    box-sizing: border-box;
  }

  #search-button {
    /* Apply styles to the search button */
    width: 10vh;
    height: 6vh;
  }

  #footer .footer-top h3 {
    font-size: 40px;
  }

  #footer .footer-top h4 {
    font-size: 40px;
  }

  #footer .footer-top h5 {
    font-size: 30px;
  }

  .footer-links ul li {
    font-size: 30px; /* Adjust the font size as needed */
  }

  #footer .footer-top .footer-contact p {
    font-size: 30px;

  }

}

/* background image formatting */

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
background-color: #000;
}

.background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;

}

.search-form input[type="text"] {
  width: 17vw;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(186, 14, 14, 0.1);
}



