/*
Theme Name: S & A (Kadence Child)
Theme URI: https://supplyandassist.com.au/
Description: Kadence Child
Author: Racket Agency
Author URI: http://racketagency.com.au
Template: kadence
Version: 1.0.0
*/



body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    /* -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0); //causing position:fixed issue */
    text-rendering: optimizeLegibility;
}
/* html #wpadminbar{top:-32px} */
a{
    text-decoration: none;
}


.changeToSelectDropdownOnMobile{
  .menu-container{
    width:100%;
    .mobile-nav-select {
      width: 100%;
      padding: 10px;
      border: 0;
    }
  }
}



aside select#wp-block-categories-1 {
    padding: 5px 40px 5px 10px;
}
figure.wp-block-post-featured-image,
figure.wp-block-post-featured-image img {
    object-fit: cover;
}


#wrapper .entry-hero-container-inner{
    height:328px;
    display:flex;
    align-items:center;
    border-bottom: 1px solid var(--intuitive-blue-20, #C7C8D6);
    background: #2e2e2e;
}
h1.page-title.archive-title,
#wrapper .entry-hero h1.entry-title {
    color: var(--Primary-Intuitive-Blue, #293276);
    text-align: center;
    font-size: 68px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%; /* 74.8px */
}


.page .entry.single-entry {
    box-shadow: none;
}
.page #wrapper .content-area {
    margin-top: 0;
    margin-bottom: 0;
}
.page #wrapper .entry-content-wrap {
    padding-top: 0;
    padding-bottom: 0;
}
.cursor-default{
    cursor:default;
}
.w-full{
    width:100%;
}
body .wp-block-kadence-image:not(:last-child){
    margin:0
}
#wrapper .kt-blocks-accordion-title,
#wrapper h1,
#wrapper h2,
#wrapper h3, 
#wrapper h4, 
#wrapper .font-600,
#wrapper .font-600 strong{
    font-weight:600;
}


/* Header */
.hero-container .parent-page-title,
.hero-container .parent-page-title a {
    color: #4C4876;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    text-transform:uppercase;
    margin-bottom:8px;
    text-decoration: none;
}

.hero-container .parent-page-title a:hover {
    text-decoration: underline;
}
div#mobile-header .site-top-header-wrap .site-header-row {
    grid-template-columns: 1fr;
}
div#mobile-header .site-top-header-wrap  .site-header-top-section-left{
    justify-content: center;
}
#main-header .site-branding a.brand img {
    max-width: 130px;
    margin: 9px;
}
#mobile-header .brand.has-logo-image img {
    max-width: 90px;
}
.site-top-header-wrap {
    background: #293276;
    padding:8px 0;
}
/* #masthead {
    z-index: 9999;
} */
#masthead ul.top_left_actions {
    margin: 0;
    list-style: none;
    display: flex;
    gap: 16px;
}
#masthead ul.top_left_actions a{
    display: flex;
    gap: 8px;
    align-items: center;
    color: #FFD400;
    text-decoration:none;
    padding:6px 8px;
   
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}
#masthead ul.top_left_actions a:hover{
    /* text-decoration:underline;
    text-underline-offset: 4px; */
    color: #ffffff;
}


/* header social */
#masthead .element-social-inner-wrap,
#mobile-drawer .element-social-inner-wrap{
    gap:8px
}
#main-header .social-button,
#mobile-drawer .social-button{
    border:0;
    height: 24px;
    width:24px;
    background:transparent;
}
#main-header .social-button:hover,
#mobile-drawer .social-button:hover{
    transform:scale(1.1)
}
#main-header .social-button.social-link-twitter .kadence-svg-icon{
    color:#293276;
    transform:scale(0.5);
}
#mobile-drawer .social-button.social-link-twitter .kadence-svg-icon{
    color:#ffffff;
    transform:scale(0.5);
}
#main-header .social-button.social-link-twitter{
    background:#FFD400;
}

#mobile-drawer .social-button.social-link-twitter {
    background:#293276;
}

/* Navi */
[x-cloak] {
    display: none;
}

.site-header-row{
	position:relative
}

#x-primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    position: static;
}

#x-primary-menu a {
    color: #293276;
    width: 100%;
    font-size: 16px;
    line-height: 130%;
    padding: 9px 30px;
    display: block;
}

/* First Level Menu (Flex) */
#x-primary-menu>li {
    position: relative;
}

#x-primary-menu>li>a {
    display: block;
    padding: 30px 20px;
    text-decoration: none;
    color: #293276;
    background: none !important
}

#x-primary-menu>li.menu-item:not(.mega-menu) .sub-menu {
    padding-top: 10px;
    left:100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

ul#x-primary-menu .menu-item-has-children{
    display:flex;
    position:relative;
}


ul#x-primary-menu li.current-menu-ancestor > a,
ul#x-primary-menu a:hover{
    color:#f89925;
}
ul#x-primary-menu .menu-item-has-children > a{
    padding-right:5px;
}
ul#x-primary-menu .menu-item-has-children button{
    padding:7px 5px 0;
    background: none;
    color: inherit;
    cursor: pointer;
    border-radius:0;
    box-shadow: none!important;
}

ul#x-primary-menu .sub-menu .menu-item-has-children:hover>button{
    background:#39448e;
    color:#fff;
}

/* ul#x-primary-menu li.active button svg path,
ul#x-primary-menu .menu-item-has-children button:hover svg path{
    fill:#f89925;
} */


ul#x-primary-menu .menu-item-has-children > ul.sub-menu{
    position:absolute;
    top:0;
    list-style:none;
}
ul#x-primary-menu>li.menu-item-has-children > ul.sub-menu.lvl_1{
    top:100%;
}
ul#x-primary-menu>li.menu-item-has-children:not(.mega-menu) > ul.sub-menu.lvl_1{
    left:0;
}

/* Second Level - Mega Menu Wrapper */


#x-primary-menu>li.mega-menu>ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    /* Full viewport width */
    max-width: 100vw;
    /* Prevent overflow */
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    box-sizing: border-box;
    /* Include padding in width calculation */
    transform: translateX(-50%);
    /* Center mega menu */
    left: 50%;
    /* Center mega menu */
    margin: 0 0 -20px;
    padding: 0;
}

#x-primary-menu>li.mega-menu>ul a {
    color: var(--Primary-Midnight-Blue, #231F58);
}
#x-primary-menu>li ul div.submenu-wrapper {
    max-width: var(--global-content-width);
    margin: 0 auto;
    position: relative;
    top: 0;
}

#x-primary-menu li.mega-menu,
#x-primary-menu li.mega-menu .menu-item-has-children {
    position: static
}

#x-primary-menu>li>ul .submenu-wrapper>li {
    width: 240px;

}
/* #x-primary-menu>li:hover>ul,
#x-primary-menu>li.active>ul {
    display: block;
} */

#x-primary-menu ul li.menu-item {
    border-bottom: 0;
}


/* Columns in Mega Menu */
#x-primary-menu>li.mega-menu>ul>li {
    flex: 1;
    padding: 0 10px;
    position: static;
}

/* Third Level with Second Level Header */
#x-primary-menu>li>ul>.submenu-wrapper>li>ul {
    position: absolute;
    top: 0;
    left: 240px;
    width: 240px;
    background-color: white;
    /* display: none; */
}


/* Fourth Level Menu */
#x-primary-menu>li>ul>li>ul>li>ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    background-color: white;
    display: none;
}
#x-primary-menu>li>ul>li>ul li.active > ul{
    display:block;
}

#x-primary-menu .sub-menu-header {
    text-transform: uppercase;
}


#x-primary-menu ul li.menu-item.current-menu-item {
    background: #29327660;
}


#wrapper #x-primary-menu>li>ul li:hover>a {
    background: #293276;
    color: #fff !important;
}

#x-primary-menu .sub-menu {
    background: #fff;
    margin-left:0;
    min-width: 240px;
}

#x-primary-menu>li.mega-menu>ul {
    padding-left: 300px;
    border-top: 1px solid var(--intuitive-blue-20, #C7C8D6);
}

#x-primary-menu>li.mega-menu .sub-menu-header {
    padding: 20px 30px 8px;
    color: var(--Primary-Midnight-Blue, #231F58);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    padding-bottom: 15px;
    display: block;
}

#x-primary-menu>li.mega-menu>ul>div.submenu-wrapper>.sub-menu-header {
    color: var(--midnight-blue-40, #9D9BB2);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

#x-primary-menu>li.mega-menu>ul>div.submenu-wrapper>li>a {
    font-weight: 600;
}

#x-primary-menu>li.mega-menu ul.sub-menu ul.sub-menu {
    background: #9FA3BE;
    box-shadow: none;
}

#x-primary-menu>li.mega-menu ul.sub-menu ul.sub-menu ul.sub-menu {
    background: #C7C8D6;
    min-height: 100%;
}

#x-primary-menu>li.mega-menu ul.sub-menu ul.sub-menu {
    width: 100vw;
}
#x-primary-menu>li.mega-menu ul.sub-menu ul.sub-menu.lvl_2 {
    width: 340px;
    min-height:100%;
}

#x-primary-menu>li.mega-menu ul.sub-menu ul.sub-menu .submenu-wrapper {
    margin: 0;
    max-width: 340px;
    padding-bottom: 25px;
}

#x-primary-menu>li.mega-menu ul.sub-menu ul.sub-menu li {
    width: 100%;
}

#x-primary-menu>li.mega-menu:hover>ul {
    background: #fff;
}

#x-primary-menu>li.mega-menu li {
    border-bottom: 0
}

#x-primary-menu>li.mega-menu>ul>div.submenu-wrapper {
    width: 100%;
    min-height: 370px
}
#x-primary-menu>li.mega-menu>a {
    position:relative
}
#x-primary-menu>li.mega-menu>a:after {
    width: calc(100% + 30px);
}


#x-primary-menu ul ul ul.sub-menu.sub-menu-edge {
    left: 100%;
    right: auto;
    z-index: 99999999999;
    height: 510px;
}
ul#x-primary-menu .menu-item-has-children.active > a{
    color:#f89925;
}
ul#x-primary-menu .mega-menu .menu-item-has-children.active > a,
ul#x-primary-menu .mega-menu .menu-item-has-children.active > button{
    color:#fff;
    background: #293276;
    border-radius:0;
}
#wrapper ul#x-primary-menu .mega-menu .menu-item-has-children.active > a:hover,
#wrapper ul#x-primary-menu .mega-menu .menu-item-has-children.active > button:hover svg{
    color:#FFD400!important;
}
ul#x-primary-menu .mega-menu  ul.sub-menu.lvl_3 {
    left: 100%;
    height:100%
}
ul#x-primary-menu .mega-menu  ul.sub-menu.lvl_3 a{
    background:transparent;
}
#wrapper ul#x-primary-menu .mega-menu .menu-item-has-children.current_page_item:not(.active) button{
    background:#29327660;
    border-radius:0;
}


/* menu underline */
#x-primary-menu>li>a:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FFD400;
    transform-origin: bottom right;
    transition: transform .25s ease-out
}
#x-primary-menu>li.current-menu-ancestor>a:after,
#x-primary-menu>li.active>a:after,
#x-primary-menu>li:hover>a:after {
    transform: scaleX(1);
    transform-origin: bottom left
}



/* btn dropdown*/
ul#x-primary-menu .menu-item-has-children > button svg{
    transition: transform 0.3s ease-in-out;
}
ul#x-primary-menu .menu-item-has-children.active > button svg{
    color:#f89925;
    transform: rotate(-180deg);
}

ul#x-primary-menu .menu-item-has-children > button:hover svg{
    color:#f89925;
}

ul#x-primary-menu .sub-menu .menu-item-has-children > button svg{
    transform: rotate(-90deg);
}
ul#x-primary-menu .sub-menu .menu-item-has-children.active > button svg{
    color:#f89925;
    transform: rotate(0deg);
}



/* Google Reviews Slider*/
#wrapper .wp-gr .wp-google-left img {
    box-shadow: none!important;
}
#wrapper .wp-gr .grw-controls {
    top: 100% !important;
    right: 0px!important;
    width: 90px !important;
    margin-top:-15px!important;
}

#wrapper .wp-gr .grw-btns{
    background:#787DA6!important;
    width: 44px!important;
    height: 44px!important;
    display:grid;
    align-items:center;
    justify-content:center;
}
#wrapper .wp-gr .grw-btns:hover{
    background:#231F58!important;
}

#wrapper .wp-gr .grw-btns svg{
    width: 30px!important;
    height: 30px!important;
}

#wrapper .wp-gr .grw-btns svg path{
    fill:#fff!important;
}

#wrapper .wp-gr .grw-dots {
    transform: none!important;
    left: 0!important;
}

#wrapper .wp-gr .grw-reviews {
    padding: 0 0 40px!important;
    margin: 0!important;
}

#wrapper .wp-gr .grw-review-inner{
    padding:24px!important;
    margin: 0!important;
}


#wrapper .wp-gr .grw-reviews{
	flex: 0 0 35%;
    max-width: 35%;
    gap:24px
}

#wrapper .wp-gr .grw-reviews .grw-review{
	flex: 0 0 min(500px, 100%);
    max-width: 100%;
    -webkit-border-radius: 8px!important;
    -moz-border-radius: 8px!important;
    border-radius: 8px!important;
    overflow:hidden!important;
}
/* #wrapper .grw-dots .grw-dot {
    background:#9FA3BE!important;
    width: 8px !important;
    height: 8px !important;
    margin: 3px !important;
} */
#wrapper .wp-gr .rpi-dots-wrap {
    width: calc(100% - 120px)!important;
    display: flex;
    justify-content: left!important;
    z-index: 1!important;
    top: calc(100% - 10px)!important;
}



#wrapper .grw-dots .grw-dot,
#wrapper .wp-gr .rpi-dots .rpi-dot{
    background:#9FA3BE!important;
    width: 8px !important;
    height: 8px !important;
    margin: 3px !important;
}

#wrapper .grw-dots .grw-dot.active,
#wrapper .wp-gr .rpi-dots .rpi-dot.active{
    background:#293276!important;
}


#wrapper .wp-gr .wp-google-text {
    font-size:18px!important;
    color:#575757;
    line-height:150%;
}

#wrapper .wp-gr .wp-more-toggle::before {
    content: "\A";  /* Inserts line breaks */
    white-space: pre-wrap;  /* Ensures the line break is respected */
}

#wrapper .wp-gr span.wp-more-toggle {
    font-size:0px!important;
}
#wrapper .wp-gr span.wp-more-toggle::after {
    content:"More";
    color:#293276!important;
    font-size:16px!important;
    text-decoration: underline!important;
    margin-top:20px;
}
#wrapper .wp-gr span.wp-more-toggle:empty {
    display:none!important
}

#wrapper .wp-gr .wp-google-time {
    display:none
}
#wrapper .wp-gr .wp-star svg path[fill="#fb8e28"] {
    fill:#FFD400!important;
}

#wrapper .wp-gr .wp-google-stars {
    margin: -30px 0 40px 68px!important;
}
#wrapper .wp-gr a.wp-google-name {
    margin-left:10px!important;
    color:#293276!important;
    font-size:16px!important;
    font-weight: 600!important;
}

#wrapper .wp-gr .grw-review .wp-google-feedback {
    height: 110px !important;
}


/* buttons */

li.wp-social-link.wp-block-social-link {
    background:#ffd400;
    color: #293276;
}
#wrapper .btn-yellow,
.contactform .qbutton,
#main-header .header-button,
#comments input[type="submit"],
.archive a.post-more-link,
#wrapper .loop-btn-yellow a.wp-block-post-excerpt__more-link{
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px 4px 4px 4px;
    color: #231F58;
    background: #ffd400;
    border: 1px solid transparent;
    box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0);
    padding-top:7px;
    padding-bottom:7px;
}

.archive a.post-more-link:hover,
li.wp-social-link.wp-block-social-link:hover,
.contactform .qbutton:hover,
#comments input[type="submit"]:hover,
#wrapper .loop-btn-yellow a.wp-block-post-excerpt__more-link:hover,
#wrapper .btn-yellow:hover,
#main-header .header-button:hover {
    background: #FFAF6B;
}

#wrapper .download_guide_bottom .kb-button:hover,
#wrapper button._submit:hover,
#wrapper input.wpcf7-form-control.wpcf7-submit:hover{
    background: #f89925!important;
    cursor:pointer;
}


.archive .entry.loop-entry a.post-more-link{
    padding-left: 16px;
    padding-right: 16px;
    font-weight: normal;
    text-transform:none;
}
.archive .entry.loop-entry a.post-more-link:hover{
    color:inherit;
}

.archive .entry.loop-entry a.post-more-link .kadence-svg-iconset{
    display:none;
}

.archive article.entry.loop-entry{
    box-shadow:none;
}
.archive article.entry.loop-entry h2.entry-title {
    line-height:1.2
}

.archive article.entry.loop-entry p.more-link-wrap {
    margin-top:25px;
}

.archive .loop-entry .entry-content-wrap {
    padding: 24px 0;
}

.entry-content-wrap .single-content h2{
    margin-top:1.2em;
}
.entry-content-wrap .single-content ul, 
.entry-content-wrap .single-content ol {
    margin: 0 0 16px;
}

/* Footer */
footer.site-footer{
    background:#060807;
    color:#fff;
}
/* footer social */
.site-footer .element-social-inner-wrap{
    gap:8px
}
.site-footer .social-button{
    border:0;
    height: 24px;
    width:24px;
    background:transparent;
    display:block;
}
.site-footer .social-icon-custom-svg svg{
    height: 24px;
    width:24px;
}
.site-footer .social-button:hover{
    transform:scale(1.1)
}
.site-footer .social-button.social-link-twitter .kadence-svg-icon{
    color:#060807;
    transform:scale(0.5);
}
.site-footer .social-button.social-link-twitter {
    background:#FFD400!important;
}
.site-footer-section {
    flex-direction: column;
}
.site-footer .kt-svg-icon-list{
    margin-bottom:0!important
}
.site-footer .kb-svg-icon-wrap svg{
    opacity:0
}
.footer-widget-area-inner.site-info-inner {
    font-size: 14px;
}
#colophon .py8 ul {
    gap:0;
}
#colophon .py8 li {
    padding: 8px 0;
}
.site-footer-top-section-2 {
    margin-left: 32px;
    margin-right: 32px;
}
.site-bottom-footer-wrap .site-bottom-footer-inner-wrap{
    border-top: 1px solid #474747;
    padding-top:16px;
    padding-bottom:20px;
}
#colophon a:hover{
    color:#FFD400;
    text-decoration: none;
}



/* sidebar */
.similar-reads-sidebar {
    background: #f4f3f4;
    padding: 16px;
}
.similar-reads-sidebar figure, 
.similar-reads-sidebar img{
    object-fit:cover;
    aspect-ratio:16/9!important;
    width:100%
}
.similar-reads-sidebar h4{
    line-height:1.1;
    padding-top:8px;
    padding-bottom:15px;
}
.similar-reads-sidebar ul{
    display:grid;
    gap:16px;
    grid-template-columns: 1fr;
}
.similar-reads-sidebar ul li{
    margin:0!important;
    display:grid;
    grid-template-columns: 100px auto;
    gap:20px
}
.similar-reads-sidebar li h5{
    line-height:1.2;
    margin-top: 0 !important;
}
.similar-reads-sidebar li img{
    width:100px;
    aspect-ratio:100/70!important;
    height:auto;
    object-fit:cover;
}
.similar-reads-sidebar li a{
    text-decoration:none!important;
}


/* Posts -  Knowledge Hub Updates */
.single-post #primary.content-area{
    margin-top:40px;
}
.single-post .entry-taxonomies,
.single-post .entry-meta{
    margin:0;
}
.post .entry-content-wrap{
    padding-top:0
}
.custom-row.postnwsltrsec {
    background:-webkit-linear-gradient(left, rgb(255, 214, 7) 0%, rgb(247, 152, 35) 100%);
    padding:40px;
    margin-top:40px;
    display:flex;
    gap:40px;
    align-items: center;
}
.custom-row.postnwsltrsec h2{
    margin:0!important;
    line-height: 1.2;
}
.custom-row.postnwsltrsec .custom-column-text{
    margin-top:10px!important;
    line-height: 1.2;
}
.custom-row.postnwsltrsec ._form-content{
    display:grid;
    grid-template-columns:1fr;
    gap: 10px;
}
.custom-row.postnwsltrsec ._form-content input[type="text"]{
    width:100%
}
.custom-row.postnwsltrsec ._form-content ._clear-element{
    display:none
}
#wrapper .custom-row.postnwsltrsec ._submit{
    padding: 10px !important;
    line-height: 28px;
}
@media (max-width: 379px) {
    .custom-row.postnwsltrsec {
        flex-direction:column
    }
    .custom-row.postnwsltrsec .custom-column {
        width: 100%!important;
    }    
}
aside#secondary select#wp-block-categories-1 {
    width: 100%;
}




/* mobile menu*/
button#mobile-toggle {
    color: #231F58;
}
#mobile-drawer li.current-menu-item a, 
#mobile-drawer li.current-menu-ancestor  > div > a{
    text-decoration:underline;
    text-decoration-color: #FFD400;
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}
#mobile-drawer button.menu-toggle-close.drawer-toggle {
    width: 12px;
    height: 12px;
    padding: 10px;
    border-radius: 100px;
    margin:20px 0 0
}
#mobile-drawer .toggle-close-bar{
    height:1.5px
}
div#mobile-drawer .mobile-header-button-wrap a.button{
    display:block;
    text-align:center;
}
div#mobile-drawer .site-header-item.site-header-focus-item[data-section="kadence_customizer_mobile_button"] {
    display:block;
    margin-bottom:16px;
    margin-top:50px;
}

div#mobile-drawer .site-header-item.site-header-focus-item[data-section="kadence_customizer_mobile_social"] {
    display:block;
}
#mobile-drawer .element-social-inner-wrap{
    justify-content:center
}
#mobile-drawer .mobile-navigation ul li a {
    padding-top: 9px;
    padding-bottom: 9px;
}
#mobile-drawer .mobile-navigation ul li.home a{
    background: url(/wp-content/uploads/2024/09/intuitive_finance_logo.png) no-repeat top left 10px;
    background-size:102px;
    padding-top:80px
}
div#mobile-drawer .drawer-header {
    position:absolute;
    top:0px;
    right:0px
}
div#mobile-drawer .drawer-inner{
    padding-top: 20px;
}

/* Ensure body overflow is hidden only when the drawer is showing */
body[class*="showing-popup-drawer-"] {
    overflow: hidden; /* Prevent background scrolling */
}
/* Set the drawer to allow scrolling */
#mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    overflow: scroll; /* Force vertical scrollbar */
    max-height: 100vh;  /* Limit the height of the drawer to the viewport */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
/* Ensure drawer content slides in and is scrollable */
.popup-drawer.active .drawer-inner {
    opacity: 1;
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    overflow-y: auto; /* Allow scrolling */
    max-height: 100vh; /* Ensure it fits the screen */
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling for mobile */
}





#colophon .footer-widget-area,
#colophon .site-footer-top-section-2{
    margin:0
}

#colophon .kt-row-has-bg>.kt-row-column-wrap{
    padding:0
}
/* #colophon .site-container {
    padding-top: 30px;
} */





/* posts grid block, align button to the bottom */
.home_blogs ul.columns-3 li>div,
.home_blogs ul.columns-3 li>div>div{
    height:100%;
}
.home_blogs ul.columns-3 li>div>div .wp-block-post-featured-image{
    /* height:240px; */
    flex: none;
    margin-bottom: 0;
}
.home_blogs ul.columns-3 li>div>div{
    display:flex;
    flex-direction:column;
}
.home_blogs ul.columns-3 li>div>div .wp-block-post-excerpt{
    flex:1;
    display:flex;
    flex-direction:column;
}
.home_blogs ul.columns-3 li>div>div .wp-block-post-excerpt .wp-block-post-excerpt__more-text{
    margin-top:auto;
}


/* Single Post */
.single-post #wrapper .entry h1, 
.single-post #wrapper .entry h2, 
.single-post #wrapper .entry h3, 
.single-post #wrapper .entry h4, 
.single-post #wrapper .entry h5, 
.single-post #wrapper .entry h6 {
    margin: 16px 0 8px;
}
.single-post #wrapper .entry  p {
    margin-bottom: 16px;
    line-height:1.5;
}
.single-post #primary.content-area{margin-bottom:0;}
#wrapper .entry.single-entry{box-shadow: none;}
.single-post .abh_box_business ul.abh_tabs {display:none}

#wrapper .abh_box_business{
    padding:0!important;
}
#wrapper .abh_box_business .abh_tab_content{
    border: 0!important;
    background:#fff!important;
    padding:30px 0 0!important;
}
.abh_box_business .abh_tab_content .abh_text a{
    color:var(--global-palette3)!important;
}
.single-post #wrapper .abh_box_business{
    margin:30px 0 0 0!important
}
.single-post #wrapper .abh_box_business .abh_tab_content{
    background:#ebeceb!important;
    padding:15px!important;
}
.single-post #wrapper .custom-row.postnwsltrsec~p:empty{
    display:none
}
@media (max-width: 1024px) {
    .single-post #wrapper .primary-sidebar {
        padding-top:0
    }
    .single-post #wrapper .single-content h2 {
        line-height: 1.1;
    }
}

.vc-video-wrapper{
    position: relative;
    width: 100%; /* You can set any width here */
    padding-bottom: 56.25%!important; /* For 16:9 aspect ratio, 9 / 16 * 100 = 56.25% */
    height: 0;
    overflow: hidden;
    margin-top:25px
}
.vc-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* accordion FAQs */
/* #wrapper .kt-blocks-accordion-header{
    padding-left:0;
    padding-right: 0;
    box-shadow: none !important;
}
#wrapper .kt-accordion-inner-wrap {
    row-gap: 0;
}

#wrapper .kt-accordion-panel-inner {
    padding-top: 0;
}
#wrapper .kt-accordion-panel-inner p{
    margin-bottom: 0;
}
 */






/* Awards slider*/
.award-item {
    display: grid;
    grid-template-columns: 72px auto;
    align-items: start;
    gap: 16px;
    padding: 10px 16px;
}

.award-item .badgeWrapper {
    background: var(--Secondary-White, #FFF);
    border-radius: 8px;
    border: 1px solid var(--Wireframe-Background-1, #F1F1F1);
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    height:72px;
}

#wrapper .award-item h3{
    color: var(--Primary-Midnight-Blue, #231F58);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%; /* 23.4px */
    margin:0;
}
.award-item p{
    color: var(--Secondary-Dark-Gray, #575757);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    margin:0;
    padding:0
}
#awards_slider ul.splide__slide__row {
    height:auto!important;
}

#awards_slider .splide__list>.splide__slide {
    height: max-content;
}

#awards_slider .splide {
    overflow: hidden;
}

#awards_slider .splide__list{
    height:auto;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Style for the arrows */ 
#awards_slider .splide__pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    width: auto;
    margin: 0 auto;
    left: 0;
    right: 0;
} 
#awards_slider .splide__arrow {
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    margin: 0 5px;
    color: #293276;
    position: static;
    opacity: 1;
    height: auto;
    width: auto;
    transform: none;
}
#awards_slider .splide__arrow:disabled {
    color: #787DA6;
    opacity: 0.4;
    cursor: default;
}

#awards_slider .splide__arrow svg {
    fill:none
}

/* Style for pagination dots */
#awards_slider .splide__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

#awards_slider .splide__pagination__page {
    width: 30px;
    height: 30px;
    background: #ddd;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    /* Center the text vertically */
    color: #333;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
#awards_slider .splide__pagination__page.is-active {
    background: #333;
    color: #fff;
}
#awards_slider .splide__pagination button {
    border-radius: 4px;
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--Secondary-White, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    height: 32px;
    width: 25px;
    color: #50588E;
    background: transparent;
    white-space: nowrap;
}
#awards_slider .splide__pagination button.is-active{
    background: #50588E;
    color:#fff;
    transform:none;
    opacity: 1;
}

#awards_slider .splide__slide__row li{
    background: white;
    border-radius: 8px;
}
#awards_slider .splide__pagination-wrapper {
    margin-top: 50px;
    position:relative;
    display:flex;
    justify-content:center
}

#awards_slider .splide__pagination{
    position: static;
}

.awards-slider-container  #slide-count {
    color: var(--Primary-Midnight-Blue, #231F58);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}
.awards-slider-container  .sortWrapper {
    display: grid;
    align-items: center;
    grid-template-columns:1fr auto;
    margin-bottom:24px;
}
.awards-slider-container  .sortWrapper select{
    border:0;
    border-radius: 4px;
    color: #231F58;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    padding: 5px 35px 5px 15px;
    min-width: 90px;
    width: auto;
    display: inline-block;
    white-space: nowrap;
}



nav.breadcrumbs {
    position: absolute;
    bottom: 16px;
    left: 48px;
    color: var(--midnight-blue-40, #9D9BB2);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    text-transform:uppercase;
    gap: 4px;
    align-items: center;
    display: flex;
}
nav.breadcrumbs a {
    color:#9D9BB2;
    text-decoration:none;
}
nav.breadcrumbs a:hover {
    color:#9D9BB2;
    text-decoration:underline;
}
nav.breadcrumbs svg{
    width: 21px;
}
nav.breadcrumbs span.current-page-title {
    color: var(--midnight-blue-80, #4C4876);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 21px */
}

.hero-container{
    width:100%;
    max-width: var(--global-content-width);
    padding: 0 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.page-hero-section h1 span {
    white-space: nowrap;
}


body.page #wrapper .entry-content-wrap {
    padding: 0;
}

.us-message.notification {
    display: flex;
    gap: 20px;
    align-items: center;
    padding:40px;
}
.us-message.notification .fas{
    font-size: 2rem;
}


.contactform .formRow label {
    font-size: 18px;
    font-weight:400;
    line-height: 1.5;
    /* color: var(--global-palette3); */
}




#wrapper #primary .kb-row-layout-wrap.same-height-wrapper .kt-inside-inner-col,
#wrapper #primary .kb-row-layout-wrap.same-height-wrapper .kt-inside-inner-col div{
    height:100%!important
}

/* btn icons */
#wrapper a.kb-button.calc {
    height: 100%;
    min-height: 158px;
    padding: 108px 24px 24px;
    text-align: left;
    align-items: end;
    line-height: 1.2;
    position: relative;
    display:block;
    text-transform: capitalize;
}
#wrapper a.kb-button.calc::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    height: 125px;
    width: 100%;
    z-index: 9;
    background-repeat: no-repeat;
    background-position: top 24px left 24px;
    opacity: 1;
}


#wrapper .guide-numbers figure,
#wrapper .guide-numbers img{
    max-width:62px;
    width:62px;
    margin-bottom: 10px;
}

div#comments {
    padding: 2rem;
    margin-top: 0;
}


@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}
.shake {
    animation: shake 0.4s; /* Duration of the wiggle animation */
}

/* single post */
.single-post #wrapper h1{
    line-height: 1.1;
}
.single-post #wrapper .entry-content-wrap {
    padding: 0 0 30px;
}
@media screen and (max-width: 719px) {
    .single-post #wrapper .content-bg:not(.loop-entry) {
        margin:0!important;
        width: auto;
    }
}
@media screen and (min-width: 1025px) {
    .single-post #wrapper .entry-content-wrap {
        padding: 0 10px 30px;
    }
}

/* case study */
.single-case-studies #wrapper article.entry .entry-content-wrap {
    padding-top: 0;
}

/* remnve website from comment form */
#wrapper p.comment-form-url {
    display: none;
}

#wrapper .comment-form .comment-input-wrap p{
    margin:-5px 0 0;
}
#wrapper .comment-form .comment-input-wrap {
    display:grid;
    grid-template-columns: 1fr;
}
#wrapper div#comments{
    padding-bottom: 10px;
}
@media screen and (min-width: 767px) {
    #wrapper .comment-form .comment-input-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width: 1040px) {
    div#main-header #primary-menu li.home {
        display: none;
    }
}

@media (max-width: 1034px) {
    .no_br_on_mobile br{
        display:none;
    }
}


@media (max-width: 1024px) {
    .primary-sidebar {
        max-width: 450px;
    }
    #colophon .py8 li {
        padding: 6px 0;
    }
    
    span.parent-page-title {
        margin-top:-30px
    }
}

@media (max-width: 767px) {
    #wrapper .guide-numbers .kt-inside-inner-col .kt-inside-inner-col {
        display:flex;
        flex-direction:row;
        align-items:center;
        width:300px;
        margin:0 auto;
    }
    #wrapper .guide-numbers .kt-inside-inner-col .kt-inside-inner-col p{
        text-align:left;
    }
    #wrapper .guide-numbers figure, 
    #wrapper .guide-numbers img{
        margin:0;
    }
    #wrapper .guide-numbers h3{
        margin-bottom:0
    }
    #wrapper .guide-numbers br {
        content: " ";
        display: inline; 
    }
    #wrapper .guide-numbers br:before {
        content: " ";
    }

    nav.breadcrumbs {
        left: 16px;
        text-align: left;
    }
    #wrapper .hero-container{
        padding: 0 16px;
    }
    #wrapper .entry-hero-container-inner{
        height:250px;
    }   
    div#comments {
        padding: 2rem 16px;
    }
    #wrapper .home_blogs ul.columns-3 {
        gap: 37px;
    }
}


@media (max-width: 639px) {
    h1.page-title.archive-title,
    #wrapper .entry-hero h1.entry-title {
        font-size: 40px;
    }
    
    /* #awards_slider .splide__pagination-wrapper {
        justify-content:right
    }*/

    #wrapper .wp-gr .grw-review .wp-google-feedback {
        height: 140px !important;
    }
}


@media (max-width: 379px) {
    span.parent-page-title {
        margin-top:-40px;
        font-size: 14px;
    }
    h1.page-title.archive-title,
    #wrapper .entry-hero h1.entry-title {
        margin-top: -10px;
    }
    
    nav.breadcrumbs {
        left: 16px;
        text-align: left;
        font-size: 12px;
    }
    nav.breadcrumbs span.current-page-title{
        font-size: 12px;
    }
}



@media (min-width: 1025px) {
    #colophon .site-container {
        padding: 30px 48px 0;
    }
    #colophon .site-bottom-footer-wrap .site-container {
        padding-top: 0;
    }
    
}

