/*
Theme Name: SouthBrook
Author: PortsideIO
Author URI: https://github.com/PortsideIO
Theme URI: https://github.com/PortsideIO/flightdeck
Description: A WordPress theme for SouthBrook Christian Church built with the Flightdeck powered by Jekyll
Version: v0.8.5
License: The MIT License (MIT)
License URI: https://raw.githubusercontent.com/PortsideIO/flightdeck/master/LICENSE
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/




/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.mega-menu-toggle {
	display: none;
}
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

h1 {
	font-size: 4.381rem;
}

textarea, .form-control textarea, textarea.form-control {
	border-radius: 2.5rem !important;
}

.wp-block-columns {
	margin-bottom: 0;
	max-width: 114rem;
	width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.shortpag .section-block {
	padding:5px !important;
}

.pagination.section-block {
	padding:5px !important;
	list-style: none;
	flex-direction: row;
	display: flex;
	align-content: center;
	justify-content:center;
}

.playlist.list {
	transition:transform 0.3s ease-out;
	transform:scaleY(1); 
	transform-origin:top; 
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}


/* ------------------------------- *\	
	Main menu Fixes
\* ------------------------------- */

#menu-main-menu {
	display: flex;
    justify-content: center;
}

.mega-LOGO a{
	margin: 0px 50px;
	width: 45px !important;
	height: 45px  !important;;
	background: url('./assets/images/logo.svg');
	background-size:100% 100%;
	opacity:1 !important;
}

.mega-LOGO a:hover{
	margin: 0px 50px;
	width: 45px !important;
	height: 45px  !important;;
	background: url('./assets/images/logo.svg') !important;
	background-size:100% 100% !important;
	opacity:0.7 !important;
}

.mega-LOGO {
	display: flex !important ;
    align-items: center ;
    justify-content: center  ;
}

.mega-menu-column > ul{
	margin-bottom: 2rem;
}

.mega-block-title{
	margin-bottom: 0rem;
	text-transform: uppercase;
	font-weight: 500;
}

.footer-menu {
	display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.footer-menu li {
	float: left;
	width: 25%;
  box-sizing: border-box;
  padding: 10px;
}


.form-submit input {
	border-radius: 10.5rem!important;
	padding: 1.3rem 2.5rem!important;
	font-size: 1.3rem!important;
	margin-right: 0!important;
	margin-left: 0!important;
	width: auto;
	font-family: Montserrat,sans-serif;
	text-transform: uppercase;
	letter-spacing: 0;
	border-color: #68635f;
	background: rgba(0,0,0,0);
	border: 1px solid #eee;
	margin: 0 1rem 1rem 0;
	vertical-align: middle;
    cursor: pointer;
	-webkit-appearance: none;
	margin-bottom: 0!important;
}

.form-submit input:hover {
	background-color: #3ba28d;
	border-color: #3ba28d;
	color:white;
}

.tribe-events-tooltip {
	bottom:40px !important;
}

.ls-wp-container.ls-fullwidth {
	margin-top:135px;
}

@media only screen and (max-width: 768px) {
	.footer-menu li {
		float: left;
		width: 100%;
	  box-sizing: border-box;
	  padding: 10px;
	  text-align: center;
	}	
}


@media only screen and (min-width: 961px) {
	.logo-column {
		display:none;
	}
	
	#layerslider_1 {
		margin-top:135px !important;
	}
}


/* ------------------------------- *\	
	Page Fixes
\* ------------------------------- */



.podcast__grid-item.grid-item.portrait .overlay-info>span {
	padding-top:3rem;
	padding-left:3rem;
}

.swp_social_panel {
	margin-bottom:0px !important;
	margin-top:0px !important;
}

.footer .form-element {
	border: 2px solid transparent;
}

.podcast__series-date>cite:first-of-type::after {
	content : '';
	display:none;
}

.podcast__description.no-hover:hover {
	box-shadow: 0 0 0 0;
}

article .overlay-info>span {
	padding-top: 3rem;
	padding-left: 3rem;
	padding-bottom: 3rem;
	padding-right:3rem;
}

.tribe-bar-search-filter select {
	border-bottom: 1px dashed #b9b9b9;
	padding: 4px;
}

.tribe-bar-search-filter select option {
	padding: 4px;	
}

.navigation.nav-block.nav-center {
	height: auto;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.freeze-wrapper {
	height:auto !important;
}

.freeze-wrapper .header-sub {
	max-height: 20rem !important;
	height: auto;
}
/* ------------------------------- *\	
	Slider Fixes
\* ------------------------------- */

.ls-thumbnail-wrapper {
	margin-top: -110px;
}

/* ------------------------------- *\	
	Sidebar Fixes
\* ------------------------------- */

.sidebar-inner form {
	display:flex;
}

.sidebar-inner form .search-input {
	border: 0px;
	border-bottom: 1px solid #eee;
	padding-left: 5px;
}

.sidebar-inner form .search-submit {
	background-color: transparent;
    border-color: #c9c4c0;
    margin-left: 17px !important;
    width: 80px;
    padding: 5px 11px;
}

.navigation-hide.side-nav-hide {
	display: flex;
	align-content: flex-end;
	justify-content: space-between;
	width: 100%;
	padding-left: 50px;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}



@media only screen and (min-width:1024px) {

}
@media only screen and (max-width:1140px) {

	.post-media.thumbnail.post-featured-img.mb-0 {
		background-size:contain !important;
		background-position-x: 0px;
    	background-position-y: 0px !important;
	}

	.ls-thumbnail-wrapper {
		margin-top: -60px;
	}

	.grid-container.no-padding-top.masonry .grid-item {
		text-align: center;
	}

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {
		
}

@media only screen and (max-width:1024px) {
	.mobile header .logo-column {
		display:block !important;
	}
}
@media only screen and (max-width:961px) {
	.post-media.thumbnail.post-featured-img.mb-0 {
		height:100px !important;
	}

	#tribe-events-content .post-content.with-background .column.width-1 {
		width: 16.66667%;
	}
	#tribe-events-content .post-content.with-background .column.width-4 {
		width: 25%;
	}

	
	
}

@media only screen and (max-width:768px) {
	.post-media.thumbnail.post-featured-img.mb-0 {
		height: 70px !important;
    	margin-bottom: 0px;
	}

	#tribe-events-content .post-content.with-background .column {
		width: 100% !important;
		margin-bottom: 15px;
		text-align: center;
	}

	.ls-thumbnail-wrapper {
		margin-top: -40px;
	}

}

@media only screen and (orientation:landscape) and (max-width: 960px) {
	.logo-column {
		display:block !important;
	}
}