/**
 * Theme Name: Gutener GCG
 * Template:   gutener-pro
 * Version:    1.1.2
 */

@import url("ujm4vdx.css");

/**
 * Variables and overrides
 */
:root {
  --gcg-color-primary: #002169;
  --gcg-color-secondary: #E56325;
  --gcg-color-grey: #6E6E78;
  --gcg-color-grey-light: #CACCCE;
  --gcg-font-primary: canada-type-gibson, sans-serif;
  --gcg-font-secondary: metronic-slab, serif;
} 

/**
 * Yeah. Gutenor won't let us load custom fonts in the UI
 * without a lot of hassles and issues, so...
 */
body *:not(.fa):not(.fab) {
  font-family: var(--gcg-font-primary) !important;
}

body * {
  line-height: 1.5;
  letter-spacing: normal;
}

body p {
  line-height: 1.5;
}

h2, .h2, h2 a, .h2 a,
h3, .h3, h3 a, .h3 a,
h4, .h4, h4 a, .h4 a {
  line-height: 1.3;
}

h2, .h2, h2 a, .h2 a {
  font-size: var(--wp--preset--font-size--h-2) !important;
  font-weight: 600 !important;
}

h3, .h3, h3 a, .h3 a {
  font-size: var(--wp--preset--font-size--h-3) !important;
  font-weight: 600 !important;
}

h4, .h4, h4 a, .h4 a {
  font-size: var(--wp--preset--font-size--h-4) !important;
  font-weight: 600 !important;
}

.gcg-size--jumbo {
  font-size: var(--wp--preset--font-size--huge) !important;
}

body .gcg-font--alt {
  font-family: var(--gcg-font-secondary) !important;
  font-weight: 400 !important;
}

/**
 * Gutentor update broke full-width items.
 */
 body.content-no-sidebar .gutentor-module.alignfull,
 body.content-no-sidebar .wp-block-group.alignfull,
 body.content-no-sidebar .page-cover.alignfull,
 body.content-no-sidebar .wp-block-cover-image.alignfull {
  /* width: calc(100vw - 95px); */
  width: 100vw;
}

/**
 * The header video even if no video element is present and
 * causes major layout issues. Hide it.
 */
.fixed-header .header-image-wrap {
  display: none !important;
}

/**
 * For whatever reason, the selected header style #3
 * doesn't work on mobile. The grid is set to be 
 * full width columns and hides the menu...
 */
body:not(.home) .site-header .slicknav_btn .slicknav_icon span,
body:not(.home) .site-header .slicknav_btn .slicknav_icon span:first-child:after,
body:not(.home) .site-header .slicknav_btn .slicknav_icon span:first-child:before {
  background-color: var(--gcg-color-primary) !important;
}

body:not(.home) .site-header .slicknav_btn.slicknav_open span:first-child {
  background-color: transparent !important;
}

/**
 * Gradient Headings
 */
.gcg-text-grad--blue {
  background: linear-gradient(90deg, #0235A2 0%, #378EDF 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.gcg-text-grad--ice {
  background: linear-gradient(90deg, #8FD0FF 0%, #EFFDFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gcg-text-grad--orange {
  background: linear-gradient(90deg, #B23D05 0%, #E56325 49.7%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/**
 * Value Added Partner Section BG
 */
.gcg-section-value-props {
  background-image: url(../png/202404-bg-tr-blue-radius.png), url(../png/202404-bg-bl-orange-radius.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left top, bottom right;
}

/**
 * Sticky Header
 */
#masthead.site-header .bottom-header {
  border-bottom: 1px solid #eee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.20);
}

body.transparent-header #masthead.site-header:not(.sticky-header) .bottom-header {
  border-bottom: none;
  box-shadow: none;
}

/**
 * Main navigation fix
 * Restore styles missing caused by disabling the mega-menu plugin
 */
.site-header nav.main-navigation ul.menu > li > a {
  color: #333333;
}

body.transparent-header .site-header:not(.sticky-header) ul.menu > li > a {
  color: #ffffff;
}

nav.main-navigation ul.menu > li:first-child > a {
  padding-left: 17px;
}

nav.main-navigation ul.menu > li > a {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 1px;
  overflow: hidden;
}

nav.main-navigation ul.menu > li.menu-item-has-children > a::after {
  content: "\f078";
}

nav.main-navigation ul.menu ul li a {
  text-decoration: none;
  color: var(--gcg-color-grey);
  font-weight: normal;
  font-size: 16px;
  position: relative;
}

nav.main-navigation ul.menu ul li a:hover {
  padding-left: 20px;
  background-color: #f1f1f1;
  color: #002169;
}

/* 
 * Main hover state underline decoration
 */
nav.main-navigation ul.menu > li > a::before {
  content: "";
  position: absolute;
  height: 2px;
  background-color: var(--gcg-color-secondary);
  left: 10px;
  right: 10px;
  bottom: 0;
  transform: scaleX(0);
  transition: all 0.2s ease-in-out;
  opacity: 0;
}

nav.main-navigation ul.menu > li > a:hover::before {
  opacity: 1;
  transform: scaleX(100%);
}

/**
 * Mobile Menu
 */
body:not(.transparent-header) .mobile-menu-container .slicknav_menu .slicknav_menutxt {
    color: #333 !important;
}


/**
 * Full width block fix
 * Parent theme adds some odd margins and sizing to full
 * width items that breaks layout and causes overflow
 */
body.content-no-sidebar .alignfull,
body.content-no-sidebar .page-cover.alignfull,
body.content-no-sidebar .wp-block-cover-image.alignfull {
  margin-left: 0;
  margin-right: 0;
  max-width: 100vw;
  width: 100vw;
}

body.content-no-sidebar .alignwide,
body.content-no-sidebar .entry-content .alignwide {
  margin-left: 0;
  margin-right: 0;
}

/**
 * Sliders
 */ 
.gcg-slider .slick-slider .slick-dots {
  bottom: -50px;
}

.gcg-slider .slick-slider .slick-dots li {
  background: none !important;
}

.gcg-slider .slick-slider .slick-dots li,
.gcg-slider .slick-slider .slick-dots li button {
  border-radius: 0 !important;
  height: 4px !important;
  width: 30px !important;
}

.gcg-slider .slick-slider .slick-dots li button {
  border: none !important;
}

.gcg-slider--light .slick-slider .slick-dots li button {
  background-color: var(--gcg-color-secondary) !important;
}

.gcg-slider--light .slick-slider .slick-dots li.slick-active button {
  background-color: var(--gcg-color-grey-light) !important;
}

/**
 * core/list block styles
 */
ul.is-style-checkmark {
  list-style: none;
  padding-left: 1.75em;
  margin-left: 0;
}
ul.is-style-checkmark li {
  margin-bottom: 0.5em;
}
ul.is-style-checkmark li::before {
  display: -webkit-inline-box;
  display: -moz-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  float: left;
  font-size: 1em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -ms-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  content: "\f00c";
  color: var(--gcg-color-secondary);
  margin-left: -1.75em;
}

/**
 * Featured blog posts loop
 */
.gcg-feat-posts {
  gap: 60px !important;
}

.gcg-feat-post .wp-block-post-featured-image {

}

@media screen and (max-width: 1024px) {
  .gcg-feat-posts {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 480px) {
  .gcg-feat-post {
    flex-direction: column !important;
  }

  .gcg-feat-post .wp-block-post-featured-image {
    max-width: 100%;
  }
}

/**
 * Market Tiles
 */
.gcg-market-tile {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.20);
  border-radius: 12px 0 12px 0;
  overflow: hidden;
  transition: all 0.25s ease-in-out;
}

.gcg-market-tile a {
  cursor: pointer !important;
}

.gcg-market-tile:hover {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.50);
  transform: translateY(-8px);
}

.gcg-market-tile .grid-container {
  padding: 60% 0 0 0 !important;
}

.gcg-market-tile-content {
  color: #fff !important;
  background: rgba(0, 33, 105, 0.8) !important;
  font-size: 18px !important;
  padding: 10px 20px 10px 20px !important;
}

.gcg-market-tile-content p {
  line-height: 1.2em !important;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

/**
 * Utility classes for radius and elevation
 */
.gcg-radius--sm > a > img,
.gcg-radius--sm .gutentor-col-wrap {
  border-radius: 12px 0px;
}

.gcg-radius--md > a > img,
.gcg-radius--md .gutentor-col-wrap {
  border-radius: 20px 0px;
}

.gcg-elevation--1 > a > img,
.gcg-elevation--1 .gutentor-col-wrap {
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.40);
}

.gcg-elevation--2 > a > img,
.gcg-elevation--2 .gutentor-col-wrap {
  box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.60);
}

/**
 * Tabs style overwrite
 */
.gcg-tabs > .grid-container {
  padding: 0 !important;
}

.gcg-tabs .gutentor-module-tabs-item,
.gcg-tabs .gutentor-module-tabs-item:hover,
.gcg-tabs .gutentor-tabs-nav-active {
  background: none !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.gcg-tabs .gutentor-module-tabs-content,
.gcg-tabs .gutentor-module-tabs-content:hover {
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.gcg-tabs--light .gutentor-module-tabs-item:hover {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(---gcg-color-grey);
}

.gcg-tabs--light .gutentor-module-tabs-title {
  color: var(---gcg-color-secondary);
  font-family: var(--gcg-font-secondary) !important;
}

.gcg-tabs--light .gutentor-tabs-nav-active.gutentor-module-tabs-item {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(---gcg-color-grey);
}

.gcg-tabs--light .gutentor-tabs-nav-active .gutentor-module-tabs-title {
  color: var(--gcg-color-grey);
}

/**
 * SITE FOOTER
 */
.site-footer {
  background-image: url(../jpg/202404-footer-bg.jpg) !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  padding-top: 60px;
  padding-bottom: 0;
}

.site-footer h5,
.site-footer h5 a {
  font-size: var(--wp--preset--font-size--large) !important;
  font-weight: 600 !important;
}

.top-footer a {
  display: inline-block;
  font-size: var(--wp--preset--font-size--medium) !important;
  margin: 4px 0;
}

.bottom-footer * {
  font-size: var(--wp--preset--font-size--sm) !important;
}

.bottom-footer .social-profile {
  display: none;
}

.site-footer .social-group {
  display: flex;
}

.site-footer .social-group li {
  flex: 1;
}

.site-footer .social-group li + li {
  margin-left: 20px;
}

.site-footer .social-group li a {
  font-size: 30px !important;
}
