/* === Red Barn Media Group - Global Styles - J.C.'s Heating and Air === */

body {
  width: 100%;
  height: 100%;
  color: #000;
  font-family: geologica-variable, sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #fff;
}

html {
  width: 100%;
  height: 100%;
}

h1,
h2 {
  font-family: poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}
h3,
h4,
h5,
h6 {
  font-family: poppins, sans-serif;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
}

.geologica-400 {
  font-family: geologica-variable, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.geologica-700 {
  font-family: geologica-variable, sans-serif;
  font-weight: 700;
  font-style: normal;
}
.poppins-600 {
  font-family: poppins, sans-serif;
  font-weight: 600;
  font-style: normal;
}
.poppins-700 {
  font-family: poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
}
.fs-7 {
  font-size: 0.85rem;
}
.fs-8 {
  font-size: 0.65rem;
}
/* === Menu Styles :: BEGIN === */
.menu-container {
  background-color: white;
  margin-top: 0rem !important;
}
.menu-container.shrink-menu {
  margin-top: 0rem !important;
  border-bottom: 1px solid #000;
}
.menu-container .container .row .col-12 nav.navbar-light {
  background: transparent !important;
  padding: 1rem;
}
.navbar-nav {
  width: 100%;
}
.navbar-light .navbar-nav .nav-link {
  color: #000 !important;
  font-family: geologica-variable, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 0.95rem;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active {
  color: #22549f !important;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #eee !important;
  border-radius: 0.25rem;
}
.dropdown-item:hover,
.dropdown-item:active {
  color: #22549f !important;
  background-color: #ececec !important;
}
.dropdown-toggle::after {
  display: none;
}
.navbar-expand-xl .navbar-nav .dropdown-menu.main-dropdown {
  top: 4.2rem;
  background: #e8f1ff;
  padding-top: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0.5rem;
  border: 0;
  border-radius: 1rem;
  box-shadow: none;
  transition-duration: 0.25s;
}
.shrink-menu .navbar-expand-xl .navbar-nav .dropdown-menu.main-dropdown {
  top: 3.9rem;
  transition-duration: 0.25s;
}
.navbar-expand-xl .navbar-nav .dropdown-menu.sub-dropdown {
  background: #fff;
  padding: 0.5rem;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.175);
}
.menu-container .container-fluid.mha-logo-row {
  transition-duration: 0.25s;
}
.menu-container.shrink-menu .container-fluid.mha-logo-row {
  transition-duration: 0.25s;
}
.menu-container .container-fluid .row .mha-logo-place {
  position: relative;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 6rem;
  transition-duration: 0.25s;
}
.shrink-menu .navbar-nav {
  height: 5.5rem;
  transition-duration: 0.25s;
}

.mha-logo-desktop {
  position: absolute;
  width: 280px;
  height: 60px;
  top: -1.85rem;
  left: 0;
  margin-left: auto;
  right: 0;
  margin-right: auto;
  transition-duration: 0.25s;
}
.shrink-menu .mha-logo-desktop {
  width: 233px;
  height: 50px;
  top: -1.5rem;
  transition-duration: 0.25s;
}
.mha-menu-top-row .mha-menu-top-col {
  color: #fff;
  margin-top: 0.65rem;
  margin-bottom: 0.65rem;
  transition-duration: 0.25s;
}
.shrink-menu .mha-menu-top-row .mha-menu-top-col {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  transition-duration: 0.25s;
}
.mha-menu-top-row .mha-menu-top-col p {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.dropend .dropdown-item::after {
  display: none;
}
.nav-fill .nav-item .dropdown-item {
  text-align: left !important;
  color: #000;
}
.dropstart .dropdown-toggle::before {
  display: none !important;
}
/* === Menu Styles :: END === */
/* === Button Styles :: BEGIN === */
.btn {
  padding: 0.75rem 1rem !important;
  font-family: geologica-variable, sans-serif;
  font-weight: 600;
  font-style: normal;
  border-radius: 1rem;
}
.btn.btn-menu {
  padding: 0.75rem 0.85rem !important;
  font-size: 0.85rem !important;
}
.btn.btn-lg {
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
}
.btn.btn-xl {
  padding: 1.25rem 1.75rem !important;
  font-size: 1.5rem !important;
}
.btn-primary {
  color: #fff;
  background: #22549f;
  border-color: #22549f;
}
.btn-primary:hover {
  color: #fff;
  background: #1d4a8c;
  border-color: #1d4a8c;
}
.btn-primary.dark {
  color: #fff;
  background: #051a33;
  border-color: #051a33;
}
.btn-primary.dark:hover {
  color: #fff;
  background: #0a2444;
  border-color: #0a2444;
}
.btn-outline-primary {
  color: #22549f;
  background: transparent;
  border: 2px solid #22549f;
  border-color: #22549f;
}
.btn-outline-primary:hover {
  color: #fff;
  background: #22549f;
  border-color: #22549f;
}
.btn-dark {
  color: #fff;
  background: #000;
  border-color: #000;
}
.btn-dark:hover {
  color: #fff;
  background: #1a1a1a;
  border-color: #1a1a1a;
}
.btn-rollover {
  color: #22549f;
  background: transparent;
  border: 1px solid #22549f;
  font-family: poppins, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  font-style: normal;
  text-transform: uppercase;
  height: 100%;
}
.btn-rollover:hover,
.btn-rollover.active {
  color: #fff !important;
  background: #000 !important;
  border: 1px solid #000;
}
.btn-danger {
  color: #fff;
  background: #e93047;
  border-color: #e93047;
}
.btn-danger:hover {
  color: #fff;
  background: #f84259;
  border-color: #e93047;
}
.btn-anti-flex {
  align-self: flex-start;
}
/* === Button Styles :: END === */
/* === Color Styles :: BEGIN === */
.text-primary {
  color: #22549f !important;
}
.bg-primary {
  background: #22549f !important;
}
.border-primary {
  border-color: #22549f !important;
}

.text-primary.dark {
  color: #051a33 !important;
}
.bg-primary.dark {
  background: #051a33 !important;
}
.border-primary.dark {
  border-color: #051a33 !important;
}

.text-primary.light {
  color: #e8f1ff !important;
}
.bg-primary.light {
  background: #e8f1ff !important;
}
.border-primary.light {
  border-color: #e8f1ff !important;
}

.text-light {
  color: #f5f5f7 !important;
}
.bg-light {
  background: #f5f5f7 !important;
}
.border-light {
  border-color: #f5f5f7 !important;
}

.text-dark {
  color: #000 !important;
}
.bg-dark {
  background: #000 !important;
}
.border-dark {
  border-color: #000 !important;
}

.text-666 {
  color: #666 !important;
}
/* === Color Styles :: END === */
/* === Footer Styles :: BEGIN === */
footer {
  background: #000;
}

.bg-rbmg {
  background: #352f36;
}
/* === Footer Styles :: END === */
/* === Utility Styles :: BEGIN === */
.card-header.angle {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

a {
  text-decoration: none;
}
.dashed {
  border-style: dashed;
}

/* Accordion Styles */
.accordion-item {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
}

.accordion-item:last-of-type,
.accordion-button {
  border-radius: 0 !important;
}
.accordion-button {
  background-color: transparent;
  box-shadow: none;
  font-family: figtree, sans-serif;
  font-weight: 400;
  color: black;
}

.accordion-button:not(.collapsed) {
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(25%) sepia(75%) saturate(2500%) hue-rotate(205deg) brightness(90%) contrast(110%);
}

.accordion-button:focus {
  box-shadow: none; /* Removes default Bootstrap focus glow */
}

/* .accordion-button:not(.collapsed) {
  background: #1d4a8c !important;
} */
/* === Utility Styles :: END === */
@media (max-width: 1600px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 0.8rem;
  }
  .btn.btn-menu {
    font-size: 0.8rem !important;
  }
}
@media (max-width: 1400px) {
  .mha-logo-desktop {
    position: absolute;
    width: 200px;
    height: 43px;
    top: -1.25rem;
    left: 0;
    margin-left: auto;
    right: 0;
    margin-right: auto;
    transition-duration: 0.25s;
  }
  .shrink-menu .mha-logo-desktop {
    width: 185px;
    height: 40px;
    top: -1rem;
    transition-duration: 0.25s;
  }
}
@media (max-width: 1199px) {
  .mha-menu-top-row .mha-menu-top-col {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition-duration: 0.25s;
  }
  .shrink-menu .mha-menu-top-row .mha-menu-top-col {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    transition-duration: 0.25s;
  }
  .navbar-expand-xl .navbar-nav .dropdown-menu.main-dropdown {
    top: 4.2rem;
    background: #e8f1ff;
    padding-top: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    border: 0;
    border-radius: 1rem;
    box-shadow: none;
    transition-duration: 0.25s;
  }
  .navbar-expand-xl .navbar-nav .dropdown-menu.sub-dropdown {
    background: #fff;
    padding: 0.5rem;
    border: 0;
    border-radius: 1rem;
    box-shadow: none;
  }
  .navbar-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    transition-duration: 0.25s;
    width: auto;
  }
  .shrink-menu .navbar-nav {
    height: fit-content;
    transition-duration: 0.25s;
  }
  .navbar {
    display: flex;
    height: 80px;
    transition-duration: 0.25s;
  }
  .shrink-menu .navbar {
    height: 65px;
    transition-duration: 0.25s;
  }
  .menu-container .container-fluid .row .mha-logo-place a.mha-logo {
    position: absolute;
    background: url(../img/mha-logo.svg);
    background-size: cover;
    width: 412px;
    height: 60px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 1rem;
    transition-duration: 0.25s;
    z-index: 10;
  }

  .menu-container.shrink-menu .container-fluid .row .mha-logo-place a.mha-logo {
    background: url(../img/mha-logo.svg);
    background-size: cover;
    width: 342px;
    height: 50px;
    top: 0.5rem;
    transition-duration: 0.25s;
  }
  .nav-fill .nav-item,
  .nav-fill > .nav-link {
    flex: 1 1 auto;
    text-align: left;
  }
  .rotate-at-mobile {
    transform: rotate(90deg);
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 0.95rem;
  }
}

@media (max-width: 991px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 1.35rem;
  }

  .d-flex{
    display: none !important;
  }
}

@media (max-width: 767px) {
  .menu-container .container-fluid .row .mha-logo-place a.mha-logo {
    position: absolute;
    background: url(../img/mha-logo.svg);
    background-size: cover;
    width: 275px;
    height: 40px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 1.25rem;
    transition-duration: 0.25s;
  }
  .menu-container.shrink-menu .container-fluid .row .mha-logo-place a.mha-logo {
    background-size: cover;
    width: 219px;
    height: 32px;
    top: 1rem;
    transition-duration: 0.25s;
  }
}

@media (max-width: 576px) {
  .menu-container .container-fluid .row .mha-logo-place a.mha-logo {
    position: absolute;
    background: url(../img/mha-logo.svg);
    background-size: cover;
    width: 220px;
    height: 32px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 1.5rem;
    transition-duration: 0.25s;
  }
  .menu-container.shrink-menu .container-fluid .row .mha-logo-place a.mha-logo {
    background-size: cover;
    width: 178px;
    height: 26px;
    top: 1.25rem;
    transition-duration: 0.25s;
  }
}

@media (max-width: 450px) {
}
