/*
Theme Name: Sela Child
Theme URI: https://wordpress.com/themes/sela/
Author: Dustin Tauer
Author URI: https://www.ssfnc.org
Description: Child theme based on the Sela Theme
Version: 1.0.0
Text Domain: sele-child
Template: sela
*/

/**** Utilities ******/

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/** Overrides **/

.site {
	max-width: 100vw;
	padding: 0;
}



/** Header **/
.preheader{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	background-color: #dedede;
	
}

.preheader .social-links {
	margin: 1rem;
}

.preheader .btn {
	margin-right: auto;
	margin-left: 1rem;
}

.site-title {
	font-family: 'Shadows Into Light', Arial, sans-serif;
	text-transform: none;
	text-align: center;
}

.site-header{
	border-bottom: 2px solid rgba(0, 0, 0, 0.15);
	background: #4f4f4f;
	color: #fff;
}

.site-branding {
	padding: 1em 1em 0;
	background: #4f4f4f;
	color: #fff;
}


.site-content, .content-wrapper {
	background: #fcfcfc;
}

.content-wrapper {
	max-width: 1200px;
	margin: auto;
}



.hero-container-inner {
	display: none;
}
.hero img {
	max-width: none;
	width: 100%;
}

.front-page-content-area .hero {
    position: relative;
    max-height: 600px;
    overflow: hidden;
}

.site-content > .hero {
	position: relative;
    max-height: 400px;
    overflow: hidden;
}

button, input[type="button"], input[type="reset"], input[type="submit"], #infinite-handle span {
	background-color: #000;
}

.btn {
	border-radius: 10px;
	padding: 4px 10px;
}

.btn-primary {
	background-color: #000;
	color: #fff !important;
}

.btn-primary:hover {
	opacity: 0.75;
	color: #fff !important;
}

.social-links ul a::before {
    background: #000;
}


.main-navigation{
	background: #4f4f4f;
	color: #fff;
	border-bottom: none;
}

.main-navigation a {
	color: #fff;
}

.main-navigation a:hover, 
.main-navigation ul > :hover > a, 
.main-navigation ul > .focus > a {
    color: #fff;
}

.main-navigation a,
.main-navigation ul ul a {
	font-size: 1.6rem;
}


.main-navigation .nav-menu > li > a:after,
.main-navigation .menu > li > a:after {
	color: #fff;
}

.main-navigation ul ul  {
	width: auto;
}

.main-navigation ul ul a {
	padding: .8rem;
	width: 220px;
}
.main-navigation ul ul a:hover, .main-navigation ul ul > li.focus > a {
    color: #B82601;
}



.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_ancestor > a,
.main-navigation li.current-menu-ancestor > a {
	/*color: #000;*/
	color: #fff;
	/*text-decoration: underline;*/
}


.main-navigation ul ul li.current_page_item > a,
.main-navigation ul ul li.current-menu-item > a,
.main-navigation ul ul li.current_page_ancestor > a,
.main-navigation ul ul li.current-menu-ancestor > a {
	color: #000;
	text-decoration: underline;
}

.menu-toggle {
    padding: 1em;
}

.menu-toggle:hover, .menu-toggle:focus {
    opacity: .85;
    background: #000;;

}

.front-widget-container,
.widget-blocks {
	display: flex;
	flex-direction: column;
}

.front-widget-area h2 {
	font-size: 3rem;
	text-align: center;
}

.front-widget-area .widget-title {
	color: #fff;
	border-bottom: none;
}

.widget-blocks > .widget-area > aside {
	text-align: center;
	background: #000;
	padding: 1rem;
}

/*
.front-widget-area {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.front-widget-area .widget-area {
	max-width: 100%;
}

.front-widget-area .custom-html-widget {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	min-height: 370px;
	text-align: center;
}

.front-widget-area .custom-html-widget > *:first-child {
	display:block;
	width: 400px;
	min-height: 224px;
}
*/

.site-footer {
	background: #4f4f4f;
	color: #fff;
}

.site-info a {

    color: #4f4f4f;

}

/* EMAIL NEWSLETTER OVERRIDES */
.email-registration-form h3 {
	display: none;
}

.donate-image-link {
	display: block;
	max-width: 300px;
}


@media screen and (min-width: 768px) {
	
	@supports( display: flex){
		.site-header {
			display: flex;	
			flex-direction: column;
			align-items: center;
			/*background: #4f4f4f;
			color: #fff;*/
		}	
		.site-header:before, .site-header:after {
			content: none;
		}
		
		.main-navigation {
			display: flex;
			align-items: center;
		}
		
		.front-widget-area .widget-area:nth-child(1):nth-last-child(2), 
		.front-widget-area .widget-area:nth-child(2):nth-last-child(1){
		    margin-right: 0;
		    width: 100%;
		}
		
		/*.front-widget-area {
			flex-direction: row;
			align-items: flex-start;
		}
		.front-widget-area .widget-title {
			font-size: 1.5rem;
		}
		.front-widget-area .custom-html-widget > *:first-child {
			width: 400px;
			height: 300px;
		}*/
	}
	
	.main-navigation {
		padding-left: 20px;
		padding-right: 30px;
	}
	
	
	.main-navigation ul li:last-child:hover > ul, .main-navigation ul li:last-child.focus > ul {
	    left: auto;
	    right: 0;
	}
	
	.site-title {
		text-align: left;
	}
	
}

@media screen and (min-width: 960px) {
	.front-widget-container {
		flex-direction: row;
		justify-content: space-around;
		align-items: center;
	}
	.widget-blocks {
		
		
	}
	.widget-blocks,
	.widget-video{
		flex: 0 1 600px;
		margin: 1rem;
	}
	
}

@media screen and (min-width: 998px){
	.content-wrapper.full-width.with-featured-image {
	    margin: -4em 13.98% 0;
	    padding: 1.5em 3% 0;
	}
}


@media screen and (min-width: 1180px){
	.content-wrapper {
		padding: 3em;
		display: flex;
		justify-content: space-between;
	}
	.content-wrapper.with-featured-image {
		margin: 0 auto 165px;	
	}
	.sidebar-widget-area {
		width: 300px;
	}
}

@media screen and (max-width: 1400px){
	@supports( display: flex){
		.main-navigation{
			padding: 1rem;
		}
	}
}
