/*
Theme Name: UE 2020
Text Domain: ue2020
Template: twentytwenty
Version: 1.8
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Child theme of Twenty Twenty Wordpress theme designed for use in UE organizing campaigns
Author: Jonathan Kissam
Author URI: https://www.ueunion.org/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* remove excess whitespace, make page titles smaller, and remove title from home page */

.singular .entry-header { padding: 2rem 0; }
/* .home.singular .entry-header { display: none; } */
h1.entry-title {
    font-size: 3.6rem;
    width: 100%;
}
.entry-header .section-inner.medium { max-width: 120rem; }
.post-inner, .reduced-spacing.missing-post-thumbnail .post-inner { padding-top: 4rem; }
.entry-content > .alignwide:not(.wp-block-group.has-background):first-child, .entry-content > .alignfull:not(.wp-block-group.has-background):first-child { margin-top: 0; }

/* remove outline from menu toggle button on Safari */
.header-footer-group, body:not(.overlay-header) #site-header .toggle, .menu-modal .toggle { outline: 0; }

/* vertically aligned media-text blocks */
@media (min-width: 700px) { .wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content { padding-top: 0; } }

/* contact forms */

.wpcf7-form label select {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #fff;
	border-radius: 0;
	border-style: solid;
	border-width: 0.1rem;
	box-shadow: none;
	display: block;
	font-size: 1.6rem;
	letter-spacing: -0.015em;
	margin: 0;
	max-width: 100%;
	padding: 1.5rem 1.8rem;
	width: 100%;
}
.wpcf7-form label input[type="checkbox"] { display: inline-block; }
.wpcf7-form label.error { color: #da251d; margin-left: 1em; font-size: 1em; }
.wpcf7-form fieldset legend { font-size: 1em; background: transparent; border: none; }
.wpcf7-form fieldset.address-fieldset:after { content: ''; display: table; clear: both; }
.wpcf7-form fieldset.address-fieldset label.state { display: block; float: left; max-width: 50%; }
.wpcf7-form fieldset.address-fieldset label.state select { width: auto; }
.wpcf7-form fieldset.address-fieldset label.zip { display: block; float: left; max-width: 45%; margin-left: 10px; }
.wpcf7-form fieldset.address-fieldset label.zip input { width: auto; }
.wpcf7-form-control-signature-wrap { max-width: 100%; }
.wpcf7-form-control-signature-body { border: 1px solid #ccc; cursor: pointer; }
.wpcf7-form-control-clear-wrap { max-width: 260px; }
.wpcf7-acceptance .wpcf7-list-item { margin-left: 0; }
input.wpcf7-submit:disabled { background: #cccccc; color: #666666; }
.no-touch input.wpcf7-submit:disabled:hover { background: #cccccc; }
.wpcf7 form .wpcf7-response-output { margin-left: 0; margin-right: 0; }

label.wpcf7-form-inline { display: block; margin: 1.3334em 0; }
.wpcf7-form label.wpcf7-form-inline input, .wpcf7-form label.wpcf7-form-inline select { display: inline; }
input[type="date"] { width: auto; }
.wpcf7-form h3 { text-align: center; font-weight: bold; }

@media screen and (max-width: 360px) { .wpcf7-form h3 { font-size: 1.2em; } }

select.inline-select { width: auto; border: none; padding: 0 25px 0 0; font-weight: bold; position: relative; top: -2px; }
select.inline-select.wpcf7-not-valid { color: #da251d; margin-right: 0.5em; }
.wpcf7-not-valid-tip { color: #da251d; font-weight: bold; display: inline; }