/* OVERALL SITE */
body {
	font-size: 1.0em;
}

a, a:link, a:visited {
	color: #235b34;
}

a:hover,h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover {
	color: #333;
}

h5 {
	margin: 35px 0 20px;
}

p {
	margin: 20px 0;
}

.entry-content ol, .entry-content ul {
	margin: 0 0 0 24px;
}

.entry-content ol li, .entry-content ul li {
	list-style: outside;
}

.entry-content ol li:first-child,
.entry-content ul li:first-child {
	margin-top: 0;
}

div.entry-content button,
div.entry-content a.btn,
div.entry-content a.button,
div.entry-content .reply a,
div.entry-content #searchsubmit,
div.entry-content #prevLink a,
div.entry-content #nextLink a,
div.entry-content .more-link,
div.entry-content #submit,
div.entry-content form input[type=submit],
div.entry-content .wp-block-button a,
div.post button,
div.post a.btn,
div.post a.button,
div.post .reply a,
div.post #searchsubmit,
div.post #prevLink a,
div.post #nextLink a,
div.post .more-link,
div.post #submit,
div.post form input[type=submit],
div.post .wp-block-button a {
	background-color: #235b34;
	color: #fff;
	border: 1px solid #1a4627;
	border-radius: 25px;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 700;
	font-style: normal;
	padding: 8px 20px;
	box-shadow: none;
}

div.entry-content button:hover,
div.entry-content a.btn:hover,
div.entry-content a.button:hover,
div.entry-content .reply a:hover,
div.entry-content #searchsubmit:hover,
div.entry-content #prevLink a:hover,
div.entry-content #nextLink a:hover,
div.entry-content .more-link:hover,
div.entry-content #submit:hover,
div.entry-content form input[type=submit]:hover,
div.entry-content .wp-block-button a:hover,
div.post button:hover,
div.post a.btn:hover,
div.post a.button:hover,
div.post .reply a:hover,
div.post #searchsubmit:hover,
div.post #prevLink a:hover,
div.post #nextLink a:hover,
div.post .more-link:hover,
div.post #submit:hover,
div.post form input[type=submit]:hover,
div.post .wp-block-button a:hover {
	background-color: #333;
	color: #fff;
	border: 1px solid #252525;
	border-radius: 25px;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 700;
	font-style: normal;
	padding: 8px 20px;
	box-shadow: none;
}

.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.is-resized>figcaption {
	display: block;
}

.wp-caption figcaption, .wp-block-image figcaption, .wp-block-gallery figcaption, .wp-caption-text {
	text-align: center;
	margin-bottom: 10px;
}

.container {
	margin-bottom: 0;
}


/* HOMEPAGE */
.container.home {
	background-color: #eeeeee;
	max-width: none;
}

.container.home .row:first-child {
	max-width: none;
}

.homepage.top {
	background: transparent;
	margin-bottom: 24px;
	border-radius: 0;
	box-shadow: none;
}

.home-pages .holder.first .information {
	border-right: 0 solid rgba(0,0,0,.12);
}

.home-pages .holder.last .information {
	border-left: 0 solid rgba(0,0,0,.12);
}

.home-pages .holder .information .text-holder p {
	display: none;
}

.home-pages .holder .information .btn-holder {
	display: none;
}

.home-pages .text-holder {
	padding: 0;
	margin-top: -46%;
	margin-bottom: 20%;
}

/*.home-pages .holder.first .text-holder {
	margin-top: -37%;
}*/

.home-pages .text-holder h2.title a {
	display: block;
	color: #fff;
	font-weight: 500;
	font-size: 1.8em;
	padding-left: 40px;
	padding-right: 40px;
	text-shadow: 1px 1px 11px rgba(0,0,0,.9);
}

.home-pages a.feature-img {
	background: #000;
	padding: 0;
	margin: 12px;
}

.home-pages a.feature-img:hover img {
	opacity: .4;
}

.home-tabs {
	margin-right: 28px;
	margin-bottom: 30px;
}

.home-news {
	margin-left: 28px;
	margin-bottom: 30px;
}

.home-news .post-author .align-right {
	display: none;
}

.ui-tabs .ui-tabs-nav li a {
    color: #333333;
}


/* HEADER */
div.logo {
	background-image: url('https://sacjumc.com/wp-content/uploads/2020/06/sjumc-logo.png');
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 120px;
	padding-left: 140px;
	min-height: 130px;
}

#header .site-title {
	font-size: 2.0em;
	font-weight: 800;
	letter-spacing: -2px;
}

#header .site-description {
	color: #235b34;
	padding-top: 5px;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

.header-search {
	display: none;
	/*min-width: 190px;
	margin-left: 20px;*/
}

/* NAVIGATION MENU */
#navigation {
	position: static;
	font-size: 100%;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 600;
	margin: 0px;
	padding: 0px;
	z-index: auto;
	background-color: transparent;
	background-image: none;
	border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	-webkit-border-radius: 0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

#navigation::after {
    content: '';
    height: auto;
    width: auto;
    background: transparent;
    position: static;
    bottom: auto;
    left: auto;
}

#navigation .corner-left, #navigation .corner-right {
    display: none;
}

.menu li {
    margin: 0px;
    border-right: 0px;
    border-left: 0px;
}

.menu a, .menu a:link, .menu a:visited {
	color: #666666;
	border-bottom: 5px solid transparent;
}

.menu a {
	font-size: 1.1em;
	text-transform: uppercase;
	letter-spacing: .7px;
	line-height: 3.5;
	text-shadow: none;
}

#navigation .menu .current_page_item a, #navigation .menu .current_page_ancestor a, #navigation .menu .current-menu-item a, #navigation .menu .current-cat a {
    background: transparent;
    color: #235b34;
    border-bottom: 5px solid #235b34;
}

#navigation .menu li.current-menu-ancestor a,
#navigation .menu li.current_page_ancestor a {
    background: transparent;
    color: #235b34;
}

.menu a:focus, .menu a:hover, .menu a:active {
    background: transparent;
    color: #235b34;
    border-bottom: 5px solid #235b34;
    outline: 0;
}

a.sf-with-ul:hover {
	background: transparent;
}

#navigation .menu li.sfHover:hover {
	background: #235b34;
}

.sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after {
    border-top-color: #666666;
}

.sf-arrows .sf-with-ul:after {
    border-top-color: #666666;
}

.menu li:hover ul, .menu li.sfHover ul {
    top: 65px;
}

ul.sub-menu li {
	background: #235b34;
}

.menu .sub-menu a {
    border-bottom: 0px !important;
}

.mobile-menu a {
	color: #eee !important;
	text-transform: uppercase;
}

.mobile-menu ul.sub-menu a {
	text-transform: capitalize;
}

li.give-button {
	background: #235b34;
	position: absolute;
	right: 0;
	bottom: 10px;
	border-radius: 50px !important;
	-moz-border-radius: 50px !important;
  -khtml-border-radius: 50px !important;
  -webkit-border-radius: 50px !important;
	padding: 0 30px;
}

li.give-button:hover {
	background: #000;
}

.give-button a, .give-button a:link {
	color: #fff !important;
	border-bottom: 0;
	padding: 6px 0px;
	font-size: 1.2em;
	line-height: 2.6em;
	letter-spacing: .4px;
}


/* PAGES */
.clear-float {
	clear: both;
}

.sidebar-box {
	border: 1px solid #d4c9b2;
	border-radius: 7px;
	padding: 20px 20px 5px 22px;
}

.box-outline {
	border: 1px solid #d4c9b2;
	border-radius: 7px;
	padding: 20px 25px;
}

.wp-block-column {
	padding-bottom: 20px;
}

.centered-columns .wp-block-buttons,
.wp-block-buttons.centered-columns {
	text-align: center;
}

.wp-block-jetpack-contact-form {
  justify-content: space-between !important;
}

.wp-block-jetpack-contact-form .grunion-field-width-50-wrap {
  flex: 0 0 47% !important;
	border-right: 0px !important;
}

div.entry-content .mapboxgl-ctrl-group button {
	background-color: transparent;
	border: 0;
	padding: 0;
}



/* POSTS */
body.single-post .no-img {
	margin-top: 30px !important;
}

.sidebar .widget {
	margin-bottom: 40px;
}

.sidebar .widget h6 {
	margin-bottom: 15px;
}

.sidebar .widget li {
	border: 0;
}

li.cat-item-63873908,
li.cat-item-24321045 {
	display: none;
}

.post-author, .container i, .post-meta {
    color: #666666;
}


/* FOOTER */
#footer-widgets {
	background: #d4c9b2;
}

.footer-widget h6 {
	border-bottom: 1px solid #b1a587;
	font-size: 1.4em;
}

.footer-widget p {
	color: #333;
}

#footer-widgets .row .two,
#footer-widgets .row .four {
	width: 30.37%;
}

#footer .left p:first-child:before {
	content: "Sacramento Japanese United Methodist Church \A 6929 Franklin Blvd, Sacramento, CA 95823 \A 916-421-1017 | office@sacjumc.com \A Office hours: M–F 9am–1pm";
	white-space: pre-wrap;
	display: block;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 1.1em;
	color: #d4c9b2;
	font-weight: 600;
}

#footer .left svg {
	display: none;
}

.social-icons a {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin: 10px;
}


/* MOBILE STYLES */
@media screen and (max-width: 1200px) and (min-width: 1023px) {
	#footer-widgets .row {
		max-width: 96%;
	}
}

@media screen and (max-width: 1070px) {
	.menu a {
		padding: 0 10px;
	}
}

@media screen and (max-width: 1023px) {
	.home-pages .text-holder h2.title a {
		font-size: 1.4em;
	}
}

@media screen and (max-width: 1000px) and (min-width: 850px) {
	#navigation {
			width: 85%;
	}
}

@media screen and (max-width: 781px) {
	.wp-block-jetpack-contact-form .grunion-field-width-50-wrap {
		flex: 0 0 100% !important;
		border-right: 15px solid transparent !important;
	}
}

@media screen and (max-width: 767px) {
	#navigation {
		margin-bottom: 30px;
		margin-top: 10px;
	}
	
	.mobile-menu-container {
		background-color: #235b34;
		margin-bottom: 50px;
	}
	
	.menu-toggle {
    	background-color: transparent;
		color: #333333;
		text-align: left;
		text-shadow: none;
	}
	.menu-toggle:before {
    	color: #333333;
	}
	
	ul.sub-menu li {
		background: #467445;
	}
	
	.navigation-main ul.menu, .sf-sub-indicator {
    	display: block !important;
		visibility: hidden;
	}
	
	ul.menu li.menu-item {
		display: none;
	}
	
	ul.menu li.give-button,
	ul.mobile-menu li.give-button {
    	display: block;
		visibility: visible;
		position: absolute;
		right: 0;
		top: 10px;
    	bottom: auto;
	}
	
	.home .feature-img.page.banner img {
		min-height: 500px;
		object-fit: cover;
	}
	
	.home-pages .holder {
		border-top: 0 solid rgba(0,0,0,.09);
		margin-bottom: 0px;
	}
	
	.home-pages .text-holder {
		margin-top: -45%;
	}
	
	.home-pages .text-holder h2.title a {
		font-size: 3.0em;
	}
	
	.home-news {
		margin-right: 28px;
		margin-bottom: 60px;
		margin-top: 40px;
	}
	
	.home-tabs {
		margin-left: 28px;
		margin-bottom: 60px;
	}
	
	.headline {
    	margin-top: 10px;
	}
	
	#footer-widgets .row {
		padding-bottom: 30px;
	}
	
	.footer-widget .widget {
		margin-top: 40px;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 580px) {
	div.logo {
		background-position: center top;
		padding-top: 120px;
		padding-left: 0;
		text-align: center;
	}
	
	#header .site-description {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	.home .feature-img.page.banner img {
		min-height: 400px;
		object-fit: cover;
	}
	
	.home-pages .text-holder h2.title a {
		font-size: 2.4em;
	}
	
	.wp-block-image .alignright {
    	float: none;
    	margin: .5em 0 .5em 1em;
	}
}

@media screen and (max-width: 450px) {
	.home .feature-img.page.banner img {
		min-height: 300px;
		object-fit: cover;
	}
	
	.home-pages .text-holder {
		padding: 0;
		margin-top: -60%;
		margin-bottom: 10%;
		padding-top: 15%;
	}
	
	/*.home-pages .holder.first .text-holder {
		margin-top: -40%;
		padding-top: 0;
		margin-bottom: 15%;
	}*/
	
	.home-pages .text-holder h2.title a {
		font-size: 1.8em;
	}
}

@media screen and (max-width: 350px) {
	.home-pages .text-holder h2.title a {
		font-size: 1.5em;
	}
}

