/*
Theme Name: Twenty Twenty-Three Child
Theme URI: 
Author: 
Author URI: 
Description: 
Version: 24
Template: twentytwentythree
*/

/* ---------------------------------------------------------------------------- */

main { margin-top: 0 !important; }

/* ---------------------------------------------------------------------------- */

@media only screen and (max-width: 599px) {
.wp-block-spacer { height: 2.0rem !important }
}

@media only screen and (min-width: 468px) and (max-width: 599px) {
.wp-block-navigation { font-size: 1.2rem !important; }
}

@media only screen and (max-width: 467px) {
.wp-block-navigation { font-size: 1.2rem !important; }
}

@media only screen and (max-width: 467px) {
body h1 { moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
.wp-container-1 { display: inline-block !important; }
.wp-block-site-title { margin-top: 10px !important }

div.is-layout-flex.wp-block-buttons { display: block !important; }
.wp-block-button { display: block !important; width: 100% !important; margin: 1rem 0 !important; text-align: left !important; }
.wp-block-button a { display: block !important; width: 100% !important; }
}

.td .wp-block-button { display: block !important; width: 90% !important; margin: 0 !important; }
.td .wp-block-button a { display: block !important; width: 90% !important; margin: 0 !important; }

/* ---------------------------------------------------------------------------- */

body p { moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }

@media only screen and (max-width: 467px) {
body h1, body h2 { moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
}

/* ---------------------------------------------------------------------------- */

@media only screen and (min-width: 468px) {
.table { display : table; border-collapse : separate; border-spacing : 1px 1px; text-align: left; }
.table .tr { display : table-row; }
.table .th { display : table-cell; padding : 0; }
.table .td { display : table-cell; padding : 10px; }
}

@media only screen and (max-width: 467px) {
/*
.table .tr { margin-bottom: 10px; padding: 0px; border-top : 1px solid var(--wp--preset--color--custom-red); }
*/
.table .td { padding : 6px; }
.table .td .wp-block-button { margin-bottom: 10px !important; }
}

/* ---------------------------------------------------------------------------- */

.wpcf7-form label { margin: 1.5rem 0 0 0 !important; display: block !important; max-width: 100% !important; width: 100% !important; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="password"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="month"],
.wpcf7-form input[type="time"],
.wpcf7-form input[type="datetime"],
.wpcf7-form input[type="datetime-local"],
.wpcf7-form input[type="week"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="search"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="color"],
.wpcf7-form select,
.wpcf7-form textarea {
width: 90% !important;
margin: 0.25rem 0 0.25rem 0 !important;
padding: 0.75rem 0.75rem 0.75rem 1rem !important;
border: 1px dotted var(--wp--preset--color--custom-red) !important;
font-family: var(--wp--preset--font-family--system-font) !important;
color: var(----wp--preset--color--custom-red) !important;
font-size: 1.0rem !important;
}

.wpcf7-form input[type="checkbox"] { margin-right: 0.5rem !important; font-size: 1.0rem !important; }
.wpcf7-form select { width: 100%; }
.wpcf7-form textarea { height: 10rem !important; }
.wp-block-button a,
.wpcf7-form input[type="submit"] {
margin: 0.25rem 0 !important;
padding: 0.5rem 1.0rem !important;
transition: var(--transition1) !important;
background-color: var(--white) !important;
font-family: var(--wp--preset--font-family--system-font) !important;
font-weight: normal !important;
text-transform: inherit !important;
text-decoration: none !important;
border: 1px solid var(--wp--preset--color--custom-red) !important;
border-radius: 3px !important; -webkit-border-radius: 3px !important; -moz-border-radius: 3px !important;
color: var(--wp--preset--color--custom-red) !important;
font-size: 1.0rem !important;
-webkit-appearance: none;
}

.homepage .wp-block-button a {
background-color: var(--wp--preset--color--custom-red) !important;
border: 1px solid var(--white) !important;
color: var(--white) !important;
}

@media only screen and (min-width: 468px) and (max-width: 1199px) {
.homepage .wp-block-button a { font-size: 0.7rem !important; }
}

.wp-block-button a:hover,
.wpcf7-form input[type="submit"]:hover {
transition: var(--transition1) !important;
text-decoration: none !important;
color: var(--white) !important;
background-color: var(--wp--preset--color--custom-red) !important;
cursor: pointer !important;
}

.homepage .wp-block-button a:hover {
background-color: var(--white) !important;
color: var(--wp--preset--color--custom-red) !important;
}

.wpcf7-form input:active,
.wpcf7-form input:focus,
.wpcf7-form select:active,
.wpcf7-form select:focus,
.wpcf7-form textarea:active,
.wpcf7-form textarea:focus {
border: 1px solid var(--wp--preset--color--custom-red) !important;
}

.wpcf7-list-item { margin: 0 !important; }

/* ---------------------------------------------------------------------------- */

button:focus { outline: 0 !important; }

.search-modal input[type="search"] { border: 0 !important; }

/* ---------------------------------------------------------------------------- */
