/* Hero */
#hero {
    width: 100%;
    height: 70vw;
    max-height: 510px;
	position: relative;
}
.calendar-btn {
	position: absolute;
	bottom: 0;
	margin-bottom: 0!important;
	padding-left: 50px!important;
	width: 100%!important;
    max-width: 175px;
    left: 50%;
    margin-left: -85px!important;
}
.calendar-btn:before {
	content: "";
    background-image: url(/wp-content/themes/bgcsonoma/images/calendar.svg);
    background-size: contain;
    background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	position: absolute;
	left: 15px;
}
@media (min-width: 768px) {
	.internal-hero {
		height: 20vw !important;
		max-height: 325px !important;
	}
}

/* Header */
#english {
	display: none;
}
.desktop-buttons {
	width: 100%;
}
.desktop-buttons img {
	height: 35px;
}
.translated-ltr .sm-custom2 a {
    font-size: 0.85em!important;
}
.translated-ltr .desktop-buttons a {
    font-size: 0.85em;
}
.menu-item-gtranslate {
	display: none!important;
}
#menu-item-271, #menu-item-272 {
	display: none!important;
}
#menu-item-272 img {
    width: 35px;
}
h1#lastWord {
	text-shadow: 0 0 7px rgb(0 0 0 / 0.4);
}

@media (max-width: 991px) {
	.menu-item-gtranslate {
		display: block!important;
	}
	#menu-item-271, #menu-item-272 {
		display: -webkit-box!important;
		display: -ms-flexbox!important;
		display: flex!important;
		-webkit-box-align: center!important;
		-ms-flex-align: center!important;
		align-items: center!important;
	}
}
@media (min-width: 1200px) {
	#main-nav.container {
		max-width: 1250px;
	}
}

/* Homepage */
.mailing-list {
	background-image: url('/wp-content/themes/bgcsonoma/images/mailing-list-background.svg');
	background-size: cover;
	background-position: center;
	text-align: center;
}
.statistics {
	background-image: url('/wp-content/themes/bgcsonoma/images/stats-background.jpg');
	background-size: cover;
	background-position: center;
	text-align: center;
	text-transform: uppercase;
}
.statistics img {
    max-height: 50px;
}
.statistics h2 {
    font-size: 3em!important;
    margin-top: 0.5em;
}
.stats-row .stat-block:first-child {
    border-right: 1px solid;
}
.stats-row .stat-block:last-child {
    border-left: 1px solid;
}
.showcase-box {
	min-height: 350px;
}
.showcase-link {
    text-transform: uppercase;
    font-weight: bold;
}
.showcase-link img {
    height: 50px;
    margin-right: 10px;
}
.desktop-featured-event {
    position: absolute;
	max-width: 200px;
    right: 0;
	top: 20%;
}
.desktop-featured-event h3 {
    font-size: 1.25rem!important;
}
.mobile-featured-event h3 {
	font-size: 1rem!important;
}
.mobile-featured-event {
    position: absolute;
	width: 100%;
    bottom: -70px;
}

@media (max-width: 991px) {
	.stats-row .stat-block:first-child {
		border-bottom: 1px solid;
		border-right: none;
	}
	.stats-row .stat-block:last-child {
		border-top: 1px solid;
		border-left: none;
	}
}

/* Get Involved */
.get-involved-column {
	max-width: 25%;
}
.get-involved-column img {
	max-width: 125px;
}
.get-involved-column a {
	color: #82bb00 !important;
	text-transform: uppercase;
	text-decoration: underline;
}

@media (max-width: 991px) and (min-width: 768px) {
	.get-involved-column {
		max-width: 50%;
	}
}
@media (max-width: 767px) {
	.get-involved-column {
		max-width: 100%;
	}
	.get-involved-column img {
		margin: 0 auto;
	}
}

/* Athletics */
.athletics-column {
	max-width: 33%;
	width: 100%;
	text-align: center;
}

@media (max-width: 991px) and (min-width: 768px) {
	.athletics-column {
		max-width: 50%;
	}
}
@media (max-width: 767px) {
	.athletics-column {
		max-width: 100%;
	}
	.athletics-column img {
		margin: 0 auto;
	}
}

/* Locations and Staff */
#locations, #leadership, #senior-leadership, #bgcsv, #board {
	display: none;
}
.clearfix:after {
	display: block;
	content: "";
	clear: both;
}

/* Responsive Embed */
.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%;
}

/* Calendar */
.fc-title {
    text-transform: uppercase;
    font-weight: bold;
}
.fc-content {
    padding: 1em;
}
.ui-widget-header {
    background: #666!important;
    border: none;
    color: #fff!important;
    text-transform: uppercase;
	border-color: #666!important;
}
.fc td, .fc th {
	border-color: #d2d2d2;
}
.em-search-wrapper, .css-events-list {
	display: none;
}
th.event-time {
    width: auto!important;
}
.events-table td {
    padding: 0.5em 1em!important;
    border: 1px solid #d4d4d4;
}

@media (max-width: 991px) {
	.calendar-view {
		display: none;
	}
	.em-search-wrapper, .css-events-list {
		display: block;
	}
}

/* Footer */
.site-footer {
    background-color: #363636;
    color: #fff;
    text-transform: uppercase;
}
.site-footer a {
	color: #fff !important;
}
.site-footer a.green {
	color: #82bb00!important;
}
#gform_2 .gform_footer {
    text-align: center;
}
footer .links-2 {
	text-align: center;
}
footer .links-3 {
	text-align: right;
}
.site-info img {
    max-width: 35px;
}

@media (max-width: 767px) {
	footer .links-1, footer .links-3 {
		text-align: center;
	}
}

/***** Teens ******/
.owl-carousel.owl-loading {
	opacity: 1!important;
}