/* sitewide css styles */
@font-face {
    font-family: MyriadPro;
    src: url("fonts/MyriadPro-Regular.otf") format("opentype");
}
@import url('//fonts.googleapis.com/css?family=PT+Sans&display=swap');

:root {
	--color-red: #ee1c26;
	--color-red-darker: #b0151c;
	--media-breakpoint-xs: 576px;
	--media-breakpoint-sm: 768px;
}

body.page, body.post {
	font-family: 'MyriadPro', 'PT Sans', Arial, sans-serif;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}
/* make font on phones easier to read */
@media (max-width: 525px) {
	body {
		font-size: 1.1rem;
	}
}

@media (max-width: 767px) {
	div.site {
		overflow-x: hidden;
		padding-left: 15px;
		padding-right: 15px;
	}
	body.page, body.post {
		padding-left: 0;
		padding-right: 0;
	}
}
* {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-tap-highlight-color: transparent;
	-webkit-focus-ring-color: rgba(255, 255, 255, 0);
}


h1 {
	font-size: 3rem;
	margin: .67rem 0;
}
h2.v2 {
	color: black;
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 2rem;
}

.text { font-size: 1.15rem }


/**
 * Links
 */
.text a {
	color: #404040;
	text-decoration: underline;
}
.text-white a:not(.btn) {
	color: white !important;
	text-decoration: underline;
}
.text-white a:not(.btn):hover, .text a:hover { text-decoration: none }
/* End */



button {
	border: none;
	border-radius: 1rem;
	background: #fff;
	font-size: .7rem;
	padding: .7rem 1.2rem .6rem;
	color: #de0000;
	text-transform: uppercase;
	font-weight: bold;
}
button:hover {
	background: #d3d3d3;
	cursor: pointer;
}
button:focus {
	outline: none;
}
.full-width {
    width: 100vw;
    margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
}
@media (min-width: 768px) {
	.hidden-md {
		display: none !important;
	}
}
@media (max-width: 767px) {
	.visible-md {
		display: none !important;
	}
}
section {
	padding: 1rem;
}
.section-title {
	margin-bottom: 2rem;
}
.section-description {
	text-transform: none;
}
/* URL Hash with Sticky Nav */
*:target {
	padding-top: 90px;
	margin-top: -90px;
}
section:target {
	padding-top: 90px;
	margin-top: -74px;
}
.two-column-section > section:target {
	padding-top: 90px;
	margin-top: -90px;
}
img.full-width {
    width: 100vw;
    margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
}
.pref-break {
	display: inline-block;
}

/* header styles */

header.site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: #fff;
}
nav ul {
	margin: 0;
	padding: 0;
}
nav a, nav a:link {
	color: black;
	text-decoration: none;
}
.navbar-collapse { flex-grow: 0 }


#nav .navbar-brand > img {
	max-width: none;
	height: 65px;
}
@media (max-width: 991px) {
	#nav .navbar-brand > img { height: 44px }
}


/**
	Extends Bootstrap expand functionality with a bigger viewport breakpoint to use in the header navigation.
	The two media breakpoints below should be also used in JavaScript (main.js) to properly move header menus in the DOM.
 */
@media (min-width: 1480px) {
	.navbar-expand-xxl {
		flex-flow: row nowrap;
		justify-content: flex-start;
		box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
	}
	.navbar-expand-xxl .navbar-collapse {
		display: flex !important;
		flex-basis: auto;
	}
	.navbar-expand-xxl .navbar-toggler { display: none }
	.navbar-expand-xxl #utility-menu { flex-direction: row }
}
@media (min-width: 880px) {
	.navbar-expand-xxl #primary-menu { flex-direction: row }
	.navbar-expand-xxl .navbar-nav .dropdown-menu { position: absolute }
}


#desktop-menu {
	display: flex;
	flex-grow: 1;
	justify-content: space-between;
}
#desktop-menu .nav-link { padding: 0 .7rem }
#mobile-menu { padding: 1rem 0 }

#primary-menu, #utility-menu {
	flex-wrap: nowrap;
	align-items: center;
	text-align: center; /* Helps with centering when a dropdown is opened */
}


/**
	Primary Menu
 */
#primary-menu {
	font-size: 1.1rem;
	line-height: 1.4rem;
	letter-spacing: 2px;
	white-space: nowrap;
}
#primary-menu .nav-link:hover { background-color: #f8f9fa }
#mobile-menu #primary-menu {
	margin-bottom: 2rem;
	font-size: 1.5rem;
}


/**
	Utility Menu
 */
#utility-menu {
	font-size: .8125rem;
	font-weight: bold;
	color: var(--color-red);
	text-transform: uppercase;
	margin-left: 2.5vw;
}
#utility-menu .nav-item {
	display: flex;
	align-items: center;
	text-align: center;
	letter-spacing: 1px;
}
#utility-menu .nav-link { color: var(--color-red) }
#utility-menu .nav-link:hover { color: var(--color-red-darker) }
#utility-menu svg {
	height: 1.5rem;
	width: 1.5rem;
	vertical-align: bottom;
	fill: #848484;
}
#utility-menu svg:hover { fill: var(--color-red-darker) }

#mobile-menu #utility-menu { font-size: 1rem }

#desktop-menu #utility-menu .nav-item:nth-child(n+3):not(:last-child):before {
	content: '';
	display: block;
	height: 22px;
	border-left: 1px solid;
}


.campaign-menu-item > .nav-link {
	text-transform: none;
	padding: 0.125rem .7rem !important;
	border: 1px solid var(--color-red);
	border-radius: 1rem;
}
#mobile-menu .campaign-menu-item { margin-bottom: .5rem }
#mobile-menu .campaign-menu-item > .nav-link { padding: .125rem 1rem !important }


.nav-social-icons > a:not(:last-child) { margin-right: .7rem }
#mobile-menu .nav-social-icons > a:not(:last-child) { margin-right: 1.5rem }



/* Aligns .nav-link and its separate dropdown caret in one row */
.dropdown > .nav-link { display: inline-block }
.dropdown-toggle::after { vertical-align: middle }


div.dropdown-menu {
	line-height: 1.6;
	border: none;
	margin-top: 0;
}
#desktop-menu .dropdown:hover > .dropdown-menu { display: block }
#nav .dropdown-item {
	color: #989898;
	padding-left: 0;
	padding-right: 0;
}


#mobile-menu .dropdown-toggle { padding-left: .5rem }
#desktop-menu .dropdown-toggle {
	margin-left: -.75rem;
	padding-right: .7rem;
}
.dropdown-menu { text-align: center }
#mobile-menu .dropdown-menu { font-size: 1.25rem }



nav.footer-navigation {
	text-align: center;
}
nav.footer-navigation p {
	letter-spacing: 2px;
}
nav.footer-navigation img {
	max-height: 100%;
	max-width: 100%;
	height: 135px;
	width: auto;
	margin-bottom: 1rem;
}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}


/**
	Hamburger icon
 */
button#sidebar-toggler-hamburger {
	background: transparent;
	border-color: transparent;
}
.hamburger-icon {
	display: block;
	width: 30px;
	height: 20px;
	position: relative;
	margin: 0;
	transform: rotate(0deg);
	transition: .5s ease-in-out;
	cursor: pointer;
}
.hamburger-icon span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}
.hamburger-icon span { background: #848484 }
.hamburger-icon span:nth-child(1) { top: 0 }
.hamburger-icon span:nth-child(2), .hamburger-icon span:nth-child(3) { top: 10px }
.hamburger-icon span:nth-child(4) { top: 20px }
.hamburger-icon.open span:nth-child(2) { transform: rotate(45deg) }
.hamburger-icon.open span:nth-child(3) { transform: rotate(-45deg) }

.hamburger-icon.open span:nth-child(1),
.hamburger-icon.open span:nth-child(4) {
	top: 11px;
	width: 0;
	left: 50%;
}



/* general formatting + layout styles */
.content-area {
	max-width: 1280px;
}
@media (min-width: 768px) {
	.thin-content p, .thin-content h1, .thin-content h2, .thin-content h3, .thin-content h4, .thin-content figure.wp-block-embed-youtube, .thin-content ul, .thin-content .gform_wrapper {
		max-width: 80%;
		margin-right: auto;
		margin-left: auto;
	}
	.thin-content figure.wp-block-embed-youtube {
		max-width: 600px;
	}
}

/* end general formatting + layout styles */

/* gravity form styles */
form input, form .textarea {
	padding: 12px;
	margin: 6px 0 4px;
	border: 1px solid #ccc;
	background: #fafafa;
	color: #000;
	line-height: normal;
	border-radius: 2px;
	box-sizing: border-box;
}
form .contact-mail input {
	width: 97.5% !important;
}
form input.button {
	border: 2px solid #272727;
	border-radius: 3px;
	background-color: transparent;
	font-size: .7rem;
	padding: 1em 2.5em;
	color: #272727;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
}
/* end gravity form styles */


/* homepage styles */

/* first hero styles */
@media (max-width: 767px) {
	.home .header-hero.left-overlay img.full-width {
		width: 175vw;
		max-width: 175vw;
		max-height: 350px;
		object-fit: cover;
		object-position:-50px;
	}
}
/* end first hero styles */

/* second hero styles */
.stagger-hero {
	margin-top: -1.5rem;
	background: url("../img/why-use-msg-homepage-banner-homemade-ramen.jpg") no-repeat center;
	background-size: cover;
}
.stagger-inside {
	max-width: 1280px;
	padding-left: 15px;
	padding-right: 15px;
	margin-right: auto;
	margin-left: auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(369px, 1fr));
	grid-template-rows: repeat(auto-fit, minmax(475px, 1fr));
}
.stagger-hero .header-copy {
	position: relative !important;
	max-width: 100% !important;
	margin: 5%;
}
.stagger-hero .header-copy:nth-child(odd) {
	text-align: left;
	margin-left: 5%;
}
.stagger-hero .header-copy:nth-child(even) {
	text-align: right;
	margin-right: 5%;
	align-self: end;
}
@media (max-width: 980px) and (min-width: 768px) {
	.umami-buzz .pref-break {
		display: inline;
	}
}
@media (max-width: 767px) {
	.stagger-inside {
		padding-left: 0;
		padding-right: 0;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
}

/* end second hero styles */

/* Homepage bottom styles */
#homepage-media {
	align-items: center;
	padding: 0;
}
#homepage-media section {
	padding: 10px 5px;
}
#homepage-media #home-video {
	height: 100%;
}
#home-video .yt-responsive-embed {
	height: 100% !important;
}
#home-lightwidget iframe {
	margin-bottom: -8px;
}

/* end homepage bottom styles */
/* end homepage styles */


/* Removed weird black line on the right of the movinb thumbnail of the Wistia video */
.w-video-wrapper.w-css-reset {
	background-color: transparent !important;
}


.bg-red { background-color: var(--color-red) }
.bg-twitter-blue { background-color: #1da1f2 }
.bg-dark-gray { background-color: #4a4a4a }
.bg-light-gray { background-color: #e2e2e2 }
.text-red { color: var(--color-red) !important; }

.max-width-lg {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}


/**
 * Twitter card style.
 */
.card-twitter {
	margin: 0 auto;
	border: none;
	border-radius: 0;
}
.card-twitter .card-body { color: rgba(0, 0, 0, .6) }
.card-twitter .card-body a { color: black }

.card-twitter .card-footer { padding: 0 }
.card-twitter .card-footer > .btn {
	font-weight: bold;
	color: white;
	font-size: 1.25rem;
	text-transform: uppercase;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	background-color: #1da1f2;
	border-radius: 0;
}
.card-twitter .card-footer > .btn:hover {
	background-color: #1cb7ff;
}
/* End */


/*
 * Bootstrap Card style #2
 */
.card-style-2 {
	--spacing-x: 1.7rem;
	--spacing-y: 1.5rem;

	height: 100%;
	border: none;
	border-radius: 1rem;
}
.card-style-2 .card-header {
	background-color: transparent;
	border-bottom: 0.3rem solid var(--color-red);
}
.card-style-2 .card-header h3 { font-weight: bold }
.card-style-2.bg-red .card-header { border-bottom-color: white }

.card-style-2 .card-header {
	padding-top: var(--spacing-y);

	/* The following rules are to make border-bottom not to be 100% of the card. */
	padding-left: 0;
	padding-right: 0;
	margin-left: var(--spacing-x);
	margin-right: var(--spacing-x);
}
.card-style-2 .card-body {
	padding: var(--spacing-y) var(--spacing-x);
}
.card-style-2 .card-text { font-size: 1.15rem }
.card-style-2 .card-footer {
	background-color: transparent;
	padding: 0 var(--spacing-x) var(--spacing-y);
	border: none;
}
/* End */



/**
 * Header image overlay
 */
.header-img-overlay .page-header-title {
	line-height: 1;
	font-weight: bold;
	margin: 0;
}
.header-img-overlay .page-header-intro {
	max-width: 68%;
	font-size: 1.25rem;
	line-height: 1.1;
	padding: 1rem 0;
	margin: 0;
}
@media (min-width: 768px) {
	.header-img-overlay .page-header-intro {
		font-size: 2rem;
	}
}
@media (min-width: 992px) {
	.header-img-overlay .page-header-intro {
		font-size: 2.5rem;
		padding: 3rem 0;
	}
}
/* End */



/**
 *
 */
.round-numbers {
	list-style: none;
	counter-reset: roundList;
	padding: 0;
	margin: 0;
}
.round-numbers > li {
	counter-increment: roundList;
	text-align: center;
}
.round-numbers > li:before {
	--counter-size: 5.7rem;
	--border-width: .3rem;

	content: counter(roundList);
	display: block;
	width: var(--counter-size);
	height: var(--counter-size);
	font-size: 3.2rem;
	font-weight: bold;
	line-height: calc(var(--counter-size) - var(--border-width));
	border: var(--border-width) solid;
	border-radius: 50%;
	margin: 0 auto 1rem;
}
.round-numbers > li:not(:last-child) { margin: 0 0 2rem }

@media (min-width: 576px) {
	.round-numbers {
		display: flex;
		flex-wrap: wrap;
		font-size: 2.5rem;
	}
	.round-numbers > li {
		flex-grow: 1;
		flex-basis: 0;
	}

	.round-numbers.columns-3 > li:first-child { margin: 0 .75rem 2rem 0 }
	.round-numbers.columns-3 > li:nth-child(2) { margin: 0 0 2rem .75rem }
	.round-numbers.columns-3 > li:last-child { flex-basis: 100% }
}
@media (min-width: 768px) {
	.round-numbers > li { margin: 0 2rem !important }
	.round-numbers > li:first-child { margin-left: 0 !important }
	.round-numbers > li:last-child { margin-right: 0 !important }

	.round-numbers.columns-3 > li:last-child { flex-basis: 0 }
}
/* End */