@charset "UTF-8";

/*
 Theme Name: The GAARD Group
 Author: Pixel Print Media
 Author URI: https://pixelprintmedia.com/
 Description: Client Child Theme
 Template: ppmstarter
 Version: 0.2
*/


/******************************************************************************/

:root {
  --nobel-2: #eae9e9;
  --white: #ffffff;
  --scorpion: #686265;
  --cape-palliser: #996b3f;
  --social-blue: #0334bf;
  --madison: #0f2b5a;
  --madison-2: #0f2b5ab3;
}

body{
  background-color: var(--nobel-2) !important;
}

@media (min-width: 1400px) {

    :root {
        --ppm-container: 1296px;
    }

}

/*******************************************************************************
                                     LAYOUT
*******************************************************************************/

body .wp-site-blocks {
    display: grid;
    min-height: 100vh;
      grid-template-rows: auto 1fr auto auto auto;
      grid-template-columns: 100%;
}

header.site-header {
    grid-row-start: 1;
    grid-row-end: 2;
}

main.site-main {
    grid-row-start: 2;
    grid-row-end: 3;
    margin-block-start: 0;
}

footer#top_footer {
    grid-row-start: 3;
    grid-row-end: 4;
    margin-block-start: 0;
}

footer#bottom_footer {
    grid-row-start: 4;
    grid-row-end: 5;
    margin-block-start: 0;
}

/*******************************************************************************
                                   HEADER
*******************************************************************************/

header, #offcanvas-menu .offcanvas-header {
  position: absolute;
  width: 100%;
  padding: 20px 30px !important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

@media (min-width: 992px){
  header {
    padding: 30px 40px !important;
  }
}

/********************************** Branding **********************************/

.branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
}

.branding .custom-logo {
  height: 80px;
  width: 80px;
  flex: 0 0 auto;
}

.logotype {
  margin-left: 10px;
  transition: all 0.2s ease;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
  flex: 0 0 auto;
}

.logotype img {
  height: 50px;
  width: 87px;
}

.logotype:hover {
  margin-left: 15px;
}

/********************************* Main Menu **********************************/

.main_menu, .mobile_menu .menu_breakpoint {
  display: none;
}

.main_menu .gaard-menu-item-dd, .mobile_menu .gaard-menu-item-dd {
  display: none;
}

header .main_menu .menu_breakpoint, #top_footer .main_menu .menu_breakpoint {
  height: 0px;
  width: 100%;
  overflow: hidden;
}

.dropdown-menu {
  background-color: transparent;
}


@media (min-width: 1348px){

    header .main_menu .menu_breakpoint {
      display: none;
    }

}

@media (min-width: 1577px){

    #top_footer .main_menu .menu_breakpoint {
      display: none;
    }

}


#top_footer .gaard-menu-item-dd {
  display: none;
}

#top_footer .gaard-menu-item-mobile {
  display: list-item;
}

.hamburger_menu_icon {
  display: block;
}

.hamburger_menu_icon svg {
    stroke-width: 2;
    stroke: var(--white);
    width: 26px;
    height: 18px;
}

@media (min-width: 910px){

  header .main_menu {
    display: flex;
	  margin-right: -19px;
  }

  .main_menu .gaard-menu-item-dd {
    display: list-item;
  }

  .hamburger_menu_icon, .main_menu .gaard-menu-item-mobile {
    display: none;
  }

}

@media (min-width: 1010px){

  #top_footer .main_menu {
    display: flex;
  }

}

.main_menu li {
  padding: 0 10px;
  margin: 0 9px;
}

ul.dropdown-menu {
  border-radius: 0;
  background-color: var(--nobel-2);
}

.dropdown-menu li {
    padding: 0;
    margin-bottom: 5px !important;
}

.dropdown-menu li.active a {
  color: var(--white);
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item.active {
  background-color: var(--cape-palliser);
  color: var(--white);
}

.main_menu li.active {
  background-color: var(--cape-palliser);
}

.main_menu .nav-link {
  font-family: 'Poppins', Helvetica;
  font-weight: 500;
  font-style: normal;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2.25px;
  transition: all 0.2s ease;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
  padding: 4px 8px;
}

.main_menu .nav-link:hover, .main_menu .nav-link:focus {
  transform: scale(0.9);
  color: var(--white);
}

/********************************* Offcanvas **********************************/

#offcanvas-menu {
  background-color: var(--madison);
  width: 100vw;
}

#offcanvas-menu .close_icon svg {
  stroke-width: 2;
  stroke: var(--white);
  width: 26px;
  height: 18px;
}

#offcanvas-menu .offcanvas-body {
  margin-top: 120px;
}

#offcanvas-menu .mobile_menu .nav-link {
  color: var(--white);
}

#offcanvas-menu .mobile_menu .dropdown-menu {
  text-align: center;

}

.offcanvas {
	z-index: 999999;
}


/*******************************************************************************
                                    FOOTERS
*******************************************************************************/

/********************************* Top Footer ********************************/

#top_footer {
  background-color: var(--madison);
}

#top_footer {
  display: flex;
  flex-direction: column;
  padding: 5px 80px 50px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px){
  #top_footer {
    flex-direction: row;
    padding: 5px 80px;
  }
}



#top_footer .menu_social{
  display: flex;
  flex-direction: row;
  align-items: center;
}



#top_footer .custom-logo-link {
  position: relative;
  top: -65px;
  z-index: 5;
  flex: 0 0 auto;
}

#top_footer .custom-logo{
  height: 129px;
  width: 129px;
}

.gaard-cta.has-background-dim::before {
  z-index: unset !important;
}

#top_footer .main_menu {
  padding-right: 20px;
}

.social-links {
  height: 50px;
}

.social-link {
  padding-right: 20px;
}

.social-link a {
  padding: 10px;
}

.social-link a svg {
  width: 30px;
  padding: 11px 0px;
  transition: all 0.2s ease;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.social-link a:hover svg, .social-link a:focus svg{
  transform: scale(0.9);
}

/******************************** Bottom Footer *******************************/

#bottom_footer{
  background-color: var(--madison-2);
}

#bottom_footer hr {
  margin: 1.6rem 0 1rem;
  align-self: center;
}

#bottom_footer ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  align-items: center;
}

@media (min-width: 768px){
  #bottom_footer ul {
    align-items: flex-start;
  }

  #bottom_footer hr {
    margin: 1.6rem 0 1rem;
    align-self: flex-start;
  }
}

@media (min-width: 992px){
  #bottom_footer ul {
    flex-direction: row;
  }
}

#bottom_footer li.widget_block {
  display: block;
}

#bottom_footer ul li {
  padding: 0 10px;
}

#bottom_footer ul li a {
  color: var(--white);
  text-decoration: none;
}

/*******************************************************************************
                                Default Header
*******************************************************************************/

.default-header .header-blue {
  background-color: var(--madison-2);
  height: calc( 150px + 5vw);
}

.default-header .crescent_top_inner {
  background-color: var(--nobel-2);
}

.default-header ~ * {
  z-index: 3;
  position: relative;
}

/*******************************************************************************
                                CRESCENT TOP
*******************************************************************************/

.crescent_top {
  overflow: hidden;
  height: 7vw;
  top: -6vw;
  margin-bottom: -14vw !important;
  margin-block-end: -14vw !important;
  position: relative;
  z-index: 2;
  margin-left: calc( -1 * var(--ppm-spacing) );
  margin-right: calc( -1 * var(--ppm-spacing) );
}

.crescent_top_inner {
  width: 500vw !important;
  height: 500vw !important;
  left: -200vw;
  max-width: unset !important;
  max-height: ;
  border-radius: 50% 50% 50% 50%;
  position: relative;
  z-index: 2;
}

@media (min-width: 2560px){
    .crescent_top_inner {
        max-width: calc( 2560px * 5 ) !important;
        max-height:  calc( 2560px * 5 ) !important;
        left: -5120px;
    }

}

.crescent_top ~ * {
  z-index: 3;
  position: relative;
}

/************************* Crescent Top Logo Adjustment ***********************/

.move_logo_51px {
  position: relative;
  top: -51px;
}

/*******************************************************************************
                                   BUTTONS
*******************************************************************************/

.wp-block-button {
    --wp--preset--font-size--small: 0.938rem;
    --wp--preset--font-size--medium: 1.25rem;
    letter-spacing: 1px;
}

.wp-block-button__link {
  border-radius: 5px;
  font-weight: 700;
  padding: 0.667em 2.5em !important;
}

.is-style-outline>.wp-block-button__link {
  border-radius: 3px;
  font-weight: 600;
}

.wp-block-button__link {
  transition: all 0.2s ease;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
  width: 100%;
}

.wp-block-button__link:hover, .wp-block-button__link:focus {
  transform: scale(0.9);
}

/******************************* MailChimp Form *******************************/

#bottom_footer #mc_embed_signup .form-control, #bottom_footer #mc_embed_signup button {
  border-radius: 0;
  line-height: 1.5;
}

#bottom_footer #mc_embed_signup button {
  color: var(--white);
  border-color: var(--white);
  transition: all 0.2s ease;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
  width: 100%;
}

#bottom_footer #mc_embed_signup button:focus, #bottom_footer #mc_embed_signup button:hover {
  transform: scale(0.9);
  box-shadow: none;
}

/*******************************************************************************
                                  LINKS
*******************************************************************************/

a:hover {
  color: var(--madison);
}


/*******************************************************************************
                              SERVICE ICONS
*******************************************************************************/

.service-icons {
  height: 80px;
  margin-block-end: 1em !important;
  display: flex !important;
  justify-content: center;
}




/*******************************************************************************
                                  HR
*******************************************************************************/

hr {
  margin: 1rem auto;
  width: 200px !important;
  opacity: 1;
	}

hr:not([size]) {
  height: 3px;
	margin: 0 auto 1rem auto;
}


.lh125 {
  line-height: 1.25rem;
}

.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
  width: inherit;
}

hr.is-style-wide {
	width: 100% !important;
	color: #efefef;

}


/*******************************************************************************
                            social media banner experts
*******************************************************************************/
p.expertsocial a {
  color: var(--white);
  margin: 10px;
  transition: all 0.2s ease;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

p.expertsocial a:hover, p.expertsocial a:focus {
  color: var(--white);
}

p.expertsocial a:hover i, p.expertsocial a:focus i {
  transform: scale(0.9);
}

/*******************************************************************************
                            COURSES POST GRID STYLE
*******************************************************************************/

.wpupg-filter-container, .wpupg-grid-container {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.wpupg-filter {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.wpupg-filter-item {
  margin: 10px 16px !important;
  text-align: center;
  letter-spacing: 1px;
  padding: 5px 16px !important;
}

.wpupg-template-gaard:hover {
	transform: translate(0, -5px);
    box-shadow: 0px 12px 5px -8px rgb(0 0 0 / 20%) !important;
  	transition: all 0.2s ease !important;
}

.wpupg-template-gaard .item-container {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5% 10%;
}

.wpupg-template-gaard .wpupg-item-title {
	  font-style: normal;
    line-height: 1;
    font-weight: 600;
  	margin-bottom: 15px;
    color: #fff;
    overflow-wrap: normal;
    font-size: clamp(25px, 8vw, 36px);
}

.wpupg-template-gaard .wpupg-item-terms {
    font-style: normal;
    line-height: 1;
    font-weight: 400;
    font-family: "Fanwood Text", Helvetica;
    color: #fff;
    overflow-wrap: normal;
    font-size: clamp(25px, 8vw, 36px);
}

@media (min-width: 576px) {

  .wpupg-filter-container, .wpupg-grid-container {
    max-width: unset;
  }

  .wpupg-template-gaard .wpupg-item-title {
    font-size: 20px;
  }

  .wpupg-template-gaard .wpupg-item-terms {
    font-size: 20px;
  }

}

@media (min-width: 768px) {

  .wpupg-filter {
    flex-direction: row;
  }

  .wpupg-filter-item {
    text-align: left;
  }

  .wpupg-template-gaard .wpupg-item-title {
    font-size: 30px;
  }

  .wpupg-template-gaard .wpupg-item-terms {
    font-size: 30px;
  }

}

@media (min-width: 992px) {

  .wpupg-filter {
    justify-content: flex-start;
  }

  .wpupg-template-gaard .wpupg-item-title {
    font-size: 25px;
  }

  .wpupg-template-gaard .wpupg-item-terms {
    font-size: 25px;
  }

}

@media (min-width: 1200px) {

  .wpupg-template-gaard .wpupg-item-title {
    font-size: 30px;
  }

  .wpupg-template-gaard .wpupg-item-terms {
    font-size: 30px;
  }

}

@media (min-width: 1400px) {

  .wpupg-template-gaard .wpupg-item-title {
    font-size: 35px;
  }

  .wpupg-template-gaard .wpupg-item-terms {
    font-size: 35px;
  }

  .wpupg-filter {
    justify-content: space-between;
  }

}

/*******************************************************************************
                                COOKIE POPUP
*******************************************************************************/

p.cookie-notice {
  color: #ffffff;
  font-family: inherit;
  font-weight: 400;
}

/*******************************************************************************
                                  SPACING
*******************************************************************************/

.ls-1px {
letter-spacing: 1px;
}

.ls-2px {
letter-spacing: 1px;
}

/*******************************************************************************
                              Critical Styles
*******************************************************************************/
.hide-until-styles-load,
.wp-block-cover:first-of-type,
.wp-block-cover:first-of-type .wp-block-cover__inner-container{
  visibility: visible !important;
  visibility: revert !important;
}

/*******************************************************************************
                              Bridget Billboard
*******************************************************************************/
.bridgitt-billboard {
    margin-top: -35px !important;
}

/*******************************************************************************
                            Homepage Courses Style
*******************************************************************************/

#courses .wp-block-cover__gradient-background {
  bottom: -1px;
}

/*******************************************************************************
                            Archive Template Styles
*******************************************************************************/
main.archive li.widget {display: flex;}
main.archive h2.description p {
  font-weight: inherit;
}
main.archive img.attachment-post-thumbnail {
	max-width: 100%;
	height: auto;
}

.wp-block-post-excerpt__more-text a:not(.wp-block-post-excerpt__more-link){
  display: none;
}

.wp-block-post-excerpt__more-link {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: #996b3f;
}

.wp-block-post-excerpt__more-link:hover {
    color: inherit;
    opacity: 0.8;
    transition: transform 0.5s ease;
}

.wp-block-post-title a {
    color: inherit;
    text-decoration: none;
}

/*******************************************************************************
                          Single Post Template Styles
*******************************************************************************/

body.single .single-more-posts ul { 
    --bs-gutter-y: 0;
    display: flex;
    flex-direction: column;
    column-gap: calc( var(--ppm-spacing) * 2 );
}

body.single .single-more-posts li {
    width: 100%;
}

@media (min-width: 992px) {

    body.single .single-more-posts ul {
        flex-direction: row;
    }

    body.single .single-more-posts li {
        width: 33.33333333%;
    }
}

body.single .single-more-posts li:nth-of-type(4) {
  display: none;
}

.blog-archive-thumbnail-wrapper,
.single-post aside.single .wp-block-latest-posts .wp-block-latest-posts__featured-image {
      position: relative;
      width: 100%;
      padding-top: 50%;
      overflow: hidden;

}

.blog-archive-thumbnail-wrapper a,
.single-post aside.single .wp-block-latest-posts .wp-block-latest-posts__featured-image a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

}

.blog-archive-thumbnail-wrapper img,
.single-post aside.single .wp-block-latest-posts .wp-block-latest-posts__featured-image img {
    width: 100%;
    height: auto;
}
/*
@media (min-width: 992px){
.single-post aside.single .wp-block-latest-posts {
      flex-direction: row;
  }
.single-post aside.single .wp-block-latest-posts li {
      max-width: 33.33%;
}
}

.single-post aside.single .wp-block-latest-posts li > a {
    text-align: center;
    color: var(--wp--preset--color--cape-palliser) !important;
    letter-spacing: 1px;
    font-size: 1.5rem;
    font-size: calc(1.275rem + .3vw);
    text-decoration: none;
    font-family: 'Fanwood Text', Georgia, serif;
    line-height: 1.1;
    padding-top: 10px;
}
.single-post aside.single .wp-block-latest-posts li .wp-block-latest-posts__post-excerpt {
    text-align: center;

}
*/
/*******************************************************************************
                                  Pagination
*******************************************************************************/
.pagination {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem!important;
  padding-bottom: 2rem!important;
}

.pagination a {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  color: #996b3f !important;
}

/*******************************************************************************
                                     Fonts
*******************************************************************************/

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  font-family: 'Poppins', Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--scorpion);
  }

body, p, a, input, .p {
  font-family: 'Poppins', Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--scorpion);
  }

  body, p, a, input, .p {
    font-size: clamp(1rem, 4vw, 1.1rem);}




.fanwood, .fanwood *  {
  font-family: 'Fanwood Text', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
  }

p.fanwood:not(.h1, .h2, .h3, .h4, .h5, .h6) {
  font-size: clamp(1.3rem, 5vw, 1.4rem);}

.georgia {font-family: Georgia, serif;}


/**************************** li *******************************/

.container ul li {
  font-size: clamp(1rem, 4vw, 1.1rem);
  font-family: 'Poppins', Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
}

.icon-bullet i {margin-right: 15px;}
.icon-bullet {line-height: 1.7; font-weight: 500; font-family: 'Fanwood Text', Georgia, serif;}
p.indented {padding-left: 45px;}


/**************************** accordion *******************************/

.wp-block-pb-accordion-item {padding-bottom: 1.2rem;}

h2.c-accordion__title, h2.js-accordion-controller {
  font-family: 'Fanwood Text', Georgia, serif;
  font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-top: 0rem;
    border-bottom: 3px solid #efefef;
  padding-bottom: 0.5rem;}

.c-accordion__content {padding: 1rem;}

/**************************** header Fonts *******************************/

.header-h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.header-sub {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-family: 'Fanwood Text', Georgia, serif;
}

/**************************** Testimonial Quote  *******************************/

p.quotationmark {
  font-size: clamp(10rem, 15vw, 17rem);
  line-height: .2;
  margin: 2rem 0 0 0;}

p.quotebody {
  font-size: clamp(1.2rem, 5vw, 1.7rem); }

p.attribution {
  font-size: clamp(1.5rem, 10vw, 2.2rem);}


/**************************** Font Weights *******************************/

.fw-500 {
  font-weight: 500;}

/**************************** Brown Menu Thingh *******************************/

p.menuthingy a {font-size: 1.2rem; font-weight: 800; text-transform: uppercase; text-decoration: none; }


p.menuthingy a:hover {
  opacity: 0.8;
  transition: transform 0.5s ease;
}


/**************************** Headings Text Size *******************************/


h1, .h1 {

  font-size: clamp(2.2rem, 5vw, 2.5rem);
}

h2, .h2, h2 a, .h2 a {
  font-size: 2.369rem;
  font-size: clamp(2rem, 5vw, 2.2rem);
  line-height: 1.15;
}

h3, .h3, h3 a, .h3 a {
  font-size: 1.777rem;
    font-size: clamp(1.3rem, 5vw, 1.77rem);
  text-decoration: none;

}

h4, .h4 {
  font-size: 1.333rem;
}

h5, .h5 {
  font-size: 1.15rem;
}

h6, .h6 {font-size: 1rem;}

.small, .small * {
  font-size: clamp(0.75rem, 0.85rem, 1rem)!important;
}

.big, .big * {
  font-size: clamp(1.15rem, 2.5vw, 1.20rem); }

.bigger, .bigger * {
    font-size: clamp(1.15rem, 2.5vw, 1.30rem); }

.px40 {
  font-size: calc(2.125rem + 0.5vw);
}

.px55 {font-size: calc(2.69rem + 1vw);}


.px70 {
  font-size: calc(3.25rem + 1.5vw);
}

@media (min-width: 992px){
    p.w-md-50 {width: 50%!important;}
  }

@media (max-width: 767.98px) {
  .h-md-50 {max-height: 50vh!important}

}
/****************************Blog*********************************/
.wp-block-quote p {
    font-family: 'Fanwood Text', Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 1.5rem);
    line-height: 1.1;
    color: saddlebrown;
    width: 80%;
    text-align: center;
    margin: 3rem auto !important;
}

.single-post h2 {padding-top: 20px;}

/**************************** miscellaneous *******************************/
.strong-blue strong {color: #0f2b5a !important;}

.nowrap {white-space: nowrap;}
/*
.wp-block-cover {
  bottom: -1px;
  top: -1px;
}
*/
.wp-block-cover.is-light .wp-block-cover__inner-container {
  color: #fff;
}

.has-cape-palliser-color a i, .menuthingy a {color: #996b3f !important;}

h3.cape a {color: #996b3f!important;}
h3.cape a:hover {color: #686265!important}



/************************ Spacing Between Things ****************************/



p {
    margin-block-end: 1rem !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-block-end: 0.5rem !important;
}



/************************** Contact Form *********************************/

#corporate-contact p {
  margin-bottom: 0;
  margin-block-end: 0 !important;
}
