/*
Theme Name: WMARBR
Theme URI: https://wmarbr.org
Author: Jon Mensing
Author URI: http://jonmensing.com
Description: Member site for the wildlife management association for The Ranches at Blackbuck Ridge
Text Domain: wmarbr
Version: 0.6

/* Declare fonts here for the sake of performance */
@font-face {
	font-family: "Roboto";
	src: local("Roboto"), url("fonts/Roboto/Roboto-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Roboto";
	src: url("fonts/Roboto/Roboto-Bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: "Roboto Condensed";
	src: url("fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Roboto Condensed";
	src: url("fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: "Raleway";
	src: url("fonts/Raleway/Raleway-VariableFont_wght.ttf") format("truetype");
	font-weight: 100 900;
	font-style: normal;
}
@font-face {
	font-family: "Oswald";
	src: url("fonts/Oswald/Oswald-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

main,
.main {
	min-height: 600px;
}
p {
	margin-bottom: 15px;
}

/* Buttons
----------------- */
.wp-element-button {
	background-color: #2a4287;
	border-radius: 25px;
	color: white;
	display: inline-block;
	font-size: 1rem;
	font-weight: 500;
    line-height: normal;
	margin: 5px;
    padding: 10px 30px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.wp-element-button:hover {
	background-color: #b7a489;
}

/* Gravity Forms
------------------ */
.gform-body.gform_body {
	margin: 60px auto;
}
.gform_wrapper.gform-theme--foundation .gform-body.gform_body .gform_fields {
	row-gap: 20px;
}
.gform_wrapper.gform-theme--framework:where(:not(.gform_editor)) .gfield--type-section {
	border-block-end: none;
    padding-block-end: 5px;
}
.gform-body.gform_body .gfield_html_formatted h3 {
	margin-top: 30px;
}
.gform-footer.gform_footer.top_label
/* So much cruft for one small Submit button */
.gform_wrapper.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform_wrapper.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform_wrapper.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform_wrapper.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform_wrapper.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform_wrapper.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform_wrapper.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	border-radius: 25px;
	font-size: 16px;
	padding: 5px 20px;
	text-transform: uppercase;
}
.gform_wrapper .gform-footer.gform_footer.top_label {
	margin-top: 30px;
}
.gfield.gf_readonly .ginput_container input {
	background-color: white !important;
	border-color: #ddd;
}
body .gform-theme--framework .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	font-size: 16px;
}
body.wp-theme-wmarbr .gform_body .gfield_description {
	font-size: 1rem;
	max-width: 800px;
}
body.wp-theme-wmarbr .gfield input.small {
	inline-size: 100%;
}

@media (min-width: 992px) {
	main,
	.main {
		min-height: 750px;
	}
	body.wp-theme-wmarbr .gfield input.small {
		inline-size: calc(30% - 16px * 3/4 );
	}
}
