/**
 * Theme Name: Upper Madison 2025
 * Theme URI: https://www.elegantthemes.com/gallery/divi/
 * Description: Divi Child Theme
 * Author: Interactive Media Consulting, LLC
 * Author URI: https://www.imediaconsult.com
 * Template: Divi
 * Version: 1.0.0
 -----------------------------------------------------------------------------
 */

/**
 * Table of Contents
 *
 * 1.0  - Typography
 * 2.0  - Elements (forms, lists, horizontal rules)
 * 3.0  - Navigation (links, menus, pagination)
 * 4.0  - Header
 * 5.0  - Content (pages, posts)
 * 6.0  - Media (captions, galleries)
 * 7.0  - Widgets
 * 8.0  - Footer
 * 9.0  - Plugins
 * 10.0 - Media Queries
 * 11.0 - Print Queries
 -----------------------------------------------------------------------------
 */

/**
 * 1.0 Typography
 -----------------------------------------------------------------------------
 */


body {
	
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.3em;
}

h1 {
	font-weight: 700 !important;
}

h2 {
	font-weight: 700 !important;
}

h3 {

}

h4 {

}

h5 {

}

h6 {

}

p, ul, ol, li {

}

b,
strong {

}

dfn,
cite,
em,
i {

}

blockquote {

}

/**
 * 2.0 Elements
 -----------------------------------------------------------------------------
 */

hr {
    background-color: #eee;
    border: 0;
    clear: both;
    height: 1px;
    width: 100%;
}

/**
 * 3.0 Navigation
 -----------------------------------------------------------------------------
 */

/*** Primary Menu */

/* Committee menu */
.logged-in-only { display: none !important; }

.logged-in .logged-in-only { display: flex !important; }

/* Log Out */

.log-out-menu-item { display: none !important; }

.logged-in .log-out-menu-item { display: flex !important; }

/*** Secondary Menu */


/*** Footer Menu */


/*** Mobile Menu */

.main-header-section .menu-mod .mobile_nav .mobile_menu_bar:before { color: #962f19 !important; }

.main-header-section .menu-mod .et_mobile_menu { border-top: 3px solid #962f19 !important; }

/* Sidebar Mobile Menu */

.sidebar-menu-mobile .et_pb_menu__menu { display: block !important; }
.sidebar-menu-mobile .et_mobile_nav_menu { display: none !important; }

.sidebar-menu-mobile .et_pb_menu__wrap,
.sidebar-menu-mobile .et_pb_menu__menu>nav>ul { justify-content: center; }
.sidebar-menu-mobile .et_pb_menu__menu li { 
	width: 125px !important; 
	justify-content: center;
	flex-direction: column;
}
.sidebar-menu-mobile .et_pb_menu__menu li:after { 
	content: url(/wp-content/uploads/2025/06/50px.png);
	text-align: center;
	display: none !important;
}
.sidebar-menu-mobile .et_pb_menu__menu li.current_page_item:after { display: block !important; }
.sidebar-menu-mobile .et_pb_menu__menu li a { 
	font-size: 14px; 
	color: #000;
	text-align: center;
}

.sidebar-menu-mobile li.current_page_item a {
	color: #962f19;
    font-weight: 700;
}

.sidebar-menu-section-mobile .et_pb_row { width: 95% !important; }

/*** Pagination */


/**
 * 4.0 Header
 -----------------------------------------------------------------------------
 */

.main-header-section { border-bottom: 5px solid #962f19; }

.main-header-section .et_pb_row {
	display: flex;
	align-items: center;
}

.main-header-section .menu-mod .et_pb_menu__logo img { width: 110px; }

.main-header-section li a,
.main-header-section .login-mod a { color: #000; }

.main-header-section .login-mod p:before {
	content: url(/wp-content/uploads/2025/04/login-icon.png);
    position: relative;
    top: 5px;
	margin-right: 10px;
}

.main-header-section .nav li ul { border-top: 3px solid #962f19 !important; }

/**
 * 5.0 Content
 -----------------------------------------------------------------------------
 */

/*** Alignment */
.alignleft,
.wp-caption.alignleft,
blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
    float: left;
    margin: 6px 20px 10px 4px;
}

.alignright,
.wp-caption.alignright,
blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
    float: right;
    margin: 6px 4px 10px 20px;
}

.aligncenter,
.wp-caption.aligncenter,
blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
    margin: 6px auto 10px;
}

.alignnone,
.wp-caption.alignnone {
    margin: 6px 0 10px;
}

.et_pb_row { max-width: none; }

.flex-row { align-items: center; }

/* Home */ 

.home-banner-section .et_pb_row { align-items: center; }
.home-banner-section .banner-text-mod { margin-left: 25%; }
.home-banner-section .banner-text-mod h1,
.home-banner-section .banner-text-mod h4,
.home-banner-section .banner-text-mod p,
.home-banner-section .banner-text-mod a { color: #fff !important; }
.home-banner-section .banner-text-mod a { 
	border: 2px solid #fff;
    padding: 10px 25px;
    border-radius: 30px;
    line-height: 4em;
}
.home-banner-section .banner-text-mod h1 { 
	font-size: 48px; 
	line-height: 1.2em;
}
.home-banner-section .banner-text-mod h4 { 
	font-size: 24px; 
	line-height: 1.3em;
	padding-bottom: 30px;
}

.icon-img-text-row .et_pb_column {
	display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img-text-row .icon-img-mod { 
	margin-right: 20px !important; 
	margin-bottom: 0 !important;
}
.icon-img-mod .et_pb_image_wrap {
	background-color: #962f19;
    display: flex;
    align-items: center;
    justify-content: center;
	height: 75px;
    width: 75px;
    border-radius: 50%;
}

.icon-text-mod span.right-arrow { 
	color: #962f19;
	font-size: 40px; 
	display: none;
}
.icon-text-mod h4 {
	display: flex;
    flex-direction: column;
}
.icon-text-mod h4:after {
	content: "\2192";
	color: #962f19;
	font-size: 40px; 
	margin-top: 10px;
}

.cta-box-mod { 
	/*height: 320px; */
	height: 440px; 
	display: flex;
    align-items: center;
	border: 4px solid #962f19;
}
.cta-box-mod .et_pb_text_inner { 
	width: 100%; 
	text-align: center !important;
    background-color: #fff;
    padding: 30px 15px;
    /*margin: 0 23%;*/
	margin: 0 28%;
}
.cta-box-mod h4 { 
	padding-bottom: 0 !important; 
	line-height: 1.3em;
}
.cta-box-mod .et_pb_text_inner:before {
	content: "";
	display: block;
	width: 50%;
	margin: 0 auto 15px auto;
	border-bottom: 5px solid #962f19;
}

.get-involved-row { 
	padding-top: 0 !important;
	padding-bottom: 0 !important; 
	padding-right: 10% !important;
	align-items: center; 
}
/*.get-involved-row .et_pb_column:first-child { width: 39%; }
.get-involved-row .et_pb_column:nth-child(2) { width: 25%; }
.get-involved-row .et_pb_column:last-child { width: 25%; }*/
.get-involved-row .et_pb_column:first-child { 
	width: 35%;
	margin-right: 3% !important;
}
.get-involved-row .et_pb_column:nth-child(2),
.get-involved-row .et_pb_column:nth-child(3) { 
	width: 22%; 
	margin-right: 3% !important;
}
.get-involved-row .et_pb_column:last-child { width: 22%; }
.get-involved-row .et_pb_text h2,
.get-involved-row .et_pb_text p,
.get-involved-row .et_pb_text a { 
	color: #fff !important; 
	display: block;
	width: 100%;
}
.get-involved-row .et_pb_text a:after {
	content: "\2192";
	color: #fff;
	font-size: 24px;
	float: right;
}
.get-involved-row .et_pb_text h2 { padding-bottom: 35px; }
.get-involved-row .et_pb_text p { 
	border-top: 1px solid #fff; 
	padding-top: 1em;
}
.get-involved-row .et_pb_text p:last-child { 
	border-bottom: 1px solid #fff; 
	padding-bottom: 1em !important;
}

.logo-carousel-mod .gs_logo_single img {
	max-height: 160px !important;
	width: auto !important;
}

/* Secondary Pages */

.sort-mod { margin-bottom: 10px !important; }
.sort-mod .et_pb_text_inner { display: flex; }
.sort-mod p:first-child { margin-right: 20px; }
.sort-mod a {
	background-color: #2277bc;
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px;
}

.secondary-banner-section h1 {
	color: #fff !important;
    font-weight: 400 !important;
	padding: 0 15px;
}

.sidebar-title h4,
.street-fair-sponsors-mod h4 { 
	background-color: #2277bc;
    color: #fff;
    padding: 15px;
}
.street-fair-sponsors-mod h4 { margin-bottom: 30px; }

.street-fair-sidebar-menu { margin-left: 20px; }

.street-fair-sidebar-menu .et-menu { flex-direction: column !important; }
.street-fair-sidebar-menu li { margin-top: 15px !important; }
.street-fair-sidebar-menu li a { padding-bottom: 15px; }
.street-fair-sidebar-menu li.current_page_item a {
	color: #962f19;
    font-weight: 700;
}
.street-fair-sidebar-menu li.current_page_item:before {
	content: url(/wp-content/uploads/2025/04/arrow-head-right.png);
	margin-right: 8px;
}

.upper-mad-image-mod img { width: 40%; }

.red-h4 h4 { 
	color: #962f19; 
	padding: 15px 0;
}

.street-fair-sidebar-section { padding: 0 !important; }
.street-fair-sidebar-section .sidebar-col {
	width: 25% !important;
    margin-right: 8% !important;
}
.street-fair-sidebar-section .content-col { width: 67% !important; }

.group-title h3 {
	border-bottom: 2px solid #000;
    padding-bottom: 25px;
}
.group-blog article { height: 430px; }
.group-blog img {
	height: 200px !important;
	max-height: 200px;
    object-fit: cover;
}

.white-text-mod p,
.white-text-mod h1,
.white-text-mod h2,
.white-text-mod h3,
.white-text-mod h4,
.white-text-mod h5,
.white-text-mod h6,
.white-text-mod li,
.white-text-mod a { color: #fff !important; }

.funding-for-um-mod {
	width: 65%;
    margin: auto;
}

.participate-3-img-row .et_pb_column {
	width: 32.66% !important;
    margin-right: 1% !important;
}
.participate-3-img-row .et_pb_column:last-child { margin-right: 0 !important; }


.applications-row { padding: 20px 0 !important; }
.applications-row .et_pb_column:first-child { 
	width: 20% !important;
	margin-right: 7% !important;
}
.applications-row .et_pb_column:last-child {
	width: 73% !important;
}

.icon-mod .et_pb_text_inner {
	display: flex;
    align-items: center;
}
.icon-mod .et_pb_text_inner h5 { color: #962f19; }

.sponsor-icon-mod .et_pb_text_inner:before {
	content: url(/wp-content/uploads/2025/04/sponsorship-icon-1.png);
	margin-right: 10px;
}
.businesses-icon-mod .et_pb_text_inner:before {
	content: url(/wp-content/uploads/2025/04/non-profit-icon.png);
	margin-right: 10px;
}
.on-site-icon-mod .et_pb_text_inner:before {
	content: url(/wp-content/uploads/2025/04/onsite-vendors-icon.png);
	margin-right: 10px;
}
.other-icon-mod .et_pb_text_inner:before {
	content: url(/wp-content/uploads/2025/04/other-vendors-icon.png);
	margin-right: 10px;
}
.stage-icon-mod .et_pb_text_inner:before {
	content: url(/wp-content/uploads/2025/04/stage-icon.png);
	margin-right: 10px;
}
.other-entertainers-icon-mod .et_pb_text_inner:before {
	content: url(/wp-content/uploads/2025/04/other-entertainers-icon.png);
	margin-right: 10px;
}

.pine-hills-series-mod ul li { margin-bottom: 15px; }
.pine-hills-series-mod ul li:last-child { margin-bottom: 0; }

/* Posts */

.post-banner-section { 
	background-color: #2277bc !important;
    padding: 54px 0;
}
.post-banner-section .post-banner-content {
	width: 80%;
    margin: auto;
}
.post-banner-section .post-banner-content h1 {
	text-align: center;
	color: #fff;
	font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 400 !important;
}

.single-post article { display: flex; }
.single-post article .et_post_meta_wrapper:first-child {
	margin-right: 3%;
    width: 30%;
}
.single-post article .et_post_meta_wrapper .entry-title,
.single-post article .et_post_meta_wrapper .post-meta { display: none; }

.single-post article .entry-content {
	padding-top: 0;
    width: 67%;
}


/**
 * 6.0 Media
 -----------------------------------------------------------------------------
 */

/*** Captions */


/*** Galleries */


/*** Images */


/**
 * 7.0 Widgets
 -----------------------------------------------------------------------------
 */



/**
 * 8.0 Footer
 -----------------------------------------------------------------------------
 */

.main-footer-section { border-top: 5px solid #962f19; }

.main-footer-section .et_pb_module,
.main-footer-section .et_pb_module a,
.main-footer-section .et_pb_module h4 { color: #fff !important; }

.main-footer-section .et_pb_column:nth-child(2) {
	width: 11.6667% !important;
    margin-right: 11.75% !important;
    margin-left: 11.75% !important;
}

.main-footer-section .et_pb_module h4 { padding-bottom: 35px; }

.main-footer-section .et_pb_module h4 strong { 
	border-bottom: 1px solid #fff; 
	padding-bottom: 8px;
}

/**
 * 9.0 Plugins
 -----------------------------------------------------------------------------
 */

/* CiviCRM */

 /* 3 equal columns for Civi SeachKit Grid display */
.civi-grid-3 .crm-search-display-grid-layout-3 { 
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important; 
	align-items: normal !important;
}

.civi-grid-3 .crm-search-display-grid-layout-3 > div {
	width: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid #d8d8d8;
	padding: 10px;
}

/**
 * Grid Styles for Business Directory & Activities.  Hoping to keep them consistent as much as possible.  We shall see.
 -----------------------------------------------------------------------------
 */

div.grid_title{
	font-weight:600;
	font-size: 20px;
	margin-bottom: 4px;
}

div.grid_type{
	font-style: italic;
	margin-bottom: 4px;
}

div.grid_description{
	font-size: 14px; 
	margin-bottom: 4px;
	overflow-wrap: anywhere;
}

div.grid_image{
	margin-top:20px
}

/* Fixes fieldsets expanding outside container on mobile for CiviCRM forms */

.crm-container fieldset {
	width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

/*Anne trying to replicate what Nate for the business directory for for the activities images*/

.crm-search-display-grid-layout-3 .crm-search-col-type-image,
.bus-directory-mod .crm-search-col-type-image { 
	text-align: center; 
}

.crm-search-display-grid-layout-3 .crm-search-col-type-image img,
.bus-directory-mod .crm-search-col-type-image img {
	height: 200px;
    object-fit: cover;
}

.civi-grid-3 .crm-search-display-grid-layout-3 .crm-search-col-type-field { overflow-wrap: anywhere; }

/*keeping this shown for logged in users
 * .crm-container .afform-directive .af-admin-edit-form-link { display: none !important; }*/

.civicrm #main-content article { 
	width: 80%;
    margin: auto;
    padding: 50px 0;
}

.civi-donate .crm-title { display: none; }

/* Civi Textarea issue fix */
textarea { max-width: 100%; }

/**
 * Civi Form Styles for Registration/Application Forms
 -----------------------------------------------------------------------------
 */

div.sectionheader {
	background-color: #2277bc; 
	padding: 5px;
	color: #fff;
	font-size: 16px;
	margin-bottom: 5px;
}

div.sectiontext {
	margin-bottom:5px;
}

div.falsetitle {        
	margin-left:-19%;
	padding:5px;
	color:black;
	font-size:16px;
	margin-bottom:5px;
	background-color:aliceblue;  
}

/*hide profile names on form, thank you and confirm pages*/
/*we have formatting for section titles so legends are duplicative*/

/*div#crm-container form#Register div.crm-block fieldset legend { display:none; }*/

#Register fieldset,
#ThankYou fieldset,
#Confirm  fieldset { 
	border: none !important;
}

#Register fieldset > legend,
#ThankYou fieldset > legend,
#Confirm fieldset > legend{ 
	display:none !important;
}

/*sone of this is leftover from old site so maybe could be dropped, but no time to test so leaving for now */
form#Confirm div.crm-profile-view-title,        
form#Confirm div.do_at_fair-section,
form#Confirm div.Raffle_Header-section,
form#ThankYou div.crm-profile-view-title,        
form#ThankYou div.do_at_fair-section,
form#ThankYou div.Raffle_Header-section 
{ display:none; 
}

/* Civi Registration Pages */

.civi-form #crm-container .crm-title h2.title { display: none; }
/**
 * 10.0 Media Queries
 -----------------------------------------------------------------------------
 */

@media all and (max-width: 1400px) {
	.home-banner-section .banner-text-mod h1 { font-size: 40px; }
	.home-banner-section .banner-text-mod h4 { font-size: 20px; }
	.cta-box-mod { height: 325px; }
	.cta-box-mod .et_pb_text_inner { margin: 0 20%; }
	.main-footer-section .et_pb_column:nth-child(2) {
    	width: 15.6667% !important;
    	margin-right: 9.75% !important;
    	margin-left: 9.75% !important;
	}
	.applications-row .et_pb_column:first-child {
    	width: 25% !important;
	}
	.applications-row .et_pb_column:last-child {
    	width: 68% !important;
	}
}

@media all and (max-width: 1350px) {
	.get-involved-row { 
		padding-left: 10% !important; 
		padding-top: 27px !important;
		padding-bottom: 27px !important;
	}
	.get-involved-row .et_pb_column:first-child { display: none; }
	.get-involved-row .et_pb_column:nth-child(2), 
	.get-involved-row .et_pb_column:nth-child(3),
	.get-involved-row .et_pb_column:last-child {
		width: 33.33% !important;
	}
}

@media all and (max-width: 1200px) {
	.home-banner-section .et_pb_column:first-child { 
		width: 47% !important; 
		margin-right: 3% !important;
	}
	.home-banner-section .et_pb_column:last-child { width: 50% !important; }
	.home-banner-section .banner-text-mod { margin-left: 20%; }
	.home-banner-section .banner-text-mod h1 { font-size: 32px; }
	.home-banner-section .banner-text-mod h4 { 
		font-size: 18px;
		padding-bottom: 15px;
	}
	/*.get-involved-row {
		padding-top: 30px !important;
		padding-bottom: 30px !important; 
		padding-left: 10% !important; 
	}
	.get-involved-row .et_pb_column:first-child { display: none !important; }
	.get-involved-row .et_pb_column:nth-child(2), 
	.get-involved-row .et_pb_column:nth-child(3),
	.get-involved-row .et_pb_column:last-child { width: 31.33% !important; }*/
	.applications-row .et_pb_column:first-child {
    	width: 32% !important;
	}
	.applications-row .et_pb_column:last-child {
    	width: 61% !important;
	}
}

@media all and (max-width: 1080px) {
	.cta-box-mod .et_pb_text_inner { 
		margin: 0 17%; 
		padding: 30px 10px;
	}
	.cta-box-mod { height: 275px; }
	.main-footer-section .et_pb_column:nth-child(2) {
        width: 19.6667% !important;
        margin-right: 7.75% !important;
        margin-left: 7.75% !important;
    }
	.civi-grid-3 .crm-search-display-grid-layout-3 { 
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
	}
}
	
@media all and (max-width: 980px) {
	/*.main-header-section .et_pb_row--with-menu .et_pb_column:last-child { display: none; }*/
	.main-header-section .et_pb_row--with-menu .et_pb_column { margin-bottom: 0; }
	.home-banner-section .et_pb_row {
		display: flex;
		flex-direction: column-reverse;
	}
	.home-banner-section .et_pb_column:first-child,
	.home-banner-section .et_pb_column:last-child {
		width: 100% !important;
		margin-right: 0 !important;
	}
	.home-banner-section .et_pb_column:first-child { max-width: 80%; }
	.home-banner-section .banner-text-mod { 
		margin-left: 0; 
		padding-top: 30px;
		text-align: center;
	}
	.icon-img-text-row {
		display: flex;
	}
	.icon-img-text-row .et_pb_column { margin-bottom: 0 !important; }
	.icon-img-mod .et_pb_image_wrap {
		height: 65px;
		width: 65px;
	}
	.cta-box-mod {
        height: 460px;
        width: 60%;
        margin: auto;
    }
	.cta-box-mod .et_pb_text_inner {
        margin: 0 22%;
        padding: 50px 10px;
    }
	.get-involved-row { flex-direction: column; }
	.get-involved-row .et_pb_column:nth-child(2),
	.get-involved-row .et_pb_column:nth-child(3),
	.get-involved-row .et_pb_column:last-child {
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 30px !important;
	}
	.main-footer-section .et_pb_column:nth-child(2),
	.main-footer-section .et_pb_column:first-child,
	.main-footer-section .et_pb_column:last-child {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
	.main-footer-section .et_pb_column .et_pb_module { text-align: center !important; }
	.street-fair-sidebar-section .sidebar-col { display: none; }
	.street-fair-sidebar-section .content-col { width: 100% !important; }
	.small-bus-sponsors-row .et_pb_column {
		width: 48% !important;
		margin-right: 4% !important;
	}
	.small-bus-sponsors-row .et_pb_column:last-child { margin-right: 0 !important; }
	.street-fair-brought-to-you-row .et_pb_module { text-align: center !important; }
	.street-fair-brought-to-you-row .et_pb_column:first-child img { max-width: 250px; }
	.street-fair-brought-to-you-row .et_pb_column:last-child img { max-width: 150px; }
}

@media all and (max-width: 850px) {
	.icon-text-mod h4 { font-size: 16px; }
}

@media all and (max-width: 767px) {
	.icon-img-text-row { 
		flex-direction: column; 
		padding-top: 0;
	}
	.icon-img-text-row .icon-text-mod { width: 50%; }
	.icon-img-text-row .et_pb_column { margin-bottom: 30px !important; }
	.icon-img-text-row .et_pb_column:last-child { margin-bottom: 0 !important; }
	.cta-box-mod { height: 375px; }
	.main-header-section .menu-mod .et_pb_menu__logo img { width: 85px; }
}

@media all and (max-width: 650px) {
	.cta-box-mod { 
		height: 490px; 
		width: 100%;
	}
	.applications-row .et_pb_column:first-child {
    	width: 40% !important;
		margin-right: 5% !important;
	}
	.applications-row .et_pb_column:last-child {
    	width: 55% !important;
	}
}

@media all and (max-width: 600px) {
	.small-bus-sponsors-row .et_pb_column {
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 17px;
	}
	.civi-grid-3 .crm-search-display-grid-layout-3 { 
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important; 
	}
}

@media all and (max-width: 500px) {
	.cta-box-mod { height: 375px; }
	.applications-row {
		display: flex;
    	flex-direction: column;
	}
	.applications-row .et_pb_column:first-child {
    	width: 100% !important;
		margin-right: 0 !important;
	}
	.applications-row .et_pb_column:last-child {
    	width: 100% !important;
	}
}

@media all and (max-width: 479px) {

}

@media all and (max-width: 425px) {
	.cta-box-mod { height: 315px; }
}

/**
 * 11.0 Print
 -----------------------------------------------------------------------------
 */

@media print {

}