/*!
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
-------------------------------------------------------------- */

/* general */
.single-content .wp-block-cover {
    margin-bottom: 0 !important;
}
.site-branding .site-title {
    visibility: hidden;
    max-width: 0;
}
p.titlesub {
    margin-bottom: 25px !important;
    font-size: 23px !important;
    margin-top: -12px !important;
}
nav#site-navigation {
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 400;
}
header#masthead {
    padding: 10px 0;
}

/* text */
.entry-content.single-content p a {
    font-weight: 600;
}
.single-content p {
    margin: 0px 0px 1rem !important;
}
.entry-content.single-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.single-content .wp-block-cover.firstcover {
    margin-top: -4rem;
}
.post-thumbnail.article-post-thumbnail {
    margin-top: -4rem;
}
.single-content .wp-block-cover.lastcover {
    margin-bottom: -5rem !important;
}
.home .entry-content.single-content {
    padding-top: 0rem;
    padding-bottom: 0rem;
}
.type-post .entry-content.single-content {
    padding-top: 0rem;
    padding-bottom: 0rem;
}
.content-width-narrow .content-area {
    margin-top: 2rem !important;
    margin-bottom: 5rem;
}

.entry {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
}

/* hero section */
.moviebox {
    z-index: 0;
}

/* frontpage columns */
.colblock figure {
	margin-bottom: 10px !important;
    width: 70px !important;
}
.colblock a {   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
	text-decoration: none;
	color: var(--global-palette2);
}

.colblock a:hover {
	color: var(--global-palette-highlight);
}

/* archive */
.archive .wp-post-image {
    border-radius: 20px;
}


/* footer */
section#block-11 {
    max-width: 350px;
}
section#block-13 p {
    font-size: 16px;
}
.site-top-footer-wrap p {
    margin: 0;
    padding: 0;
}

/* custom elements */
.takehome {
	padding: 80px;
}
h1.wp-block-heading {
    font-weight: 500;
    font-size: 50px;
}

/* scroll up */
#kt-scroll-up-reader.scroll-up-style-outline, #kt-scroll-up.scroll-up-style-outline {
    background-color: #fff !important;
}

/* map css */
path {
    opacity: 1; /* Fully visible by default */
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s; /* Smooth fade, delay visibility change */
    visibility: visible; /* Ensure the path remains in the flow */
}

path.hidden {
    opacity: 0; /* Hidden by fading out */
    pointer-events: none; /* Disable interaction */
    visibility: hidden; /* Fully hide after fade-out */
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s; /* Visibility hidden after the fade */
}
.tooltip {
    position: absolute; /* Position relative to its parent */
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensure it's above other elements */
    border-radius: 3px; /* Rounded corners */
    border: #d3d3d3 solid 1px; /* Border styling */
    background: #fff; /* White background */
    color: black; /* Text color */
    font-family: Comfortaa, Verdana; /* Font family */
    font-size: smaller; /* Font size */
    padding: 8px; /* Padding inside the tooltip */
    pointer-events: none; /* Disable mouse events */
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Shadow effect */
    text-align: center; /* Center text within the tooltip */
}
/* Ensure the tooltip shows when hovering over the target element */
.hover-target:hover + .tooltip {
    display: block; /* Show the tooltip when hovering the target element */
}
/*cursor */
.cls-3, .cls-5, .cls-2, .cls-6, .cls-1 {
    cursor: pointer; /* Changes cursor to hand when hovering */
}
.cls-1 {
    fill: #df9156;
}
.cls-2 {
    fill: #cdd7e2;
}
.cls-3 {
    fill: #f1dc5d;
}
.cls-4 {
    fill: #fff;
}
.cls-5 {
    fill: #677f9f;
}
.cls-6 {
    fill: #df6756;
}
.cls-3,
.cls-5,
.cls-2,
.cls-1,
.cls-6 {
    transition: filter 0.3s ease; /* Smooth transition for the filter */
}
.cls-3:hover,
.cls-5:hover,
.cls-2:hover,
.cls-1:hover,
.cls-6:hover {
    filter: url(#drop-shadow); /* Apply drop shadow filter on hover */
}

/* helix members table with highlights */
/* Apply gradient on the left 10px using a pseudo-element */
.tablecls1, .tablecls2, .tablecls3, .tablecls5, .tablecls6 {
    position: relative;
    background-color: #fff; /* Default background color */
}

.tablecls1::before, .tablecls2::before, .tablecls3::before, .tablecls5::before, .tablecls6::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px; /* Left 10px */
    height: 100%;
    background-color: #677f9f; /* Color for the left 10px */
	border-radius: 20px 0 0 20px;
}
.tablecls1::before {
    background-color: #df9156;
}
.tablecls2::before {
    background-color: #cdd7e2;
}
.tablecls3::before {
    background-color: #f1dc5d;
}
.tablecls5::before {
    background-color: #677f9f;
}
.tablecls6::before {
    background-color: #df6756;
}

/* Style for scrollgrid with default background */
.scrollgrid {
    background-color: #fff; /* Keep default background as white */
}

/* Highlight effect with animation */
.highlight {
    animation: highlightFade 2s forwards;
}

/* Keyframes for highlight animation */
@keyframes highlightFade {
    0% {
        background-color: #f1dc5d; /* Highlight color instantly */
    }
    50% {
        background-color: #f1dc5d; /* Hold the highlight color */
    }
    100% {
        background-color: #fff; /* Fade back to the original color */
    }
}

/* Adjust margins for text */
.single-content .scrollgrid p {
    margin: 0px 0px 0.3rem !important;
}


/* breakpoints */


/* above 1024 */

@media only screen and (min-width: 1025px) {
section#block-11 {
    float: right;
}
}

/* below 820 (for custom stuff) */
@media only screen and (max-width: 820px) {
.coltxt {
    font-size: 15px;
}
.takehome {
	padding: 40px;
}
}

/* above 767 */

@media only screen and (min-width: 768px) {
.single-content .legend .wp-block-buttons .wp-block-button {
    width: 100%;
}
.legend .wp-element-button {
    width: 100%;
}
}

/* below 767 */

@media only screen and (max-width: 767px) {
.heroimg {
display: none;
}
section#block-11 {
    margin-bottom: 20px;
}
body {
	font-size: 15px !important;
}
h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
}
.titlesub {
    font-size: 29px !important;
}
.introtxt {
	font-size: 17px !important;
}
.colblockcol {
    display: block;
    margin: auto;
    max-height: 217px;
}
.colblockcol .coltext {
    max-width: 200px;
    display: block;
	margin: 0 auto 0;
}
.colblockcol figure {
    display: block;
    margin: auto;
}
.history img {
    max-width: 200px;
}
.takehome {
	padding: 20px;
}
h1.wp-block-heading {
    font-size: 35px;
}
}




@media (min-width: 1060px) {
    .content-width-narrow .wp-site-blocks .content-container .alignwide {
        margin-left: -150px !important;
        margin-right: -150px !important;
    }
}

@media (max-width: 1024px) {
    .content-width-narrow .content-area {
        margin-top: 2rem !important;
        margin-bottom: 3rem;
    }
}
