html {
  scroll-padding-top: 4.5rem;
}

body { font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;font-size: 17px; 
  font-style: normal; letter-spacing:0.25px; line-height: 1.5em;
  position: relative; color: #000;  -webkit-font-smoothing: antialiased;
}

b { font-weight:700;}

body a { text-decoration:none; font-size:inherit; color:#f2cb64; font-weight: 500; }
body a:hover {color: #f2cb64;} 



body p {
 color: #808285;
	font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;font-size: 17px; 
  font-style: normal; letter-spacing:0.25px; line-height: 1.5em; text-align: justify; margin-bottom:5px;  -webkit-font-smoothing: antialiased;
}

body p:b, b strong { font-weight:700;}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display',Georgia,"Times New Roman",serif; color: #000; margin-bottom: 20px;
  line-height: 1.3;
}

body li {
 color: #808285;
	font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;font-size: 17px; 
  font-style: normal; letter-spacing:0.25px; line-height: 1.5em;  margin-bottom:5px;  -webkit-font-smoothing: antialiased;
}

body li strong {
 color: #808285;
	font-family: "DM Sans", sans-serif; font-weight: bold;
}
.page-section {
  padding: 6rem 0;
}
.page-section h2.section-heading, .page-section .section-heading.h2 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
.page-section h3.section-subheading, .page-section .section-subheading.h3 {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  section {
    padding: 2rem 0;
  }
}
.btn-xl {
  padding: 1.25rem 2.5rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.125rem;
  font-weight: 700;
}

.btn-social {
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0; color: #313131;
  border-radius: 100%;
  background-color: #f2cb64;
}



#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #fff;
}
#mainNav .navbar-toggler {
  padding: 0.75rem;
  font-size: 0.75rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  text-transform: uppercase;
  font-weight: 700; color: #000;
}
#mainNav .navbar-brand {
  color: #aa7918;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  letter-spacing: 0.0625em; 
  text-transform: uppercase;
}
#mainNav .navbar-brand img {
  height:4rem;
}
#mainNav .navbar-nav .nav-item .nav-link {
  font-family: 'DM Serif Display',Georgia,"Times New Roman",serif;
  font-size: 18px;
  color: #000;
  letter-spacing: 0.0625em;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #aa7918;
}

#mainNav .dropdown-item {font-size: inherit;  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 400;}
@media (min-width: 992px) {
  #mainNav {
    
    padding-bottom: 1.5rem;
    border: none;
    background-color: transparent;
    transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
  }

 .navbar-expand-lg .navbar-nav .dropdown-menu {
  border-top: 5px solid #aa7918; 
  border-left: 1px solid #fff; 
  border-right: 1px solid #fff; 
  border-bottom: 1px solid #fff;
  box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.12);
}
 .dropdown-item {font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 15px; padding: 10px 10px; white-space: normal;}



  .dropdown-menu li{ 
    position: relative; 
     min-width:240px; 
     max-width: 240px;
     border-bottom: 1px solid #ccc; 
     word-wrap: break-word;
   }

   .dropdown:hover > .dropdown-menu,
  .dropend:hover > .dropdown-menu {
  display: block;
  margin-top: 0.125em;
  margin-left: 0.125em;
  }

  .nav-item .submenu{ 
    display: none;
    position: absolute;
    left:100%; top:-7px;
  }
  .nav-item .submenu-left{ 
    right:100%; left:auto;
  }
  .dropdown-menu > li:hover{ background-color: #f1f1f1 }
  .dropdown-menu > li:hover > .submenu{ display: block; }

  #mainNav .navbar-brand {
    font-size: 1.5em;
    transition: font-size 0.3s ease-in-out;
  }
  #mainNav .navbar-brand img {
    height: 5rem;
    transition: height 0.3s ease-in-out; margin-top: -5px;
  }
  #mainNav.navbar-shrink {
    padding-top: .25rem;
    padding-bottom: .25rem;
    background-color: #fff; box-shadow: var(--bs-box-shadow-sm) !important;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 5rem;
  }
  #mainNav.navbar-shrink .navbar-brand svg,
  #mainNav.navbar-shrink .navbar-brand img {
    height: 5rem;
  }
  #mainNav .navbar-nav {
    background-color: #fff; border-radius: 10px; 
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.12);
    margin: 20px 0px 0px;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
  #mainNav.navbar-shrink .navbar-nav {
    box-shadow: none; margin: 20px 0px 20px 0px;
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
  #mainNav .navbar-nav .nav-item {
    margin-right: 1.5rem;
  }
  #mainNav .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }
}






header.masthead {
  padding-top: 0rem;
  padding-bottom: 6rem;
  text-align: left;
  color: #000;
  background-image: url("../img/header-bg.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}
header.masthead .masthead-subheading {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 25px;
   font-family: 'DM Serif Display',Georgia,"Times New Roman",serif;
}
header.masthead .masthead-heading {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 3.25rem;
  margin-bottom: 2rem;
   font-family: 'DM Serif Display',Georgia,"Times New Roman",serif;
}

@media (min-width: 768px) {
  header.masthead {
    
    padding-bottom: 5.5rem;
  }
  header.masthead .masthead-subheading {
    font-size: 2.5em;
    line-height: 1.2em;
    margin-bottom: 1rem;
    margin-top: 13rem;
  }
  header.masthead .masthead-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
  }
}

.fairheadscoin {background-color: #fbfbfb; background-image: url('../img/coin-gold.png'); 
 background-repeat: no-repeat;   background-attachment: fixed; 
 background-size: initial;  background-position:  center left;"
}

.fairheadwhite {background-color: #fff; background-image: url('../img/coin-pattern.png'); 
 background-repeat: no-repeat;   background-attachment: fixed;  background-size: initial;  
 background-position:  center right;
}


#portfolio .portfolio-item {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;  background-color: #fff;
}

#portfolio .portfolio-item .icon {
  max-width: 100px;
  max-height: 100px; 
 
 
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 200, 0, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity ease-in-out 0.25s;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 1.25rem;
  color: white;
}
#portfolio .portfolio-item .portfolio-link:hover .portfolio-hover {
  opacity: 1;
}
#portfolio .portfolio-item .portfolio-caption {
  padding: 1.5rem;
  text-align: center;
  background-color: #fff;
}
#portfolio .portfolio-item .portfolio-caption .portfolio-caption-heading {
  font-size: 1.5rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  margin-bottom: 0;
}
#portfolio .portfolio-item .portfolio-caption .portfolio-caption-subheading {
  font-style: italic;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}
.portfolio-modal .modal-content {
  padding-top: 6rem;
  padding-bottom: 6rem;
  text-align: center;
}
.portfolio-modal .modal-content h2, .portfolio-modal .modal-content .h2 {
  font-size: 3rem;
  line-height: 3rem;
}
.portfolio-modal .modal-content p.item-intro {
  font-style: italic;
  margin-bottom: 2rem;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.portfolio-modal .modal-content p {
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content ul.list-inline {
  margin-bottom: 2rem;
}
.portfolio-modal .modal-content img {
  margin-bottom: 2rem;
}
.portfolio-modal .close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  background-color: transparent;
}
.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #e9ecef;
}
.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}
.timeline > li:after, .timeline > li:before {
  display: table;
  content: " ";
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #aa7918;
}
.timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li:last-child {
  margin-bottom: 0;
}
.timeline .timeline-heading h4, .timeline .timeline-heading .h4 {
  margin-top: 0;
  color: inherit;
}
.timeline .timeline-heading h4.subheading, .timeline .timeline-heading .subheading.h4 {
  text-transform: none;
}
.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}
@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}
.team-member {
  margin-bottom: 3rem;
  text-align: center;
}
.team-member img {
  width: 14rem;
  height: 14rem;
  border: 0.5rem solid rgba(170, 121, 24, 0.5);
}
.team-member h4, .team-member .h4 {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.img-brand {
  height: 2.75rem;
}

section#contact {
  background-color: #212529;
  background-image: url("../assets/img/map-image.png");
  background-repeat: no-repeat;
  background-position: center;
}
section#contact .section-heading {
  color: #fff;
}
section#contact form#contactForm .form-group {
  margin-bottom: 1.5rem;
}
section#contact form#contactForm .form-group input,
section#contact form#contactForm .form-group textarea {
  padding: 1.25rem;
}
section#contact form#contactForm .form-group input.form-control {
  height: auto;
}
section#contact form#contactForm .form-group-textarea {
  height: 100%;
}
section#contact form#contactForm .form-group-textarea textarea {
  height: 100%;
  min-height: 10rem;
}
section#contact form#contactForm p.help-block {
  margin: 0;
}
section#contact form#contactForm .form-control:focus {
  border-color: #aa7918;
  box-shadow: none;
}
section#contact form#contactForm ::-webkit-input-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm :-moz-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm ::-moz-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}
section#contact form#contactForm :-ms-input-placeholder {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  color: #ced4da;
}

.footer {
  padding-top:100px;
  font-size: 0.95rem; font-weight: 600;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-image: url(../img/footer-background.png);
  background-repeat: no-repeat;  background-size: cover;
  min-height: 300px; background-color: #313131; color: #9b9b9b;
}

.footer h4,h6 {color: #fff;}
.footer li a {color: #9b9b9b;line-height: 200%; font-weight: 500;
transition: transform 0.3s ease-out, background-color 0.3s ease-out;
    
    
    transform-origin: left; }
.footer li a:hover {color: #9b9b9b; transform: translateX(10px);}

.contactdetails ul {list-style-type: none;padding: 0;margin: 0; }

.contactdetails li a  {
  color: #f2cb64; line-height: 200%; text-decoration: none; 
  list-style-type: none;  display: inline-block;
  padding: 0;
  margin: 0;
  font-weight: 500;
}

.credits {color: #fff; font-size: 12px; font-weight: 600;}

.btn-black{
   font-family: 'DM Serif Display',Georgia,"Times New Roman",serif;
  color: #000; font-size: 21px; text-decoration: none; background-color: none;
}

 .btn-black:hover {color: #f2cb64;}

.arrow {
  height: 2px;
  width: 25px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: 15px;
  margin-bottom: 4px;
  transition: all .4s ease;
}

a:hover .arrow {
  width: 45px;
  margin-right: 5px;
}

.arrow-black {
  background: #f2cb64;;
}
.arrow:before,
.arrow:after {
  content: "";
  background: #f2cb64;
  position: absolute;
  height: 2px;
  width: 10px;
  border-radius: 30%;
}

.arrow:before {
  right: -2px;
  bottom: -3px;
  transform: rotate(-45deg);
}

.arrow:after {
  right: -2px;
  top: -3px;
  transform: rotate(45deg);
}

.contact-info {
 
}

.contact-info-item {
  display: flex;
  margin-bottom: 10px;
}

.contact-info-icon {
  height: 40px;
  width: 40px; line-height: 40px;
  background-color: #aa7918; color:#fff ;
  text-align: center; font-size: 16px;
  border-radius: 50%;
}

.contact-info-icon i {
  font-size: 20px;
  line-height: 40px; color: #aa7918;
}

.contact-info-content {
  margin-left: 20px;
}

.contact-info-content h4 {
  color: #aa7918;
  font-size: 1.2em;
  margin-bottom: 2px;
}

.contact-info-content p {
  color: #000;
  font-size: 1em;
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  
  padding-bottom: 20px;
  padding-top: 20px;
}

.contact-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
}

.contact-form .input-box {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contact-form .input-box input,
.contact-form .input-box textarea{
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 1px solid #333;
  outline: none;
  resize: none;
}

.contact-form .input-box span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px; font-weight: 300;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}

.contact-form .input-box input:focus ~ span,
.contact-form .input-box textarea:focus ~ span{
  color: #aa7918;
  font-size: 12px;
  transform: translateY(-20px);
}

.contact-form .input-box input[type="submit"]
{
  width: 100%;
  background: #aa7918;
  color: #FFF;
  border: none;
  cursor: pointer;
  padding: 10px; font-family: 'DM Serif Display',Georgia,"Times New Roman",serif;
  font-size: 21px;
  border: 1px solid #f2cb64;
  transition: 0.5s;
}

.contact-form .input-box input[type="submit"]:hover
{
  background: #f2cb64;
  color: #000;
}

@media (max-width: 991px) {
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .row {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 40px;
    width: 100%;
  }
  
  .contact-form {
    width: 100%;
  }
}

.is-style-fairheads .wp-block-button__link:hover {
    color: #f2cb64;
}