/* CSS Document */

/* MAIN BODY STYLES */
/* Things that need to modified for each company are indicated with a MODIFY marker */

:root{
	--primary-background-color: #9EC9F8 ;/*MODIFY*/
	--primary-font-color: black;/*MODIFY* This is the page default text color */
	--header-background-color: #1b5ea9; /*MODIFY*/
	--header-font-color: white; /*MODIFY This is the font color for use in the header*/
	--form-container-border-color: 1px solid #1b5ea9; /*MODIFY color only. Do NOT adjust thickness (1px) or appearance (solid) */ 
	--form-container-background-color: white; /*MODIFY*/
	--special-font-family: "Audiowide", serif; /*MODIFY This is a special font if used by the event on their primary website */
}

.body {
  background-color: var(--primary-background-color, white) !important; 
  color: var(--primary-font-color, black); 
  font-family: Arial, sans-serif; /*MODIFY* This is the default font used on the page */	
  background-image: url('images/bg.png');
  background-repeat: repeat;
  margin: 0;
  padding: 2px;
}

.headtext {
  font-style: normal;
  font-family: Verdana, Geneva, sans-serif;
  font-family: var(--special-font-family);
  font-weight: 500;
  color: var(--header-font-color, white)	
}
.headerbgcolor {
  background-color: var(--header-background-color, white)
}

.container {
  max-width: 1000px;
  margin: auto;
  background: var(--primary-background-color, white);
  padding: 20px;
 /* border-radius: 8px;*/
 /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.container-results {
  border: var(--form-container-border-color, gray);
  background: var(--form-container-background-color, white);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: rgba(000, 000, 000, 0.9) 0 1px 2px, inset rgba(255, 255, 255, 0.4) 0 0px 0;
  -moz-box-shadow: rgba(000, 000, 000, 0.9) 0 1px 2px, inset rgba(255, 255, 255, 0.4) 0 0px 0;
  box-shadow: rgba(000, 000, 000, 0.9) 0 1px 2px, inset rgba(255, 255, 255, 0.4) 0 0px 0;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  text-decoration: none;
  vertical-align: middle;
  min-width: 200px;
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

h1, h2 {
  color: var(--primary-font-color, black);
}

h4{
  color: var(--primary-font-color, black);
  font-family: Verdana, Geneva, sans-serif;
  font-family: var(--special-font-family);	
}

form {
  margin-bottom: 20px;
}

textarea {
  width: 50%;
  height: 150px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
}

button {
  background: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

.download-button {
  display: inline-block;
  background: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  margin: 3px;
}
.download-button:hover {
  background: #0056b3;
  color: white;
}
.green-button {
  background: #28a745;
  color: white;
}
.green-button:hover {
  background: #218838;
  color: white;	
}
.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.grid-item {
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background: #f9f9f9;
}
.grid-item img {
  max-width: 100%;
  border-radius: 4px;
}
.error {
  color: red;
}
.success {
  color: green;
}

/* FORM STYLES */
/* Responsive Text Field */
.input-res {
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}
.form-container {
  border: var(--form-container-border-color, gray);
  background: var(--form-container-background-color, white);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: rgba(000, 000, 000, 0.9) 0 1px 2px, inset rgba(255, 255, 255, 0.4) 0 0px 0;
  -moz-box-shadow: rgba(000, 000, 000, 0.9) 0 1px 2px, inset rgba(255, 255, 255, 0.4) 0 0px 0;
  box-shadow: rgba(000, 000, 000, 0.9) 0 1px 2px, inset rgba(255, 255, 255, 0.4) 0 0px 0;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  text-decoration: none;
  vertical-align: middle;
  min-width: 200px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
}
.form-field {
  border: 1px solid #000000;
  background: #bdbdbd;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #000000;
  -webkit-box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0, inset rgba(000, 000, 000, 0.7) 0 0px 0px;
  -moz-box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0, inset rgba(000, 000, 000, 0.7) 0 0px 0px;
  box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0, inset rgba(000, 000, 000, 0.7) 0 0px 0px;
  padding: 8px;
  margin-bottom: 20px;
  width: 300px;
}
.form-field:focus {
  background: #fff;
  color: #000000;
}
.form-field-imagenumber {
  border: 1px solid #000000;
  background: #C1BFBF;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #000000;
  -webkit-box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0, inset rgba(000, 000, 000, 0.7) 0 0px 0px;
  -moz-box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0, inset rgba(000, 000, 000, 0.7) 0 0px 0px;
  box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0, inset rgba(000, 000, 000, 0.7) 0 0px 0px;
  padding: 8px;
  margin-bottom: 20px;
  width: calc(40ch + 1px); /* Adjust for padding/border */
  max-width: 95%;	
  resize: none; /* Prevent resizing by the user */
  white-space: pre; /* Preserve spaces and line breaks */
  overflow-wrap: break-word; /* Prevent long words from breaking layout */
  box-sizing: border-box;
}
.form-field-imagenumber:focus {
  background: #fff;
  color: #000000;
}
.form-container h2 {
  text-shadow: #000000 0 1px 0;
  font-size: 18px;
  margin: 0 0 10px 0;
  font-weight: bold;
  text-align: center;
  color: white;
}
.form-title {
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: #000000 0 1px 0;
}
.form-note {
  margin-bottom: 10px;
  font-size: 10px;
  color: #ffffff;
  text-shadow: #000000 0 1px 0;
}
.submit-container {
  margin: 8px 0;
  text-align: right;
}
.submit-button {
  border: 1px solid #000000;
  background: #424240;
  background: -webkit-gradient(linear, left top, left bottom, from(#f7ff05), to(#424240));
  background: -webkit-linear-gradient(top, #f7ff05, #424240);
  background: -moz-linear-gradient(top, #f7ff05, #424240);
  background: -ms-linear-gradient(top, #f7ff05, #424240);
  background: -o-linear-gradient(top, #f7ff05, #424240);
  background-image: -ms-linear-gradient(top, #f7ff05 0%, #424240 100%);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0px 1px 0px rgba(51, 51, 51, 0.4), inset rgba(255, 255, 255, 0.4) 0 1px 0;
  -moz-box-shadow: 0px 1px 0px rgba(51, 51, 51, 0.4), inset rgba(255, 255, 255, 0.4) 0 1px 0;
  box-shadow: 0px 1px 0px rgba(51, 51, 51, 0.4), inset rgba(255, 255, 255, 0.4) 0 1px 0;
  text-shadow: #292929 0 1px 0;
  color: #ffffff;
  font-family: helvetica, serif;
  padding: 8.5px 18px;
  font-size: 14px;
  text-decoration: none;
  vertical-align: middle;
  min-height: 30px;
  min-width: 80px;
}
.submit-button:hover {
  border: 1px solid #447314;
  text-shadow: #31540c 0 1px 0;
  background: #6aa436;
  background: -webkit-gradient(linear, left top, left bottom, from(#8dc059), to(#6aa436));
  background: -webkit-linear-gradient(top, #8dc059, #6aa436);
  background: -moz-linear-gradient(top, #8dc059, #6aa436);
  background: -ms-linear-gradient(top, #8dc059, #6aa436);
  background: -o-linear-gradient(top, #8dc059, #6aa436);
  background-image: -ms-linear-gradient(top, #8dc059 0%, #6aa436 100%);
  color: #fff;
  min-height: 30px;
  min-width: 80px;
}
.submit-button:active {
  text-shadow: #31540c 0 1px 0;
  border: 1px solid #447314;
  background: #8dc059;
  background: -webkit-gradient(linear, left top, left bottom, from(#6aa436), to(#6aa436));
  background: -webkit-linear-gradient(top, #6aa436, #8dc059);
  background: -moz-linear-gradient(top, #6aa436, #8dc059);
  background: -ms-linear-gradient(top, #6aa436, #8dc059);
  background: -o-linear-gradient(top, #6aa436, #8dc059);
  background-image: -ms-linear-gradient(top, #6aa436 0%, #8dc059 100%);
  color: #fff;
  min-height: 30px;
  min-width: 80px;
}

/* PURCHASE BUTTON */
/* Purchase buttons can be modified but are normally the gold color */
.purchase-button {
  -moz-box-shadow: inset 0px 1px 0px 0px #fff6af;
  -webkit-box-shadow: inset 0px 1px 0px 0px #fff6af;
  box-shadow: inset 0px 1px 0px 0px #fff6af;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
  background: -moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
  background: -webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
  background: -o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
  background: -ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
  background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23', GradientType=0);
  background-color: #ffec64;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #ffaa22;
  display: inline-block;
  cursor: pointer;
  color: #333333;
  font-family: Arial;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none !important;
  text-shadow: 0px 1px 0px #ffee66;
}
.purchase-button:hover {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
  background: -moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
  background: -webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
  background: -o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
  background: -ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
  background: linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64', GradientType=0);
  background-color: #ffab23;
}
.purchase-button:active {
  position: relative;
  top: 1px;
}

  #myBtn {
      display: none;
      position: fixed;
      bottom: 20px;
      right: 30px;
      z-index: 99;
      border: none;
      border-radius: 50%;
      outline: none;
      cursor: pointer;
      padding: 5px;
      font-size: 18px;
      opacity: 0.5;
  }
  .warning {
      background-color: mistyrose;
      color: lightcoral;
      font-weight: bold;
      border-radius: 10px;
      padding: 10px;
      margin: 10px 0;
  }	

/* USING DIVS TO CREATE TABLES */
.div-table {
  display: table;
  width: auto;
  border: 1px solid #666666;
  border-spacing: 5px;
  /* cellspacing:poor IE support for  this */
}
.div-table-row {
  display: table-row;
  width: auto;
  clear: both;
}
.div-table-col {
  float: left;
  /* fix for  buggy browsers */
  display: table-column;
  width: auto;
  margin: 10px;
}

.responsive-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.responsive-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.responsive-image {
    flex: 1;
    text-align: right;
}

.responsive-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: 3px;
}

.responsive-image img {
border: 4px solid white;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.4);
border-radius: 8px; /* Optional: smooth edges */
}

.responsive-text {
    flex: 2;
}

.form-note {
    font-size: 16px;
}

.highlight-text {
    text-decoration: underline;
    font-weight: bold;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .responsive-row {
        flex-direction: column;
        text-align: center;
    }

    .responsive-image {
        text-align: center;
        margin: 0;
    }
}


/* Tooltip formating for the share url copy function */
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.navbar-nav .nav-link {
  color: white; /* Text color */
  background-color: #343a40; /* Button background color */
  border-radius: 5px; /* Rounded corners */
  margin: 0 5px; /* Spacing between buttons */
  padding: 10px 15px; /* Button padding */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
  text-align: center; /* Center-align text */
}

.navbar-nav .nav-link:hover {
  background-color: #007BFF; /* Change background on hover */
  color: white; /* Ensure text remains white on hover */
  transform: scale(1.1); /* Slight zoom effect */
}

.navbar-brand {
  font-weight: bold; /* Make the brand name stand out */
}