/*
Styles for form elements and buttons.
*/

textarea {
	padding: 1rem;
	width: 100%;
}

select {
	padding: 3px;
}

textarea,
select,
/*button:not(.components-button):not(.wp-block-navigation *):not(.pswp__button),*/
input[type="color"],
input[type="date"],
input[type="datetime-local"],
input[type="datetime"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="reset"],
input[type="search"],
input[type="submit"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
	font-size: var(--wp--preset--font-size--body);
	font-family: var(--wp--preset--font-family--system);
	line-height: 32px;
	color: #3F3F3F;
}

textarea,
button:not(.components-button):not(.wp-block-navigation *):not(.pswp__button),
input[type="color"],
input[type="date"],
input[type="datetime-local"],
input[type="datetime"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="reset"],
input[type="search"],
input[type="submit"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
	padding: 4px 12px;
}

select {
	background-color: #fff;
	border: 1px solid #979797;
	padding: 0.25rem 1rem;
	font-weight: bold;
	font-size: 0.875rem;
	letter-spacing: 1px;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	background: url(../images/chevron-down.svg) no-repeat right 16px center;
	text-transform: uppercase;
	color: #303030;
}

button:not(.components-button):not(.wp-block-navigation *):not(.pswp__button),
input[type="reset"],
input[type="submit"] {
	border: 2px solid var(--wp--custom--button-border-color);
	padding: var(--wp--custom--button-padding);
	border-radius: var(--wp--custom--button-border-radius);
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--foreground);
	box-shadow: var(--wp--custom--small-button-shadow);
}

button:not(.components-button):not(.wp-block-navigation *):not(.pswp__button):focus,
button:not(.components-button):not(.wp-block-navigation *):not(.pswp__button):hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover {
	color: var(--wp--preset--color--foreground);
	filter: brightness(94%) !important;
	box-shadow: var(--wp--custom--small-button-shadow);
}

button:not(.components-button):not(.wp-block-navigation *):not(.pswp__button):active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: var(--wp--custom--button-border-color);
	box-shadow: var(--wp--custom--button-highlight);
	color: var(--wp--preset--color--foreground);
	filter: brightness(93%) !important;
}

.post-password-form input[type="password"] {
	min-height: 46px;
}

/* Accessibility: Increase icon size so that the button is easier to click */
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
	width: 48px;
	height: 48px;
}

input,
input:focus,
input:focus-visible,
input:active,
textarea,
textarea:focus,
textarea:focus-visible,
textarea:active {
  border: 1px solid #000;
  line-height: 2 !important;
  outline:none;
}

input,
input:focus,
input:focus-visible,
input:active {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #000;
}