/*            */
/*   Base     */
/*            */

:root {
  --color_green_dark_1: #040;
  --color_green_light_1: #4C4;
  --color_green_light_2: #3A3;
  --color_green_grey_1: #484;
  --color_green_grey_2: #060;
  --color_white_transp_1: #FFFFFF60;
  --thickness_border_thin_1: 0.14rem;
}

html {
  -ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  font-size: 20px;
  line-height: 1.0;
  padding:0;
  font-family: serif;
}

body{
  margin:0 auto;
  padding:0;
  height: 100%;
  width: 1280px;
}

small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{
  bottom:-0.25em;
  top:-0.5em;
}

figure{margin:1rem 40px}

img{
  border-style:none;
  margin:0;
}

a{
  color: #000;
  text-decoration: none;
}

a:hover{
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

a.back_to_top_link{
  display: inline-block;
  font-family: sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border: 0.08rem solid #999;
  border-radius: 0.3rem;
  background-color: #EEE;
  color: #333;
}

a.back_to_top_link:hover{
  background-color: #DDD;
  text-decoration: none;
}

div.flex_row{
  display: flex;
  flex-direction: row;
  gap:2rem;
}

div.flex_column{
  display: flex;
  flex-direction: column;
  gap:2rem;
}

span.tooltip{
  position: absolute;
  z-index: 10;
  bottom: 1.5rem;
  left: 2.2rem;
  margin:0;
  font-size: 0.8rem;
  font-family: sans-serif;
  color: #222;
  background-color: #EEE;
  border:0.08rem solid #AAA;
  border-radius: 0.24rem;
  padding:0.12rem 0.32rem;
  visibility: hidden 0.2s;
  opacity: 0.0;
  transition: opacity 0.2s;
  transition-delay: 0.1s;
  white-space: nowrap;
  display: inline-block;
}


/*               */
/*   Contact     */
/*               */


div.section_width{
  width: 42rem;
  margin: 0 auto;
  padding: 0;
}

#contact{
  font-family: "Alice", serif;
  border:0px solid #EE9;
  padding: 4rem 0rem 2.4rem 0;
  margin:2rem 0 0 0;
  background-position: center;
  background-size: cover;
  background-image: url("images/matt-seymour-8JlaKU5_rS8_s1.jpg");
  text-align: center;
  border-top: var(--thickness_border_thin_1) solid var(--color_green_grey_1);
  border-bottom: var(--thickness_border_thin_1) solid var(--color_green_grey_2);
}

#contact div.section_width{
  background-color: var(--color_white_transp_1);
  padding:1rem;

}

div.contact_inner1, div.contact_inner2{
  background-color: var(--color_white_transp_1);
  padding:1rem;
}

#contact h2{
  margin:0.4rem 0 0.2rem 0;
}

#contact_header{
  padding:0rem;
  margin: 0 0 0.4rem 0;
  text-align: center;
}

#contact_header p{
  padding:0;
  margin: 0.4rem 0 0.6rem 0;
  font-size: 0.8rem;
}

#contact_body{
  padding:0rem;
  margin: 0;
  text-align: left;
  font-size: 1rem;
}

#contact div.info_block{
  margin:0.4rem 0 0.4rem 1.2rem;
  padding:0;
}

a.contact_info_link{
  text-decoration: underline;
}

a.contact_info_link:hover{
  color: var(--color_green_grey_2);
}

p.contact_info{
  margin:0.2rem 0 0.2rem 0.4rem;
  padding:0;
  line-height: normal;
  display: block;
}

#contact form{
  box-sizing: border-box;
  margin: 1.2rem auto;
  padding:0.4rem 0.6rem 1.0rem 0.6rem;
  width: 100%;
  background-color: #AD7;
  border:0.12rem solid #A55;
  border-radius: 0.4rem;
}

form input, form textarea, form button{
  display: block;
  margin: 0.5rem 0;
  padding:0.2rem;
  font-size: 1.12rem;
  font-family: sans-serif;
}

form input, form textarea{
  box-sizing: border-box;
  width:100%;
}

form textarea{
  height: 8rem;
}

form button{
  width:4rem;
  margin: 0 0 0 0.8rem;
}

#contact_back_to_top_container{
  margin: 2rem 0 0 0;
  text-align: center;
}


/*                    */
/*   Footer           */
/*                    */

footer{
  background-color: #EEE;
  text-align: center;
  border-top: 0.24rem solid #FE4;
  padding: 1.8rem 0 1.2rem 0;
}

footer p{
  font-size: 0.78rem;
  font-family: serif;
  margin:0 0;
  padding:0;
  display: block;
}


/*                    */
/*   Header           */
/*                    */

header{
  margin:0;
  padding:0;
  font-family: "Lora", serif;
}

#nav_row{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.8rem 1.6rem 0.4rem 1.6rem;
  align-items: flex-end;
}

div.flex_space_between_right, div.flex_space_between_left {
  display: block;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
}

div.flex_space_between_left {
  order: 1;
}

div.flex_space_between_right {
  order: 2;
}

a.nav_link, a.nav_main_link{
  display: block;
  text-align: center;
  color: var(--color_green_dark_1);
  text-decoration: none;
  background-color: #00112200;
  border-radius: 4rem;
}

a.nav_main_link{
  font-size: 1.0rem;
  margin: 0.0rem;
  padding: 0.4em 0.0rem;
}

a.nav_link{
  font-size: 1.0rem;
  border:0px solid #EEE;
  margin: 0.0rem;
  padding: 0.4em 1.2rem;
}

a.nav_main_link:hover{
  text-decoration: underline;
}

a.nav_link:hover{
  text-decoration: underline;
}

#nav_list{
  display: flex;
  flex-direction: row;
  margin:0;
  padding:0;
}

li.nav_list_item{
  display: inline;
  margin:0;
  padding:0;
}

#nav_banner{
  background-position: center;
  background-size: cover;
  background-image: url("images/header_banner_c1_r.jpg");
  text-align: center;
  padding: 2.0rem 0rem;
  border-top: var(--thickness_border_thin_1) solid var(--color_green_light_1);
  border-bottom: var(--thickness_border_thin_1) solid var(--color_green_light_2);
}


/*                    */
/*   Hero             */
/*                    */

#hero{
  padding: 3.2rem 0 0 0;
  font-family: "Alice", serif;
  position: relative;
}

#hero_mugshot_outer{
  float:right;
  border:0px solid #66F;
  padding:0rem;
  margin-left:0rem;
  top:-0.4rem;
  right:-2.8rem;
  position: relative;
}

#hero_mugshot_outer img{
  border-radius: 8rem;
  width:12rem;
  height:12rem;
  border: 0.16rem solid var(--color_green_light_1);
  object-fit: cover;
  position: relative;
  padding:0;
  margin:0;
  display: block;
}

div.hero_social_container{
  float: right;
  border: 0px solid #00F;
  position: relative;
  display: flex;
  flex-direction: column;
  gap:0.2rem;
  z-index: 2;
  padding: 1.6rem 0 0 0;
}

a.hero_social_link{
  margin:0.4rem 0 0 0;
  padding:0.0rem 0.4rem;
  display: inline-block;
  position: relative;
}

a.hero_social_link:hover img{
  border-bottom: 0.14rem solid #006600FF;
}

a.hero_social_link:hover span.tooltip, #hero_mugshot_outer:hover span.tooltip{
  visibility: visible;
  opacity: 1;
  transition: opacity 1 0.2s;
  transition-delay:0.4s;
}

div.hero_social_container img{
  display: inline;
  margin:0;
  padding:0.2rem;
  width:1.5rem;
  border: 0px solid #A0F;
  border-bottom: 0.14rem solid #00440000;
}

#hero h1, #hero h2{
  font-family: inherit;
  margin:0;
  padding:0;
}

#hero h1{
  font-size: 3.8rem;
  margin: 0.4rem 0;
}

#hero h2{
  font-size: 1.24rem;
  margin: 0.4rem 0 1.4rem 0;
}

#hero div.info_block{
  font-size: 1.0rem;
  margin: 1.6rem 0;
  border:0px solid #0F0;
  font-family: "Alice";
}

#hero div.contact_block{
  font-size: 1.6rem;
  margin: 1.6rem 0;
  border:0px solid #0F0;
}

#hero p.info{
  margin: 0 0 0.4rem 0;
  padding: 0;
  position: relative;
  border:0px solid #60F;
  display: block;
}

#hero p.contact_info{
  line-height: 3.0rem;
  word-spacing: 0.24rem;
  margin: 0rem 0 0 0rem;
  padding: 0 0rem;
}

#hero a:hover{
  text-decoration: underline;
  color: var(--color_green_grey_2);
}

#hero_link_phone{
}

#hero_name{
  font-size: 2.0rem;
  font-weight: bold;
  word-spacing:normal;
}

#hero_phone_number{
  font-size: 2.4rem;
  font-weight: bold;
  word-spacing: normal;
}

#hero_link_email{
  word-spacing: normal;
  text-decoration: underline;
  font-style: italic;
  font-weight: bold;
}

#hero_link_here{
  font-style: italic;
  word-spacing: normal;
  font-weight: bold;
}

span.hero_contact_here_marker{
  text-decoration: underline;
}

span.hero_contact_here_follower{
  word-spacing: normal;
}

#hero_banner, #services_banner{
  text-align: center;
  margin: 5rem 0 0 0;
  padding: 0 0rem;
  border-top: var(--thickness_border_thin_1) solid var(--color_green_light_1);
  border-bottom: var(--thickness_border_thin_1) solid var(--color_green_light_2);
  height: 20rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}

#hero_banner a, #services_banner a{
  width: 25%;
  height: 100%;
  position: relative;
  display: block;
}

#hero_banner img, #services_banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero_nptc{
  width:4.6rem;
}




/*                        */
/*   Services             */
/*                        */

#services{
  font-family: "Alice", serif;
  padding: 2rem 0rem 2.4rem 0;
  margin:2rem 0 0 0;
}

#services li{
  margin: 0 0 0.4rem 0;
  padding:0;
  font-size: 1.2rem;
}

/* ============================
   MOBILE STYLES
   ============================ */
@media (max-width: 768px) {

  /* Most sizing on this site is rem-based off the root font-size, so
     shrinking the root scales headings, spacing and icons proportionally
     without needing to override every rule individually. */
  html { font-size: 15px; }

  body { width: 100%; max-width: 1280px; }

  div.section_width { width: 100%; max-width: 42rem; padding: 0 1rem; box-sizing: border-box; }

  #nav_row { padding: 0.8rem 1rem 0.4rem 1rem; }

  /* Mugshot: stop floating text around it, stack centered above instead */
  #hero_mugshot_outer {
    float: none;
    position: static;
    display: block;
    margin: 0 auto 1rem auto;
    width: 9rem;
  }
  #hero_mugshot_outer img { width: 9rem; height: 9rem; }

  div.hero_social_container {
    float: none;
    flex-direction: row;
    justify-content: center;
    padding: 1rem 0 0 0;
  }

  /* Photo galleries: 4-across at a fixed 20rem height crushed each tile
     to a ~93px-wide sliver on phones. 2-up grid with its own height instead. */
  #hero_banner, #services_banner { height: auto; }
  #hero_banner a, #services_banner a { width: 50%; height: 8rem; }

  form button { width: auto; padding: 0.6rem 1.4rem; margin: 0.5rem 0 0 0; }
}

@media (max-width: 420px) {
  html { font-size: 14px; }
  #hero_banner a, #services_banner a { width: 100%; height: 10rem; }
}
