html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: 'Lato', sans-serif;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  /* overflow-y: scroll; Keeps page centered in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 100%;
}

:root {
  --alt-light-red: #e8adaa;
  --light-red: #c5908e;
  --light-grey: #d1d0ce;
  --alt-light-grey: #e5e4e2;
  --light-blue: #92bcd5;

  --font-size-title-reg: 50px;
  --font-size-subtitle-reg: 25px;
  --font-size-title-mob: 25px;
  --font-size-subtitle-mob: 18px;

  --font-size-reg: 18px;
  --font-size-mob: 15px;

  --font-size-header-reg: 15px;
  --font-size-header-mob: 12px;

  --font-size-table-header-reg: 15px;
  --font-size-table-item-reg: 12px;
  --font-size-table-header-mob: 12px;
  --font-size-table-item-mob: 10px;

  --font-size-image-subtext-reg: 12px;
  --font-size-image-subtext-mob: 10px;
}

.page-container {
  background-color: white;
  /* position: absolute;       forces menu to open gracefully for mobile */
  height: 100%;
  /* forces menu to open gracefully for mobile */
  width: 100%;
  overflow-x: hidden;
}

.page-disclaimer {
  color: white;
  background-color: var(--light-red);
  text-align: center;
  padding: 10px;
}

#mobile-nav-menu {
  background-color: var(--light-grey);
  /* #92bcd5 for warm red colour scheme */
}

.header-container {
  top: 0px;
  left: 0px;
  height: 100px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 10px;
  padding-top: 20px;
  /* position: -webkit-sticky;
  position: sticky;
  background: white;
  z-index: 1; */
}

.header-contact-container {
  display: flex;
  /* spaces phone/email properly */
  justify-content: space-between;
  /* spaces phone/email properly */
}

hr.solid {
  border-top: solid 1px black;
  /* solid line between phone/email and logo/menu */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  flex-grow: 100;
  /* logo div takes up entire screen width */
}

.nav-logo img {
  margin: 0 auto;
  /* logo centered in div for mobile */
  display: block;
  /* logo centered in div for mobile */
  width: 400px;
  object-fit: cover;
  /* image fits div */
  margin-top: 10px;
}

.footer-container {
  color: white;
  background-color: var(--light-red);
  text-align: center;
  padding: 10px;
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
}

.footer-address-contact-container {
  text-align: center;
  margin: 0 auto;
  width: 60%;
}

.footer-address-contact-item {
  padding: 5px;
}

.footer-address-contact-item a {
  color: white;
  text-decoration: underline;
}

.footer-address {
  display: inline-flex;
}

.footer-address p {
  padding-left: 1px;
  padding-right: 1px;
}

.body-container {
  text-align: center;
  margin-bottom: 75px;
}

.about-intro-content {
  font-size: var(--font-size-reg);
  margin: 50px auto;
  /* center content */
}

.how-i-work-subsection {
  background-color: var(--light-red);
  padding-bottom: 20px;
  width: 100vw;
  /* for forcing this section to cover width of page */
  left: 50%;
  /* for forcing this section to cover width of page */
  right: 50%;
  /* for forcing this section to cover width of page */
  position: relative;
  /* for forcing this section to cover width of page */
  margin-left: -50vw;
  /* for forcing this section to cover width of page */
  margin-right: -50vw;
  /* for forcing this section to cover width of page */
}

.how-i-work-content {
  color: white;
  /* for ul text colour */
  font-size: var(--font-size-reg);
  width: 60%;
  /* restrict content width */
  margin: 30px auto;
  /* center content */
}

.how-i-work-content p {
  color: white !important;
  /* for regular text colour */
}

.page-title {
  font-size: var(--font-size-title-reg);
  margin: 40px auto;
}

.page-title h1 {
  color: var(--light-red);
  padding-left: 20px;
  padding-right: 20px;
}

.subtitle {
  font-size: var(--font-size-subtitle-reg);
  margin: 30px auto;
  padding-top: 20px;
}

.subtitle h3 {
  padding-left: 20px;
  padding-right: 20px;
  color: #606060;
}

.how-i-work-subtitle h3 {
  color: white;
  margin-top: 30px;
  /* to allow more background between top of subsection and subtitle */
}

.page-content {
  margin: 40px auto;
  width: 60%;
}

.page-content p {
  font-size: var(--font-size-reg);
  color: #606060;
}

.home-page-content ul {
  list-style-image: url("../img/logos/new/bullet-red.png");
  list-style-position: inside;
  width: 500px;
  /* keeps list a reasonable width */
  display: inline-block;
  margin-left: 50%;
  /* makes lists align */
  transform: translateX(-50%);
  /* makes lists align */
}

.home-page-content li {
  text-align: left;
  font-size: var(--font-size-reg);
  color: #606060 !important;
  /* forces same colour as page content */
  text-indent: -1.65em;
  padding-left: 1.65em;
}

.how-i-work-content ul {
  list-style-type: none;
}

.button-wrap {
  background-color: var(--light-red);
  padding: 10px;
  margin: 60px auto;
  width: 100px;
  border-radius: 4px;
  transition: all .2s ease-in-out;
  /* transition for mouse hover */
}

.button-wrap a {
  color: white;
  text-decoration: none;
}

.button-wrap:hover {
  transform: scale(1.1);
  /* increase size of button on hover */
}

.bottom-banner {
  margin: 60px auto;
  max-width: 80%;
}

.bottom-banner p {
  color: #7a7a7a;
}

.psych-today a {
  margin: 20px auto;
}

table {
  table-layout: fixed;
  width: 100%;
  background-color: white;
  color: #606060;
  margin: 40px auto;
}

thead {
  background-color: var(--light-red);
  color: white;
}

th,
td {
  padding: 15px;
}

th {
  letter-spacing: 1.5px;
  font-weight: bold;
  font-size: var(--font-size-table-header-reg);
}

td {
  letter-spacing: 1px;
  font-weight: bolder;
  font-size: var(--font-size-table-item-reg);
}

caption {
  font-size: var(--font-size-subtitle-reg);
  margin: 10px auto;
}

@media (max-width: 600px) {
  td {
    /* for text to fit in tables on small mobile screens */
    letter-spacing: 0px;
    font-weight: bolder;
    font-size: var(--font-size-table-item-mob);
    text-align: center;
  }
}

.rcc-logo img {
  margin: 0 auto;
  height: 100px;
  margin-top: 15px;
}

.rcc-content {
  margin: 20px auto;
  margin-bottom: 60px;
  max-width: 80%;
}

.rcc-content p {
  font-size: var(--font-size-image-subtext-reg);
  color: #7a7a7a;
}

.about-image img {
  margin: 0 auto;
  /* logo centered in div for mobile */
  display: block;
  /* logo centered in div for mobile */
  height: 350px;
  width: 280px;
  object-fit: cover;
  /* image fits div */
  border-radius: 30px;
}

.image-banner {
  margin: 10px auto;
  max-width: 50%;
}

.image-banner p {
  font-size: var(--font-size-image-subtext-reg);
  font-style: italic;
  color: #7a7a7a;
}

/*contact form*/
input[type=text],
select,
textarea {
  font-family: 'Lato', sans-serif;
  font-size: var(--font-size-mob);
  width: 100%;
  color: white;
  background-color: var(--light-grey);
  padding: 12px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  /* Make sure that padding and width stays in place */
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  /* Allow the user to vertically resize the textarea (not horizontally) */
}

/*contact form submit button*/
input[type=submit] {
  color: white;
  border: none;
  cursor: pointer;
  font-size: var(--font-size-mob);
  margin-bottom: 0px;
  /* fixes spacing between this and bottom banner */
}

a#nav-button {
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  left: 10px;
  /* forces nav menu button to stick to top left of div */
  top: 10px;
  /* forces nav menu button to stick to top left of div */
  position: absolute;
  /* forces nav menu button to stick to top left of div */
}

a#nav-button img {
  filter: invert(50%) sepia(4%) saturate(27%) hue-rotate(328deg) brightness(94%) contrast(91%);
  /* forces image to be #7a7a7a */
}

a#nav-button:hover {
  cursor: pointer;
}

#nav-menu {
  display: none;
  /* hide nav menu */
}

/* Mobile style beginning at 700px and down */
@media (max-width: 700px) {

  .header-contact-item p {
    font-size: var(--font-size-header-mob);
  }

  .page-disclaimer {
    padding: 5px;
    font-size: var(--font-size-header-mob);
  }

  .nav-logo img {
    width: 70%;
    max-width: 400px;
  }

  .page-title {
    font-size: var(--font-size-title-mob);
  }

  .page-content {
    width: 80%;
  }

  .home-page-content ul {
    width: 250px;
  }

  .page-content p {
    font-size: var(--font-size-mob);
  }

  .page-content li {
    font-size: var(--font-size-mob);
  }

  .home-page-content li {
    text-indent: -1.9em;
    padding-left: 1.9em;
  }

  .bottom-banner p {
    font-size: var(--font-size-header-mob);
  }

  .footer-container {
    position: relative;
  }

  .footer-container p {
    font-size: var(--font-size-header-mob);
  }

  .footer-container a {
    font-size: var(--font-size-header-mob);
  }

  .footer-address {
    display: block;
  }

  .about-image img {
    height: 250px;
    width: 200px;
  }
}

/* Non-mobile style beginning at 800px and up */
@media (min-width: 700px) {

  .nav-logo img {
    width: 400px;
  }

  .footer-address-contact-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
  }

  .footer-address {
    position: absolute;
    /* centers the middle item of the bottom banner */
    left: 50%;
    /* centers the middle item of the bottom banner */
    transform: translateX(-50%);
    /* centers the middle item of the bottom banner */
  }

}

/* Non-mobile style beginning at 1100px and up */
@media (min-width: 1100px) {

  a#nav-button {
    display: none;
    /* hide mobile nav menu */
  }

  #nav-button {
    display: none;
    /* hide mobile nav menu */
  }

  #nav-menu {
    display: flex;
    /* display nav menu */
    justify-content: center;
    /* display nav menu */
  }

  .nav-menu {
    font-size: var(--font-size-header-mob);
  }

  .nav-logo {
    flex-grow: 0;
    /* logo div no longer fills width */
  }

  div.nav-container a.menu-item:first-child {
    padding-left: 0;
    margin-left: 2em;
  }

  div.nav-container a.menu-item:last-child {
    border-right: 0;
    padding-right: 0;
    margin-right: 2em;
  }

  a.menu-item:link,
  a.menu-item:visited {
    height: 60px;
    /* height of menu */
    border-right: 2px solid;
    border-color: #7a7a7a;
    line-height: 60px;
    color: #7a7a7a;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    /* remove underline */
    padding-right: 2em;
    padding-left: 2em;
    letter-spacing: .1rem;
    transition: color 0.2s ease-in;
    /* text transisitions */
    -webkit-transition: color 0.2s ease-in;
    /* text transisitions */
    -moz-transition: color 0.2s ease-in;
    /* text transisitions */
  }

  a.menu-item:hover {
    color: #000000;
    /* transition to black */
  }

  div.nav-container a.active {
    color: #000000;
    /* active page text is black */
  }

}

.visually-hidden {
  opacity: 0;
  font-size: 0;
}