/* === Red Barn Media Group - Global Styles - Variable Comfort Solutions === */

body {
  width: 100%;
  height: 100%;
  color: #221f20;
  font-family: montserrat, sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #fff;
}

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

.montserrat-400 {
  font-family: montserrat, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.montserrat-700 {
  font-family: montserrat, sans-serif;
  font-weight: 700;
  font-style: normal;
}
.barlow-400 {
  font-family: barlow-condensed, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.barlow-700 {
  font-family: barlow-condensed, 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: #002e54;
  margin-top: 0rem !important;
  border-bottom: 1px solid transparent;
}
.menu-container.shrink-menu {
  background: #002e54;
  margin-top: 0rem !important;
  border-bottom: 1px solid #6cbedc;
}
.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: #fff !important;
  font-family: montserrat, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 0.9rem;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active {
  color: #f7941d !important;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #004985 !important;
  border-radius: 0.25rem;
}
.dropdown-item:active {
  color: #f7941d !important;
  background-color: #004985 !important;
}
.dropdown-toggle::after {
  display: none;
}
.navbar-expand-xl .navbar-nav .dropdown-menu.main-dropdown {
  top: 2rem;
  background: #002e54;
  padding-top: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 0.5rem;
  border: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.175);
  transition-duration: 0.25s;
}
.shrink-menu .navbar-expand-xl .navbar-nav .dropdown-menu.main-dropdown {
  top: 2rem;
  transition-duration: 0.25s;
}
.navbar-expand-xl .navbar-nav .dropdown-menu.sub-dropdown {
  background: #002e54;
  padding: 0.5rem;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.175);
}
.menu-container .container-fluid.rp-logo-row {
  transition-duration: 0.25s;
}
.menu-container.shrink-menu .container-fluid.rp-logo-row {
  transition-duration: 0.25s;
}
.menu-container .container-fluid .row .rp-logo-place {
  position: relative;
}

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

.rp-logo-desktop {
  position: absolute;
  width: 200px;
  height: 144px;
  top: -4.5rem;
  left: 0;
  margin-left: auto;
  right: 0;
  margin-right: auto;
  transition-duration: 0.25s;
}
.shrink-menu .rp-logo-desktop {
  width: 150px;
  height: 108px;
  top: -3.5rem;
  transition-duration: 0.25s;
}
.rp-menu-top-row .rp-menu-top-col {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition-duration: 0.25s;
}
.shrink-menu .rp-menu-top-row .rp-menu-top-col {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition-duration: 0.25s;
}
.rp-menu-top-row .rp-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: #f7941d;
}
.dropstart .dropdown-toggle::before {
  display: none !important;
}
/* === Menu Styles :: END === */

/* === Button Styles :: BEGIN === */
.btn {
  padding: 1.125rem !important;
  font-weight: 700;
  border-radius: 0.35rem;
}
.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: #6cbedc;
  background: #002e54;
  border-color: #002e54;
}
.btn-primary:hover {
  color: #6cbedc;
  background: #00284a;
  border-color: #002e54;
}
.btn-rollover {
  color: #6cbedc;
  background: #0c4063;
  border-color: #0c4063;
  font-family: barlow-condensed, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}
.btn-rollover:hover,
.btn-rollover.active {
  color: #002e54 !important;
  background: #6cbedc !important;
  border-color: #6cbedc !important;
}
.btn-info {
  color: #002e54;
  background: #6cbedc;
  border-color: #6cbedc;
}
.btn-info:hover {
  color: #002e54;
  background: #3291b3;
  border-color: #6cbedc;
}
.btn-warning {
  color: #002e54;
  background: #f7941d;
  border-color: #f7941d;
}
.btn-warning:hover {
  color: #002e54;
  background: #ffac48;
  border-color: #f7941d;
}
.btn-success {
  color: #002e54;
  background: #6cd14d;
  border-color: #6cd14d;
}
.btn-success:hover {
  color: #002e54;
  background: #83dd67;
  border-color: #6cd14d;
}
.btn-anti-flex {
  align-self: flex-start;
}
/* === Button Styles :: END === */
/* === Color Styles :: BEGIN === */
.text-primary {
  color: #002e54 !important;
}
.bg-primary {
  background: #002e54 !important;
}
.border-primary {
  border-color: #002e54 !important;
}

.text-info {
  color: #6cbedc !important;
}
.bg-info {
  background: #6cbedc !important;
}
.bg-info.subtle {
  background: #d9f5fc !important;
}
.border-info {
  border-color: #6cbedc !important;
}

.text-warning {
  color: #f7941d !important;
}
.bg-warning {
  background: #f7941d !important;
}
.border-warning {
  border-color: #f7941d !important;
}

.text-success {
  color: #6cd14d !important;
}
.bg-success {
  background: #6cd14d !important;
}
.border-success {
  border-color: #6cd14d !important;
}

.text-666 {
  color: #666 !important;
}
/* === Color Styles :: END === */
.img-fluid {
  margin-bottom: 2rem;
}
/* === Footer Styles :: BEGIN === */
footer {
  background: #002e54;
}
/* === Footer Styles :: END === */
/* === Utility Styles :: BEGIN === */
strong,
em,
u {
  font-weight: inherit !important;
  text-decoration: inherit !important;
  font-style: inherit !important;
}
a {
  text-decoration: none;
}
.dashed {
  border-style: dashed;
}

.rp-polygon-01 {
  --background-color: white;
  --border-color: #002e54;
  --border-width: 0.25em;
  --edge-size: 1.5em;
  cursor: pointer;
  background: var(--background-color);
  padding: 2em;
  border: 0;
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-content: center;
  clip-path: polygon(
    var(--edge-size) 0%,
    100% 0,
    100% calc(100% - var(--edge-size)),
    calc(100% - var(--edge-size)) 100%,
    0 100%,
    0% var(--edge-size)
  );
}

div.rp-polygon-01::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--border-color);
  z-index: -2;
}

div.rp-polygon-01::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--background-color);
  z-index: -1;
  clip-path: polygon(
    var(--border-width) calc(var(--edge-size) + var(--border-width) * 0.5),
    calc(var(--edge-size) + var(--border-width) * 0.5) var(--border-width),
    calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width)) calc(100% - calc(var(--edge-size) + var(--border-width) * 0.5)),
    calc(100% - calc(var(--edge-size) + var(--border-width) * 0.5)) calc(100% - var(--border-width)),
    calc(var(--border-width)) calc(100% - var(--border-width))
  );
  transition: clip-path 500ms;
}

.rp-polygon-02 {
  --background-color: #002e54;
  --border-color: #6cbedc;
  --border-width: 0.25em;
  --edge-size: 1.5em;
  cursor: pointer;
  background: var(--background-color);
  border: 0;
  position: relative;
  isolation: isolate;
  display: block;
  place-content: center;
  clip-path: polygon(
    var(--edge-size) 0%,
    100% 0,
    100% calc(100% - var(--edge-size)),
    calc(100% - var(--edge-size)) 100%,
    0 100%,
    0% var(--edge-size)
  );
}

div.rp-polygon-02::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--border-color);
  z-index: -2;
}

div.rp-polygon-02::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--background-color);
  z-index: -1;
  clip-path: polygon(
    var(--border-width) calc(var(--edge-size) + var(--border-width) * 0.5),
    calc(var(--edge-size) + var(--border-width) * 0.5) var(--border-width),
    calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width)) calc(100% - calc(var(--edge-size) + var(--border-width) * 0.5)),
    calc(100% - calc(var(--edge-size) + var(--border-width) * 0.5)) calc(100% - var(--border-width)),
    calc(var(--border-width)) calc(100% - var(--border-width))
  );
  transition: clip-path 500ms;
}

.rp-polygon-03 {
  --border-color: #6cbedc;
  --border-width: 0.125em;
  --edge-size: 1.5em;
  cursor: pointer;
  background: url(../img/rp-banner-partner-bg.svg) center center;
  background-size: cover;
  border: 0;
  position: relative;
  isolation: isolate;
  display: block;
  place-content: center;
  clip-path: polygon(
    var(--edge-size) 0%,
    100% 0,
    100% calc(100% - var(--edge-size)),
    calc(100% - var(--edge-size)) 100%,
    0 100%,
    0% var(--edge-size)
  );
}

div.rp-polygon-03::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--border-color);
  z-index: -2;
}

div.rp-polygon-03::after {
  content: '';
  position: absolute;
  background: url(../img/rp-banner-partner-bg.svg) center center;
  background-size: cover;
  inset: 0;
  z-index: -1;
  clip-path: polygon(
    var(--border-width) calc(var(--edge-size) + var(--border-width) * 0.5),
    calc(var(--edge-size) + var(--border-width) * 0.5) var(--border-width),
    calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width)) calc(100% - calc(var(--edge-size) + var(--border-width) * 0.5)),
    calc(100% - calc(var(--edge-size) + var(--border-width) * 0.5)) calc(100% - var(--border-width)),
    calc(var(--border-width)) calc(100% - var(--border-width))
  );
  transition: clip-path 500ms;
}

.rp-rollover-content-block {
  height: 325px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

u.rp-title-underline {
  text-decoration: none;
  border-bottom: 3px solid;
}

.rp-footer-bg {
  background: rgb(0, 46, 84);
  background: linear-gradient(0deg, rgba(0, 46, 84, 1) 80%, rgba(108, 190, 220, 1) 80%);
}

.list-group,
.card {
  border-radius: 0 !important;
}
/* === Utility Styles :: END === */
@media (max-width: 1400px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 0.85rem;
  }
}
@media (max-width: 1200px) {
  .rp-menu-top-row .rp-menu-top-col {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition-duration: 0.25s;
  }
  .shrink-menu .rp-menu-top-row .rp-menu-top-col {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    transition-duration: 0.25s;
  }

  .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 .rp-logo-place a.rp-logo {
    position: absolute;
    background: url(../img/rp-logo.svg);
    width: 160px;
    height: 115px;
    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 .rp-logo-place a.rp-logo {
    background: url(../img/rp-logo.svg);
    width: 118px;
    height: 85px;
    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: 1.25rem;
  }
}

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

@media (max-width: 767px) {
  .menu-container .container-fluid .row .rp-logo-place a.rp-logo {
    position: absolute;
    background: url(../img/rp-logo.svg);
    width: 118px;
    height: 85px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0.5rem;
    transition-duration: 0.25s;
  }
  .menu-container.shrink-menu .container-fluid .row .rp-logo-place a.rp-logo {
    width: 90px;
    height: 65px;
    top: 0.5rem;
    transition-duration: 0.25s;
  }
  .about-us-video {
    width: 480px;
    height: 270px;
  }
}

@media (max-width: 576px) {
  .about-us-video {
    width: 340px;
    height: 191px;
  }
}

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

p a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
li a,
.content-area
  a:not(.btn):not(.navbar-brand):not(.dropdown-item):not(.nav-link):not([role='button']) {
  color: #f7941d !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
p a.text-success,
li a.text-success {
  color: #f7941d;
}
.btn-menu.dark-text {
  color: black !important;
}
