/*
Theme Name: Ritimana KĊhanga Reo
Theme URI: https://ritimanakohangareo.co.nz
Author: Delicious Mint
Author URI: https://deliciousmint.net
Description: Twenty Twenty Two Child Theme
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo-child
Template: twentytwentytwo
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns

Twenty Twenty-Two Child WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two Child is distributed under the terms of the GNU GPL.
*/

form label {
    font-weight: bold;
}

form input:not([type=submit]),
form textarea {
    border: 1px solid #949494;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
    padding: calc(.667em + 2px);
    width: 100%;
}

form textarea {
    padding: calc(.667em + 2px);
}

form input[type=submit] {
    background: var(--wp--preset--color--vivid-red);
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: bold;
    padding: calc(.667em + 2px);
}

.wpcf7-form label small {
    display: block;
    opacity: .5;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item input {
    width: auto;
}

.wpcf7-form table td input {
    max-width: 88%;
}

@media screen and (max-width: 600px) {
    .wp-block-navigation__responsive-container-close svg {
        fill: #000;
    }

    .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
        color: #000;
    }
    
    .wp-block-cover .wp-block-cover__inner-container {
        max-height: 320px;
    }

    .page-id-2 main .wp-block-group .wp-block-spacer {
        display: none;
    }

    form input:not([type=submit]),
    form textarea {
        max-width: calc(100% - (2 * var(--wp--custom--spacing--outer)));
    }

    .wpcf7-form h2 {
        margin-bottom: 0;
    }

    /* Force table to not be like tables anymore */
    .wpcf7-form table,
    .wpcf7-form thead,
    .wpcf7-form tbody,
    .wpcf7-form th,
    .wpcf7-form td,
    .wpcf7-form tr {
        display: block;
    }

    .wpcf7-form td {
        /* Behave  like a "row" */
        border: none;
        position: relative;
    }

    .wpcf7-form td p {
        margin-bottom: 0;
    }

    .wpcf7-form br {
        display: none;
    }

    .wpcf7-form .wpcf7-checkbox .wpcf7-list-item input {
        width: 28px;
    }

    .hidden-mobile {
        display: none !important;
    }
}
