/*
Theme Name:     AgapeConnect
Description:    A custom website for AgapeConnect
Author:         Adam Watts @ Megawatts Creative
Template:       twentyseventeen

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/




body #content #primary #main article header.entry-header {
	width: 100%;
	max-width: 100%;
	clear: both;
	margin-bottom: 30px;
	font-family: 'Josefin Sans', Arial, sans-serif;
	display: none;
	visibility: hidden;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	font-family: 'Josefin Sans', Arial, sans-serif;
}
body .site-navigation-fixed.navigation-top {
	z-index: 99999;
}
body #content #primary #main article .entry-content {
	width: 100%;
}
body #content #primary #main article header.entry-header .edit-link {
	display: none;
	visibility: hidden;
}
body.home .site-branding-text {
	width: 100%;
}
body.home .site-branding-text .site-title a {
	width: 100%;
	text-align: center;
	display: block;
	position: relative;
	margin: 0 auto;
	padding: 0;
	font-size: 60px;
	font-family: 'Josefin Sans', Arial, sans-serif;
	text-shadow: 0 0 8px rgba(0,0,0,0.4);
}
body .site-branding-text .site-title a {
	font-family: 'Josefin Sans', Arial, sans-serif;
	text-transform: none;
	font-size: 40px;
}
body.home .site-branding-text p.site-description {
	display: block;
	width: 100%;
	padding: 25px 40px;
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
	height: auto;
	overflow: hidden;
	text-align: center;
	font-size: 28px;
	position: relative;
	font-family: 'Josefin Sans', Arial, sans-serif;
	background-color: #fff;
	color: #79AD67;
	font-weight: bold;
}
body.home .site-branding-text p.site-description a {
	text-align: center;
	clear: both;
	display: block;
	width: 100%;
	margin-top: 20px;
}

body.home #primary .wrap,
body #masthead .wrap {
	max-width: 1200px;
}
body .wrap {
	max-width: 1200px;
}

body #subscribe {
	display: block;
	clear: both;
	position: relative;
	float: none;
	margin: 0;
	padding: 50px 0;
	background-color: #f1f1f1;
	height: auto;
	overflow: hidden;
	min-height: 250px;
	background-image: url('http://seun.megawatts.ca/wd/wp-content/uploads/2018/02/ipad-tablet-technology-touch-e1518329914394.jpg');
	background-size: 100% auto;
	background-position: center cneter;
	background-attachment: fixed;
}
#subscribe h2 {
	font-size: 50px;
	max-width: 60%;
	float: left;
	clear: both;
	display: block;
	margin-bottom: 0;
}
#subscribe a.agape-btn {
	float: left;
	clear: left;
	display: inline-block;
	margin: 30px 0 10px 0;
	padding: 10px 20px;
	font-size: 26px;
	background-color: #555;
	color: #91D6DC;
	box-shadow: none;
	font-weight: 400;
	line-height: 50px;	
}

body footer#colophon {
	margin-top: 0;
}
body #primary span.green {
	color: #79AD67 !important;
}
body #primary article .entry-content > h2 {
	text-transform: none;
	letter-spacing: 1px;
	font-size: 40px;
}

.row {
	clear: both;
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
	position: relative;
	text-align: center;
}
.row.buttons a.agape-btn,
article p a.agape-btn {
	display: inline-block;
	margin: 0 10px;
	float: none;
	clear: none;
	text-align: center;
	line-height: 50px;
	background-color: #79AD67;
	color: #fff;
	padding: 0 20px;
	font-size: 22px;
	background-image: linear-gradient(to bottom, transparent, transparent 50%, rgba(0,0,0,0.2) 51%, rgba(0,0,0,0.2) 100%);
	box-shadow: none;
	font-family: 'Josefin Sans', Arial, sans-serif;
}
.row.buttons a.agape-btn:hover,
article p a.agape-btn:hover {
	background-image: linear-gradient(to bottom, transparent, transparent 30%, rgba(255,255,255,0.2) 51%, rgba(255,255,255,0.2) 100%);
	box-shadow: none;
}
.row.buttons a.agape-btn:nth-child(2) {
	background-color: #91D6DC;
}
body.page .custom-header-media,
body.single .custom-header-media,
body.archive .custom-header-media,
body.category .custom-header-media {
	background-size: 100% auto;
	background-position: center bottom;
	background-attachment: fixed;
}
body.page #wp-custom-header img,
body.single #wp-custom-header img,
body.archive #wp-custom-header img,
body.category #wp-custom-header img {
	
	display: none;
	visibility: hidden;
} 
body.home #wp-custom-header img {
	display: block;
	visibility: visible;
}


footer#colophon .site-info p {
	margin-bottom: 0;
}
footer#colophon .social-navigation {
	float: right;
	clear: right;
}
footer#colophon .social-navigation li {
	text-align: right;
	float: right;
	clear: none;
}
article p a.agape-btn {
	text-align: left;
	float: left;
	clear: both;
	margin-left: 0;
	margin-top: 30px;
}

body #site-navigation ul.menu li a {
	font-family: 'Josefin Sans', Arial, sans-serif;
	font-size: 18px;
	font-weight: 300;
}
body.single .single-featured-image-header {
	display: block;
	clear: both;
	max-width: 1200px;
	float: none;
	position: relative;
	margin: 30px auto 30px auto;
	padding: 0;
}

body #main .powered-by-event-espresso-credit {
	display: none !important;
	visibility: hidden !important;
}

body.single .event-tickets br {
	display: none;
	visibility: hidden;
}
body.single footer.entry-footer {
	display: none;
	visibility: hidden;
}
body.single .tkt-slctr-tbl th {
	font-weight: 400;
	font-size: 13px;
	text-transform: uppercase;
	color: #777;
}
body.single ol {
	padding-left: 30px;
}
body.single ol li {
	margin-bottom: 10px;
}

body.home h1.site-title {
	animation: slideFadeUp 3s ease;
}
body.home p.site-description {
	animation: fadeIn 3.5s ease;
}

@keyframes slideFadeUp {
	0% { opacity: 0; margin-top: 50px; }
	60% { opacity: 0; margin-top: 50px; }
	100% { opacity: 1; margin-top: 0; }
}

@keyframes fadeIn {
	0% { opacity: 0; }
	80% { opacity: 0; }
	90% { opacity: 1; } 
	100% { opacity: 0.8; }
}
body.page p.site-description a {
	float: none;
	display: inline-block;
	padding: 10px 15px;
	background-color: #79AD67;
	color: #fff;
	font-weight: bold;
	border-radius: 20px;
	line-height: 20px;
	margin-left: 20px;
}

@media All and (min-width: 650px) {
	
	body.home .entry-content article.espresso_events {
		width: 30%;
		float: left;
		clear: none;
		display: inline-block;
		position: relative;
		margin: 0;
		padding: 0 0 20px 0;
		height: auto;
		overflow: hidden;
	}
	body.home .entry-content article.espresso_events header.event-header {
		text-align: center;
	}
	body.home .entry-content article.espresso_events .event-content > p:first-child {
		display: none;
		visibility: hidden;
	}
	body.home .entry-content article.espresso_events .event-content form:nth-child(2) input[type="submit"],
	body.home .entry-content article.espresso_events .event-content form:nth-child(1) input[type="submit"] {
		width: 150px;
		display: block;
		margin: 0 auto;
		float: none;
		clear: both;
		position: relative;
	}
	body.home .entry-content article.espresso_events:nth-child(2) {
		width: 100%;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
		float: none;
		display: block;
		margin-bottom: 60px;
	}
	body.home .entry-content article.espresso_events:nth-child(3) {
		float: left;
		clear: left;
	}
	body.home .entry-content article.espresso_events:nth-child(4) {
		float: left;
		clear: none;
		margin: 0 5%;
	}
	body.home .entry-content article.espresso_events:nth-child(5) {
		float: right;
		clear: right;
	}
	body.home .entry-content article.espresso_events:nth-child(2) a.ee-event-img-lnk {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
		height: 250px;
		z-index: 1;
	}
	body.home .entry-content article.espresso_events:nth-child(2) a.ee-event-img-lnk img {
		width: 100%;
		height: auto;
		margin: 0;
		padding: 0;
		display: block;
		position: relative;
	}
	body.home article.espresso_events:nth-child(2) header.event-header {
		z-index: 999;
		margin-top: 0;
		display: inline-block;
		background-color: #fff;
		padding: 10px;
		margin-left: 30px;
		font-size: 36px;
		height: auto;
		overflow: hidden;
		position: relative;
		width: 100%;
	}

	body.home article.espresso_events:nth-child(2) header.event-header h2.entry-title {
		margin-bottom: 0;
		font-size: 36px;
	}
	body.home article.espresso_events:nth-child(2) header.event-header h2.entry-title a {
		box-shadow: none !important;
	}
	body.home article.espresso_events:nth-child(2) header.event-header h2.entry-title a:hover {
		color: #91D6DC;
	}
	body.home article.espresso_events:nth-child(2) .espresso-event-list-wrapper-dv {
		z-index: 99;
		display: block;
		position: relative;
		background-color: #fff;
		padding: 20px;
		width: auto;
		margin: 25px 30px;
		float: none;
		clear: both;
	
	}
	body.home article.espresso_events:nth-child(2) .event-datetimes {
		float: left;
		clear: left;
		width: auto;
		display: inline-block;
		max-width: 50%;
		margin: 0;
		padding: 0;
	}
	body.home article.espresso_events:nth-child(2) .event-content > form {
		float: right;
		clear: right;
		width: auto;
		display: block;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 30px;
		right: 30px;
		display: none;
		visibility: hidden;
	}
	body.home .event-content .ee-event-datetimes-li {
		width: 90%;
		display: block;
		float: none;
		clear: both;
	
	}

	body.home .event-content .ee-event-datetimes-li .download-iCal-frm {
		display: block;
		float: none;
		margin-top: 10px;
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px dashed #ddd;
	}
	body.home .event-content .ee-event-datetimes-li form:last-child {
		display: none;
		visibility: hidden;
	}
	body.home article.espresso_events:nth-child(2) .event-content .ee-event-datetimes-li {
	
	}	
	
	
	.entry-content div.gform_wrapper {
		display:block;
		clear: both;
		width: 90%;
		max-width: 500px;
		margin: 30px auto;
		padding: 0;
		border: 2px solid #79AD67;
	}
	.entry-content div.gform_wrapper .gform_heading {
		background-color: #79AD67;
		display: inline-block;
		width: 100%;
		float: left;	
		clear: both;
		padding: 10px;
		text-align: center;
		color: #fff;
	}
	.entry-content div.gform_wrapper .gform_heading h3 {
		margin: 0;
		padding: 10px 0;
		color: #fff;
		text-shadow: 0 1px 1px rgba(0,0,0,0.6);
	}

	.entry-content div.gform_wrapper .gform_heading .gform_description {
		margin: 0;
		padding: 0;
	}
	.entry-content div.gform_wrapper {
		display: block;
		height: auto;
		overflow: hidden;
	}
	.entry-content div.gform_wrapper .gform_body {
		display: inline-block;
		float: left;
		clear: both;
		width: 100%;
		padding: 20px;
		position: relative;
	}

	.entry-content div.gform_wrapper .gform_footer {
		display: inline-block;
		margin: 0;
		float: left;
		clear: both;
		width: 100%;
		position: relative;
		padding: 20px;
	}

	body.home .ee-event-img-lnk > form {
		display: block;
		width: 30%;
		position: absolute;
		left: 35%;
		right: 35%;
		padding: 20px 0;
		text-align: center;
		float: none;
		z-index: 888;
	}
	body.home .ee-event-img-lnk > form input[type="submit"] {
		display: block;
		width: 100%;
		float: none;
		clear: both;
		padding-left: 0;
		padding-right: 0;
		opacity: 0.4;
		margin-top: 100px;
		font-size: 30px;
		text-align: center;
		transition: opacity 0.5s ease;
	}

	body.home article.espresso_events:hover .ee-event-img-lnk > form input[type="submit"] {
		opacity: 0.8;
		transition: opacity 0.5s ease;
	}
	body.single .espresso-venue-dv {
		background-color: #f1f1f1;
		padding: 15px;
		display: block;
		clear: both;
		height: auto;
		overflow: hidden;
		margin: 20px 0;
	}
	body.single .event-tickets {
		padding: 15px;
		border: 4px dashed #91D6DC;
		margin-bottom: 30px;
	}
	body.page #content #primary.content-area #main article.espresso_events header.entry-header,
	body.single #content #primary.content-area #main article.espresso_events header.entry-header,
	body.archive #content #primary.content-area #main article.espresso_events header.entry-header,
	body.category #content #primary.content-area #main article.espresso_events header.entry-header {
		display: block;
		visibility: visible;
		margin-bottom: 0;
	}
	body.archive #content #primary.content-area #main article.espresso_events .event-content > form:nth-child(1) {
		width: 50%;
		float: right;
		clear: right;
		display: inline-block;
		margin: 0;
		padding: 0;
	}
	body.archive #content #primary.content-area #main article.espresso_events .event-content > .event-datetimes {
		float: left;
		clear: left;
		width: 50%;
		display: inline-block;
		margin: 0;
		padding: 0;
	
	}
	body.archive #content #primary.content-area #main article.espresso_events .event-content > p {
		width: 100%;
		clear: both;
		display: inline-block;
	}


} /*  End Min @media 650px */




/*
*
* 
* Mobile Styling
*
*
*/


@media All and (max-width: 650px) {

	body article .ee-event-img-lnk > form,
	body.home .row.buttons .agape-btn:last-child {
		display: none !important;
		visibility: hidden !important;	
	}
	body .row.buttons .agape-btn,
	#page article .agape-btn {
		line-height: 130%;
		padding-top: 20px;
		padding-bottom: 20px;	
	}
	body .site-branding {
		padding-top: 100px;
		padding-bottom: 40px;
		min-height: 300px;
		background-size: auto 400px;
		background-attachment: fixed;
		background-repeat: no-repeat;
		background-position: center center;
		top: 0 !important;
		position: relative !important;
	}
	body #masthead .custom-header-media {
		background-size: auto 400px;
		background-attachment: fixed;
		background-repeat: no-repeat;
		background-position: right center;	
	}
	body #subscribe {
		background-size: auto 500px;
		background-repeat: no-repeat;
		background-attachment: fixed;
		background-position: right center;	
	}	
	body #page #subscribe .wrap h2 {
		font-size: 30px;
		width: 100%;
		max-width: 100%;
		font-weight: bold;
		color: #fff;
		text-shadow: 0 0 6px rgba(0,0,0,0.8);	
	}
	body #primary article .entry-content > h2 {
		font-size: 22px;
		text-align: center;	
	}
	.entry-content div.gform_wrapper {
		width: 100%;
		border: 0;
		padding: 0;
		margin: 0;
		clear: both;	
	}
	.entry-content div.gform_wrapper .gform_body {
		padding-left: 0;
		padding-right: 0;	
	}
	body.home .site-branding-text p.site-description {
		font-size: 20px;
		padding-left: 10px;
		padding-right: 10px;	
	}
}













