/* 
 Theme Name:     Judson Mill District 2.2
 Author:         Nice Grizzly | Creative Shop
 Author URI:     www.nicegrizzly.com
 Template:       Divi
 Description:    A customized child theme built for Judson Mill District
 Version:        2.2
*/

@import url('../Divi/style.css');
@import url('https://fonts.googleapis.com/css2?family=BioRhyme+Expanded&display=swap');
/* ----------- Theme customization starts here --------------------------- */
@font-face {
  font-family: 'apercu-regular-pro';
  src: url("/fonts/apercu-regular-pro.woff2") format("woff2"), url("/fonts/apercu-regular-pro.woff") format("woff");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: 'CharlesWrightBoldCaps';
  src: url("/fonts/CharlesWrightBoldCaps.woff2") format("woff2"), url("/fonts/CharlesWrightBoldCaps.woff") format("woff");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: 'domainetextreg';
  src: url("/fonts/DomaineText-Regular.woff2") format("woff2"), url("/fonts/DomaineText-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal; }
h1, h2, h3, h4, h5, h6 {
  clear: both; }
h1{
    font-size: 48px;
    line-height: 68px;
    font-family: "CharlesWrightBoldCaps";
    letter-spacing: 2px;
    color: #000;
    margin: 0;
    display: inline-block;
    padding: 10px 0;
    margin-bottom: 30px;
    font-weight: normal;
}
h2{
    font-size: 14px;
    font-family: "CharlesWrightBoldCaps";
    letter-spacing: 2px;
    color: #000;
    margin: 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding: 10px 0;
    margin-bottom: 30px;
    font-weight: normal;
}
.light h2, .slider h2 {
border-top: 2px solid #E0DBD3;
border-bottom: 2px solid #E0DBD3;
}
input {
    font-family: "apercu-regular-pro";
}
.site-footer h4 {
    font-family: "CharlesWrightBoldCaps";
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 20px;
    margin-top: 30px;
    display: inline-block;
}
h3{
    font-size: 48px;
    line-height: 68px;
    font-family: "domainetextreg";
    margin: 0;
    margin-bottom: 30px;
    font-weight: normal;
}
h4 {
    text-transform: uppercase;
    font-size: 45px;
    font-family: "apercu-regular-pro";
    font-weight: normal;
    letter-spacing: 3px;
    margin: 15px 0;
}
h5{
    font-family: "CharlesWrightBoldCaps";
}
body {
    color: #000;
    background-color: #E0DBD3;
    font-size: 18px;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: "domainetextreg";
}
body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_signup_0_tb_footer.et_pb_subscribe .et_pb_newsletter_button.et_pb_button {
    font-size: 15px;
}
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none;
}
a, a:hover {
    color: #4E7BBD;
}
.apercu {
    font-family: "apercu-regular-pro"!important;
	letter-spacing: 2px;
	font-size: 13px;
} 
p.caption::before {
    content: "";
    width: 52px;
    background-color: #000;
    height: 2px;
    position: absolute;
    left: 0;
    top: 10px;
}
p.caption {
font-size: 15px;
    font-family: "apercu-regular-pro";
    padding-left: 75px;
    position: relative;
    max-width: 300px;
}
.cta-block p {
    font-size: 23px;
    margin: 15px 0;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-family: "domainetextreg";
    display: inline-block;
}
#main-content {
    background-color: #E0DBD3;
} 
/*----- MENU + HEADER -----*/
#main-header{
	transition: 1s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    text-transform: uppercase;
    font-family: "CharlesWrightBoldCaps";
	background-color: #E0DBD3;
}
#top-menu a {
    color: #000;
}
#top-menu li {
    font-size: 20px;
    letter-spacing: 2px;
    padding-right: 35px;
}
.et-fixed-header #logo {
content: url(/wp-content/uploads/judsonmills_white.svg)!important;
}
.et-fixed-header#main-header {
    padding: 7px 30px;
}
#main-header.et-fixed-header {
    background-color: #000;
}
#main-header.et-fixed-header #top-menu a {
	color:#E0DBD3;
}
#et-top-navigation, .et_header_style_split .mobile_nav .select_page, #main-header .et_mobile_menu, .et_mobile_menu .menu-item-has-children>a {
	font-weight:500;
}
.nav li ul, .et_mobile_menu {
    border-color: #4E7BBD;
}
.et_mobile_menu {
    border-top: 3px solid #4E7BBD;
}
#et-info-email:hover, #et-secondary-menu>ul>li>a:hover, #top-menu-nav>ul>li>a:hover, .et-social-icons a:hover, .mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    opacity: 1.0;
    color: #4E7BBD!important;
}
/*----- BUTTONS -----*/
.et_pb_button, .et_pb_button:hover, .et_pb_module .et_pb_button:hover {
    background-color: #D6B228;
    text-decoration: none;
    font-family: "CharlesWrightBoldCaps";
	font-size: 1rem;
    color: #000;
    letter-spacing: 2px;
    display: inline-block;
    margin: 15px 0;
    transition: .2s;
    border: 0;
    padding: 15px 40px;
}
#et-info-email:hover, #et-secondary-menu>ul>li>a:hover, #top-menu-nav>ul>li>a:hover, .et-social-icons a:hover {
    opacity: 1.0;
    color: #5CB8B3;
}
#footer-bottom, #footer-bottom a, .grizzly a {
    color: #000000;
}
.grizzly {
    font-family: 'BioRhyme Expanded';
    font-weight: 400;
    font-size: 0.85rem;
}

.light h2, .slider h2 {
border-top: 2px solid #E0DBD3;
border-bottom: 2px solid #E0DBD3;
}
.nav li li {
    line-height: 1.5em;
}
#top-menu li li {
	padding: 5px 20px;
}
#sb_instagram .sb_instagram_header .sbi_header_text, .sb_instagram_header .sbi_header_text {
    display: none;
}
#sb_instagram .sbi_follow_btn a {
    background: #4E7BBD!important;
}
 #sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a, #sb_instagram .sbi_load_btn .sbi_btn_text, #sb_instagram .sbi_load_btn .sbi_loader {   
	 font-family: charleswrightboldcaps;
}
/*set the Divi menu dropdown auto width*/
@media only screen and (min-width: 981px) {
	.nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}

	.nav li li {
		white-space: nowrap;
	}

	.nav li li a {
		width: auto !important;
	}
}
/*----- EVENT CALENDAR + FEATURED EVENTS -----*/
.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
    background-color: #d6b228;
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: normal;
    font-family: charleswrightboldcaps;
    border: 0;
}
.tribe-events .tribe-events-c-nav {
    display: none;
} 
.tribe-common .tribe-common-c-svgicon {
    color: #000;
}
.tribe-events-content a {
    border-bottom: 1px solid #4e7bbd;
    color: #4e7bbd;
}
.tribe-events-event-meta a, .tribe-events-event-meta a:visited, .tribe-events-meta-group a {
    color: #4e7bbd;
}
#featured-events .tribe-events-calendar-list-nav, #featured-events .tribe-events-c-subscribe-dropdown__container, #featured-events .tribe-events-header__title-text, #featured-events .tribe-events-c-top-bar, #featured-events .tribe-events-header__breadcrumbs {
	display: none;
}
#featured-events .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 0px;
}
.tribe-events-event-image img {
    display: block;
    max-width: 500px;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    min-height: 60px!important;
}
.tribe-events .tribe-events-l-container {
    min-height: 60px;
}
.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button {
    background-color: #d6b228;
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: normal;
    font-family: charleswrightboldcaps;
}
.tribe-events .tribe-events-c-search__button:focus, .tribe-events .tribe-events-c-search__button:hover, .tribe-events button.tribe-events-c-search__button:focus, .tribe-events button.tribe-events-c-search__button:hover {
    background-color: #000;
    color: #d6b228;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: normal;
    font-family: charleswrightboldcaps;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #000;
    color: #d6b228;
}
/*----- FOOTER -----*/
body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_signup_0_tb_footer.et_pb_subscribe .et_pb_newsletter_button.et_pb_button {
    font-size: 15px;
}
@media (max-width: 980px) {
    h1, h3{
    font-size: 33px;
    line-height: 45px;
    }
    h4 { font-size: 38px;}
    .light h4 {
    font-size: 30px;
    }
}