/*

Theme Name: Carmel College Gouda
Template: kadence
Author: Cloudwise
Version: 1.0.1
Text Domain: cloudwise-basis-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

 #main-header .site-header-row-layout-contained{
    margin-top:24px;
}

.bighero .wp-block-search .wp-block-search__button{
    width:48px;
    height:48px;
    display:flex;
    align-items: center;
    justify-content: center;
}

.wp-block-kadence-rowlayout {
    margin-bottom: 7.5rem;
}

.wp-block-kadence-rowlayout .wp-block-kadence-rowlayout {
    margin-bottom: 0;
}

.wp-block-kadence-rowlayout.no-row-margin {
    margin-bottom: 0;
}

    .hasoverflownimage{
        height: 100%;

        > div{
            margin-top:0px;
        }
    }

@media (min-width:1024px){
    .hasoverflownimage{
        height: calc(100% + 240px);

        > div{
            margin-top:-160px;
        }
    }
}

.colorbackgroundrow > div{
    padding: 0 !important

}

footer.site-footer{
    padding:16px;

    .wp-block-kadence-rowlayout{
        margin-bottom:34px;
    }

    .linklist{
        a{
            display:block;
            width:100%;
            position: relative;
            color: #F5F5F4;
            font-size:20px;

            &:after{
                content:'';
                background-image:url('images/arrow.svg');
                background-repeat: no-repeat;
                background-size:12px 12px;
                background-position: center;
                width:32px;
                height:32px;
                position: absolute;
                right: 12px;
                top:-3px;
                border-radius: 8px;
                border: 1px solid var(--Primary-CCG-Grijs-25, rgba(245, 245, 244, 0.25));
                transition: 0.3s;
            }

            &:hover{
                text-decoration: none;

                &:after{
                    right:0;
                }
            }
        }
        p{
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

}

.schoolitem .wp-block-kadence-column .kt-inside-inner-col{
     &:after{
        content:'';
        background-image:url('images/arrow.svg');
        background-repeat: no-repeat;
        background-size:12px 12px;
        background-position: center;
        width:32px;
        height:32px;
        position: absolute;
        right: 0;
        top:-3px;
        border-radius: 8px;
        background-color: #005c74;
        transition: 0.3s;
    }

}

@media(max-width:1024px){
    .wp-block-kadence-rowlayout {
        margin-bottom: 80px;
    }
    .zoekboxheader .wp-block-search__inside-wrapper{
        width: 75% !important
    }
}


@media(max-width:700px){

    .zoekboxheader .wp-block-search__inside-wrapper{
        width: 100% !important
    }
}


#mobile-header{
    margin-top:16px;
}

@media(max-width:1024px){
    .footer-widget-area-inner > .widget_block.widget_text:first-child p{
        border-bottom:1px solid #fff;
        padding-bottom:16px;
    }

}

@media(max-width:1200px){
    .herowrapper h1{
        font-size:48px !important;
        line-height:48px !important;
        letter-spacing:-1.92px !important;
    }
    .herowrapper p{
        font-size:18px;
        line-height: 130%;
        letter-spacing: -0.18px;
    }
}   


nav#site-navigation{
    height:100%;

    ul:not(.sub-menu) > li{
        height:100%;
        border-left:0.5px solid rgba(0, 0, 0, 0.10);
        display: flex;
        align-items: center;
        padding-left:8px;
        padding-right:8px;

        &:last-child{
            border-right:0.5px solid rgba(0, 0, 0, 0.10);
        }
    }
}

.header-navigation ul ul.sub-menu, .header-navigation ul ul.submenu{
    box-shadow: none !important;
}

.carmel-menu-hover-link{
	margin-bottom:16px;
	font-size:20px;
	line-height: 24px;
	text-decoration: none;
	color:rgba(0, 0, 0, 1);

	&:last-child{
		margin-bottom:0;
	}
}

@media(max-width:1025px) {
	.carmel-menu-hover-link{
		margin-bottom:16px;
		font-size:16px;
		padding:0 !important;
	}
    #mobile-secondary-site-navigation{
        padding: 0 24px;
    }
    .mobile-navigation ul li a{
        padding:24px 0;
    }

    .mobile-navigation ul li .sub-menu{
        border-bottom: 1px solid var(--colors-dark-black-10, rgba(0, 0, 0, 0.10));
        border-top: 1px solid var(--colors-dark-black-10, rgba(0, 0, 0, 0.10));
        padding:16px;

        a{
            font-weight:400;
            font-size:16px;
            line-height:1.2;
        }
    }
}

ul.sub-menu.show-drawer{
	padding-left:0 !important; 
} 

.header-menu-container  a{
    text-decoration: none;
}
.mobile-drawer-content > div:first-child{
	background-color:#fff;
	border-radius:16px;
    padding:24px;
}

.wp-singular .mobile-navigation:not(.drawer-navigation-parent-toggle-true) ul li.menu-item-has-children .drawer-nav-drop-wrap button{
    border:0;
}

.wp-singular .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap, .mobile-navigation ul li:not(.menu-item-has-children):last-child a{
    border:0;
}
#mobile-secondary-site-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap, #mobile-secondary-site-navigation ul li:not(.menu-item-has-children):last-child a{
    border:none;
}
.mobile-navigation#mobile-site-navigation ul li:not(.menu-item-has-children):first-child a{
    border-top: 1px solid var(--colors-dark-black-10, rgba(0, 0, 0, 0.10));
}
header.site-header:has(.menu-item--toggled-on){
    z-index:4;
    
}
header.site-header:has(.menu-item--toggled-on) + main#inner-wrap:before{
    content:'';
    width:100vw;
    height:100vh;
    background-color:rgba(0,0,0,0.6);
    top:0;
    left:0;
    position:absolute;
    z-index:3;
    position: fixed;
}

/* zoekresultaten */

.search-results .site-main{
    padding:120px 0 100px;
    max-width:900px;
    margin:0 auto
}

.search-results .site-main h1{
    text-align: center;
    margin-bottom:40px;
}

.search-results .site-main .entry-list-item article{
    padding:40px;
    border-radius:24px;
    box-shadow:none
}
.search-results .site-main .entry-list-item article .entry-content-wrap{
    padding:0;
}
.search-results .site-main .entry-list-item article h2{
    margin-bottom:24px;
}

.search-results .site-main .entry-list-item article .wp-element-button{
    padding:0;
    display: flex;
    border-radius:8px;
        background-color:#005C74;
    color:#fff;
    padding:10px;
}

#main-header .main-navigation .primary-menu-container > ul > li.menu-item > a{
    padding-left:16px;
    padding-right:16px;
}

/* infohub */
.carmel-infohub__content section{
    padding:40px;
    background-color:#fff;
    border-radius:24px;
}

.carmel-infohub__nav{
    padding:40px;
    background-color:#fff;
    border-radius:24px;
}
.carmel-infohub__nav ul{
    padding-left:0 !important;
}