/*
Theme Name: JRMCPA
Theme URI: <THEME_URI>
Description: A Theme for WordPress with Bootstrap for styling.
Author: Metre, LLC
Author URI: https://metreagency.com/
Version: 1.0
*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

/*
  SITE COLORS
  Light Blue: #F0F5FE
  Navy: #223B80
  Dark Navy: #0E2050
  Yellow: #E6C66A
  Dark Yellow: #D5AF42

  FONTS
  Neue Haas Grotesk Display Pro 55 Roman
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 500;
  font-style: normal;

  Neue Haas Grotesk Display Pro 56 Italic
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 500;
  font-style: italic;

  Neue Haas Grotesk Display Pro 65 Medium
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 600;
  font-style: normal;
*/



body {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 500;
  font-style: normal;
  background-color: #F0F5FE;
}

/*
    TYPE STYLES
*/
h1, h2, h3, h4, h5 {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 600;
  font-style: normal;
}
h1 {
  font-size: min(max(32px, 4vw), 60px);
}
h2 {
  margin-bottom: 16px;
}
p, li {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #0E2050!important;
  font-size: 18px;
  line-height: 1.75em;
}
i, em {
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 500;
  font-style: italic;
}
a {
  color: #E6C66A;
  text-decoration: none;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
a:hover {
  color: #E6C66A;
  text-decoration: underline;
}

/*
    HEADER
*/
div#primary-nav {
  width: 100%;
  background-color: #0E2050;
  color: #fff;
}
.header-logo {
  max-width: 240px;
  margin: 14px auto;
}
div.home-header-border {
  height: 4px;
  width: 45%;
  background-color: #D5AF42;
  outline-color: #D5AF42;
  margin-bottom: 22px;
}

/*
    HOMEPAGE
*/
h3.tax-planning, h3.accounting, h3.payroll, h3.assurance, h3.business-advising {
  font-size: 22px;
}
h3.tax-planning:before {
  background-image: url('/wp-content/themes/jrmcpa/svg/tax-planning.svg');
  background-size: 50px 50px;
  display: inline-block;
  width: 50px;
  height: 50px;
  position: relative;
  top: 18px;
  right: 2px;
  content:"";
}
h3.accounting:before {
  background-image: url('/wp-content/themes/jrmcpa/svg/Accounting.svg');
  background-size: 50px 50px;
  display: inline-block;
  width: 50px;
  height: 50px;
  position: relative;
  top: 18px;
  right: 2px;
  content:"";
}
h3.payroll:before {
  background-image: url('/wp-content/themes/jrmcpa/svg/payroll.svg');
  background-size: 40px 40px;
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
  top: 10px;
  right: 8px;
  content:"";
}
h3.assurance:before {
  background-image: url('/wp-content/themes/jrmcpa/svg/assurance.svg');
  background-size: 50px 50px;
  display: inline-block;
  width: 50px;
  height: 50px;
  position: relative;
  top: 18px;
  right: 2px;
  content:"";
}
h3.business-advising:before {
  background-image: url('/wp-content/themes/jrmcpa/svg/BusinessAdvising.svg');
  background-size: 50px 50px;
  display: inline-block;
  width: 50px;
  height: 50px;
  position: relative;
  top: 18px;
  right: 2px;
  content:"";
}

.services-links a:hover {
  color: #F0F5FE;
}
/*
.services-boxes span {
  background: linear-gradient(180deg,rgb(14,32,80) 0%,rgb(34,59,128) 100%);
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.services-boxes span:hover {
  background: linear-gradient(180deg,rgb(213,175,66) 0%,rgb(230,198,106) 100%)!important;
}
*/

/*
    L2 PAGES
*/
.we-value-section > h3, .we-value-section > p {
  margin-bottom: 0;
}
.job-postings {
  width: 100%;
  color: #0E2050;
  border-bottom: 1px solid #0E2050;
  padding-bottom: 8px;
}
.job-postings a {
  color: #0E2050;
}
.l2-ghostbox {
  width: fit-content;
  background-color: #0E2050;
  color: #fff!important;
  border: 1px solid #0E2050;
  padding: 6px 12px;
  font-weight: 600;
}
.continuous-services-graphic-desktop {
  display: block;
}
.continuous-services-graphic-mobile {
  display: none;
}

/*
    NAV
*/


/*
    FORMS
*/


/*
    BUTTONS
*/
span.kt-blocks-accordion-title-wrap {
  font-weight: 600;
}

a.btn.btn-primary {
  background-color: #D5AF42;
  color: #0E2050;
  border-radius: 18px;
  border-color: #D5AF42;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 600;
}
a.btn.btn-primary:hover {
  background-color: #0E2050;
  color: #F0F5FE;
  border-radius: 18px;
  border-color: #0E2050;
  text-decoration: none;
}
a.btn.btn-primary:after {
  background-image: url('/wp-content/themes/jrmcpa/svg/chevron.svg');
  background-size: 10px 18px;
  display: inline-block;
  width: 10px;
  height: 18px;
  position: relative;
  top: 4px;
  left: 2px;
  content:"";
}
a.btn.btn-primary:hover:after {
  background-image: url('/wp-content/themes/jrmcpa/svg/chevron-hover.svg');
  background-size: 10px 18px;
  display: inline-block;
  width: 10px;
  height: 18px;
  position: relative;
  top: 4px;
  left: 2px;
  content:"";
}

/*
  WORDPRESS / BOOTSTRAP
*/
.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container {
  width: 1320px;
}
.wp-bootstrap-blocks-container {
  margin-top: 32px;
  margin-bottom: 32px;
}
/*
  KADENCE BLOCKS TWEAKS
*/
ul.kt-tabs-title-list {
  font-weight: 600;
  font-size: 22px;
}
/*
    FOOTER
*/
footer {
  width: 100%;
  color: #fff;
  background:linear-gradient(0deg, rgba(14, 32, 80, 0.9), rgba(14, 32, 80, 0.9)), url(/wp-content/uploads/2023/08/footer-img.png);
  background-size:cover;
  min-height: 556px;
  padding-top: 54px;
  margin-top: 140px;
}
footer p.copyright {
  color: #fff!important;
}
.footer-badges {
  width: 180px;
}
.quick-links-text {
  margin-left: 10px;
}
.quick-links-border {
  margin-left: 10px;
  width: 10%;
  border-bottom: 3px solid #D5AF42;
}
div.footer-box {
  background-color: #D5AF42;
  color: #0E2050;
  padding: 30px;
  position: relative;
  top: -100px;
  z-index: 1000;
}
div.footer-box img {
  margin-bottom: 12px;
}
div.footer-box p {
  color: #0E2050;
}
div.footer-box p a {
  color: #0E2050;
  text-decoration: none;
}
div.footer-box p a:hover {
  text-decoration: underline;
}
.footer-logo {
  max-width: 220px;
}




/*
    MEDIA QUERIES
*/
@media (min-width: 1200px) {
  #mega-menu-wrap-primary #mega-menu-primary[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
    margin-top: 20px!important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.payment-portal a,   #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.payment-portal a:visited {
    background-color: #D5AF42;
    background-position: bottom;
    color: #fff;
    border-radius: 20px;
    border: 2px solid #D5AF42;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 600;
    padding: 9px 8px 0px;
    margin-left: 8px;
    position: relative;
    line-height: normal;
    top: 27px;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.payment-portal a:hover {
    background-color: transparent;
    color: #fff;
    border: 2px solid #D5AF42;
  }
}

@media (max-width: 1400px) {

}

@media (max-width: 1200px) {
  img.footer-logo {
    width: 75%;
  }
  #mega-menu-wrap-primary #mega-menu-primary {
    margin-top: 80px;
    margin-bottom: 20px;
  }
}
@media (max-width: 992px) {
  .we-value-section {
    text-align: center;
  }
  .badge-col {
    margin-top: 22px;
    margin-bottom: 22px;
  }
}

@media (max-width: 768px) {
  .continuous-services-graphic-desktop {
    display: none;
  }
  .continuous-services-graphic-mobile {
    display: block;
  }
}

@media (max-width: 576px) {
  .wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container {
    width: unset;
  }
}
