/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/*
 * Color blue : #1b62aa
 *
 *
 *
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@font-face {
  font-family: 'Raleway';
  src: url("fonts/Raleway-VariableFont_wght.ttf");
}


html {
  color: #222;
  font-size: 100%;
  line-height: 1.4;
  font-family: "Raleway", sans-serif;
  min-height: 100vh;
}

p, a {
  font-size: 0.9rem;
}

a,
a:visited {
    text-decoration: none;
    color: #1F8725;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img {
    width: 100%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/https://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

body {
    max-width: 1200px;
    margin: auto;
    background-image: url("../img/bg_page.jpg");
    background-size: auto;
	background-attachment:fixed;
	background-position: center;
    color: dimgray;
}

header {
	background-color: white;
}

h1 {
  font-weight: 300;
  font-size: 1.3rem;
}

h2 {
  font-weight: 300;
  font-size: 1.1rem;
}

section ul {
	list-style-type: square;
}
.content {
    padding-top: 2rem;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: 2rem;
    background-color: white;

}


.topnav {
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #ffffff;
    max-width: 1200px;
    margin: auto;
    opacity: 1;
}

.topMenu {
  display: none;
}

.brand {
    width: 10%;
    float: left;
    padding: 1rem;
}

.menuButton {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30%;
    text-align: center;
    color: #1F8725;
    border: 0;
    background-color: transparent;
}

#closeMenu {
  text-align: center;
  color: #ffffff;
  border: 0;
  background-color: transparent;
  font-size: 2rem;
  margin: 1rem auto;
}

button:focus, .menuButton:focus, #closeMenu:focus {
  outline: 0;
}

.menuButton .fa {
  position: absolute;
  font-size: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.menuButton.active {
  right: 50%;
}

.sidenav {
    min-height: 100vh;
    width: 80%;
    z-index: 20;
    position: fixed;
    top: 0;
    right: -100%;
    text-align: center;
    /*transform: translateX(100%);*/
    transition: .5s ease;
    overflow: auto;
    background-color: #1F8725;
    opacity: .9;
}

.sidenav.open {
  /*transform: translateX(0);*/
  right: 0;
}

.sidenavTop {
    width: 100%;
    background-color: #1F8725;
}

.sidenavTop button {

}

.sidenavMenu {
    background-color: #1F8725;
    opacity: .9;
}

.sidenav ul {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidenav ul li {
  padding: 1rem;
}

.sidenav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.2rem;
}

.banner {
  margin-top: 5rem;
}

.intro p {
    color: #F60;
}

.footer {
    padding: 1.2rem;
    background-color: white;
}

.footerLogo {
    width: 10%;
    margin: auto;
}

address {
  padding: 1rem;
  text-align: center;
}

address p {
  margin: .2rem;
}

.footerLinks {
  text-align: center;
}

.footerLinks a {
  font-size: .7rem;
}

.footerLinks a:not(:last-child)::after {
  content: " |";
  color: #000000;
}

.copyright {
  text-align: center;
  font-size: .7rem;
}

.accordion {
  background-color: #ffffff;
  border: 0;
  text-align: left;
  color: #1b62aa;
  font-size: .9rem;
  padding: 0;
  width: 90%;
}

#activity ul {
  padding-inline-start: 1rem;
  list-style: none;
}

#activity ul li {
  padding: .5rem 0;
}

#activity ul li::before {
  content: "\2022";
  color: #1b62aa;
  font-weight: bold;
  display: inline-block;
  width: 1rem;
  margin-left: -1rem;
}


.panel {
  padding: 0 1rem;
  background-color: white;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}

.footerImage {
    padding: 1rem;
    background-color: white;
}

.therapist-picture {
    max-width: 50%;
    float: left;
    margin: 0 1rem 1rem 0;
}
.caption {
    text-align: center;
    color: rgba(171,171,171,1.00);
    font-size: 50%;
}

a:hover {
  color: #F60;
}

@media screen and (min-width: 700px) {
  html {
    font-size: 120%;
  }
}

@media screen and (min-width: 1000px) {
  html {
    font-size: 180%;
  }

  .brand {
    width: 6%;
    padding: .5rem .5rem .5rem 1rem;
  }

  .banner {
    margin-top: 4rem;
  }

  .menuButton {
    display: none;
  }

  .topMenu {
    display: block;
  }

  .topMenu ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .topMenu a {
    font-size: .6rem;
  }

  .psioRow {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

  }

  .psioRow div {
    padding: 0 .5rem;
    width: 50%;
  }

  .img-left {
    flex-direction: row;
  }

  .img-right {
    flex-direction: row-reverse;
  }

}

@media screen and (min-width: 1200px) {
  html {
    font-size: 180%;
  }
}
