@import "pico/pico.blue.css?rev=4";

:root {
  /* data-breakpoint=lg */
  --eliot-mobile-size: 900px;

  --eliot-background-color: #f5f5f7;

  --eliot-green: #80cc28;

  --eliot-blue: #3871c2;
  --eliot-light-blue: #4893ff;

  --eliot-navy: #24255d;
  --eliot-navy-25: #c9c9d7;
  --eliot-navy-10: #eaeaef;
  --eliot-navy-05: #f5f5f7;

  --eliot-logo-blue: #007fc3;
  --eliot-logo-green: #006942;
  --old-eliot-logo-green: #589112;

  --eliot-color-warning: indianred;
  --eliot-color-important: red;

  /* Button text color */
  --eliot-white: white;

  --pico-font-family-sans-serif: "Montserrat", Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji);
  --pico-font-family-monospace: SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--pico-font-family-emoji);
  --pico-spacing: 1rem;
  --pico-nav-element-spacing-vertical: 0.05rem;
  --pico-nav-element-spacing-horizontal: 0.1rem;
  --pico-nav-link-spacing-vertical: 0.25rem;
  --pico-nav-link-spacing-horizontal: 0.25rem;
  --pico-form-element-spacing-vertical: 0.2rem;
  --pico-form-element-spacing-horizontal: 0.5rem;

  /* Menu dropdown arrow, white
  --pico-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  */
}

body {
  background-color: var(--eliot-background-color)
}

p {
  --pico-color: var(--eliot-navy);
}

h1 {
  --pico-color: var(--old-eliot-logo-green);
}

h2 {
  --pico-color: var(--eliot-navy);
}

h3 {
  --pico-color: var(--eliot-blue);
}

h4 {
  --pico-color: var(--eliot-navy);
}

h5 {
  --pico-color: var(--eliot-navy);
}

ul, table {
  --pico-color: var(--eliot-navy);
}

figure figcaption {
  --pico-muted-color: var(--eliot-navy);
}

:where(a:not([role=button])),
[role=link] {
  --pico-color: var(--eliot-blue);
  --pico-underline: var(--eliot-blue);
}

:where(a:not([role=button])):is([aria-current]:not([aria-current=false]), :hover, :active, :focus),
[role=link]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
  --pico-color: var(--eliot-green);
  --pico-underline: var(--eliot-green);
}

#latest-news {
  font-weight: bold;
}

/*
a:link {
  --pico-color: var(--eliot-blue);
  --pico-primary-underline: var(--eliot-blue);
}

a:hover {
  --pico-color: var(--eliot-green);
  --pico-primary-underline: var(--eliot-green);
}
*/
.warning {
  --pico-color: var(--eliot-color-warning);
}

/* ------------------------------------------------------------------
  Banner
*/
#header_container {
  background-color: var(--eliot-navy);
  text-align: center;
}

.img-desktop {
  margin-left: auto;
  margin-right: auto;
  max-height: 11rem;
}

.img-mobile {
  display: none;
}

@media screen and (max-width: 900px) {
  .img-mobile {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 11rem;
  }

  .img-desktop {
    display: none;

  }
}

/* ------------------------------------------------------------------
  Row/Columns
*/
.row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  white-space: unset;
}

.col75 {
  flex: 75%;
  width: 75%;
  margin-right: 15px;
}

.col25 {
  flex: 25%;
}

/*
  Responsive layout
    makes a one column layout instead of a two-column layout
*/
@media screen and (max-width: 900px) {
  .row {
    flex-direction: column;
  }

  .col75 {
    width: auto;
    margin-right: 0;
  }
}

/* ------------------------------------------------------------------
  Header Footer
*/

header.container {
  padding-bottom: 0px;
  padding-top: 5px;
  padding-left: 0px;
  padding-right: 0px;
}

header.container-fluid {
  padding-bottom: 0px;
  padding-top: 5px;
  padding-left: 0px;
  padding-right: 0px;
}

footer {
  font-size: small;
}

.credits {
  display: block;
}

img.banner {
  padding-bottom: 0rem;
}

/* ------------------------------------------------------------------
  Nav/Menu
*/

#menu_container {
  text-align: center;
  width: 100%;
}

.menu_background {
  background-color: var(--eliot-blue);
}

nav {
  background-color: var(--eliot-blue);
  border-bottom: 5px solid var(--eliot-navy);
}

nav li :where(a, [role=link]):not(:hover) {
  --pico-color: var(--eliot-white);
}

/* non-link "Eliot Institute" text on nav bar */
.text-logo {
  font-weight: bold;
  font-style: italic;
  font-size: larger;
  padding-top: var(--pico-nav-element-spacing-vertical);
  padding-bottom: var(--pico-nav-element-spacing-vertical);
  padding-right: 0.8em;
  color: var(--eliot-green);
}

@media screen and (min-width: 951px) {

  :is(button, [type=submit], [type=button], [role=button]).outline,
  [type=reset].outline {
    --pico-background-color: transparent;
    --pico-color: var(--eliot-white);
    --pico-border-color: var(--eliot-white);
    border-radius: 0;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-width: 2px;
  }

  :is(button, [type=submit], [type=button], [role=button]).outline:is([aria-current]:not([aria-current=false]), :hover, :active, :focus),
  [type=reset].outline:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) {
    --pico-background-color: var(--eliot-light-blue);
    --pico-color: var(--eliot-white);
    --pico-border-color: var(--eliot-white);
  }

 .home {
    border-color: var(--eliot-white);
    border-width: 2px;
    border-style: solid;
    border-top: none;
    border-bottom: none;
    border-left: none;
  }

  :where(nav li)::before {
    float: right;
    content: "";
  }

  nav details.dropdown {
    display: inline-block;
    overflow-wrap: normal;
  }

  details.dropdown[open]>summary+ul {
    text-align: left;
  }

  details.dropdown>summary+ul li a {
    --pico-dropdown-color: var(--eliot-navy);
  }

  details.dropdown>summary::after,
  details.dropdown>button::after,
  details.dropdown>a::after {
    display: inherit;
    width: inherit;
    height: inherit;
    margin-inline-start: inherit;
    float: inherit;
    transform: inherit;
    background-image: inherit;
    background-position: inherit;
    background-size: inherit;
    background-repeat: inherit;
    content: inherit;
  }

  nav[role=navigation][data-breakpoint=lg]>[role=list] a {
    --pico-color: var(--eliot-white);
    margin-left: 2px;
    margin-right: 2px;
    border-color: var(--eliot-white);
    border-width: 2px;
  }

  nav[role=navigation][data-breakpoint=lg]>[role=list] a:hover {
    border-bottom-color: var(--pico-white);
    text-decoration: none;
  }

  .text-logo {
    visibility: hidden;
  }
}

@media screen and (max-width: 950px) {
  nav[role="navigation"][data-breakpoint="lg"] label {
    margin-left: 0.2em;
  }

  nav[role=navigation][data-breakpoint=lg]>[role=list] a {
    --pico-color: var(--eliot-blue);
  }

  nav[role=navigation][data-breakpoint=lg]>[role=list] a:hover {
    border-bottom-color: var(--pico-blue);
    text-decoration: none;
  }

  nav[role=navigation][data-breakpoint=lg] > [role=list] li > details.dropdown {
    width: 50%;
  }

  nav details.dropdown {
    display: block;
    text-align: left;
  }

  nav ul {
    text-align: left;
  }
}

/* ------------------------------------------------------------------
  Colorful aside box for important things to note
*/
aside.important {
  border: 2px;
  border-style: solid;
  padding: 0.2em;
  margin: 0.1em;
  width: 40%;
  float: right;
  padding: 5px;
}

aside.important>h3 {
  color: var(--eliot-color-important);
}

/* ------------------------------------------------------------------
  Sidebar Buttons
*/

#button-area {
  text-align: center;
  /*text-shadow: 1px 1px 2px #000000;*/

}

.register {
  font-size: larger;
  color: var(--eliot-white);
  background-color: var(--eliot-blue);
  border-width: 0;
  font-weight: 700;
  margin: 0.2rem 0.2rem;
  margin-bottom: 10px;
  border-radius: 1rem;
}

.register:hover {
  color: var(--eliot-white);
  background-color: var(--eliot-light-blue);
}

.donate-btn {
  color: var(--eliot-white);
  background-color: var(--old-eliot-logo-green);
  border-width: 0;
  border-radius: 1em;
  font-weight: 700;
  margin: 0.2rem 0.2rem;
  margin-bottom: 10 px;
}

.donate-btn:hover {
  background-color: var(--eliot-green);
}

/* ------------------------------------------------------------------
  Camp sidebar
*/

.hidden {
  display: none;
}

a.camp-link {
  color: inherit;
  text-decoration: inherit;
}

/* mouse over link
a.camp-link:hover {
  color: var(--pico-primary-hover);
  background-color: var(--eliot-blue);
  text-decoration-line: underline;
} */

/* selected link
a.camp-link:active {
  color: var(--pico-primary-hover);
  background-color: var(--pico-primary-hover-background);
  text-decoration-line: underline;
}*/

.camp-name {
  font-size: larger;
  font-weight: 700;
  text-align: left;
  text-transform: capitalize;
  color: var(--eliot-blue);
  margin-bottom: 0.2em;
}

.camp-start {
  margin-bottom: 0.2em;
  font-size: smaller;
  text-align: left;
}

.camp-topic {
  font-weight: bolder;
  margin-bottom: 0.2em;
}

.camp-speaker {
  font-style: italic;
  text-align: left;
}

article.camp {
  margin: 0;
  margin-bottom: 10px;
  padding: 10px;
  /* border-style: solid;
  border-width: 1px; */
}

article.camp-sidebar {
  color: var(--eliot-navy);
  margin: 0;
  margin-bottom: 10px;
  padding: 10px;
  /* border-style: solid;
  border-color: var(--eliot-blue);
  border-width: 2px;*/
}

article.camp-sidebar:hover {
  background-color: var(--eliot-navy-10);
}


/* ------------------------------------------------------------------
  Workshop listings
*/

article.workshop {
  margin: 0;
  margin-bottom: 10px;
  padding: 20px;
  /* border-style: solid;
  border-width: 1px;*/
}


/* ------------------------------------------------------------------
  Testimonials
*/

#testimonial {
  --pico-block-spacing-vertical: 1px;
}

blockquote.testimonial {
  --pico-color: var(--eliot-navy);
  --pico-blockquote-footer-color: var(--eliot-navy);
  --pico-spacing: 0.5em;
  border-left: none;
}

/* ------------------------------------------------------------------
  images
*/
img.sq200 {
  max-width: 200px;
  max-height: 200px;
  margin: 2px;
}

img.float-right-300 {
  float: right;
  max-width: 300px;
  max-height: 300px;
  margin: 10px;
}

@media screen and (max-width: 900px) {
  img.float-right-300 {
    float: right;
    max-width: 150px;
    max-height: 150px;
    margin-top: 50px;
    margin-left: 10px;
    margin-bottom: 10px;
  }
}

/* ------------------------------------------------------------------
  YouTube embeds
*/

iframe {
  width: 560px;
  height: 315px;
}

@media screen and (max-width: 1028px) {
  iframe {
    width: 420px;
    height: 236px;
  }
}

/* ------------------------------------------------------------------
  Registration input boxes
*/

input:not([type=checkbox], [type=radio]),
select,
textarea,
[role=group] > label,
[role=group] > legend {
  margin-bottom: 0;
}

button,
[type=submit] {
  background-color: var(--eliot-blue);
}

/* ------------------------------------------------------------------
  job tables
*/

th.jobs0 {
  width: 60%;
}
th.jobs1, th.jobs2 {
  width: 20%;
}

.job-volunteer {
  border-style: solid;
  border-radius: var(--pico-border-radius);
  padding: .2em;
  border-width: 1px;
  background-color: var(--eliot-navy-05);
}

.job-staff {
  border-radius: var(--pico-border-radius);
  padding: .2em;
  border-width: 1px;
  background-color: var(--eliot-logo-blue);
  color: var(--eliot-white);
  font-weight: bold;
}

/* ------------------------------------------------------------------
  doc tables
*/

.doc-row-1 {
  width: 20%;
}

