/*
Theme Name: GeneratePress Child CFR
Template: generatepress
Version: 1.0.0
*/

:root {
  --cfr-accent: #2f4e9b;
  --cfr-dark: #353a43;
  --cfr-light: #c2c2c2;
  --cfr-bg: #efefef;
  --cfr-header: #2f4e9b;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cfr-dark);
  background: var(--cfr-bg);
}

a {
  color: var(--cfr-accent);
}

.main-navigation .main-nav > ul > li > a,
.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li:focus > a,
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current_page_item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
  color: #fff !important;
}

.site {
  max-width: 1300px;
  margin: 0 auto;
  background: #fff;
}

.site-header,
.main-navigation,
.site-footer {
  border-bottom: 1px solid #d9d9d9;
}

.inside-header,
.inside-navigation,
.inside-footer-widgets,
.inside-site-info,
.inside-article,
.entry-content {
  max-width: 1300px;
  margin: 0 auto;
}

.separate-containers .site-main {
  margin: 0;
}

.home.separate-containers .inside-article {
  padding: 0;
}

.site-header {
  background: url("assets/header.jpg") no-repeat center center #2f4e9b !important;
  background-size: cover !important;
  padding: 68px 0 65px;
  border: none;
}

.site-branding .main-title,
.site-branding .main-title a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cfr-logo-link {
  display: inline-block;
  line-height: 0;
}

.cfr-logo-img {
  width: 170px;
  max-width: 100%;
  height: auto;
}

.inside-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 9px;
}

.main-navigation {
  background: transparent;
  border-bottom: 0;
  padding-left: 10px;
}

.main-navigation .main-nav ul li a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 1025px) {
  .menu-toggle {
    display: none;
  }
  .main-navigation:not(.toggled) .main-nav > ul {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
  }
  .main-navigation .main-nav > ul > li {
    position: relative;
    margin: 0;
  }
  .main-navigation .main-nav > ul > li > a {
    padding: 8px 0;
    line-height: 1.2;
  }
  .main-navigation .main-nav ul ul {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    padding: 18px 0;
    background: #31353d;
    z-index: 30;
  }
  .main-navigation .main-nav ul ul li a {
    color: #fff;
    font-size: 14px;
    font-family: "Open Sans", Arial, sans-serif;
    padding: 8px 14px;
    line-height: 1.15;
  }
  .main-navigation .main-nav ul ul li:hover > a,
  .main-navigation .main-nav ul ul li.current-menu-item > a {
    color: #e74c3c;
  }
  .main-navigation .main-nav ul ul ul {
    background: #ffffff;
  }
  .main-navigation .main-nav ul ul ul li a {
    color: #31353d;
  }
  .main-navigation .main-nav li:hover > ul,
  .main-navigation .main-nav li:focus-within > ul {
    display: block !important;
  }
}

.main-navigation .main-nav ul ul {
  background: #31353d;
}

.entry-title,
h1,
h2,
h3,
h4 {
  color: #2f4e9b;
  font-weight: 400;
  text-transform: uppercase;
}

.cfr-breadcrumb {
  background: #e8e8e8;
  border-bottom: 1px solid #d9d9d9;
}

.cfr-breadcrumb-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 13px;
  color: #666;
}

.cfr-breadcrumb a {
  color: #2f4e9b;
  text-decoration: none;
}

.cfr-breadcrumb a:hover {
  text-decoration: underline;
}

.cfr-breadcrumb-sep {
  color: #999;
  margin: 0 4px;
}

.cfr-breadcrumb-current {
  color: #444;
}

.cfr-hero {
  background: #48515c;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 0;
  margin-bottom: 30px;
  position: relative;
  min-height: 420px;
}

.cfr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.cfr-carousel-slides {
  position: relative;
  min-height: 420px;
}

.cfr-carousel-slide {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: none;
  position: relative;
}

.cfr-carousel-slide.is-active {
  display: flex;
  align-items: center;
}

.cfr-hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 40px 24px;
}

.cfr-hero .inside-article {
  background: transparent !important;
}

.cfr-hero h1,
.cfr-hero h2 {
  color: #2f4e9b;
  margin-bottom: 8px;
  font-size: 44px;
  line-height: 1.04;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.cfr-hero p {
  color: #222;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 22px;
}

.cfr-carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.cfr-carousel-dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  box-sizing: border-box;
}

.cfr-carousel-dot.is-active {
  background: #2f4e9b;
  border-color: #2f4e9b;
}

.cfr-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
  padding: 20px;
}

.site-main > section.inside-article > h2 {
  margin-left: 20px;
}

.cfr-card {
  border: 1px solid #ececec;
  background: #fff;
}

.cfr-card-thumb img {
  width: 100%;
  display: block;
}

.cfr-card-body {
  padding: 16px;
}

.cfr-card-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--cfr-dark);
}

.cfr-card-date {
  color: #888;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.cfr-btn {
  display: inline-block;
  background: #2f4e9b;
  color: #fff;
  padding: 12px 22px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

.cfr-btn:hover {
  color: #fff;
  opacity: 0.9;
}

.cfr-home-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 24px;
  background: #31353d;
  color: #70798d;
  padding: 52px 38px 44px;
  position: relative;
}

.cfr-home-bottom::before,
.cfr-home-bottom::after {
  display: none;
}

.cfr-home-bottom h2 {
  color: #fff;
  line-height: 40px;
  font-size: 40px;
  margin-bottom: 32px;
}

.cfr-home-bottom a {
  color: #e8bb4a;
}

.decent-comments .comment-author a {
  color: #e8bb4a;
  text-transform: uppercase;
}

.decent-comments .comment-link {
  color: #e8bb4a;
}

.decent-comments .comment-content {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.decent-comments .comment-excerpt {
  background: transparent;
  color: #70798d;
  border-radius: 0;
  padding: 0;
  line-height: 24px;
}

.site-footer {
  background: transparent !important;
  color: #727685;
  border: none;
}

.site-footer a {
  color: #ffd34d;
}

.site-info {
  display: none;
}

.cfr-footer-legacy {
  background: url("../theme49376/images/footer.gif") repeat 50% 0%;
  position: relative;
  padding: 0 40px 46px;
  border: none;
}

.cfr-footer-legacy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1286px;
  height: 1px;
  margin-left: -643px;
  background: #2a2e35;
}

.cfr-footer-legacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 50px 0 96px;
  position: relative;
  z-index: 2;
}

.cfr-footer-legacy h4 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}

.cfr-footer-legacy .widget,
.cfr-footer-legacy p,
.cfr-footer-legacy li,
.cfr-footer-legacy a {
  color: #727685;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
}

.cfr-footer-legacy .cfr-footer-col a,
.cfr-footer-text a,
.cfr-footer-legacy .textwidget a {
  color: #e8bb4a;
}

.cfr-footer-legacy .textwidget b {
  background: url("../theme49376/images/icon_home.png") no-repeat 0% 5px;
  display: block;
  margin: 0 0 21px;
  padding: 0 0 0 38px;
  line-height: 17px;
  font-size: 14px;
  font-weight: 400;
  color: #727685;
}

.cfr-footer-legacy .textwidget i {
  background: url("../theme49376/images/icon_phone.png") no-repeat 0% 3px;
  display: block;
  padding: 0 0 0 38px;
  line-height: 17px;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  color: #727685;
}

.cfr-footer-copyright {
  position: relative;
  z-index: 2;
}

.cfr-footer-text {
  line-height: 22px;
  font-size: 15px;
  font-weight: 300;
  color: #727685;
}

.cfr-footer-text strong,
.cfr-footer-text strong a {
  font-weight: 600;
  text-transform: uppercase;
  color: #e74c3c;
}

.cfr-footer-text a {
  color: #727685;
}

.cfr-footer-text a:hover {
  color: #e74c3c;
}

.cfr-footer-legacy a:hover {
  color: #fff;
}

/* Sticky side buttons: icons only, expand all 3 on container hover */
#ssb-container.ssb-btns-right {
  right: 0 !important;
  overflow: visible;
  z-index: 999;
}

#ssb-container.ssb-btns-right ul li {
  display: block;
  width: 50px;
  margin: 0;
  transition: width 0.2s ease;
}

#ssb-container.ssb-btns-right ul li a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  max-width: none;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  transition: width 0.2s ease;
}

#ssb-container.ssb-btns-right ul li span:not(.ssb-text) {
  width: 50px;
  flex: 0 0 50px;
  text-align: center;
}

#ssb-container .ssb-text {
  white-space: nowrap;
  width: auto !important;
  max-width: none;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: opacity 0.15s ease, padding 0.2s ease;
}

#ssb-container.ssb-btns-right:hover ul li,
#ssb-container.ssb-btns-right:focus-within ul li {
  width: 240px;
}

#ssb-container.ssb-btns-right:hover ul li a,
#ssb-container.ssb-btns-right:focus-within ul li a {
  width: 240px;
}

#ssb-container.ssb-btns-right:hover .ssb-text,
#ssb-container.ssb-btns-right:focus-within .ssb-text {
  opacity: 1;
  padding-left: 12px;
  padding-right: 4px;
}

.cfr-shortcode-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.cfr-shortcode-col {
  padding: 0 12px;
  box-sizing: border-box;
}

.cfr-span3 { width: 25%; }
.cfr-span4 { width: 33.333%; }
.cfr-span8 { width: 66.666%; }
.cfr-span12 { width: 100%; }

@media (max-width: 1024px) {
  .cfr-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .site {
    max-width: 100%;
  }
  .inside-header,
  .inside-navigation,
  .inside-footer-widgets,
  .inside-site-info,
  .inside-article,
  .entry-content {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .cfr-home-grid,
  .cfr-home-bottom { grid-template-columns: 1fr; }
  .cfr-span3,
  .cfr-span4,
  .cfr-span8,
  .cfr-span12 { width: 100%; }
  .cfr-hero-content {
    padding: 64px 16px 40px;
  }
  .cfr-hero h1,
  .cfr-hero h2 {
    font-size: 30px;
  }
  .cfr-hero p {
    font-size: 18px;
  }
  .cfr-btn {
    font-size: 14px;
  }
  .cfr-footer-legacy-grid {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }
  .cfr-home-bottom {
    padding: 38px 18px;
  }
  .cfr-home-bottom::before,
  .cfr-home-bottom::after {
    display: none;
  }
  .cfr-home-bottom h2 {
    font-size: 32px;
    line-height: 32px;
  }
  .site-header {
    padding: 32px 0 26px;
  }
  .cfr-logo-img {
    width: 130px;
  }
  .cfr-footer-legacy::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .main-navigation.toggled .main-nav > ul {
    display: block !important;
    background: #fff;
    padding: 10px 14px;
  }
  .main-navigation.toggled .main-nav > ul > li {
    display: block;
    width: 100%;
    margin: 0;
  }
  .main-navigation .main-nav ul li a {
    color: #2f4e9b;
    font-size: 12px;
    line-height: 1.2;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .main-navigation .main-nav ul ul,
  .main-navigation .main-nav ul ul ul {
    background: #fff !important;
  }
  .main-navigation .main-nav ul ul li a,
  .main-navigation .main-nav ul ul ul li a {
    color: #31353d !important;
  }
  .main-navigation.toggled .main-nav > ul > li > ul {
    display: none !important;
  }
}
