/*!
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
-------------------------------------------------------------- */
/* Code to change layout of cookiepage. Change this code to your font-sizes  */
#cmplz-document{
	max-width: unset;
}

#cmplz-document p{
	font-size: 18px !important;
}

#cmplz-document li, .cmplz-description, .cmplz-category-title{
	font-size: 18px !important;
}

#cmplz-document subtitle{
	font-size: 24px !important;
}

#cmplz-document h2{
	font-size: 36px !important;
}
.entry-content-wrap {
	padding: 10px 15px;
}
#contact-error {
	width: 100vw;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: flex-end;
}

#contact-error .wp-block-column {
	width: 50%;
    height: 350px;
    max-height: 350px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 50%);
}
#information-blocks .kt-inside-inner-col {
	height: 100%;
}
#menu-footer-menu-1, #nav_menu-3, #nav_menu-4 {
	text-align: center;
}
.main-header .has-logo-image img {
	padding: 10px;
}
h1 {
	text-shadow: 4px 4px 0 #00000019, -4px 4px 0 #00000019, 4px -4px 0 #00000019, -4px -4px 0 #00000019;
}

.single-post h1 {
    text-shadow: none;
}

.content-bg-loop-entry {
	grid-template-columns: 1fr 1fr !important;
}

.gallery-title-wrap {
	width: 100%;
	max-width: var(--global-content-width);
	margin-left: auto;
	margin-right: auto;
}
#gallery-title {
position: absolute;
z-index: 1;
top: 0px !important;
	bottom: 0px;
	transform: translateY(40%) !important;
}
#header-gallery {
height: 50vh;
}
#header-gallery div:not(.splide__arrows), #header-gallery figure {
height: 100%;
}
#header-gallery div.kb-gallery-image-contain {
padding-bottom: 0px;
}
h1 {
	text-shadow: 4px 4px 0 #00000027, -4px 4px 0 #00000027, 4px -4px 0 #00000027, -4px -4px 0 #00000027;
}
.entry.single-entry {
box-shadow: none;
}
.block-section-button {
position: absolute !important;
bottom: 20px;
width: 80% !important;
left: 0%;
margin-left: 10%;
margin-right: 10%;
}
.site-footer-row-container-inner {
box-shadow: inset 0px 10px 15px -10px rgba(0, 0, 0, 0.05);
}
.content-bg.loop-entry {
	grid-template-columns: 0.65fr 1.1fr !important;
        border-radius: 15px;
}
.content-bg.loop-entry:nth-of-type(2n){
	grid-template-columns: 1.1fr 0.65fr !important;
}
/* Change order for every second post */
article:nth-of-type(2n) .post-thumbnail {
  order: 2; /* Move thumbnail to second position */
}

article:not(.content-wrap > article) {
 background-color: rgba(0, 110, 108, 0.06) !important;
}

article:nth-of-type(2n) .entry-content-wrap {
  order: 1; /* Move content to first position */
}
.content-style-boxed .wp-site-blocks .entry-content .alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--global-calc-content-width);
}
.wp-site-blocks .post-thumbnail:not(.kadence-thumbnail-ratio-inherit) img {
border-radius: 15px;
}
.entry-taxonomies .category-style-pill a, .entry-taxonomies .category-style-normal a {
padding: 0.5rem;
	color: var(--global-palette-9);
}
#information-blocks .kt-inside-inner-col {
	height: 100%;
}
#menu-footer-menu-1, #nav_menu-3, #nav_menu-4 {
	text-align: center;
}
#main-header .has-logo-image img {
	padding: 5px;
    position: relative;
    top: -10px;
    max-width: unset;
    height: auto;
    width: 100%;
}
.no-shadow article {
box-shadow: none !important;
}
#homepage-banner-overlay {
max-width: calc((var(--global-content-width)* 1.25) + 20px);
}
#homepage-banner-text p {
padding-left: calc((var(--global-content-width) - 100vw)* -0.5 + 20px);
}
.site-branding a.brand {
    text-decoration: none;
    color: inherit;
    max-height: unset !important;
    background-color: white;
    width: 160px;
    padding-left: 10px;
    height: fit-content;
    position: absolute;
    padding-right: 10px;
    top: 13px;
}
.wp-block-kadence-posts article .post-thumbnail {
    height: 100%;
}
#news-homepage {
    margin-left: auto !important; 
    margin-right: auto !important;
}
#masthead {
    min-height: 75px;
    align-content: center;
}
.header-is-fixed #masthead {
    top: -10px;
}
.header-is-fixed .site-branding a.brand {
    top: 0px;
}
.header-is-fixed #main-header .has-logo-image img {
    top: 0px;
}
.site-main-header-wrap {
top: auto !important;
}
.content-style-boxed .wp-site-blocks .entry-content .alignwide {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: var(--global-calc-content-width);
}
.single-content h2 {
	margin: 0em 0 0.3em !important;
    font-size: 2.5rem;
}
.category-links:not(.page-id-7 .category-links) {
	background: var(--global-palette-highlight);
    color: white;
    padding: 0.25rem;
    border-radius: 0.25rem;
    margin-right: .25rem;
    margin-bottom: .25rem;
    display: inline-block;
    line-height: 1.2;
}
#news-homepage article .entry-content-wrap {
	background-color: var(--global-palette8);
}
.kadence-sticky-logo {
	width: auto !important;
}

#archive-container article {
    background-color: var(--global-palette9);
}
.entry-taxonomies {
    margin-top: 15px;
}
#archive-container {
    margin-bottom: 25px;
}
.wp-block-social-link {
    border-radius: 15px !important;
    border-top: 8px double var(--global-palette1, #3182CE);
        border-right: 8px double var(--global-palette1, #3182CE);
        border-bottom: 8px double var(--global-palette1, #3182CE);
        border-left: 8px double var(--global-palette1, #3182CE);
}
:root {
    --global-content-edge-padding: 1.5rem !important; /* Replace 0 with your desired value */
}
.wp-block-kadence-tabs {
	width: 100%;
}
.site-footer .site-middle-footer-wrap a:where(:not(.button, .wp-block-social-link-anchor):not(.wp-block-button__link):not(.wp-element-button)):hover {
	color: var(--global-palette9) !important;
    font-weight: 700;
}
.site-footer .site-middle-footer-wrap a:where(:not(.button, .wp-block-social-link-anchor):not(.wp-block-button__link):not(.wp-element-button)) {
transition: font-weight 0.6s ease-in-out;
}
.single-post .article-post-thumbnail {
	width: 100vw !important;
	margin-left: calc(50% - (var(--global-vw, 100vw) / 2)) !important;
    margin-right: calc(50% - (var(--global-vw, 100vw) / 2)) !important;
	margin-bottom: 0px;
}
.entry-related {
	background: var(--global-palette8) !important;
}
select {
	color: var(--global-palette6) !important;
}
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-select {
    width: 100%; /* Ensures all elements have the same width */
    max-width: 400px; /* Adjust this to match the desired width */
    display: block; /* Ensures proper alignment */
}
@media only screen and (min-width: 767px){
	#news-homepage article:nth-of-type(2n-1) .post-thumbnail:not(.kadence-thumbnail-ratio-inherit) img {
	border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
	}
	#news-homepage article:nth-of-type(2n) .post-thumbnail:not(.kadence-thumbnail-ratio-inherit) img {
		border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
	}
	#news-homepage article:nth-of-type(2n-1) .entry-content-wrap {
		border-top-right-radius: 15px;
		border-bottom-right-radius: 15px;
	}
	#news-homepage article:nth-of-type(2n) .entry-content-wrap {
		border-top-left-radius: 15px;
		border-bottom-left-radius: 15px;
	}
}
@media only screen and (max-width: 1024px) and (min-width: 767px){
#gallery-title {
    width: 80%;
    margin-left: 2rem !important;
	margin-right: 2rem !important;
}
}
@media only screen and (max-width: 1024px){
    .header-is-fixed .site-branding a.brand {
            top: 10px;
        }
.content-area {
margin-top: 0px;
}
.entry-content-wrap:not(#news-homepage .entry-content-wrap) {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.content-area {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.site-branding a.brand {
    width: auto;
}
}
@media (min-width: 600px) and (max-width: 796px) {
#gallery-title {
top: calc(16vw - 270px);
}
	.site-branding {
		padding-left: 0px;
	}
	.site-branding a.brand {
		width: auto;
	}
}
@media only screen and (max-width: 1400px){
    .site-branding {
            padding: 0px !important;
        }
}
@media only screen and (max-width: 1280px){
    .page-id-7 .entry.loop-entry {
            margin-left: var(--global-content-edge-padding);
            margin-right: var(--global-content-edge-padding);
        }
        #homepage-banner-text p {
            padding-left: var(--global-content-edge-padding);
        }
}
@media only screen and (max-width: 767px){
    .page-id-7 .grid-cols {
            align-items: center;
        }
     #news-homepage article .post-thumbnail:not(.kadence-thumbnail-ratio-inherit) img {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
     }

     #news-homepage article .entry-content-wrap {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
     }
         .mobile-drawer-content,
         .site-header-item-mobile-navigation,
         #mobile-site-navigation {
             height: 100%;
         }

}
@media only screen and (max-width: 600px) {
    .wp-block-kadence-advancedbtn .kb-btn5ae1b9-dd.kb-button {
        margin-right: 2em !important;
        margin-left: 2em !important;
    }
#main-header .has-logo-image img {
	padding: 10px;
        margin-left: 0%;
}
#header-gallery {
    height: 100%;
    width: 100%;
}
.page-id-7 h1 {
    top: auto !important;
    margin-top: 0px !important;
}
.page-id-7 .kadence-column7_fdad98-30 .kt-inside-inner-col {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vw;
}
	.site-branding a.brand {
		width: auto;
	}
	.content-area {
		margin-top: 0px !important;
		margin-bottom: 0px !important;
	}
	#gallery-title {
		font-size: 35px;
   		top: 75px;
		margin-left: 2rem !important;
		margin-right: 2rem !important;
		transform: unset;
	}
	h2 {
		font-size: 28px !important;
	}
	.entry-taxonomies .category-style-pill a {
		padding: 0.45rem;
		margin-top: 15px;
	}
#homepage-banner-overlay {
max-width: 100vw;
}
.content-area {
margin-top: 0px;
}
.entry-content-wrap {
padding-top: 10px !important;
}
h1 {
margin-left: 10% !important;
margin-right: 10% !important;
}
.entry-content-wrap {
padding-bottom: 0px !important;
padding-top: 0px !important;
}
.content-area {
margin-bottom: 0px;
}
.site-branding a.brand {
padding: 5px;
}
article:not(.content-wrap > article){
margin-left: calc(1.5rem + 8px);
margin-right: calc(1.5rem + 8px);
}
.kb-button:not(.kb-btn-global-inherit) {
padding: 0.4em 0em;
}
.hide-mobile {
display: none;
}
h1 {
font-size: 3.2rem;
margin-left: 5%;
margin-right: 5%;
}
#homepage-banner-text p {
    padding: calc((var(--global-content-width) - 100vw)* -0.5 + 20px);
}
	.wp-block-spacer {
		display: none;
	}
	h1 {
		font-size: 32px !important;
		margin-top: 80px !important; 
		margin-bottom: 50px !important;
	}
	.news-head {
		margin-top: 0px !important;
		margin-bottom: 0px !important;
		padding-top: 80px !important;
		padding-bottom: 50px !important;
	}
	.loop-entry .entry-content-wrap {
		padding: 0.5rem !important;
	}
}
body.single-post:not(:has(.post-thumbnail-inner)) .entry-taxonomies {
  margin-top: 45px;
}
body.single-post:not(:has(.post-thumbnail-inner)) h1 {
  margin-top: 30px !important;
}
.wp-block-kadence-advancedgallery .kb-gallery-pause-button {
	top: 10px;
	bottom: unset !important;
	padding: 3px !important;
}

.kb-splide .splide__pagination__page, .splide .splide__pagination__page {
	margin: 10px !important;
	width: 24px !important;
	height: 24px !important;
}
.kb-splide .splide__pagination__page.is-active, .splide .splide__pagination__page.is-active {
	box-shadow: 0 0 0 2px #f0f6f6, 0 0 0 4px #000000c7;
}
.kb-splide[data-slider-dots=true] {
	margin-bottom: 40px;
}
.kt-tab-title-active .kt-tab-title {
	font-weight: bolder;
    font-size: 24px;
}
.kb-splide .splide__pagination, .kb-splide ul.splide__pagination.splide__pagination, .splide .splide__pagination {
	bottom: -42px !important;
}
.cf7-input-custom-wrapper {
	display: flex; justify-content: space-between; flex-direction: row; align-items: center;
}
.cf7-input-custom-label {
	width: 50%;
	max-width: 300px;
}
.cf7-input-custom-field {
	width: 100%;
}
.cf7-input-custom-field .wpcf7-form-control {
	max-width: unset !important;
}
.wp-block-kadence-query .taxonomy-category {
	border-radius: 5px;
    width: fit-content;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    margin-bottom: 10px;
}
.wp-block-kadence-query .kb-query-item .kt-inside-inner-col {
	display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
}
.wp-block-kadence-dynamichtml.kb-dynamic-html-id-7_b3770a-17.kb-dynamic-html:not(.added-for-specificity) {
	margin-bottom: 5px !important;
}
.wp-block-kadence-query .kb-query-item .kt-inside-inner-col .kb-svg-icon-wrap {
	top: -1.5px;
    position: relative;
}
.wp-block-kadence-query-card7_2b7134-33 .kb-query-grid-wrap .kb-query-item.kb-query-block-post {
	background: var(--global-palette8);
	border-radius: 10px;
}
.entry-footer {
	margin-top: auto !important;
}
#search-drawer .drawer-inner input.search-field::placeholder {
	opacity: 1;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
	color: #004700 !important;
}
.wpcf7-not-valid-tip {
	color: #c10808 !important;
}
.taxonomy-category a {
	text-decoration: none;
}

@media only screen and (max-width: 400px){
	#gallery-title {
		transform: translateY(30%) !important;
	}
}
@media screen and (min-width: 767px) {
    .page-id-9 .wp-block-kadence-query .wp-block-kadence-column.entry-content-wrap > .kt-inside-inner-col {
        display: flex;
        flex-direction: column;
        height: 480px;
    }
}
@media screen and (min-width: 1025px) {
	.page-id-9 .wp-block-kadence-query .wp-block-kadence-column.entry-content-wrap > .kt-inside-inner-col {
        height: 550px;
    }
}
