/*
Theme Name: Congregration Beth El of Montgomery County 
Description: Pray, Learn, Celebrate, and Find Comfort
Version: 1.0
Author: Digital Ink
Author uri: https://www.dgtlnk.com
*/

@import url("css/bootstrap.min.css");
@import url("css/unitegallery/css/unite-gallery.css");

html {
	height: 100%;
}

html, html a {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

body {
	background-color: #ffffff;
  	font-family:"open-sans";
	height: 100%;
	color: #00394C;
	margin: 0 auto !important;
}

a, .tribe-events-content a, .tribe-events-meta-group a {
	color: #3C9ACD;
	text-decoration: none;
	font-weight: 600;
}

a:hover, a:focus, .tribe-events-content a:hover, .tribe-events-content a:focus, .tribe-events-meta-group a:hover, .tribe-events-meta-group a:focus {
	color: #E68620;
	text-decoration:underline;
}

p {
	margin: 0 0 18px;
	font-size: 18px;
	line-height: 1.5;
	font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
	font-family:"brandon-grotesque";
	font-weight: bold;
	line-height: 1.5;
	text-transform: uppercase;
	color: #B66612;
}

h1 {
	font-size: 36px;
	color: white;
	line-height: 1.2;
}

h2 {
	font-size: 36px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 18px;
	line-height: 1.333;
	color: #00516C;
}

ol, ul, li {
	font-size: 18px;
	line-height: 1.5;
}

ol, ul, body .tribe-events-content ol, body .tribe-events-content ul {
	list-style-position: outside;
	margin-bottom: 18px;
	padding-left: 20px;
}

/*Selection Styles*/

::selection {
  background: #00394C; /* WebKit/Blink Browsers */
  color: white;
}
::-moz-selection {
  background: #00394C; /* Gecko Browsers */
  color: white;
}

input::selection, ::-moz-selection {
	background: #ffffff;
	color: #000000;
}

::placeholder {
  color: #64747f !important;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #64747f !important;
   opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #64747f !important;
   opacity: 1;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #64747f !important;
   opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
  color: #64747f !important;
   opacity: 1;
}

/*Alignments*/

.center, .right, .left {
	text-align: center;
}

/*Background Colors*/

.white {
	background-color: #ffffff;
}

.teal {
	background-color: #00394C;
}

.orange {
	background-color: #B66612;
}

.teal h2, .teal h3, .teal h4, .teal h5, .teal p, .teal li, .teal a, .orange h2, .orange h3, .orange h4, .orange h5, .orange p, .orange li, .orange a {
	color: #ffffff;
}

/*Bootstrap Hacks*/

.nav>li>a:focus, .nav>li>a:hover {
	background-color: transparent;
}

.mb-45 {
	margin-bottom: 2rem !important;
}

.screen-reader-text {
	display: none;
}

.frame img {
	max-width: 100%;
    height: auto;
}

.btn, .btn:visited, .form-submit .submit, .tribe-events-content .btn, .tribe-events-content .btn:visited, .tribe-events-meta-group .btn, .tribe-events-meta-group .btn:visited {
	background-color: #3C9ACD;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 9px 27px;
    letter-spacing: 1.5px;
    border-radius: 0;
    border: 1px solid transparent;
    text-transform: uppercase;
    cursor: pointer;
    white-space: normal;
    box-shadow: 0px 3px 6px #00000029;
}

.btn:hover, .btn:focus, .form-submit .submit:hover, .form-submit .submit:focus, .tribe-events-content .btn:hover, .tribe-events-content .btn:focus, .tribe-events-meta-group .btn:hover, .tribe-events-meta-group .btn:focus {
	background-color: #B66612;
	color: white;
	text-decoration: none;
}

.bg {
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
}

.orange .btn:hover, .orange .btn:focus {
	background-color: #368bb9;
}

/*Header*/

.header a {
	font-family:"brandon-grotesque";
	text-transform: uppercase;
	font-weight: bold;
}

.utility-menu a {
	color: white;
	font-size: 14px;
}

.utility-menu .nav.navbar-nav {
	-ms-flex-pack: center!important;
    justify-content: center!important;
}

.utility-menu .nav.navbar-nav .nav-link {
	padding: .25rem;
}

.search-field {
	background-color: rgba(255,255,255,.15);
	background-image: url(img/search-glass.png);
	background-repeat: no-repeat;
	background-position: 5px;
	border: none;
	padding-left: 25px;
	color: white;
	font-size: 14px;
}

.main-menu {
	background-color: #fff;
}

.main-menu li {
	-ms-flex: 1 1 auto!important;
    flex: 1 1 auto!important;
}

.main-menu a {
	color: #00516C;
	font-size: 16px;
}

.main-menu a:hover, .main-menu a:focus {
	color: #E68620;
}

.main-menu li.yamm-fw {
	text-align: right;
	position: relative;
}

.main-menu li.menu-give a {
	color: #E68620;
}

.dropdown-toggle svg {
	font-size: 12px;
}

.dropdown-toggle::after {
	display: none;
}

.dropdown-caret {
    position: absolute;
    top: 5px;
    right: 0;
    cursor: pointer;
}

.menu-title {
	font-size: 27px;
	color: white;
	font-family:"brandon-grotesque";
	text-transform: uppercase;
	font-weight: bold;
}

.menu-bg {
    background-image: linear-gradient(rgba(182,102,18,.75),rgba(182,102,18,.75)), url(img/menu-title.png);    
}

/*Pages*/

.hero-image {
	height: 300px;
	background-image: url('img/default-hero.png');
	position: relative;
}

.hero-overlay {
	position: absolute;
	background: rgba(0,0,0,.2);
	top: 0;
	left: 0;
}

.homepage-hero-image {
	position: relative;
	height: 600px;
}

.hero-image h3 {
	color: white;
    text-shadow: 2px 2px 1px black;
}

.be-section {
	padding-top: 36px;
	padding-bottom: 36px;
}

.be-section.white + .be-section.white {
	padding-top: 0;
}

.breadcrumbs {
	padding-top: 27px;
	padding-bottom: 0;
}

.be-sections div.be-section.grid-rows:first-child {
	padding-top: 0;
}

.be-section.grid-rows div.row:last-child p:last-child {
	margin-bottom: 0;
}

.expander-link, .expander-link:focus {
	cursor: pointer;
	border: 0;
	padding: 0;
	outline: 0;
	font-family: inherit;
	font-weight: inherit;
	color: inherit;
	text-transform: inherit;
	background-color: transparent;
	width: 100%;
	text-align: left;
}

.expander-link:focus-visible {
	outline: 1px dotted;
	outline: 5px auto -webkit-focus-ring-color;
}

.expander-text, .expander-icon.minus {
	display: none;
}

.expander-icon.plus {
	color: #E68620;
}

.expander-icon.minus {
	color: #BDD8DF;
}

.grid-image {
	height: 225px;
}

.image-grid a {
	font-family:"brandon-grotesque";
	color: white;
	text-transform: uppercase;
	font-size: 27px;
	font-weight: 900;
	position: relative;
}

.image-grid a:hover, .image-grid a:focus {
	text-decoration: none;
	top: -2px;
}

.half-page-tiles .bg {
	min-height: 480px;
}

.oval {
	background-image: url(img/oval.png);
	background-size: 100% 100%;
}

.large-oval {
	background-image: linear-gradient(rgba(189, 216, 223, 0.1),rgba(189, 216, 223, 0.1)), url(img/large-oval.png);
	background-size: 100% 100%;
}

.icon {
	height: 108px;
	width: 108px;
	background: white;
	border: 3px solid #BDD8DF;
	border-radius: 100%;
	display: inline-flex;
    justify-content: center;
    align-items: center;
}

.envelope {
	width: 36px;
	height: 36px;
	background-color: #3C9ACD;
	color: white;
	border-radius: 50px;
	display: inline-block;
	padding: 4.5px;
    font-size: 18px;
}

.ug-gallery-wrapper {
	overflow: hidden !important;
}

.news-title {
	font-size: 36px;
	color: white;
	line-height: 1.2;
	color: white;
	font-family: "brandon-grotesque";
    font-weight: bold;
    text-transform: uppercase;
}

.blog h3 a {
	color: #B66612;
}

.blog-border {
	border: 1px solid #BDD8DF;
}

/*Single Post*/

.single-post h1 {
	font-family: "brandon-grotesque";
    font-weight: bold;
    line-height: 1.5;
    text-transform: uppercase;
    color: #B66612;
}

/*Sidebar*/

.sidebar {
	background-color: #00516C;
}

.sidebar .widget {
	border-bottom: 1px solid #FFFFFF;
}

.sidebar aside.widget:last-child {
	border-bottom: none;
}

.sidebar .searchform {
	margin-bottom: .5rem;
}

.sidebar h5, .sidebar a {
	color: #fff;
}

.sidebar ul {
	padding-left: 0;
	list-style-type: none;
}

.sidebar li {
	margin-bottom: 18px;
}

/*Comments*/

.comment-form label {
	display: block;
	font-weight: bold;
    text-transform: uppercase;
    line-height: 1.33;
    font-size: 18px;
}

.comment-list {
	list-style-type: none;
	padding-left: 0;
}

.comment-body {
	padding-top: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid #ccc;
}

.comment-body .reply {
	display: none;
}

.commentmetadata a {
	font-size: 75%;
}

span.required {
	color: red;
}

#wp-comment-cookies-consent {
	float: left;
}

label[for="wp-comment-cookies-consent"] {
    margin-left: 18px;
    position: relative;
    top: -5px;
}

/*Footer*/

.footer {

}

.footer p {
	color: white;
	margin-bottom: 0;
}

.footer h4 {
	color: white;
	border-bottom: 1px solid #BDD8DF;
}

.footer-logo {
	width: 200px;
}

.footer p svg {
	margin-right: 4.5px;
}

.footer.teal p a {
	color: #3C9ACD;
}

.social-media-icon {
	display: inline-block;
    width: 45px;
    height: 45px;
    background-color: #e68620;
    color: #fff;
    text-align: center;
    padding: 4.5px 9px;
    font-size: 22px;
    text-align: center;
    border-radius: 50px;
    margin-right: 9px;
}

.social-media-icon:hover {
	color: #fff;
	background-color: #cd781e;
}

/*Events Calendar*/

.cycle-slide {
	overflow: hidden;
}

.scroll-nav {
	cursor: pointer;
}

.event-box {
	background-color: white;
	white-space: normal;
	box-shadow: 0px 3px 6px #00000029;
	overflow: hidden;
}

.event-month, .event-date {
	color: #B66612;
	font-weight: bold;
	text-transform: uppercase;
}

.event-month {
	font-size: 13px;
}

.event-date {
	font-size: 24px;
	display: block;
}

.be-section .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border {
	border: 3px solid #BDD8DF;
}

.be-section .tribe-common--breakpoint-medium.tribe-common .tribe-common-form-control-text__input, .be-section .tribe-common .tribe-common-form-control-text__input {
	font-family:"open-sans";
}

.be-section .tribe-common .tribe-common-h3, .be-section .tribe-common .tribe-common-h5, .be-section .tribe-common .tribe-common-h6,
.be-section .tribe-common .tribe-common-h3 a, .be-section .tribe-common .tribe-common-h5 a, .be-section .tribe-common .tribe-common-h6 a,
.be-section .tribe-common .tribe-common-h3 a:visited, .be-section .tribe-common .tribe-common-h5 a:visited, .be-section .tribe-common .tribe-common-h6 a:visited {
	font-family: "brandon-grotesque";
    font-weight: bold;
    line-height: 1.5;
    text-transform: uppercase;
    color: #B66612;
    font-size: 24px;
}

.be-section .tribe-common .tribe-common-b2, .be-section .tribe-common-b3 {
	color: #00394C;
	font-family: "brandon-grotesque";
}

.be-section .tribe-events .tribe-events-calendar-list__event-date-tag-weekday, .be-section .tribe-events .tribe-events-calendar-month__header-column-title {
	color: #00394C;
	font-family: "brandon-grotesque";
	font-size: 15px;
}

.be-section .tribe-common .tribe-common-b2 p {
	font-family:"open-sans";
	font-size: 15px;
}

.be-section .tribe-common--breakpoint-medium.tribe-common .tribe-common-b2 {
	font-family: "open-sans";
    font-size: 15px;
    color: #00394C;
    line-height: 1.1;
    padding-bottom: 0px;
    margin-bottom: 6px;
}

.be-section .tribe-common .tribe-common-c-btn, .be-section  .tribe-common a.tribe-common-c-btn, .be-section .tribe-common .tribe-common-c-btn-border, .be-section .tribe-common a.tribe-common-c-btn-border, .be-section .tribe-events .tribe-events-c-ical__link {
	font-family: "brandon-grotesque";
	background-color: #3C9ACD;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 27px;
    letter-spacing: 1.5px;
    border-radius: 0;
    border: 1px solid transparent;
    text-transform: uppercase;
    cursor: pointer;
    white-space: normal;
    box-shadow: 0px 3px 6px #00000029;
}

.be-section .tribe-common .tribe-common-c-btn:hover, .be-section .tribe-common .tribe-common-c-btn:focus, .be-section  .tribe-common a.tribe-common-c-btn:hover, .tribe-common a.tribe-common-c-btn:focus, .be-section .tribe-common .tribe-common-c-btn-border:hover, .be-section .tribe-common a.tribe-common-c-btn-border:hover, .be-section .tribe-common .tribe-common-c-btn-border:focus, .be-section .tribe-common a.tribe-common-c-btn-border:focus, .be-section .tribe-events .tribe-events-c-ical__link:hover, .be-section .tribe-events .tribe-events-c-ical__link:focus  {
	background-color: #B66612;
	color: white;
	text-decoration: none;
}

.be-section .tribe-events .tribe-events-c-ical__link:before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10m5-5H1' stroke='%23FFF' fill='none' fill-rule='evenodd' stroke-linecap='square' stroke-width='1.5'/%3E%3C/svg%3E")
}

.be-section .tribe-events .tribe-events-c-view-selector__list-item-text {
	font-family: "brandon-grotesque";
	color: #3C9ACD;
	text-transform: uppercase;
}

.be-section .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after {
	bottom: -3px;
    height: 3px;
	background-color: #B66612;
}

.be-section .tribe-events .datepicker .day.active, .be-section .tribe-events .datepicker .day.active.focused, .be-section .tribe-events .datepicker .day.active:focus, .be-section .tribe-events .datepicker .day.active:hover, .be-section .tribe-events .datepicker .month.active, .be-section .tribe-events .datepicker .month.active.focused, .be-section .tribe-events .datepicker .month.active:focus, .be-section .tribe-events .datepicker .month.active:hover, .be-section .tribe-events .datepicker .year.active, .be-section .tribe-events .datepicker .year.active.focused, .be-section .tribe-events .datepicker .year.active:focus, .be-section .tribe-events .datepicker .year.active:hover {
	background-color: #3C9ACD;
}

.be-section .tribe-events .datepicker .datepicker-switch, .be-section .tribe-events .datepicker .month, .be-section .tribe-events .datepicker .year {
	font-family: "brandon-grotesque";
	text-transform: uppercase;
}

.be-section .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day {
	border-color: #00516C;
}

.be-section .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__body {
    border-top: 1px solid #00516C;
}

.be-section .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__week {
    border-left: 1px solid #00516C;
}

.be-section .tribe-common .tribe-common-h4, .be-section .tribe-events .tribe-events-calendar-month__day-date-link, .be-section .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date, .be-section .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
	font-family: "brandon-grotesque";
	color: #00394C;
}

.be-section .tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-datetime {
	color: #00394C;
    opacity: .94;
}

.be-section .tribe-events .tribe-events-calendar-month__calendar-event-datetime  {
	font-family:"open-sans";
	font-size: 15px;
	color: #00394C;
	line-height: 1.1;
	padding-bottom: 6px;
}

.tribe-events-calendar-month__calendar-event-tooltip-datetime {
	font-family:"open-sans" !important;
	font-size: 15px !important;
	color: #00394C !important;
	line-height: 1.1 !important;
	padding-bottom: 6px !important;
}

.be-section .tribe-common .tribe-common-h7, .be-section .tribe-common .tribe-common-h8 {
	color: #3C9ACD;
	font-size: 15px;
	font-family:"open-sans";
	font-weight: 600;
	text-transform: none;
}

.tribe-events-calendar-month__calendar-event-tooltip-title-link {
	color: #3C9ACD !important;
	font-size: 15px !important;
	font-family:"open-sans" !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

.tribe-events-calendar-month__calendar-event-tooltip-title-link:hover {
	border-bottom: none !important;
}

.tooltipster-base .tribe-events-calendar-month__calendar-event-tooltip-description.tribe-common-b3 p {
	font-size: 15px !important;
	font-family:"open-sans" !important;
}

.be-section .tribe-common a, .be-section .tribe-common a:active, .be-section .tribe-common a:focus, .be-section .tribe-common a:hover, .be-section .tribe-common a:visited {
	color: #3C9ACD;
}

.be-section .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day:hover:after {
	background-color: #00394C;
}

.be-section .tribe-common .tribe-common-anchor-thin:active, .be-section .tribe-common .tribe-common-anchor-thin:focus, .be-section .tribe-common .tribe-common-anchor-thin:hover {
	border-bottom:  none;
}

/*Yamm*/

.yamm .nav, .yamm .collapse, .yamm .dropup, .yamm .dropdown {
	position: static;
}

.yamm .container {
	position: relative;
}

.yamm .dropdown.yamm-fw .dropdown-menu {
	position: absolute;
	border: 0;
}

.dropdown-background {
	background-image: url('img/dropdown-bg.png');
}

.yamm .dropdown.yamm-fw .dropdown-menu a {
	color: white;
}

.menu-links-col {
	padding-top: 18px;
	padding-bottom: 18px;
}

/*Responsive Embeds*/

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* =WordPress Core
-------------------------------------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    margin: 5px 0 20px 20px;
}

.alignleft {
    margin: 5px 20px 20px 0;
}

a img.alignright {
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    margin: 5px 20px 20px 0;
}

.aligncenter, a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #00394C;
    border: none;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 0;
    text-align: left;
}

.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;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 14px;
    color: white;
    margin: 0;
    padding: 18px 27px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
    white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


/*Media Queries*/

@media (max-width: 600px) {
	
	.admin-bar .header.fixed-top {
		top: 46px;
	}
}

@media (min-width: 601px) {
	
	.admin-bar .header.fixed-top {
		top: 32px;
	}
}

@media (min-width: 768px) {
	
	h1, .news-title {
		font-size: 54px;
	}
	
}

@media (max-width: 991px) {

	.yamm .dropdown.yamm-fw .dropdown-menu {
		top: 90% !important;
	}
}


@media (min-width: 992px) {

	.alignleft {
    	float: left;
    }
    
    .alignright {
    	float:right;
    }
    
    a img.alignright {
    	float: right;
	}
	
	a img.alignleft {
	    float: left;
	}
	
	.left {
		text-align: left;
	}
	
	.right {
		text-align: right;
	}
	
	.col-lg-15 {
		-ms-flex: 0 0 14.2%;
    	flex: 0 0 14.2%;
    	max-width: 14.2%;
	}
	
	.dropdown:hover .dropdown-menu {
		display: block;
	}
	
	.dropdown-caret {
		display: none;
	}
	
	.main-menu li.yamm-fw {
		-ms-flex-pack: center!important;
    	justify-content: center!important;
	}
	
	.dropdown-background {
		position: fixed;
		left: 0;
		right: 0;
	}
		
	#be-menu, .nav.navbar-nav {
		height: 100%;
	}
	
	.utility-menu .nav.navbar-nav {
		-ms-flex-pack: end!important;
		justify-content: flex-end!important;
	}
	
	.utility-menu .nav.navbar-nav .nav-link { 
		padding: .5rem;
	}

}