/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1.20
*/

.grid-container { margin-left: 0; margin-right: 0; max-width: none; }
.one-container .container { background: none; }
.one-container .site-content { padding: 0; }

body { font-size: 18px; }

header.fl-theme-builder-header-shrink { padding-bottom: 12px; }
header.fl-theme-builder-header-shrink .fl-module { margin-top: 0; margin-bottom: 0; }

a { text-decoration: none; }

h1 { font-size: 50px; }
h2 { font-size: 44px; }
h3 { font-size: 36px; }
h4 { font-size: 30px; }
h5 { font-size: 24px; }

#main .gform_required_legend { display: none; }
#main input, #main select, #main textarea { border-width: 0; border-bottom: 1px solid var(--contrast); box-shadow: none; border-radius: 0; }
#main input[type="checkbox"] { border-width: 1px; margin-top: 2px; }
#main input:hover, #main select:hover, #main textarea:hover { background-color: var(--base); }
#main .gform-field-label { font-size: 1.1em; font-weight: 500; margin-bottom: 0; font-family: "Gemunu Libre", sans-serif; }
#main .gform-field-label.gform-field-label--type-sub { font-size: 0.8em; font-style: italic; font-family: Quicksand, sans-serif; margin-top: 4px; }
#main button, #main input[type=button], #main input[type=reset], #main input[type=submit] { background: var(--contrast); color: #fff; padding: 0.5em 2em; border-radius: 0; font-size: 1.1em; }
#main button:hover, #main input[type=button]:hover, #main input[type=reset]:hover, #main input[type=submit]:hover { background: var(--contrast-2); }

@media screen and (max-width: 768px) {
	h1 { font-size: 44px; }
	h2 { font-size: 36px; }
	h3 { font-size: 30px; }
	h4 { font-size: 24px; }
	h5 { font-size: 20px; }

	#right .fl-col-group { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
	#right .fl-col-group:before, #right .fl-col-group:after { display: none; }
	#right .fl-col-group .fl-col { margin: 0; }
}