/* 
#1457C5

*/

/* special colors */
.text-yellow { color: #f9d920; }
.text-orange { color: orange; }
.text-blue { color: blue; }
.text-red { color: red; }
.text-purple { color: purple; }


/* FONTS */
body,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.entry-content .button,
a.more-link,
.more-from-category a,
.entry-title,
.page-title,
.archive-title,
.widget-title,
.site-title,
.site-description,
.genesis-nav-menu,
.genesis-nav-menu .sub-menu a,
.entry-meta,
.entry-time,
.entry-categories,
.entry-categories a,
.entry-comments-link,
.archive-pagination,
.adjacent-entry-pagination,
.entry-comments .comment-author,
.comment-header .comment-meta a,
.comment-metadata a,
.site-footer {
  font-family: 'Open Sans', sans-serif !important;
}

body {
	font-size: 16px;
	line-height: 1.5;
}

h2, h2 a {
	font-size: 26px;
	text-transform: capitalize;
}

/* HEADER 
------------------------------------------ */
/* Header Image */
.site-title a, .site-title a:hover {
  background: url(/wp-content/uploads/2018/02/Olympic-Ave-Header.png) no-repeat;
  background-size: 1090px;
  background-position: center;
  height: 200px;
  color: #fff;
  display: block;
  text-indent: -9999em;
	margin-top: 40px;
}
.logged-in .site-title a, .logged-in .site-title a:hover {
	margin-top: 0;
}
.site-title::after {
	display: none;
}
.title-area {
	padding: 0 10px;
}

.site-container {
	margin: 20px auto 15px;
}
.admin-bar .site-container {
	margin: 45px auto 15px;
}


/* NAVIGATION 
------------------------------------------ */
.nav-primary {
	background: #203864;
}
.nav-primary .wrap {
	padding: 0 40px;
}
.nav-primary .genesis-nav-menu a {
	color: #fff;
    font-size: 1.5rem;
    text-transform: capitalize;
    padding: 17px 12px;
}
.nav-primary .genesis-nav-menu a:hover,
.nav-primary .current-menu-item a {
	color: #fff;
	background: #1457C5;
}

/* Phone number in navigation */
li.main-nav-phone {
  float: right;
}
li.main-nav-phone a {
	font-weight: 700;
  padding: 0;
}

.genesis-nav-menu .sub-menu a {
	background: #1457C5;
}
.nav-primary .genesis-nav-menu .sub-menu a {
	color: #fff;
}

/* SIDEBAR 
-------------------------------------- */
.home #enews-ext-3 {
	display: none !important;
}
.sidebar .enews-widget.widget {
	background-image: none;
}
.sidebar .enews-widget input[type="submit"] {
	font-size: 16px;
}
.sidebar li {
	background: #fff;
}
.sidebar .widget {
	padding: 15px 0;
}
.sidebar .widget:not(:last-of-type) {
	padding-bottom: 40px;
}


/* Events */
.sidebar li.type-tribe_events {
	position: relative;
	line-height: 1;
	margin-bottom: 30px;
}
.sidebar li.type-tribe_events::before {
	content: "";
	background: url('/wp-content/uploads/2018/02/calendar-light-blue.png');
	position: absolute;
	width: 40px;
	height: 40px;
	background-size: 40px;
	left: 0;
}
.sidebar li.type-tribe_events h4 {
	font-size: 1em;
	text-transform: inherit;
}
.sidebar li.type-tribe_events h4,
.sidebar li.type-tribe_events .tribe-event-duration {
	text-align: left;
	margin-left: 35px;
}
.sidebar li.type-tribe_events  .tribe-event-duration {
	font-size: 14px;
}
.sidebar .widgettitle {
	font-size: 2.1rem;
	margin-bottom: 10px;
	text-align: left;
	text-transform: inherit;
}

/* CONTENT GENERAL 
-------------------------------------- */
.home-top-slider,
.sidebar .widget {
	border-bottom: 0 none;
}
.entry-title, .page-title,
.widgettitle {
	font-style: normal;
}

/* ENEWS 
------------------------------------- */
.cta-widget .enews-widget input[type="submit"], .before-content .enews-widget input[type="submit"],
.enews-widget input[type="submit"], input[type="submit"]  {
	background: #1457C5 !important;
	border-color: #1457C5 !important;
	font-size: 16px !important;
}

/* HOME FLEXIBLE (4 tiles home page) 
-------------------------------------------- */
#home-flexible .four-widgets section .entry-title a {
	color: #fff !important;
}
#home-flexible .four-widgets section:first-of-type .entry-title {
	background: #1457C5;
}
#home-flexible .four-widgets section:nth-of-type(2) .entry-title {
	background: #8000B9;
}
#home-flexible .four-widgets section:nth-of-type(3) .entry-title {
	background: #C90AD0;
}
#home-flexible .four-widgets section:last-of-type .entry-title {
	background: #D8AE20;
}
#home-flexible .four-widgets section .entry-title:hover {
	background: #203864;
}


/* BEFORE FOOTER (Latest News, Events, Facebook) 
-------------------------------------------------------- */

.before-footer section:first-of-type {
	float: left;
	width: 60%;
}
.before-footer section .entry-meta {
	margin-bottom: 0;
	padding-top: 0;
}
.before-footer section .entry-content p {
	line-height: 1.4;
}
.before-footer section .entry-header {
	padding: 0;
}


/* FRONT PAGE - BLOG POSTS 
--------------------------------------------------- */
.home main.content::before {
	content: "Latest News";
	font-size: 2.6rem;
}
.home main.content .post .entry-title {
	text-transform: inherit;
	font-size: 2.2rem;
}
.home main.content .post .entry-meta {
	padding-bottom: 0;
	margin-bottom: 0;
	margin-top: -15px;
}
.home main.content .post .home-featured-image img {
	max-width: 200px;
}
.home main.content .post:first-of-type .home-featured-image img {
	margin: 0 24px 12px 0;
	float: left;
	text-align: left;
}
a.more-link {
	font-size: 18px;
	font-style: normal;
	text-decoration: none;
	padding-top: 10px;
	color: #1457C5;
}
a.more-link:after {
	content: ">";
	font-size: 1em;
	margin-left: 5px;
}

.home main.content article:last-of-type {
	margin-bottom: 0;
}

.home .archive-pagination {
	padding-top: 0;
}
.archive-pagination li a {
	color: #1457C5;
	font-size: 1em;
}
.archive-pagination li a:hover, .archive-pagination li.active a {
	background: #7baaf8;
	color: #1457C5;
}

/* PAGES 
--------------------------------- */
.page a:hover {
	color: #89B900;
}
body.single .entry .entry-content {
	padding: 0;
}

.oak-responsive-tbl tr th:not(:last-of-type),
.oak-responsive-tbl tr td:not(:last-of-type) {
	padding-right: 20px;
}
.tbl-oak-mobile { display: none; }



/* SITE FOOTER 
---------------------------------------------- */
.site-footer {
	background-color: #89B900;
}
.nav-footer,
.creds {
	width: 50%;
}
.site-footer p {
	text-align: right;
}
.site-footer .genesis-nav-menu a,
.site-footer p {
	font-size: 12px;
}
.site-footer .genesis-nav-menu a:hover {
	border-bottom: 1px solid #333;
}


/* MEDIA QUERIES 
----------------------------------- */
@media screen and (max-width: 1255px) {

	.site-title a, .site-title a:hover {
			background-size: 880px;
	}
	.site-container {
			max-width: 1280px;
	}

	#home-flexible .four-widgets section .entry-title a {
		font-size: 22px;
		white-space: nowrap;
	}
}
@media screen and (max-width: 1218px) {

	.genesis-nav-menu .main-nav-phone {
			width: 100%;
			text-align: center;
	}
	.site-container {
			max-width: 100%;
	}
}
@media screen and (max-width: 1121px) {
	.nav-footer, .creds,
	.site-footer p {
			width: 100%;
			text-align: center;
	}

	#home-flexible .four-widgets section .entry-title a {
		font-size: 18px;
	}
}

/* RESPONSIVE MENU 
-------------------------------- */
@media screen and (max-width: 1048px) {
	.genesis-nav-menu .main-nav-phone {
		text-align: left;
	}
	.genesis-nav-menu.responsive-menu > .menu-item > .sub-menu,
	.genesis-nav-menu.responsive-menu {
		display: none;
	}

	.genesis-nav-menu.responsive-menu .menu-item,
	.responsive-menu-icon {
		display: block;
	}

	.genesis-nav-menu.responsive-menu .menu-item {
		margin: 0;
	}

	.genesis-nav-menu.responsive-menu .menu-item:hover {
		position: static;
	}

	.genesis-nav-menu.responsive-menu .current-menu-item > a,
	.genesis-nav-menu.responsive-menu .sub-menu .current-menu-item > a:hover,
	.genesis-nav-menu.responsive-menu a,
	.genesis-nav-menu.responsive-menu a:hover {
		background: none;
		line-height: 1;
		padding: 16px 20px;
	}

	.genesis-nav-menu.responsive-menu .menu-item-has-children {
		cursor: pointer;
	}

	.genesis-nav-menu.responsive-menu .menu-item-has-children > a {
		margin-right: 60px;
	}

	.genesis-nav-menu.responsive-menu > .menu-item-has-children:before {
		content: "\f347";
		float: right;
		font: normal 16px/1 'dashicons';
		height: 16px;
		padding: 5px;
		right: 0;
		text-align: right;
		z-index: 9999;
	}

	.genesis-nav-menu.responsive-menu .menu-open.menu-item-has-children:before {
		content: "\f343";
	}

	.genesis-nav-menu.responsive-menu .sub-menu {
		border: none;
		left: auto;
		opacity: 1;
		padding-left: 25px;
		position: relative;
		-moz-transition:    opacity .4s ease-in-out;
		-ms-transition:     opacity .4s ease-in-out;
		-o-transition:      opacity .4s ease-in-out;
		-webkit-transition: opacity .4s ease-in-out;
		transition:         opacity .4s ease-in-out;
		width: 100%;
		z-index: 99;
	}

	.genesis-nav-menu.responsive-menu .sub-menu .sub-menu {
		margin: 0;
	}

	.genesis-nav-menu.responsive-menu .sub-menu .current-menu-item > a:hover,
	.genesis-nav-menu.responsive-menu .sub-menu li a,
	.genesis-nav-menu.responsive-menu .sub-menu li a:hover {
		background: none;
		border: none;
		padding: 12px 20px;
		position: relative;
		width: 100%;
	}
	.nav-primary .responsive-menu-icon::before {
			color: #fff;
	}
	.responsive-menu-icon::before {
			padding-top: 20px;
	}
	.site-container {
		margin: -40px auto 15px;
		/*padding-left: 0;
		padding-right: 0;*/
	}
	.admin-bar .site-container {
		margin: -20px auto 15px;
	}
}
@media screen and (max-width: 990px) {
	.site-title a, .site-title a:hover {
			background-size: contain;
	}
}
@media screen and (max-width: 911px) {

	#home-flexible .four-widgets section .entry-title a {
		font-size: 18px;
	}
}
@media screen and (max-width: 856px) {
	.genesis-nav-menu .main-nav-events a {
		padding: 16px 20px;
	}
}
@media screen and (max-width: 800px) {

	.tbl-oak-desktop { display: none; }
	.tbl-oak-mobile {
		display: table;
	}
	.tbl-oak-mobile th {
		width: 100%;
		padding-top: 20px;
		border-bottom: 1px solid #333;
	}
	.tbl-oak-mobile td {
		width: 60%;
		border-top: 0 none;
	}

	.oak-wrapping-tbl.wrap-800px td {
		float: left;
		width: 100%;
		border-top: 0 none;
	}
	.oak-wrapping-tbl.wrap-800px tr {
		border-top: 1px solid #333;
	}
}

@media screen and (max-width: 730px) {
	#gallery-2 .gallery-item {
			width: 50% !important;
	}
}

@media screen and (max-width: 600px) {
	.nav-primary {
			position: absolute;
	}
}
@media screen and (max-width: 580px) {
	.home .post .entry-header {
		display: flex;
		flex-direction: column-reverse;
	}
	.home .post .entry-header .home-featured-image,
	.home .post .entry-header .entry-title {
		flex: 1;
		margin: 0 auto 30px;
	}
}
@media screen and (max-width: 500px) {
.site-title a, .site-title a:hover {
  background: url(/wp-content/uploads/2018/03/Olympic-Avenue-Logo-Mobile.jpg) no-repeat;
	background-size: 300px;
	background-position: center;
	height: 310px;
}
	.home-flexible .four-widgets .widget:nth-last-of-type(-n+2) {
			margin: 0 auto 3%;
	}
}

@media screen and (max-width: 410px) {
	#gallery-2 .gallery-item {
			width: 100% !important;
	}
}
@media screen and (max-width: 370px) {
	.site-title a, .site-title a:hover {
			background-size: 100% !important;
	}
}
