/*
Theme Name: Kop Digitaal
Theme URI: https://kopdigitaal.nl
Author: Kop Digitaal
Author URI: https://kopdigitaal.nl
Description: Kop Digitaal WordPress thema.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.5
Tested up to: 6.5.2
Requires PHP: 7.0
Version: 1.0.9
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kop-digitaal
*/


/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
    transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
    text-decoration-thickness: 1px;
}

b,
strong,
th {
    font-weight: var(--wp--custom--font-weight--medium);
}

mark {
    background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
    background-position: 0 85%;
    background-repeat: repeat-x;
    background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
    background-color: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--contrast);
    border-radius: 0;
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--light);
    line-height: var(--wp--custom--line-height--body);
    padding: 10px 20px;
    width: 100%;
}

input:focus,
textarea:focus {
    background-color: var(--wp--preset--color--neutral);
    outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
    width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
    -webkit-appearance: none;
}

::placeholder {
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
    background-color: var(--wp--preset--color--neutral);
    font-size: var(--wp--preset--font-size--small);
    padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
    border: 1px solid currentColor;
    padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
    color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--contrast);
    border: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
    padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
    padding: 2px 10px;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
    box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
    box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

    /* -- Utility -- */
    .is-style-hidden-mobile {
        display: none !important;
    }

}

@media only screen and (max-width: 782px) {

    /* -- Columns -- */
    .is-style-columns-reverse {
        flex-direction: column-reverse;
    }

}

/* Header */
header p a {
    text-decoration: none;
}

.site-header .wp-block-group .wp-block-column:first-child {
    position: relative;
}

.site-header .wp-block-group .wp-block-column:first-child:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: -100vw;
    background-color: inherit;
}

.site-header .wp-block-site-logo {
    position: relative;
    z-index: 2;
}

.site-header .wp-block-navigation .wp-block-navigation-item__label {
    font-family: var(--wp--preset--font-family--poppins) !important;
}

.site-header li a {
    border-bottom: 5px solid transparent;
}

.site-header .current-menu-item a {
    border-bottom: 5px solid var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary) !important;
}

/* Fonts */
.has-poppins-font-family a {
    font-family: var(--wp--preset--font-family--poppins) !important;
}

/* Carrousel block */
.wp-block-cb-slide-v2 h2 a {
    text-decoration: none;
}

.wp-block-cb-carousel-v2.alignfull .cb-button-next, .wp-block-cb-carousel-v2.alignfull .cb-button-prev {
    color: var(--wp--preset--color--primary);
    font-size: 25px !important;
}

.wp-block-cb-carousel-v2 .cb-button-next:after, .wp-block-cb-carousel-v2 .cb-button-prev:after {
    font-size: 35px !important;
}

.wp-block-cb-carousel-v2.alignfull .cb-button-next, .wp-block-cb-carousel-v2.alignfull.cb-rtl .cb-button-prev {
    right: 25px;
}

.wp-block-cb-carousel-v2.alignfull .cb-button-prev, .wp-block-cb-carousel-v2.alignfull.cb-rtl .cb-button-next {
    left: 25px;
}

.wp-block-cb-carousel-v2 .wp-block-columns {
    padding: 0 15px;
}

.wp-block-cb-carousel-v2 .wp-block-group {
    background-position: center;
    background-color: rgb(0 0 0 / 50%);
    background-blend-mode: color;
}

@media(max-width: 768px) {
    .wp-block-cb-carousel-v2 .wp-block-columns {
        max-width: 75%;
        margin: 0 auto;
    }
}

/* Cover */
.wp-block-cover a {
    text-decoration: none;
}

/* Outline button */
:root :where(.wp-block-button .wp-block-button__link.is-style-outline), :root :where(.wp-block-button.is-style-outline>.wp-block-button__link) {
    background-color: transparent;
    border-radius: 0;
    border-width: 2px;
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--black);
    font-family: var(--wp--preset--font-family--poppins);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--regular);
    line-height: var(--wp--custom--line-height--medium);
    padding-top: .75rem;
    padding-right: 1.75rem;
    padding-bottom: .75rem;
    padding-left: 1.75rem;
    text-decoration: none;
}

/* Form */
.gform-theme--foundation .gform_fields {
    -moz-column-gap: 8px;
    column-gap: 8px;
    row-gap: 14px;
}

.gform_wrapper {
    margin-top: 0;
}

.gform_button {
    background-color: var(--wp--preset--color--primary) !important;
    border-radius: 0 !important;
    border-width: 0 !important;
    color: var(--wp--preset--color--base) !important;
    font-family: var(--wp--preset--font-family--poppins) !important;
    font-size: var(--wp--preset--font-size--medium) !important;
    font-weight: var(--wp--custom--font-weight--regular) !important;
    line-height: var(--wp--custom--line-height--medium) !important;
    padding-top: .75rem !important;
    padding-right: 1.75rem !important;
    padding-bottom: .75rem !important;
    padding-left: 1.75rem !important;
    text-decoration: none !important;
}