/**
 * @file
 * Use this CSS file to override components CSS rules.
 * Migrated component & layout overrides from Corporate Lite to BaseCore.
 */

/* Fix contextual links size */
.contextual-region .contextual .contextual-links a {
  font-size: small;
  padding: 0.4em 0.6em;
}

/* Custom button style from elements.css */
a.button3 {
  display: inline-block;
  padding: 0.3em 1.2em;
  margin: 0 0.3em 0.3em 0;
  border-radius: 2em;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #FFFFFF;
  background-color: #0073bc;
  text-align: center;
  transition: all 0.2s;
}
a.button3:hover {
  background-color: #0073bc;
  color: #FFFFFF;
}
@media all and (max-width: 30em) {
  a.button3 {
    display: block;
    margin: 0.2em auto;
  }
}

.page-node-type-k-centre-basic-pages .carousel .carousel-control {
  visibility: hidden;
}
.page-node-type-k-centre-basic-pages .carousel:hover .carousel-control {
  visibility: visible;
}

/* Blockquote overrides from elements.css */
p + blockquote {
  margin-top: 24px;
}

blockquote {
  font-size: 16px;
  margin: 0 0 20px 0;
  padding: 24px 32px 24px 55px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.14);
  position: relative;
  overflow: hidden;
  min-height: 100px;
  border-left: none;
  border-radius: 8px;
}

blockquote p {
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0;
  max-width: 88%;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

blockquote:before,
.region--default-background blockquote:before,
.region--dark-typography blockquote:before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 12px;
  width: auto;
  font-size: 4.5rem;
  line-height: 1;
  color: #ededed !important;
  font-weight: normal;
  text-shadow: none;
  font-family: Georgia, serif;
  z-index: 0;
}

blockquote:after {
  content: "”";
  position: absolute;
  bottom: -75px;
  line-height: 90px;
  right: -15px;
  font-size: 12rem;
  color: #ededed !important;
  font-weight: normal;
  text-shadow: none;
  font-family: Georgia, serif;
  z-index: 0;
}

/* Layout & Banner overrides from layout.css */
#subfooter {
  background: #f6f9fc;
}

.footer__container .footer-first {
  display: flex;
}

.block-simplenews-1 .row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.header-top {
  border-bottom: 1px solid #cdcdcd;
}

.header-top__container .row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.region-header-top-first,
.header-top-first {
  display: flex;
  align-items: center;
}

.block-language {
  margin-right: 3em;
}

.header-top-highlighted__section .block + .block {
     padding:0;
}

.path-node .container-fluid .banner__section,
.path-services .container-fluid .banner__section {
  padding: 40px 0px 0px 0px;
}

.path-node .container-fluid .banner__section h1.page-title,
.path-services .container-fluid .banner__section h1.page-title,
.banner__section .block-page-title-block h1.page-title {
  opacity: 1;
  z-index: 9999;
  color: #000;
  margin-top: -0.2em;
  line-height: 1.075;
  letter-spacing: -1px;
  display: block;
  font-size: 2.5rem;
  text-align: left;
  background-color: #f6f9fc;
  padding: 1em;
}

@media (min-width: 85.375em) {
  .banner__section .content {
    width: 75.375em;
  }
  .logo {
    max-width: 60% !important;
  }
}
@media (min-width: 120em) {
  .banner__section .content {
    width: 99.375em;
  }
  .logo {
    max-width: 50% !important;
  }
}
@media (min-width: 160em) {
  .banner__section .content {
    width: 150em;
  }
  .logo {
    max-width: 55% !important;
  }
}

/* Breadcrumb overrides from breadcrumb.css */
.block-system-breadcrumb-block .breadcrumb__items {
  text-align: left;
}
.block-system-breadcrumb-block .breadcrumb__item:after {
  display: none;
  content: none;
}

/* Taxonomy term field tags from field-taxonomy-term.css */
.field--entity-reference-target-type-taxonomy-term .field__item a,
.field--entity-reference-target-type-taxonomy-term.field__item a {
  padding: 3px 8px;
  background: #f6f9fc;
  color: #222;
}
.field--entity-reference-target-type-taxonomy-term .field__item a:hover,
.field--entity-reference-target-type-taxonomy-term.field__item a:hover {
  background: #f5bc04 !important;
  color: #fff;
}

/* Language switcher & Header Top Highlighted Second alignment */
.header-top-highlighted-second .region-header-top-highlighted-second {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.header-top-highlighted-second nav,
.header-top-highlighted-second .block-menu {
  order: 1;
  margin: 0;
}

.header-top-highlighted-second ul.menu:not(.sf-accordion) {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-top-highlighted-second .block-language {
  order: 2;
  margin: 0;
}

.block-language ul {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.block-language ul:before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
}
.block-language ul.links a {
  font-size: 15px;
}
.block-language ul.links a.is-active {
  color: #fdbd36 !important;
}
.block-language ul li {
  padding: 8px 0 8px 8px;
  margin-right: 0;
  font-weight: 500;
  line-height: 1.2;
}

/* Menu & Superfish overrides (supports both sf-style-none and sf-style-default) */
.header-container ul.sf-menu,
.header-container ul.sf-menu.sf-style-default,
.header-container ul.sf-menu.sf-style-none {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.header-container ul.sf-menu.sf-style-default li,
.header-container ul.sf-menu.sf-style-default.sf-navbar,
.header-container ul.sf-menu > li {
  background: transparent !important;
  margin: 0;
  padding: 0;
}

.header-container ul.menu > li > a,
.header-container ul.menu > li > span,
.header-container ul.sf-menu.sf-style-default > li > a,
.header-container ul.sf-menu.sf-style-default > li > span.nolink {
  font-size: 15px;
  font-weight: 400;
  padding: 15px 12px;
  margin: 0;
  color: #333333 !important;
  background: transparent !important;
  border: none !important;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.header-container ul.sf-menu > li.menuparent > a,
.header-container ul.sf-menu > li > a.sf-with-ul,
.header-container ul.sf-menu.sf-style-default > li > a.sf-with-ul {
  padding-right: 26px !important;
}

.header-container ul.sf-menu .sf-sub-indicator {
  top: 50% !important;
  transform: translateY(-50%);
  right: 6px;
  width: 14px;
  height: 14px;
  margin-top: 0;
  opacity: 0.85;
}

.header-container ul.sf-menu > li > a .sf-sub-indicator:after {
  content: "\f107";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  top: 0;
  left: 0;
  margin-left: 0;
  line-height: 14px;
  font-size: 12px;
  color: #363636;
}

.header-container ul.sf-menu > li:hover > a .sf-sub-indicator:after,
.header-container ul.sf-menu > li.sfHover > a .sf-sub-indicator:after {
  color: #ffffff !important;
}

.header-container ul.menu li a.sf-depth-1 {
  text-transform: uppercase;
}

.header-third ul.menu li {
  text-transform: uppercase;
  line-height: 1.9;
  color: rgba(2, 136, 208, 0.85) !important;
  background: none !important;
  border-top: 2px solid #ca263f;
}
.header-third ul.menu li a:hover {
  background: #ca263f !important;
  color: #fff !important;
}
