/**
 * Theme Name:     Yardwise Theme
 * Author:         Remcoder
 * Template:       twentytwentyfour
 * Text Domain:	   yardwise-theme
 * Description:    This is a child theme of the original Twenty Twenty-Four Wordpress theme, created by Remcoder for use in Yardwise. This theme has been custom tailored to match the needs of Yardwise.
 * Version:        1
 */

html {
    scroll-behavior: smooth;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Styling voor Contact Form 7 */
.wpcf7 form {
    background-color: #fff;
    border-radius: 8px;
	box-sizing: border-box;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 15px;
	box-sizing: border-box;
}

.wpcf7 input[type="submit"] {
    background-color: var(--wp--preset--color--custom-yardwise-midden-groen);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--wp--preset--color--custom-yardwise-donker-groen);
}

/* Foutmelding styling */
.wpcf7 .wpcf7-response-output {
    padding: 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 4px;
}

button, input[type="submit"], a.wp-element-button {
	transition: background-color 0.3s ease;
}

/* WCF radios */
/* Stijl voor radio buttons */
.wpcf7 input[type="radio"] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: white;
    appearance: none; /* Verberg standaard uiterlijk */
    -webkit-appearance: none; /* Verberg standaard uiterlijk voor Safari */
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px; /* Ruimte tussen de cirkel en tekst */
}

/* Wanneer de radio button is geselecteerd */
.wpcf7 input[type="radio"]:checked {
    background-color: #4CAF50; /* Groene kleur wanneer geselecteerd */
    border-color: #4CAF50;
    position: relative;
}

/* Voeg een stip toe in de geselecteerde radio button */
.wpcf7 input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

/* Styling van het label voor de radio button */
.wpcf7 input[type="radio"] + label {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Hover-effect voor de radio button */
.wpcf7 input[type="radio"]:hover {
    border-color: #4CAF50;
}

.wpcf7 .wpcf7-list-item:first-child {
	margin: 0;
}

/* Footer */
@media only screen and (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		display: flex;
		justify-content: center;
		align-items: center;
	}
}
