/*
 * Theme Name: HP Timber Theme
 * Description: Starter Theme to use with Timber
 * Author: Leora Wenger
 * Version: 2.0.2
*/

html {
  font-family:Arial, Helvetica, sans-serif;
}

a, a:link, a:hover {
  color: #003399;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.3rem;
}

h3 {
  font-size: 1.2rem;
}

footer {
  margin-top: 40px;
}

.header-menu {
  display: flex;
  flex-direction: row-reverse;
  margin-right: 20px;
  position: relative;
}

.header-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-menu h1 {
  padding-right: 50px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.header-menu .search-icon {
  position: absolute;
  top: 12px;
  right: 0;
  content: '';
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg width='29.407' height='31.272' version='1.1' viewBox='0 0 7.7805 8.2742' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(1.0388 1.0573)'%3E%3Cellipse cx='2.83' cy='2.7181' rx='3.7365' ry='3.6431' fill='%23fff' fill-rule='evenodd' stroke='%23039' stroke-width='.26458'/%3E%3Cg transform='translate(-52.998 -56.573)' stroke='%23039' stroke-width='.26458'%3E%3Cpath d='m57.905 62.586 0.86953-0.73789 0.78628 1.0809-0.78991 0.67414z' fill='%23fff' stroke='%23039' stroke-width='.26458'/%3E%3C/g%3E%3Cg transform='translate(-52.998 -56.573)' fill='%23039'%3E%3Cellipse cx='55.842' cy='59.279' rx='2.844' ry='2.7061' fill='%23039' fill-rule='evenodd'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
}

.header-menu a:hover .search-icon {
background-image: url("data:image/svg+xml,%3Csvg width='30.304' height='32.384' version='1.1' viewBox='0 0 8.0179 8.5683' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='.0079986' y='.0090007' width='8.0005' height='8.551' fill='%2300499f' stroke='%23000' stroke-width='.017324'/%3E%3Cellipse cx='3.97' cy='3.873' rx='3.7365' ry='3.6431' fill='%23fff' fill-rule='evenodd'/%3E%3Cg transform='translate(-51.858,-55.418)'%3E%3Cpath d='m57.905 62.586 0.86953-0.73789 0.78628 1.0809-0.78991 0.67414z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate(-51.858,-55.418)' fill='%23049'%3E%3Cellipse cx='55.842' cy='59.279' rx='2.844' ry='2.7061' fill='%23049' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E%0A");}

.site-link {
  font-size: 1.5rem;
  text-decoration: none;
}
  
/* SEARCH PAGE*/
  .search-container {
      position: relative;
  }
  
  .search-container .submit-container {
      position: absolute;
      width: 40px;
      height: 100%;
      content: "";
      top: 0;
      right: -7px;
  }
  
  .search-container .reset-container {
      position: absolute;
      width: 40px;
      height: 38px;
      content: "";
      top: 4px;
      right: 40px;
      background-color: #fff;
      border: none;
  }
  
  .search-container input#searchbox {
      height: 40px;
      width: calc(100% - 20px);
      padding-left: 20px;
    }
  
  .search-container input#searchsubmit {
      position: absolute;
      top: 0;
      right: 0;
      content: '';
      width: 40px;
      height: 100%;
      background-color: #fff;
      background-repeat: no-repeat;
    }
  
  .search-container.search-short {
      width: 300px;
      margin-bottom: 40px;
    }
  
  .search-container .search-icon {
      position: absolute;
      top: 5px;
      right: 2px;
      content: '';
      width: 30px;
      height: 30px;
      background-repeat: no-repeat;
      background-image: url("data:image/svg+xml,%3Csvg width='31.511' height='31.693' version='1.1' viewBox='0 0 35 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(187.93 -5.6705)'%3E%3Cg transform='matrix(2.8 0 0 2.8 334.95 -14.07)' stroke='%23000'%3E%3Cellipse cx='-181.2' cy='12.319' rx='3.5886' ry='3.5887' fill='none' stroke-width='.76015'/%3E%3Cpath transform='matrix(.26458 0 0 .26458 -188.11 5.4119)' d='m38.146 34.898c-1.3746 1.0501-2.7484 2.1003-4.123 3.1504 1.1473 1.2448 2.2941 2.4896 3.4414 3.7344l4.0586-3.2207c-1.1256-1.2213-2.2514-2.4428-3.377-3.6641z' stroke-width='1.4912'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
  }

h2 a {
  text-decoration: none;
}

h2 a:hover {
  text-decoration: underline;
}

.banner {
  margin: 0 auto;
  text-align: center;
  background-color: #a82e3f;
}

.nav-main ul {
  list-style-type: none;
  width: 100%;
  padding: 0;
}

.nav-main ul li {
  margin: 0;
  margin-bottom: 1px;
  padding: 10px;
  background-color:cornflowerblue;
  height: 20px;
  width: 100%;
  cursor: pointer;
}

.nav-main ul li.current-menu-item {
  background-color: firebrick;
}

.nav-main > ul li {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav-main ul li a {
  display: block;
  text-decoration: none;
  text-align: center;
  color:white;
  width: 100%;
}

.nav-main ul li:hover {
  background-color:darkblue;
}

.nav-main ul li:hover a {
  color: white;
}

.nav-main ul li .dropdown ul {
  display: none;
}

.nav-main ul li .dropdown:hover ul, .nav-main ul li.menu-item-has-children:hover .dropdown ul {
  display: flex;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown ul a {
  display: block;
}

.nav-main ul li .dropdown ul {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  width: 200px;
}

.article-header img {
  margin-left: 0;
  max-width: 100%;
}

.hp-boxes-container, .content-wrapper {
  margin: 0 auto;
  width: 100%;
}

footer ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  list-style: none;
  width: 100%;
  padding: 0 20px;
}

footer ul li {
  max-width: 100%;
  margin: 10px 0;
  text-align: center;
}

footer ul li .dropdown {
  display: none;
}

footer ul li a:hover {
  text-decoration: underline;
}

.hp-boxes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.hp-box-wrap {
  min-width: 300px;
  margin: 0 10px;
}

.hp-box {
  margin: 0 10px;
  max-width: 300px;
}

.hp-box h2 {
  font-size: 1.2rem;
  margin: 0;
  margin-bottom: 5px;
}

.hp-box h2 a, .hp-box h2 a:link, .hp-box h2 a:visited {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  color: #003399;
}

.hp-box h2 a:hover, .hp-box h2 a:link:hover, .hp-box h2 a:visited:hover {
  border-bottom: 1px solid #333333;
}

.hp-boxes-container img {
  max-width: 300px;
}

.image-captions {
  display: flex;
  flex-wrap: wrap;
}

.copy {
  text-align: right;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.banner img {
  max-width: 100%;
}

.hp-flex {
  display: flex;
}

.hp-flex-wrap {
  flex-wrap: wrap;
}

.hp-full {
  width: 100%;
}

.hp-justify-between {
  justify-content: space-between;
}

.hp-third {
  width: 33.33333%
}

.hp-two-third {
  width: 66.66666%
}

.hp-thumb {
  max-width: 300px;
  object-fit: contain;
}

.hp-m-top {
  margin-top: 40px;
}

.hp-bold {
  font-weight: 700;
}

.hp-head-font {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.hp-bigger {
  font-size: 1.5rem;
}

article ul li,
article ol li {
  padding-bottom: 20px;
  line-height: 20px;
}

article p {
  line-height: 24px;
}

article p {
  line-height: 24px;
}

article .article-content {
  padding: 0 20px;
}

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

  .hp-boxes-container, .content-wrapper {
    width: 940px;
  }

  .hp-boxes-container {
    flex-wrap: nowrap;
  }
  
  .nav-main>ul {
    flex-wrap: nowrap;
    display: flex;
  }

  .nav-main ul li {
    margin: 0 20px;
    width: 180px;
    margin-bottom: 1px;
  }

  .nav-main > ul li {
    width: 180px;
    display: flex;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  footer ul {
    flex-direction: row;
  }

  footer ul li {
    max-width: 250px;
    margin: 0 10px;
  }

  .image-captions {
    flex-wrap: nowrap;
  }
}