:root {
  --actc-title: #fcffe9;
  --actc-title-small: #fcffe9;
  --actc-gradient-start: rgba(160, 160, 160, .0);
  --actc-gradient-end:  rgba(80, 80, 80, 0.2);
  --accordion-bg: #24a;
  --accordion-hover: #57e;
  --content-bg: #eee;
}

/* Main page title */
.actc-title
{
    font-size: 6vw;
    color: var(--actc-title);
    text-shadow: 0px 0px 8px  #000;
    line-height: normal;
    font-family: serif;
    text-align: center;
    z-index: 400;
    position: relative;
}

/* Main page image */
.actc-group-image
{
    background: url(/images/ACTCGroupPhotoJul2024.jpg) no-repeat;
    background-size: cover;
    /*background-position: 0.1em -0rem; */
    background-position: center;
    z-index: 0;
    clip-path: circle(65%);
    height: 250px;
}

/* Displays a gray gradient over the header image for clarity */
.actc-group-image:after {
  content: "";
  display: block;
  width: 100%;
  height: 250px;
  background: linear-gradient(to top, var(--actc-gradient-start) 0px, var(--actc-gradient-end) 100%) repeat 0 0;
  clip-path: circle(65%);
  z-index: 1;
  position: absolute;
  top: 0;
}


.actc-logo
{
    z-index: 4;
    position: relative;
    height: 10vw;
    max-height: 120px;
}

/* Sub-page title */
.actc-title-small
{
    font-size: 3vw;
    color: var(--actc-title-small);
    text-shadow: 0px 0px 8px  #000;
    line-height: normal;
    font-family: serif;
    text-align: center;
    z-index: 400;
    position: relative;
}

/* Sub page sub-title */
.actc-sub-title
{
  font-size: 2.5vw;
  color: #e3e4ff;
  text-shadow: 0px 0px 2em  #fff;
  line-height: normal;
  font-family: serif;
  text-align: center;
  z-index: 400;
  position: relative;
}


/* Sub page header image */
.actc-group-image-small
{
  background: url(/images/ACTCGroupPhotoJul2024.jpg) no-repeat;
  background-size: cover;
  /*background-position: 0.1em -0rem; */
  background-position: center;
  z-index: 0;
  clip-path: circle(65%);
  height: 6em;
  max-height: 6em;
}

.actc-logo-smaller
{
  z-index: 4;
  position: relative;
  height: 5vw;
  max-height: 6em;
}

/* Displays a gray gradient over the header image for clarity */
.actc-group-image-small:after {
  content: "";
  display: block;
  width: 100%;
  height: 6em;
  background: linear-gradient(to top, var(--actc-gradient-start) 0px, var(--actc-gradient-end) 100%) repeat 0 0;
  clip-path: circle(65%);
  z-index: 1;
  position: absolute;
  top: 0;
}

.motto
{
    font-family: "Gill Sans",  'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-style: italic;
    font-size: large;
    text-align: center;
    margin-bottom: 2rem;
}

a[href^='mailto:'] {
	background: url(../images/email.gif) no-repeat left center;
	padding-left: 20px;
}

/* Side-menu accordian code */
.accordion, .accordion-direct {
    background-color: var( --accordion-bg);
    color: white !important;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 100%;
    border: none;
    outline: none;
    transition: 0.5s;
    line-height: 2em;
    white-space: normal;
    height: auto;
    padding-left: 1em;
    margin-bottom: .1em;
    min-height: 48px;
}

/* Sub-panels in the accordion */
  div[class=panel] ul
  {
    margin-bottom: 0rem;
  }

  div[class=panel] li
  {
    background-color: var( --accordion-bg);
    padding: .25em .25em .25em 1.25em;
    list-style: none;
    border-radius: .25em;
    transition: 0.8s;
  }

  div[class=panel] a
  {
    background: none;
    color: white;
    text-decoration: none;;
  }

  div[class=panel] li:hover
  {
    background-color: var(--accordion-hover);
  }

  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .accordion:hover,
  .accordion-direct:hover {
   background-color:  var(--accordion-hover);
  }

  /* Style the accordion panel. Note: hidden by default */
  .panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
    margin-bottom: 1em;
  }

  .accordion:after {
    content: '+'; /* \02795 Unicode character for "plus" sign (+) */
    font-size: 13px;
    float: right;
    margin-left: 5px;
  }

  .accordion-active:after {
    content: "—"; /* \2796 Unicode character for "minus" sign (-) */
  }

  .copyright
  {
    font-size: smaller;
    font-style: italic;
  }

  ul[class=bike-icon-list] li::marker
  {
      /*  content: '\25A2'; */
  }

  /* Section header title - blue bubble */
  .section-header {
    background-color: var(--accordion-bg);
    color: white;
    border-radius: .2em;
    padding-left: 1em;
    padding-right: 1em;
    text-align: left;
    margin-top: 0em;
    margin-bottom: 1em;
    font-size: 2.4rem;
    line-height: 1.35;
  }


  /* Content area in sub-pages: background settings */
  .content-area
  {
    background-color: var(--content-bg);
    border: 1em solid var(--content-bg);
    border-radius: 1em;
  }

/* Narrow-width phone override settings */
@media (max-width: 750px) {
   /* Make the title/logo bigger on narrower mobile screens */
   .actc-title
   {
       font-size: 10vw;
   }

   .actc-logo
   {
       height: 12vw;
   }

   .hide-on-mobile {
     display: none;
   }
    .accordion, .panel, .accordion-direct {
    width: auto;
    background-color: var(--accordion-bg);
    color: white !important;
    cursor: pointer;
    font-size: 80%;
    line-height: 1em;
    white-space: normal;
    height: auto;
    margin-bottom: 1em;
    margin-right: .1em;
    padding-left: .5em;
    padding-right: .5em;
    padding-top: 1em;
    padding-bottom: 1em;
    letter-spacing: normal;
    min-height: fit-content;
  }

  /* Override for the panel in mobile mode */
  .panel {
    background-color: var(--content-bg);
    border-radius: .25em;
    font-size: larger;
  }

  div[class=panel] li
  {
    padding: .5em .5em .5em 1.25em;
  }

  .accordion:after
  {
    content: "";
    margin-left: 0px;
    margin-right: 0px;
  }

  .actc-title-small {
    font-size: 8vw;
  }

  .actc-sub-title {
    display: none;
  }
}

/* Very wide screens */
@media (min-width: 1500px) {
  .actc-title-small {
    font-size: 2vw;
  }
  .actc-sub-title {
    font-size: 2vw;
  }
}

/* PDF links */
a[href$='.pdf'] {
	background: url(/images/acrobat.png) no-repeat right top;
	padding-right: 22px;
}

/* BBB Newsletter list styles */
.newsletter li
{
  padding-bottom: 1em;
  list-style-position: inside;
  list-style: "";
  background-color: white;
  border-radius: 1em;
  padding: .5em;
}

h5 {
  font-size: larger;
}

h6 {
  font-size: medium;
  font-weight: bolder;
}

.fieldbox, fieldset
{
  border: .1em solid var(--accordion-bg);
  border-radius: .5em;
  margin: 1em;
  padding: 1em;
  background-color: white;
}

.h5-text
{
  font-size: larger;
  font-weight: 700;
  padding: 1em;
}

label
{
  display: inline-block;
}

legend
{
  padding: .5em;
  font-style: italic;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
}

.waiver
{
  height: 8em;
  font-family: fixed;
  font-weight:normal;
}

ul
{
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;

  padding-inline-start: 1em;

}

table,
th,
thead,
td,
tr {
  padding: .3em;
  border-top: solid .1em black;
  border-bottom: solid .1em black;
}

th:first-child,
td:first-child
{
  padding-left: 1em;
}

th:last-child,
td:last-child {
  padding-right: 1em;
}

th {
  background: var(--accordion-bg);
  color: white;
  font-weight: 800;
}

tr:nth-child(even) {
  background: #ddd;
}

tr:nth-child(odd) {
  background: #fff;
}
