/* Main stylesheet for the mobile RCSDA website 
author: Jake Brisk
Date: 5/1/15
*/




html {
    min-width: 100px;
    width: 100%;
	margin: 0px auto;
	font: 1em/1.2em 'Open Sans', sans-serif;
	background: rgba(211, 211, 211, 0.5);
	position: relative;
}

p {
	margin: 0px auto;
}

a {
	text-decoration: none;
}

a:hover {
	font-size: 1em;
	transition: all 0.2s ease;
}

.box ul li {
	list-style-type: none;
	padding: 5px;
	margin-left: -22px;
	text-align: left;
}

header {
	width: 100%;
	background: linear-gradient(to bottom, rgba(211, 211, 211, 0) 0%,
		rgba(211, 211, 211, 0.2) 15%,
		rgba(211, 211, 211, 0.4) 30%,
		rgba(211, 211, 211, 0.6) 40%,
		rgba(211, 211, 211, 0.8) 50%,
		rgba(211, 211, 211, 0.6) 85%,
		rgba(211, 211, 211, 0.4) 100%);
}

header #logo{
	width: 100%;
}

#nav {
	display: none;
}

nav {
	display: none;
	position: absolute;
	top: 0px;
	right: 0px;
	display: flex;
	justify-content: center;
	width: 200px;
	padding-bottom: 10px;
	padding-top: 28px;
	margin-left: -25px;
	background-color: rgb(212, 175, 55);
	z-index: 20;
	border-radius: 0px 0px 0px 20px;
}

#closeBtn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 60px;
	margin: 0px auto;
	text-align:center;
	color: blue;
	font-size: 1em;
	z-index: 25;
}

#closeBtn:before {
	content: '\f00d';
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	padding-right: 5px;
}

nav ul {
	text-align: center;
	margin-left: -40px;
}

nav ul li{
	list-style-type: none;
	display: block;
	border-bottom: 1px solid rgb(238, 204, 102);
	text-align: center;
	padding: 10px 3px;
	font: normal 700 1.2em/1.35em 'Inconsolata', sans-serif;
}

nav ul li:first-of-type {
	border-top: 1px solid rgb(238, 204, 102);
}

nav ul li a{
	text-decoration: none;
	margin: 0px auto;
   color: white;
   /*text-shadow: 1px 1px 1px #bbb;*/
}

nav ul li a:hover {
	color: rgb(184, 134, 11);
	background-color: white;
	padding: 10px 15px;
	border-top: 1px solid rgb(184, 134, 11);
	border-radius: 5px;
	font-size: 1em;
	transition: all 0.4s ease;
}

/* styles for the current page nav */
#home #nav-home, #links #nav-links, #history #nav-history,
#board #nav-board, #events #nav-events, #memoriam #nav-memoriam{
		color: rgb(255, 0, 0);
		font-size: 1em;

}

#home #nav-home:before, #links #nav-links:before, #history #nav-history:before,
#board #nav-board:before, #events #nav-events:before, #memoriam #nav-memoriam:before{
	content: "\f041";
	font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    padding-right: 5px;
}

/* heading styles */
h2 {
	position: relative;
	width: 70%;
	font: normal 2em/1.1em 'Norican', cursive;
	font-weight: bold;
	padding: 8px 0px 2px 0px;
	text-align: center;
	background-color: rgb(212, 175, 55);
	color: white;
	margin-left: -10px;
	text-shadow: 0px 1px 2px #bbb;
	-webkit-box-shadow: 2px 4px 4px gray;
	-moz-box-shadow: 2px 4px 4px gray;
	box-shadow: 2px 4px 4px gray;



}

h3 {
	font: normal 400 1.2em/1em 'Crete Round', serif;
	background-color: rgb(212, 175, 55);
	width: 80%;
	margin: 20px auto;
	padding: 10px 15px;
	color: rgb(255, 0, 0);
	border-radius: 20px 0px 20px 0px;
}

section {
	border: 1px solid red;
	border-radius: 60px 0px 60px 0px;
	width: 95%;
	margin: 10px;
}

section p {
	padding: 7px;
}


#stuff {
	height: 500px;
}

/* styles for the boxes on the side */

aside .box{
	width: 95%;
	margin: 20px 5px;
	border: 1px outset red;
	text-align: center;
	border-radius: 40px 0px 40px 0px;
}

aside .box p{
	padding: 5px;
}

/* styles for the footer */
footer {

	background: linear-gradient(to left, rgba(184, 134, 11,0) 0%,
		rgba(184, 134, 11,0.5) 15%,
		rgba(184, 134, 11,1) 50%,
		rgba(184, 134, 11,0.5) 85%,
		rgba(184, 134, 11,0) 100%);
	text-align: center;
	margin-top: 50px;
	width: 100%;
	margin-bottom: 0px;
}

footer address {
	width: 95%;
	color: white;
	padding: 5px;
	font: normal 0.7em/1em 'Helvetica', sans-serif;
}

/* styles for the names on the footer */
#names {
	font-size: 0.8em;
		margin: 0px auto;
	width: 95%;
	text-align: center;
	border: none;
	box-shadow: none;
}


footer div {
	border: 1px outset rgba(184, 134, 11,1);
	box-shadow: -2px -2px 5px rgba(184, 134, 11,0.2);
	margin: 2px auto;
	text-align: center;
	width: 95%;
	height: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	color: rgba(50, 20, 0, 1);
}

footer div h4, footer div p {
	padding: 3px;
	margin: 0;
}

/* styles for the "like us on facebook" box and images*/
#fbBox {
	position: relative;
}

#fbicon img {
	width: 80%;
	height: 100%;
	margin: 10px;
	border: 2px solid rgb(59, 89, 152);
	border-radius: 10px;
}

#likebtn img {
	position: absolute;
    bottom: 12%;
    left: 15%;
    height: 28%;
    width: 15%;
}


/* styles for the back-to-top button */
#totop {
	display: none;
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 20px;
	height: 20px;
	border: none;
	box-shadow: none;
}

#totop:hover {
	cursor: pointer;
}

#imgs figure {
			margin: 10px;

}
#imgs figure:last-of-type{
	margin-bottom: 30px;
}

#imgs figure img {
	box-shadow: 4px 4px 3px gray;
}

#imgs figure p {
	font-size: 0.9em;
	font-weight: 700;
}
		#imgs {
			display: flex;
			flex-wrap: wrap;
  			justify-content: center;
  			text-align: center;
		}
		.more {
			display: none;
			clear: left;
			text-align: center;
			font: normal 1.1em/1.1em 'Monotype Corsiva', cursive;
		}
		.close {
			color: red;
			font: normal 0.6em/1em 'Open Sans', sans-serif;
			text-align: right;
		}
		.close:hover {
			font: normal 0.6em/1em 'Open Sans', sans-serif;
		}
		.close:before {
			content: '\f00d';
			font-family: FontAwesome;
		    font-style: normal;
		    font-weight: normal;
		    text-decoration: inherit;
		    padding-right: 5px;
		}
#linksaside aside .box {
	min-height: 350px;
	max-height: 350px;
	width: 22.5%;
	float: left;
	clear: none;
	overflow: auto;
			
}

#linksaside h2 {
	margin-left: 20px;
}

#linksaside .box ul li{
	padding: 3px;
}

#smallNav {
	text-align: right;
	margin-top: -15px;
	margin-bottom: 20px;
	padding: 0px 20px 0px 0px;
	height: 15px;
	background: linear-gradient(to left, rgba(184, 134, 11, 0) 0%,
		rgba(184, 134, 11, 1) 15%,
		rgba(184, 134, 11, 1) 50%,
		rgba(184, 134, 11, 1) 85%,
		rgba(184, 134, 11, 0) 100%);
}

#smallNav a {
	background-color: white;
	padding: 0px 3px;
	margin-top: 200px;
	border: 1px solid rgba(184, 134, 11, 1);
	border-radius: 5px;
	color: red;
}

#smallNav a:before {
	content: "\f0c9";
	font-family: FontAwesome;
	font-size: 1em;
	padding-right: 3px;
	font-style: normal;
	font-weight: normal;
}

#home-aside{
	margin-top: 63%;
}