/**
 * Theme Name:       Mai Display
 * Theme URI:        https://bizbudding.com/products/mai-display-theme/
 * Description:      Mai Display child theme for the Genesis Framework.
 * Author:           BizBudding
 * Author URI:       https://bizbudding.com/
 * Version:          2.0.1
 * Text Domain:      mai-display
 * Template:         genesis
 * Template Version: 3.3.2
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */

:root {
	--button-border-radius: 7px;
}

body .special-gradient > .fl-row-content-wrap:after,
body .special-gradient-column > .fl-col-content:after/*,
body .page-header-overlay*/ {
    background: rgb(234,114,37);
	background: -moz-linear-gradient(90deg, rgba(234,114,37,.85) 25%, rgba(255,203,0,.85) 75%);
	background: -webkit-linear-gradient(90deg, rgba(234,114,37,.85) 25%, rgba(255,203,0,.85) 75%);
	background: linear-gradient(90deg, rgba(234,114,37,.85) 25%, rgba(255,203,0,.85) 75%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ea7225",endColorstr="#ffcb00",GradientType=1);
}
.page-header-wrap.wrap {
	max-width:none;
}
.page-header-inner h1 {
	background: rgb(234,114,37);
	background: -moz-linear-gradient(51deg, rgba(234,114,37,1) 45%, rgba(255,203,0,1) 95%);
	background: -webkit-linear-gradient(51deg, rgba(234,114,37,1) 45%, rgba(255,203,0,1) 95%);
	background: linear-gradient(51deg, rgba(234,114,37,1) 45%, rgba(255,203,0,1) 95%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ea7225",endColorstr="#ffcb00",GradientType=1);
	border-radius:0;
	display:inline-block;
	float:left;
	padding:30px 50px 40px;
}
.page-header-description {
	display: inline-block;
    float: left;
    clear: left;
    background-color: #000;
    padding: 25px 50px;
    margin: -40px 30px 0 30px;
}
.page-header-description p:last-child {
	margin-bottom:0;
}

h1,h2,h3,h4 {
	letter-spacing:-1px;
}

a:focus,a:hover,
.menu-item-link-current>span, .menu-item-link:focus>span, .menu-item-link:hover>span {
	-webkit-filter: none;
    filter: none;
}
.site-header-wrap {
	align-items: stretch;
}
.header-section.header-right {
	align-items: flex-start;
	flex-wrap:wrap;
}

.button.transparent {
	background-color: transparent;
    border: 2px solid #fff;
}
.button.transparent:hover {
	background-color:#ffcb00;
    border: 2px solid #ffcb00;
}
.nav-header {
	order:1;
}
.sub-menu .menu-item-link-current, 
.sub-menu .menu-item-link:focus, 
.sub-menu .menu-item-link:hover {
    color: #ea7225;
}

.divider {
	clear: both;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.flex-grow-5 {
	flex-grow:5;
}
.flex-grow-30 {
	flex-grow:30;
}

body .entry-content>.is-style-heading:not(:first-child),
body .entry-content>.is-style-subheading:not(:first-child),
body .entry-content>h1:not(:first-child),
body .entry-content>h2:not(:first-child),
body .entry-content>h3:not(:first-child),
body .entry-content>h4:not(:first-child),
body .entry-content>h5:not(:first-child),
body .entry-content>h6:not(:first-child),
body .entry-content>legend:not(:first-child) {
    --heading-margin-top: var(--spacing-l);
}
/********* SFW Top Button Menu Customizations *********/
.fl-builder-content-3306 {
	margin:0;
	padding:0;
}
.fl-builder-content-3306 .menu a {
    display:inline-flex;
    line-height:20px;
}
.fl-builder-content-3306 .menu a:hover {
    color:#FFCB00;
}
.fl-builder-content-3306 .menu .hanging a,
.hanging a {
	background-color: #ea7225;
	border-radius: 0 0 6px 6px;
	color:#fff;
	margin:0 4px;
}
.fl-builder-content-3306 .menu .hanging.donate a {
	background-color: #FFCB00;
	color:#000;
}
.fl-builder-content-3306 .menu .hanging a:hover,
.fl-builder-content-3306 .menu .hanging.donate a:hover {
	background-color: #fff;
	color:#000;
}
.fl-builder-content-3306 .menu .sub-menu {
	min-width:200px;
	padding: var(--sub-menu-padding,var(--spacing-xxs) 0);
}
.fl-builder-content-3306 .menu .sub-menu a {
	color:#5b636b;
	display:block;
	line-height:inherit;
	padding: var(--menu-item-link-padding,var(--spacing-md) var(--spacing-md));
	width:100%;
}
.fl-builder-content-3306 .menu .sub-menu a:hover,
.menu .sub-menu a:hover {
	background-color:#efefef;
	color:#ea7225;
}

/********* SFW ReciteMe Customizations *********/

#recite-header button {
    min-width: auto !important;
    border-radius: 0 !important;
    max-height:none;
}
#recite-header button:hover,
#recite-header button:focus,
#recite-header button:active,
#recite-header .button:visited:active,
#recite-header .button:visited:focus,
#recite-header .button:visited:hover  {
    -webkit-filter: none;
    filter: none;
    background-attachment:initial;
    background-clip:initial;
    background-origin:initial;
    background-position:initial;
    background-size:571px 571px;
    background-repeat-x:initial;
    background-repeat-y:initial;
} 


.title-area .custom-logo{
    height: auto;
}

.title-area .custom-logo img {
    height: auto !important;
    padding: 0 !important;
    background-image: none !important;
}
/********* SFW Menu Customizations *********/
.menu-item-has-children>a:after {
    width: 8px;
    height: 8px;
    border-right-width: 2px;
    border-bottom-width: 2px;
}
.sub-menu {
	font-size: .95em;
	font-weight:400;
	text-transform:none;
}
.transparent .menu-item-link.button{
	background-color:transparent ;
	border:2px solid #fff;
}
.transparent .menu-item-link.button:hover {
    background-color: #FFCB00;
    border-color:#FFCB00;
 }
.menu-item-link.button {
	background-color:#ea7225 ;
}
.menu-item-link.button:hover {
    background-color: #FFCB00;
    color:#000;
}
.menu-item-link-current, .menu-item-link:focus, .menu-item-link:hover {
    color: #FFCB00 ;
}
button.sub-menu-toggle {
	background-color: #606060;
	font-size:1.3em;
	margin:2px;
	padding:15px;
}

/* What we Do row special classes for dealing with PowerPack
---------------------------------------------*/
.what-we-do-row li {
	line-height:1.2;
}
.fl-builder-content .pp-infobox-image img {
    height: auto;
    width: 140px;
    max-width: none !important;
}
.what-we-do-row .pp-infobox-description p:last-of-type {
    margin-bottom: 20px !important;
}

/* Chapter Select Classes
---------------------------------------------*/
.map-selector-wrapper {
	float: right;
	margin-left: 2.564102564102564%;
	width: 31.623931623931625%;
}

table#chapters {
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 2;
	margin-bottom: 40px;
	margin-bottom: 4rem;
	width: 60%;
}

table#chapters td {
	border: 1px solid#777;
	border-collapse: collapse;
	padding:10px;
	}

.chapterHeader {
	background-color: #fdd244;
	font-size:18px;
	text-align:center;
}

.chapterHeader h3 {
	font-size: 20px;
	font-size: 2rem;
	font-weight: normal;
	line-height: 1.25;
	margin: 0;
	margin-bottom: 0px;
	margin-bottom: 0rem;
	padding: 0;
	}

.chapterTitles {
	background-color: #ec7424;
	color: #fff;
	text-align: center;
}

.chapter-selector-wrapper {
	margin:10px 0px 30px;
}

/********* SFW Footer Customizations *********/
footer .menu-item-link {
    width: 100%;
}
footer .menu-item-link-current,footer .menu-item-link:focus,footer .menu-item-link:hover {
    color: #ea7225;
}

/********* SFW PP Info Box for service-heading class Customizations *********/
.service-heading .pp-infobox .pp-infobox-image {
	text-align:left !important;
}
.pp-infobox-wrap .layout-3-wrapper {
    flex-direction: row !important;
}
.service-heading .pp-infobox-wrap .layout-3 .pp-icon-wrapper {
    margin-right: 10px !important;
}
/* # Media Queries (mobile-first)
---------------------------------------------------------------------------------------------------- */

@media only screen and (min-width: 545px) {}

@media only screen and (min-width: 769px) {}

@media only screen and (min-width: 993px) {
	#menu-main-header-navigation > li:nth-last-child(2) > .sub-menu  {
		left: -75px;
	}
	#menu-main-header-navigation > li:nth-last-child(2) > .sub-menu > .menu-item.menu-item-has-children > .sub-menu  {
		left: 34px;
	    top: 30px;
	}
}

@media only screen and (min-width: 1160px) {}

@media only screen and (min-width: 1160px) {}

#menu-main-header-navigation > li:nth-last-child(2) > .sub-menu  {
		left: -75px;
	}
	#menu-main-header-navigation > li:nth-last-child(2) > .sub-menu > .menu-item.menu-item-has-children > .sub-menu  {
		left: 34px;
	    top: 30px;
	}


/* # Media Queries (mobile-second)
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 992px) {
	.fl-col.full-width-under-544:nth-child(odd) {
		clear:left;
	}
	.fl-col.full-width-under-544.no-clear:nth-child(odd) {
		clear:none;
	}
}
@media only screen and (max-width: 768px) {}

@media only screen and (max-width: 544px) {
	.page-header-inner h1 {
		font-size: var(--h1-font-size,var(--font-size-xxl));
		padding: 20px 20px 35px 20px;
	}
	.fl-col.full-width-under-544 {
		clear:none;
		width:100% !important;
	}
}

