/*
Theme Name: HMH Child
Theme URI: https://generatepress.com
Description: Child theme for GeneratePress
Author: Your Name
Author URI: https://hopemediahouse.com
Template: generatepress
Version: 1.0.0
*/

:root {
  --color-white:     #FFFFFF;
  --color-midnight:  #121921;
  --color-celeste:   #A4DDD2;
  --color-gray-dark: #D3D3D3;
  --color-gray-light:#F4F4F4;
}

html {
  font-size: 18px;
}

body {
  color: var(--color-midnight);
  font-family: 'Neue Haas Grotesk', sans-serif;
  letter-spacing: .01em;
  font-weight: 400;
}

.site-header {
    z-index: 100;
	display: flex;
	align-items: center;
}
.inside-header {
	padding: 15px 30px;
	flex: 1;
}

.site-logo {
	max-height: 35px;
	order: 1;
	img {
		max-height: 35px;
		width: auto;
	}
}

.nav-float-right .header-widget {
	margin-left: 0;
}

.header-widget {
	max-height: 30px;
	max-width: 150px;
	order: 2;
	img, figure {
	object-fit: contain !important;
	max-height: 30px;
	}
	figure {
		margin: 0 !important;
	}
}

.main-navigation {
	order: 3;
}

.main-navigation .main-nav ul li a,
.slider-button {
  font-family: 'Neue Haas Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s
}

h2 {
  font-family: 'Neue Haas Grotesk', sans-serif;
}

a {
    text-underline-offset: 5px;
}

button,
input,
input[type="submit"],
input[type="button"] {
  font-family: 'Neue Haas Grotesk', sans-serif;
  font-size: .8rem;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s
}

button:hover, input[type=submit]:hover {
  color: var(--color-midnight);
  background-color: var(--color-white);
}

.heading-primary {
  font-size: 3.55rem;
  letter-spacing: .02em;
  line-height: 1.1;
  font-weight: 400;
}
.heading-secondary {
  font-size: 1.55rem;
  letter-spacing: .02em;
  line-height: 1.1;
  font-weight: 400;
}

.subheading-uppercase {
  font-size: 1.22rem;
  letter-spacing: .02em;
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
}

.subheading-regular {
  font-size: 1.22rem;
  letter-spacing: .02em;
  line-height: 1.1;
  font-weight: 500;
}

.hero-text-container {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

.gutslider-content-inner a {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}



/* Back to Top */
a.generate-back-to-top.generate-back-to-top__show {
  background-color: var(--color-celeste);
}
a.generate-back-to-top.generate-back-to-top__show:hover {
  background-color: var(--color-gray-dark);
}

/* FORM */
/* Lock down the form's outer container */
.nf-form-wrap {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* Ensure internal layout doesn’t overflow */
.nf-form-content,
.nf-form-errors,
.nf-error-msg {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.nf-form-content nf-fields-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.nf-form-content input[type="submit"] {
	border-left: 1px solid var(--color-midnight);
	color: var(--color-midnight);
    background-color: var(--color-celeste);
}

.nf-form-content input[type="submit"]:hover {
	color: var(--color-midnight);
	background-color: var(--color-white);
}
.nf-response-msg {
	color: #ffffff;
}

@media (max-width: 1024px) {
	.inside-header {
		padding: 10px 20px;
	}
	
	.main-navigation .main-nav ul li a {
		padding: 0 10px;
	}
}

@media (max-width: 768px) {
	
	.site-header {
	margin-bottom: 0;
	background-color: var(--color-midnight);
	}
	
	.has-inline-mobile-toggle .header-widget {
	flex-basis: unset;
	margin: 0;
	}
	
	.inside-header {
	padding: 5px 10px;
	}
	
	.nf-form-wrap {
		width: 325px;
	}

	.heading-primary {
		font-size: 2.25rem;
	}
	.heading-secondary {
		font-size: 1.5rem;
	}
	
}