/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

:root {
  --dbd-anthracite: #3a4952;
  --dbd-pink: #e0188d;
  --dbd-green: #50a847;
  --dbd-yellow: #f4d812;
}

/*=======================
Fonts
=======================*/

/* fira-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/fira-sans-v17-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/fira-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/fira-sans-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/fira-sans-v17-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 900;
  src: url('./fonts/fira-sans-v17-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  font-family: 'Fira Sans', sans-serif;
}

/*===================
Layout & Header
====================*/

.container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

.dbd-site-header {
  background-color: #fff;
  border-top: solid 4px var(--dbd-pink);
  border-bottom: solid 4px #ccc;
}

.dbd-site-header .container {
  display: flex;
  justify-content: space-between;
}

.dbd-site-header .logo-wrap {
  width: 200px;
  padding: 0 0 0.75rem 0;
}

.dbd-site-header .logo-wrap img {
  width: 100%;
  height: auto;
}

.header-right {
  display: flex;
  padding-top: 1rem;
}

.header-contact {
  display: flex;
}

.header-contact-method {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  white-space: nowrap;
}

.header-contact-icon {
  display: inline-block;
  width: 25px;
  margin-right: 5px;
  padding-top: 0.4rem;
}

.tel-icon {
  fill: var(--dbd-pink);
}

.email-icon {
  fill: var(--dbd-green);
}

.header-contact-info {
  display: inline-block;
  font-weight: 600;
}

/*=====================
Navigation
=====================*/

/* Mobile nav controls*/

.close-mobile-nav {
  position: absolute;
  top: 25px;
  right: 25px;
  background-color: transparent;
  border: none;
}

.mobile-nav-toggle {
  display: block;
}

.nav-toggle-hamburger {
  width: 40px;
  height: 5px;
  background-color: var(--dbd-anthracite);
  margin-bottom: 5px;
  border-radius: 1px;
}

.dbd-transparent-header .nav-toggle-hamburger {
  background-color: #fff;
}

/* mobile nav controls end*/

.mobile-nav-overlay {
  right: 0;
  background-color: var(--dbd-anthracite);
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 99999;
  transition: width 0.15s ease-in-out;
  padding-top: 6rem;
  padding-bottom: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-overlay .header-contact-info {
  display: inline-block;
  font-weight: 600;
  color: #fff;
}

.nav-overlay-footer {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.mobile-nav-overlay.open {
  width: 90%;
}

.overlay-contact-details {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 1rem auto 2.5rem auto;
}

.overlay-contact-method {
  display: flex;
  align-items: center;
}

.overlay-contact-method img {
  width: 20px;
  height: auto;
  display: inline-block;
  margin-right: 0.5rem;
}

.overlay-contact-method span,
.overlay-contact-method a,
.overlay-contact-method a:visited {
  color: #fff;
  font-size: 1.1em;
}

.mobile-nav-wrap {
  margin: 0 auto;
  width: 80%;
}

.mobile-nav > ul > li {
  border-bottom: solid 1px #fff;
  padding: 15px 5px;
}

.mobile-nav ul > li:last-of-type {
  border-bottom: none;
}

.mobile-nav ul li a {
  display: block;
  color: #fff;
  font-size: 1.75em;
  text-decoration: none;
}

/* Mobile Nav - Sub Menus*/

.mobile-nav .menu-item-has-children > a::after {
  content: '\25bc';
  font-size: 0.6em;
  position: relative;
  top: -2px;
  left: 5px;
}

.mobile-nav .sub-menu {
  max-height: 0;
  padding-left: 0.5rem;
  overflow: hidden;
  transition: max-height 0.5s linear;
  font-size: 0.8em;
}

.mobile-nav .sub-menu li {
  padding: 0.6rem 0;
  color: #fff !important;
}

.mobile-nav.sub-menu li a {
  transition: all 0.2s linear;
  color: #fff;
  display: block;
}

.mobile-nav .sub-menu.mobile-sub-menu-open {
  max-height: 500px;
}

/* Large Screen Navigation*/

nav ul {
  list-style-type: none;
  margin-bottom: 0;
}

.main-nav {
  padding-top: 0.3rem;
  display: none;
}

.main-nav > ul {
  display: flex;
}

.main-nav > ul > li {
  position: relative;
  margin: 0 0.1rem;
}

.main-nav > ul > li > a {
  text-decoration: none;
  color: var(--dbd-anthracite);
  padding: 10px 10px;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.3em;
  letter-spacing: 1px;
  transition: background-color 0.2s ease;
  display: block;
  white-space: nowrap;
  border-radius: 4px;
}

.main-nav > ul > li > a:hover {
  background-color: var(--dbd-pink);
  color: #fff;
}

.main-nav ul li a:not(:only-child):after {
  content: '\25bc';
  font-size: 0.6em;
  position: relative;
  top: -2px;
  left: 2px;
}

/* Second level of navigation*/

.main-nav ul li ul {
  width: 350px;
  margin-left: 0;
  position: absolute;
  z-index: 9999999999;
  top: 110%;
  left: 0;
  background-color: var(--dbd-pink);
  padding: 5px;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.main-nav ul li ul::after {
  position: absolute;
  left: 20%;
  top: -10px;
  width: 0;
  height: 0;
  content: '';
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--dbd-pink);
}

.main-nav ul li ul > li a {
  display: block;
  color: #fff;
  font-weight: 400;
  padding: 0.4rem 0.6rem;
}

.main-nav ul li ul > li a:hover {
  background: #fff;
  color: black !important;
}

.main-nav .sub-menu {
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.sub-menu.nav-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(10px);
}

.main-nav .highlight-btn {
  background-color: var(--dbd-pink);
  border-radius: 4px;
}

.main-nav .highlight-btn a {
  color: #fff !important;
}

/*=====================
Content
=====================*/

a {
  text-decoration: none !important;
}

/*=====================
Footer
=====================*/

.dbd-site-footer {
  background-color: var(--dbd-anthracite);
  padding: 2.5rem 0;
}

.dbd-site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dbd-site-footer .container .footer-col {
  margin-bottom: 1.5rem;
}

.dbd-site-footer h3 {
  color: #fff;
  font-size: 1.3em;
  margin: 0;
}

.footer-contact-method:first-of-type {
  margin-bottom: 1.5rem;
}

.footer-contact-info {
  color: #fff;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1;
}

.dbd-site-footer nav ul {
  margin: 0;
}

.dbd-site-footer nav ul li {
  margin-bottom: 0.2rem;
}

.dbd-site-footer nav ul li a {
  color: #fff;
  font-size: 0.9em;
}

.dbd-site-footer nav ul li a::before {
  content: '\276F';
  color: var(--dbd-pink);
  padding-right: 0.4rem;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
}
.footer-social-links a {
  margin: 0 0.5rem;
}

.footer-legal p {
  font-size: 0.85em;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0;
}

.pk-border {
  display: grid;
  column-gap: 0;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  min-height: 13px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pk-border-col-1 {
  background-color: var(--dbd-yellow);
}

.pk-border-col-2 {
  background-color: var(--dbd-pink);
}

.pk-border-col-3 {
  background-color: var(--dbd-green);
}

.footer-accred {
  width: 95%;
  max-width: 500px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.accred-logo-img {
  margin: 0 15px;
}

.footer-accred img {
  display: inline-block;
}

.footer-lower {
  margin-top: 2px;
  padding: 1rem;
  border-bottom: solid 3px #bbb;
  background-color: #dbedf2;
}

.sub-footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.2em 0;
}

.sub-footer p {
  font-size: 0.9em;
  line-height: 1.1;
}

.dbd {
  color: #000;
  font-size: 0.75em;
  line-height: 2.2em;
  text-decoration: none;
}

.dbd span {
  color: #36af96;
}

/*=====================
Media Queries
=====================*/

/* Desktop */
@media (min-width: 1251px) {
  /* Header and Navigation*/

  .dbd-site-header .container {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0.7rem;
  }

  .dbd-site-header .header-left {
    width: 20%;
  }

  .dbd-site-header .header-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 75%;
  }

  .main-nav {
    display: flex;
    align-items: center;
  }

  .mobile-nav-toggle {
    display: none;
  }

  /* Footer */

  .dbd-site-footer .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  .dbd-site-footer .container .footer-col {
    margin-bottom: 0;
  }

  .dbd-site-footer nav ul li a:hover {
    text-decoration: underline;
  }

  .footer-social-links {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.4rem;
  }

  .footer-social-links a {
    margin: 0 0.7rem 0 0;
  }

  .sub-footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Tablets Landscape */
@media (min-width: 768px) and (max-width: 1250px) {
  .dbd-site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  .dbd-site-header .header-right {
    width: 65%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
  }

  .dbd-site-header .header-contact {
    margin-right: 1rem;
  }

  .mobile-nav ul li a {
    font-size: 1.25em;
  }
}

/* Mobiles*/
@media (max-width: 767px) {
  .dbd-site-header .container {
    padding: 1rem 0;
    justify-content: space-between;
  }

  .dbd-site-header .header-left {
    width: 50%;
  }
  .dbd-site-header .logo-wrap {
    margin: 0.2rem 0;
    padding: 0 0 0 0;
    width: 170px;
  }

  .dbd-site-header .header-right {
    width: 50%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .header-contact {
    display: none;
  }

  .mobile-nav-wrap {
    font-size: 0.6em;
    width: 85%;
  }

  .nav-overlay-footer {
    width: 85%;
  }

  .mobile-nav-wrap .header-contact-method-tel {
    margin-bottom: 0.7rem;
  }

  .mobile-nav ul.sub-menu {
    padding-left: 0;
    margin-left: 0;
  }
}
