/*
 Theme Name:   GeneratePress Child // FWME
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


@font-face {
	font-family: 'RockwellStd';
	src: url('fonts/rockwellstd.eot');
	src: url('fonts/rockwellstd.eot?#iefix') format('embedded-opentype'),url('fonts/rockwellstd.woff2') format('woff2'),url('fonts/rockwellstd.woff') format('woff'),url('fonts/rockwellstd.ttf') format('truetype');
}

:root {
	--fwmold-red: #CD2E20;
	--fwmold-black: #211F21;
	--fwmold-white: #FEFFFF;
	--fwmold-gray-light: #F5F6F7;
	--fwmold-gray-medium: #DCDDDE;
	--fwmold-gray-dark: #515253;
}

h2, h3 {
	margin-bottom: 10px;
}

.wp-show-posts-inner {
	position: relative;
	background-color: #FEFFFF;
}
.wp-show-posts-image {
	margin-bottom: .65em;
}
.wp-show-posts-entry-header {
	width: 100%;
	text-align: center;
	position: absolute;
}
.wp-show-posts-entry-header a {
	color: #FEFFFF;
	text-transform: uppercase;
	font-family: Lato;
	font-weight: 600;
	font-size: 2.5vw;
}
.wp-show-posts-entry-summary {
	margin-left: 7%;
	border-top: 3px solid var(--fwmold-red);
	padding: 1em 1em 2em 0;
}

@media screen and ( min-width: 1170px ) {
	.wp-show-posts-entry-header {
		top: calc( 1.5 * ( 1170px - 4em ) / 12 );
	}
}

@media screen and ( min-width: 1500px ) {
	.wp-show-posts-entry-header a {
	font-size: 37.5px;
	}
}

@media screen and ( min-width: 768px ) and ( max-width: 1170px ) {
	.wp-show-posts-entry-header {
		top: calc( 1.5 * ( 100vw - 8em ) / 12 );
	}
}

@media screen and ( max-width: 767px ) {
	.wp-show-posts-entry-header {
		top: calc( 1.5 * ( 100vw - 60px ) / 4 );
	}
	.wp-show-posts-entry-header a {
		font-size: 9vw;
	}
}

/* TOP BAR */
.inside-top-bar {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: auto 1fr;
	align-items: center;
}
.inside-top-bar::before {
	display: none;
}
.inside-top-bar img {
	display: block;
	max-width: 275px!important;
}
@media screen and ( min-width: 1170px ) {
	.inside-top-bar img {
		margin-left: .5em!important;
	}
}
.inside-top-bar aside:nth-child(2) {
	margin-left: 0!important;
	font-size: 20px;
}
.inside-top-bar .tag-highlight {
	font-weight: 400;
	font-size: 150%;
}
@media screen and ( max-width: 1024px ) {
	.inside-top-bar {
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		justify-items: center;
	}
	.inside-top-bar aside {
		width: 100%;
	}
	.inside-top-bar img {
		max-width: 50%;
		margin: 0 auto;
	}
	.inside-top-bar aside:nth-child(2) {
	font-size: 16px;
	margin-top: 10px!important;
	margin-left: 10px!important;
}
	.inside-top-bar .custom-html-widget {
		text-align: center;
	}
	.inside-top-bar .tag-highlight {
		display: block;
		clear: both;
		margin-bottom: -6px;
		font-size: 165%
	}
}

/* NAVIGATION */
#primary-menu > ul > li:first-child {
	margin-left: 1em;
}

@media screen and ( max-width: 1024px ) {
	.main-navigation {
		position: absolute;
		top: 0;
		width: 100%
	}
	.top-bar {
		margin: 75px 0 50px;
	}
}

/* HEADER/SLIDER */
.typewheel-slider {
	position: relative;
	margin-top: -25px;
	z-index: -1;
}
div[id^="slider-wrapper-"] {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	padding-top: 262px;
	padding-bottom: 9px;
	width: 100%;
}
#slider-wrapper-1 {
	background-image: url('http://fortwaynemold.com/wp-content/uploads/2023/10/fwmold-management-team.jpeg');
	opacity: 0;
}
#slider-wrapper-2 {
	background-image: url('https://fortwaynemold.com/wp-content/uploads/2018/12/fwmold-technology.jpg');
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}
#slider-wrapper-3 {
	background-image: url('https://fortwaynemold.com/wp-content/uploads/2019/01/fwmold-outcome-color.jpg');
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}
.page-hero h2[id^="slider-tagline-"] {
	display: block;
	margin-right: 21vw;
	font-size: 4vw;
	clear: both;
	font-family: RockwellStd;
	margin-bottom: 1.3em;
}
.page-hero h2[id^="slider-tagline-"] span {
    padding: 1em;
    background-image: radial-gradient(closest-side, rgba(0,0,0,.3), rgba(0,0,0,0));
}
ul.slider-nav {
	list-style-type: none;
	display: inline-grid;
	grid-auto-flow: column;
	grid-gap: 9px;
	align-items: center;
	grid-template-rows: 50px;
	clear: both;
	margin-left: 0
}
ul.slider-nav li {
	display: grid;
	padding: .5em .5em;
	background-color: #515253;
	width: 65px;
	text-transform: uppercase;
	font-family: Oswald;
	font-size: 12px;
	min-height: 20px;
	align-items: center;
	line-height: 1;
}
ul.slider-nav li:last-child {
	padding: .35em .5em;
}
ul.slider-nav li a {
	display: grid-item;
}
#top-bar-nav {
	display: none;
}
@media screen and ( min-width: 1650px ) {
	.home div[id^="slider-wrapper-"] {
		background-size: contain;
	}
	.page-hero h2[id^="slider-tagline-"] {
		font-size: 60px;
		margin-right: 315px;
	}

}
@media screen and ( max-width: 1024px ) {
	.home div[id^="slider-wrapper-"] {
		padding-top: 24vh;
		padding-bottom: 2vh;
	}
	h2[id^="slider-tagline-"] {
		margin: 0 auto;
		font-size: 38px;
	}
	ul[id^="slider-nav-"] {
		display: none;
	}
	.home ul#top-bar-nav {
		display: inline-grid;
		grid-template-columns: repeat( 5, 1fr );
		margin: 2.5em 0 .25em;
	}
	ul.slider-nav li {
		font-size: 2.5vw;
		width: auto;
		padding: 0 !important;
		height: 6vw;
		border-radius: 2px;
	}
	ul.slider-nav li:last-child {
		padding: .35em .5em;
	}
}

div[id^="slider-wrapper-"] {
  animation-name: fades;
  animation-duration: 18s;
  animation-timing-function: ease-out;
  animation-direction: normal;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-play-state: running;
}
#slider-wrapper-1 {
	animation-delay: 0s;
}
#slider-wrapper-2 {
	animation-delay: 6s;
}
#slider-wrapper-3 {
	animation-delay: 12s;
}

@keyframes fades {
	0% {
		opacity: 0;
	}
	2% {
		opacity: 1;
	}
	31% {
		opacity: 1;
	}
	33% {
		opacity: 0;
	}
}

.inside-page-hero h2 {
    display: inline-block;
    padding: 1em;
    margin: -1em 0;
    background-image: radial-gradient(closest-side, rgba(0,0,0,.3), rgba(0,0,0,0));
}
.page-id-10 .inside-page-hero h2,
.page-id-12 .inside-page-hero h2,
.page-id-14 .inside-page-hero h2 {
	background-image: none;
}
.page-id-10 .page-hero {
	background-position: center 15%;
}
.page-id-12 .page-hero {
	background-position: center 12%;
}
.page-id-16 .page-hero {
	background-position: center 57%;
}
.page-id-217 .page-hero {
	background-position: center 12%;
}

.page-id-206 .page-hero,
.page-id-208 .page-hero {
	padding-top: 0;
	padding-bottom: 0;
}

/* INDUSTRY CTA */
.fwmold-industry-cta::before,
.fwmold-industry-cta::after {
	display: none;
}
.fwmold-industry-cta {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr auto;
	align-items: center;
	justify-items: center;
	padding: 2em 0;
	text-transform: uppercase;
}
.fwmold-industries {
	display: grid;
	grid-auto-flow: column;
	grid-gap: 1.2em;
	grid-template-columns: repeat( 5, 1fr );
}
.fwmold-industry {
	padding: .3em .45em;
	border-radius: 3px;
	font-family: Oswald;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .03em;
	position: relative;
	background-color: white;
	text-align: center;
	color: var(--fwmold-black);
}
.fwmold-industry::before,
.fwmold-industry::after {
	background-color: var(--fwmold-red);
		z-index: -1;
		content: '';
	position: absolute;
		top: -4px;
		width: 14px;
	height: calc( 100% + 8px );

}
.fwmold-industry::before {
	left: -5px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}
.fwmold-industry::after {
	right: -5px;
	width: 14px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	z-index: -1
}
.cta-request-quote a {
	font-size: 14px;
	font-weight: 600;
	padding: .75em 2em;
}
@media screen and ( min-width: 1024px ) {
	.fwmold-industry-cta .cta-request-quote {
		margin-left: 5em;
	}
}
@media screen and ( max-width: 1024px ) {
	.fwmold-industry-cta {
		margin-top: 2em;
		grid-template-columns: 1fr;
		grid-auto-flow: row;
		grid-gap: 3.5em;
		margin-bottom: 1em;
	}
}

@media screen and ( max-width: 768px ) {
	.fwmold-industries {
		grid-gap: .7em;
		grid-template-columns: repeat( 5, 1fr );
	}
	.fwmold-industry {
		padding: .3em .45em;
		border-radius: 2px;
		font-family: Oswald;
		font-size: 2.5vw;
		font-weight: 500;
		letter-spacing: 0em;
		position: relative;
		background-color: white;
		text-align: center;
		color: var(--fwmold-black);
	}
	.fwmold-industry::before,
	.fwmold-industry::after {
		background-color: var(--fwmold-red);
			z-index: -1;
			content: '';
		position: absolute;
			top: -2px;
			width: 10px;
		height: calc( 100% + 4px );

	}
	.fwmold-industry::before {
		left: -3px;
		border-top-left-radius: 3px;
		border-bottom-left-radius: 3px;
	}
	.fwmold-industry::after {
		right: -3px;
		border-top-right-radius: 3px;
		border-bottom-right-radius: 3px;
		z-index: -1
	}
	.fwmold-industry-cta {
		margin-top: .25em;
		grid-template-columns: 1fr;
		grid-auto-flow: row;
		grid-gap: 2em;
		margin-bottom: 0;
	}
	.cta-request-quote a {
		font-size: 10px;
		padding: .75em 1.5em
	}
}

/* NON-HOME PAGE */
.page-hero h2 {
	font-size: 40px;
	clear: both;
	font-family: RockwellStd;
	color: var(--fwmold-white);
}
body:not(.home) #page {
    max-width: 100%;
    background-color: #F5F6F7;
    padding: 0 calc( 50% - 585px ) .5em;
}
.inside-right-sidebar #nav_menu-4,
.inside-right-sidebar #nav_menu-5,
.inside-right-sidebar #nav_menu-6 {
    display: none;
}
body.page-id-12 #nav_menu-4,
body.parent-pageid-12 #nav_menu-4 {
    display: block;
}
body.page-id-14 #nav_menu-5,
body.parent-pageid-14 #nav_menu-5 {
    display: block;
}
body.page-id-16 #nav_menu-6,
body.page-id-217 #nav_menu-6,
body.page-id-220 #nav_menu-6,
body.page-id-1193 #nav_menu-6,
body.page-id-1196 #nav_menu-6 {
    display: block;
}
.inside-right-sidebar .widget {
	font-weight: 700;
}
.inside-right-sidebar .cta-request-quote {
	margin-bottom: 1.75em;
	text-transform: uppercase;
}
.inside-right-sidebar aside:first-child {
	padding-top: 0;
	padding-bottom: 0;
}

body:not(.home) #main .inside-article {
	padding-top: 0;
}

@media screen and ( min-width: 768px ) {
	body #main {
		margin-bottom: 0;
		border-right: 3px solid var(--fwmold-red);
	}
	body.home #main, body.page-id-266 #main {
		border-right: 0;
	}
	body:not(.home) #main .inside-article {
		padding-bottom: 10em;
	}
	body.page-id-266 .inside-article {
		padding-right: 0;
	}
}

@media screen and ( min-width: 1170px ) {
	body:not(.home) #main .inside-article {
		padding-left: 0;
	}
}

/* PARENT/CHILD TITLE */
.fwmold-parent-child-title {
	background-color: var(--fwmold-gray-medium);
	padding: 0 calc( 50% - 585px );
}
.fwmold-parent-child-title h2 {
	text-transform: uppercase;
	font-size: 23px;
	font-weight: 600;
	padding: .83em calc( .7em + 20px );
	margin: 0;
}
.fwmold-parent-child-title h2 .fwmold-parent {
	color: var(--fwmold-white);
}
.fwmold-parent-child-title h2 .fwmold-child {
	color: var(--fwmold-red);
}

/* FOOTER NAV */
.footer-bar .menu li a {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 105%
}
.footer-bar .menu {
	position: relative;
	margin-right: 180px;
}
.footer-bar .menu::after {
	content: '';
	background-image: url('https://fortwaynemold.com/wp-content/uploads/2018/10/logo-fwmold-e1539290399890.png');
	height: 40px;
	width: 160px;
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: calc( 100% + 10px );
	position: absolute;
	right: -180px;;
	top: 35%;
	transform: translateY( -50% );
}


/* QUOTE FORM */
*[class*="fwme_pro"] > label::before {
	margin-right: .25em;
	width: 1em;
	text-align: center;
	font-size: 125%;
	position: relative;
	top: .1em;
	display:inline-block;
	font-family:"Material Design Icons";
	speak:none;
	font-style:normal;
	font-weight:normal;
	font-variant:normal;
	text-transform:none;
	text-rendering:auto;
	line-height:1;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;

}

/* .gravity-grid li.fwme_proto { grid-column: 1 / 7; }
.gravity-grid li.fwme_prod { grid-column: 7 / end; } */

*[class*="fwme_proto"] > label::before {
	content: "\F46D";
}
*[class*="fwme_proto"] > label::after {
	font-size: 80%;
	font-style: italic;
	content: " (prototype)";
}

*[class*="fwme_pro"] h3 {
	padding: .5em .5em .75em;
	margin-bottom: 0;
	color: white;
}
.fwme_proto h3 {
	background-color: #5a8daf !important;
}
.fwme_prod h3 {
	background-color: #6aa261 !important;
}
*[class*="fwme_proto"] > label,
#label_1_11_1 {
	color: #5a8daf;
}
*[class*="fwme_prod"] > label::before {
	content: "\F3D7";
}
*[class*="fwme_prod"] > label,
#label_1_11_2 {
	color: #6aa261;
}

*[class*="fwme_prod"] > label::after {
	font-size: 80%;
	font-style: italic;
	content: " (production)";
}

.gform_wrapper .fwme_proto_sub, .gform_wrapper .fwme_proto_subsub, .gform_wrapper .fwme_prod_sub, .gform_wrapper .fwme_prod_subsub {
	padding: .75em 0 .75em 1.25em;
}
.gform_wrapper .fwme_proto_sub, .gform_wrapper .fwme_proto_subsub {
	border-left: solid 5px #5a8daf;
}
.gform_wrapper .fwme_prod_sub, .gform_wrapper .fwme_prod_subsub {
	border-left: solid 5px #6aa261;
}
.gform_wrapper .fwme_prot_subsub, .gform_wrapper .fwme_prod_subsub {
	margin-left: 1.5em !important;
}

@media screen and ( max-width: 1024px ) {
	.gravity-grid li[class*="ggc-"]:not([class*="fwme_pro"]) {
		grid-column: 1 / end;
	}
}
@media screen and ( max-width: 768px ) {
	.gform_wrapper li[class*="fwme_pro"] {
		font-size: 80%;
	}
}
.gform_wrapper .fwme_units .gfield_label {
opacity: 0;
}
.gform_wrapper .fwme_units .ginput_container_radio {
	margin-top: -4px !important;
	margin-left: -10px;
}
