/* === Red Barn Media Group - Global Styles - Bryans Air Conditioning and Heating === */

body {
  width: 100%;
  height: 100%;
  color: #000b30;
  font-family: 'Outfit', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #fff;
}

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

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-weight: 700;
}
.bold,
b {
  font-weight: 700;
}
.medium {
  font-weight: 500;
}
.regular {
  font-weight: 400;
}
.light {
  font-weight: 300;
}

/* === Menu Styles :: BEGIN === */
.menu-container {
  background: transparent;
  margin-top: 3rem !important;
  transition-duration: 0.25s;
  padding-left: 8rem;
  padding-right: 8rem;
}
.menu-container.shrink-menu {
  background: #00061e;
  margin-top: 0rem !important;
  transition-duration: 0.25s;
}

.menu-container .container .row .col-12 nav.navbar-light {
  background: transparent !important;
  padding: 1rem;
}

.navbar-light .navbar-nav .nav-link {
  color: #fff !important;
  font-size: 1rem;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active {
  color: #f1c332 !important;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #eee !important;
}
.dropdown-item:active {
  color: #ce4033 !important;
  background-color: #eee !important;
}
.dropdown-toggle::after {
  display: none;
}
.menu-container .container-fluid.rbmg-logo-row {
  transition-duration: 0.25s;
}
.menu-container.shrink-menu .container-fluid.rbmg-logo-row {
  transition-duration: 0.25s;
}
.menu-container .container-fluid .row .rbmg-logo-place {
  width: 200px;
  height: 125px;
  position: relative;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*height: 125px;*/
  transition-duration: 0.25s;
}
.shrink-menu .navbar-nav {
  /*height: 100px;*/
  transition-duration: 0.25s;
}
.menu-container .container-fluid .row .rbmg-logo-place a.rbmg-logo {
  position: absolute;
  background: url(../img/rbmg-logo.svg);
  width: 200px;
  height: 125px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  transition-duration: 0.25s;
}
.menu-container.shrink-menu .container-fluid .row .rbmg-logo-place a.rbmg-logo {
  width: 160px;
  height: 100px;
  top: 0.75rem;
  transition-duration: 0.25s;
}
.dropend .dropdown-item::after {
  display: none;
}
.nav-fill .nav-item .dropdown-item {
  text-align: left !important;
  font-weight: 400;
}
/*
.rbmg-mega-dropdown-menu a.list-group-item{
    background: rgb(241,242,242);
    border-radius: 1rem;
}
.rbmg-mega-dropdown-menu a.list-group-item:hover {
    background: rgb(45,16,47);
    background: linear-gradient(45deg, rgba(87, 22, 91, 1) 10%, rgba(206,64,51,1) 90%);
}
.rbmg-mega-dropdown-menu a.list-group-item h4 {color:#57165b!important;}
.rbmg-mega-dropdown-menu a.list-group-item:hover h4 {color:#fff!important;}
.rbmg-mega-dropdown-menu a.list-group-item h6 {color:#57165b!important;}
.rbmg-mega-dropdown-menu a.list-group-item:hover h6 {color:#fff!important;}
.rbmg-mega-dropdown-menu a.list-group-item:hover p {color:#fff!important;}
*/

.rbmg-mega-dropdown-menu a.list-group-item {
  border-left: 3px solid #ce4033 !important;
  border-radius: 0.25rem;
}
.rbmg-mega-dropdown-menu a.list-group-item:hover {
  background: #000b30;
}
.rbmg-mega-dropdown-menu a.list-group-item h6,
.rbmg-mega-dropdown-menu a.list-group-item h4 {
  color: #000b30 !important;
}
.rbmg-mega-dropdown-menu a.list-group-item:hover h6,
.rbmg-mega-dropdown-menu a.list-group-item:hover h4 {
  color: #fff !important;
}
.rbmg-mega-dropdown-menu a.list-group-item:hover p {
  color: #fff !important;
}
/* === Menu Styles :: END === */
/* === Button Styles :: BEGIN === */
.btn {
  padding: 0.75rem 1.25rem !important;
  font-weight: 700;
  transition-duration: 0.25s;
  border-radius: 0;
}
.btn-menu {
  padding: 1.25rem 1rem !important;
  font-weight: 700;
  transition-duration: 0.25s;
  border-radius: 50rem;
}
.btn.btn-lg {
  padding: 1rem 1.5rem !important;
  font-size: 1rem !important;
}
.btn.btn-xl {
  padding: 1.25rem 1.75rem !important;
  font-size: 1.75rem !important;
}
.btn-danger {
  color: #fff;
  background: #ce4033;
  border-color: #ce4033;
}
.btn-danger:hover {
  color: #fff;
  background: #f64f3f;
  border-color: #ce4033;
}
.btn-light {
  color: #ce4033;
  background: #fff;
  border-color: #fff;
}
.btn-light:hover {
  color: #f64f3f;
  background: #fff;
  border-color: #ce4033;
}
.btn-outline-light {
  color: #fff;
  background: transparent;
  border-color: #fff;
}
.btn-outline-light:hover {
  color: #f64f3f;
  background: #fff;
  border-color: #fff;
}

.btn-midnight {
  color: #fff;
  background: #00061e;
  border-color: #00061e;
}
.btn-midnight:hover {
  color: #fff;
  background: #57165b;
  border-color: #00061e;
}

.btn-outline-midnight {
  color: #00061e;
  background: transparent;
  border-color: #00061e;
}
.btn-outline-midnight:hover {
  color: #fff;
  background: #00061e;
  border-color: #00061e;
}

/* === Button Styles :: END === */
/* === Nav Pills (RBMG) :: BEGIN === */
.nav-pills {
  gap: 0.5rem;
}

.nav-pills .nav-link {
  color: #2d102f;
  background-color: transparent;
  border: 1px solid #2d102f;
  border-radius: 0;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: #fff;
  background-color: #57165b;
  border-color: #2d102f;
  text-decoration: none;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #00061e;
  border-color: #00061e;
}

.nav-pills .nav-link.active:hover,
.nav-pills .show > .nav-link:hover {
  background-color: #000b30;
  border-color: #00061e;
}

.nav-pills .nav-link.disabled,
.nav-pills .nav-link:disabled {
  color: #999;
  background-color: transparent;
  border-color: #ddd;
  opacity: 0.65;
  pointer-events: none;
}
/* === Nav Pills (RBMG) :: END === */
/* === Color Styles :: BEGIN === */
.text-danger {
  color: #ce4033 !important;
}
.bg-danger {
  background: #ce4033 !important;
}
.bg-danger {
  background: #ce4033 !important;
}
.border-danger {
  border-color: #ce4033 !important;
}

.rbmg-gradient {
  background: rgb(0, 11, 48);
  background: linear-gradient(
    60deg,
    rgba(0, 11, 48, 1) 10%,
    rgba(45, 16, 47, 1) 25%,
    rgba(111, 44, 35, 1) 50%,
    rgba(206, 64, 51, 1) 85%
  );
}

.rbmg-gradient-deep {
  background: rgb(0, 11, 48);
  background: linear-gradient(
    60deg,
    rgba(0, 11, 48, 1) 25%,
    rgba(45, 16, 47, 1) 75%,
    rgba(111, 44, 35, 1) 85%,
    rgba(206, 64, 51, 1) 95%
  );
}

.text-rbmg-gradient {
  /* Fallback: Set a background color. */
  background-color: #2d102f;

  /* Create the gradient. */
  background-image: linear-gradient(45deg, #2d102f, #ce4033);

  /* Set the background size and repeat properties. */
  background-size: 100%;
  background-repeat: repeat;

  /* Use the text as a mask for the background. */
  /* This will show the gradient as a text color rather than element bg. */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  background-clip: text;
}

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

.text-purple {
  color: #2d102f !important;
}
.text-purple.tint {
  color: #57165b !important;
}
.bg-purple {
  background: #2d102f !important;
}
.bg-purple {
  background: #2d102f !important;
}
.border-purple {
  border-color: #2d102f !important;
}

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

.text-666 {
  color: #666 !important;
}

/* === Color Styles :: END === */
/* === Footer Styles :: BEGIN === */
footer {
  background: #000;
}
/* === Footer Styles :: END === */
/* === Utility Styles :: BEGIN === */
.card {
  border-radius: 0;
  transition-duration: 0.25s;
}
.card-header {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.card-footer {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.card.card-grow-and-shift:hover {
  transform: scale(1.025);
  transform: translate(0, -0.25rem);
  transition-duration: 0.25s;
}
a .card.border-secondary.bg-light {
  transition-duration: 0.25s;
}
a:hover .card.border-secondary.bg-light {
  background: #fbfbfb !important;
  transition-duration: 0.25s;
  box-shadow: 0rem 0.25rem 0.5rem #d8d8d8;
}
.card.underline-hover-effect h4::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background-color: #ce4033;
  transition: width ease 0.5s;
}
.card.underline-hover-effect.rbmg-gradient-card h4::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: width ease 0.5s;
}
.card.underline-hover-effect:hover h4::after {
  width: 100%;
}
.center-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
a img.shadow {
  transition-duration: 0.25s;
}
a:hover img.shadow {
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.25) !important;
  transition-duration: 0.25s;
}

.rbmg-gradient-card {
  background: rgb(0, 11, 48);
  background: linear-gradient(
    60deg,
    rgba(0, 11, 48, 1) 10%,
    rgba(45, 16, 47, 1) 25%,
    rgba(111, 44, 35, 1) 50%,
    rgba(206, 64, 51, 1) 85%
  );
  background-attachment: fixed;
  transition-duration: 0.25s;
}
/* === Vertical Carousel Styles :: BEGIN === */
.vertical.carousel .carousel-item {
  overflow: hidden;
}

.vertical.carousel .carousel-item-next:not(.carousel-item-start),
.vertical.carousel .active.carousel-item-end {
  transform: translateY(100%);
}

.vertical.carousel .carousel-item-prev:not(.carousel-item-end),
.vertical.carousel .active.carousel-item-start {
  transform: translateY(-100%);
}

.vertical.carousel .carousel-indicators {
  top: 0;
  left: unset;

  margin-left: unset !important;
  margin-right: 1rem;

  flex-direction: column;
}

.vertical.carousel .carousel-indicators [data-bs-target] {
  height: 30px;
  width: 3px;
}

.vertical.carousel .carousel-control-prev,
.vertical.carousel .carousel-control-next {
  height: 60px;
}

.vertical.carousel .carousel-control-prev-icon,
.vertical.carousel .carousel-control-next-icon {
  transform: rotateZ(90deg);
}

.vertical.carousel .carousel-control-next {
  top: unset;
  bottom: -2rem;
}
.carousel-control-prev {
  top: -2.75rem;
  left: unset;
  right: 0 !important;
}
/* === Vertical Carousel Styles :: END === */
/* === Horizontal Card Scroll Styles :: BEGIN === */
.scroll {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.scroll .card {
  flex: auto;
  flex-shrink: 0;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.rbmg-division {
  background: #fff;
  width: 100%;
  height: 300px;
}
.rbmg-division.hvac {
  background: url(../img/rbmg-division-hvac.webp) right;
  background-size: cover;
}
.rbmg-division.plumbing {
  background: url(../img/rbmg-division-plumbing.webp) right;
  background-size: cover;
}
.rbmg-division.electrician {
  background: url(../img/rbmg-division-electrician.webp) right;
  background-size: cover;
}
.rbmg-division.construction {
  background: url(../img/rbmg-division-construction.webp) right;
  background-size: cover;
}
.rbmg-division.roofing {
  background: url(../img/rbmg-division-roofing.webp) right;
  background-size: cover;
}
.rbmg-division.landscaping {
  background: url(../img/rbmg-division-landscaping.webp) right;
  background-size: cover;
}
.scroll::-webkit-scrollbar {
  padding-left: 1rem;
  padding-right: 1rem;
  height: 1rem;
}

.scroll::-webkit-scrollbar-thumb,
.scroll::-webkit-scrollbar-track {
  border-radius: 50rem;
}

.scroll::-webkit-scrollbar-thumb {
  background: #ce4033;
}

.scroll::-webkit-scrollbar-track {
  background: #00061e;
}

.scroll:hover {
  -webkit-transition: 3.3s;
  -moz-transition: 3.3s;
  transition: 3.3s;

  -webkit-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  transition-timing-function: linear;
}
/* === Horizontal Card Scroll Styles :: END === */
/* === Logo Scroll Styles :: BEGIN === */
.logo-slider {
  height: fit-content;
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.logo-slider::before {
  left: 0;
  top: 0;
}
.logo-slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
/* IMPORTANT CODE BELOW */
.logo-slide-track {
  width: calc(250px * 16);
  display: flex;
  animation: scroll 20s linear infinite;
  justify-content: space-between;
}
.logo-slide {
  width: 200px;
  height: 100px;
  display: grid;
  place-items: center;
  transition: 0.5s;
  cursor: pointer;
}
.logo-slide:hover {
  transform: scale(1.1);
}
@keyframes scroll {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(calc(-150px * 10));
  }
}
/* === Logo Scroll Styles :: END === */
.timeline-with-icons {
  border-left: 0.25rem solid #ececec;
  position: relative;
  list-style: none;
}

.timeline-with-icons .timeline-item {
  position: relative;
}

.timeline-with-icons .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-with-icons .timeline-icon {
  position: absolute;
  left: -48px;
  background-color: #ececec;
  color: #e12e27;
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rbmg-thank-you-padding {
  padding-top: 18rem;
  padding-bottom: 6rem;
}
/* === Utility Styles :: END === */
@media (max-width: 1400px) {
  .menu-container {
    margin-top: 1rem !important;
    transition-duration: 0.25s;
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .navbar-nav {
    height: 4rem;
  }
  .shrink-menu .navbar-nav {
    height: 3.5rem;
    transition-duration: 0.25s;
  }
  .menu-container .container-fluid .row .rbmg-logo-place a.rbmg-logo {
    position: absolute;
    background: url(../img/rbmg-logo.svg);
    width: 120px;
    height: 75px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 1.5rem;
    transition-duration: 0.25s;
  }
  .menu-container.shrink-menu .container-fluid .row .rbmg-logo-place a.rbmg-logo {
    width: 110px;
    height: 69px;
    top: 1.75rem;
    transition-duration: 0.25s;
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 1rem;
  }
}
@media (max-width: 1200px) {
  .menu-container {
    margin-top: 0rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
    transition-duration: 0.25s;
  }

  .nav-fill .nav-item,
  .nav-fill > .nav-link {
    flex: 1 1 auto;
    text-align: left;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    transition-duration: 0.25s;
  }
  .shrink-menu .navbar-nav {
    height: fit-content;
    transition-duration: 0.25s;
  }
  .navbar {
    display: flex;
    height: 125px;
    transition-duration: 0.25s;
  }
  .shrink-menu .navbar {
    height: 75px;
    transition-duration: 0.25s;
  }
  .menu-container .container-fluid .row .rbmg-logo-place a.rbmg-logo {
    position: absolute;
    background: url(../img/rbmg-logo-white.svg);
    width: 140px;
    height: 82px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 25px;
    transition-duration: 0.25s;
  }
  .menu-container.shrink-menu .container-fluid .row .rbmg-logo-place a.rbmg-logo {
    width: 110px;
    height: 65px;
    top: 30px;
    transition-duration: 0.25s;
  }

  .rotate-at-mobile {
    transform: rotate(90deg);
  }
  .offcanvas-body {
    background: rgb(0, 11, 48);
    background: linear-gradient(
      0deg,
      rgba(0, 11, 48, 1) 10%,
      rgba(45, 16, 47, 1) 25%,
      rgba(111, 44, 35, 1) 50%,
      rgba(206, 64, 51, 1) 85%
    ) !important;
  }
}

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

@media (max-width: 767px) {
  .navbar {
    display: flex;
    height: 100px;
    transition-duration: 0.25s;
  }
  .shrink-menu .navbar {
    height: 65px;
    transition-duration: 0.25s;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: calc(1.25rem + 2.5vw);
    line-height: 1;
  }
  .fs-4 {
    font-size: calc(1.125rem + 0.15vw) !important;
  }
}

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