/*Import Google font family Open Sans*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

/*Global styles & colors*/

body {
	font-family: "Open Sans", sans-serif;
    font-weight: 400;
	background-color: #f1f1f1;
}


/*Header & Menu styling*/

.active-page {
	border-bottom: 1px solid;
}

#hero-image {
	height: 400px;
	width: 100%;
	background: url("../img/hero.jpg") no-repeat center center;
}

#hero-image h2 {
	background-color: rgb(0, 0, 0, 0.35);
	margin: 0;
	position: absolute;
	top: 50%;
	width: 100%;
}

#hero-image-outer {
	height: 400px;
	width: 100%;
	overflow: hidden;
	position: relative;
}

#page-name {
	padding-right: 1rem;
}

#hero-text {
	color: #f1f1f1;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: 400;
	font-style: italic;
}


/*Main section styling*/

.img-container {
	width: 100%;
}

.img-container h3 {
	padding-top: 15px;
}

.img-container i {
	color: #343a40;
	vertical-align: center;
}

.img-fluid {
	height: 250px;
}

#about-content {
	padding: 40px;
}

.iframe-div {
	width: 100%;
}

.iframe-div iframe {
	width: 100%;
	height: 250px;
	margin: 0;
	border: none;
	overflow: hidden;
}

.map-container {
	padding: 30px;
}

.map-container p {
	padding: 0;
	margin: 0;
}

.map-container hr {
	color: rgba(0, 0, 0, 0.3);
	padding: 0 0 10px 0;
	margin: 0;
}

#events-container {
	background-image: url('../img/track.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	overflow: hidden;
    margin: 0 auto;
	background-color: rgba(0, 0, 0, 0.0);
}

#events div {
	color: #f1f1f1;
	background-color: rgba(0, 0, 0, .45);
	height: 225px;
	float: left;
	padding: 10px;
	text-align: center;
	margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 30px;
}

.member-app-title {
	padding-top: 20px;
	padding-bottom: 10px;
}

#locations-heading {
	padding-top: 25px;
	padding-left: 30px;
}

button[type="submit"] {
	margin-top: 10px;
	margin-bottom: 15px;
	color: #f1f1f1;
	background-color: #343a40;
	border-color: #343a40;
}


/*Footer styling*/

.footer-social {
	margin-bottom: 0;
	padding: 20px;
	vertical-align: bottom;
}

.footer-social ul {
	padding: 0;
	margin: 0;
}

.footer-social li {
	display: inline;
}

.footer-social i {
	font-size: 200%;
	padding: 10px 25px 0 25px;
	color: #343a40;
}


/* Media queries section for additional responsiveness on mobile device screens */


/* Media query to improve legibility of page title and hero image text overlay screen size decreases */

@media screen and (max-width: 943px) {
	#hero-text {
		font-size: 20px;
	}
	#page-name {
		font-size: 20px;
	}
	.map-container h4 {
		font-size: 18px;
	}
}


/*Media query to improve legibility of page title and hero image text overlay screen size decreases */

@media screen and (max-width: 800px) {
	#hero-text {
		font-size: 20px;
	}
	#page-name {
		font-size: 20px;
	}
	.map-container h4 {
		font-size: 18px;
	}
	#img-container {
		width: 100%;
		padding: 10px;
	}
	#img-container h3 {
		font-size: 20px;
	}
}


/*Media query to improve legibility of page title and hero image text overlay on small devices*/

@media screen and (max-width: 350px) {
	#hero-text {
		font-size: 18px;
	}
	#page-name {
		font-size: 14px;
	}
	.map-container h4 {
		font-size: 18px;
	}
    .footer-social i {
        font-size: 175%;
        padding: 10px 10px 0 10px;
        color: #343a40;
    }
}


/*Media query to improve legibility of page title and hero image text overlay on small devices*/

@media screen and (min-width:351px) and (max-width: 375px) {
	#hero-text {
		font-size: 18px;
	}
	#page-name {
		font-size: 16px;
	}
	.map-container h4 {
		font-size: 18px;
	}
	#events h4 {
		font-size: 18px;
	}
	#events h5 {
		font-size: 16px;
	}
    .footer-social i {
        font-size: 175%;
        padding: 10px 20px 0 20px;
        color: #343a40;
    }
}


/*Media query to improve legibility of upcoming events text as screen size narrows */

@media screen and (min-width: 768px) and (max-width: 900px) {
	#events h4 {
		font-size: 18px;
	}
	#events h5 {
		font-size: 16px;
	}
    #img-container {
        padding: 3px;
        margin: 0 auto;
    }
}


/*Media queries to improve display of upcoming events tiles by adjusting margin as screen size changes */

@media screen and (max-width: 1080px) {
	#events div {
        color: #f1f1f1;
        background-color: rgba(0, 0, 0, .45);
        height: 225px;
        float: left;
        padding: 10px;
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 20px;
    }
    #img-container h3 {
		font-size: 20px;
	}
    #img-container {
        padding: 10px;
    }
}

@media screen and (max-width: 767px) {
	#events div {
        color: #f1f1f1;
        background-color: rgba(0, 0, 0, .45);
        height: 225px;
        float: left;
        padding: 10px;
        text-align: center;
        margin: 4px;
    }
}