/* Main stylesheet for the RCSDA website */




html {
	max-width: 1320px;
    min-width: 720px;
    width: 95%;
	margin: 0px auto;
	font: 1em/1.4em 'Open Sans', sans-serif;
	background: linear-gradient(to bottom, rgba(211, 211, 211, 0.1) 0%,
		rgba(211, 211, 211, 0.3) 120px,
		rgba(211, 211, 211, 1) 218px,
		rgba(211, 211, 211, 0.3) 219px,
		rgba(211, 211, 211, 0.6) 50%,
		rgba(211, 211, 211, 0.8) 85%,
		rgba(211, 211, 211, 1) 100%);
	overflow:auto;
}

p {
	margin: 0px auto;
}

a {
	text-decoration: none;
}

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

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

header {
	width: 100%;
}

header #logo{
	width: 100%;
	height: 20%;
	margin-bottom: -3%;
}

nav {
	display: inline;
	width: 100%;
}

nav ul {
	text-align: center;
	margin: 0px auto 10px auto;
	height: 32px;
	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%);
}

nav ul li{
	list-style-type: none;
	display: inline;
	border-right: 1px solid rgb(238, 204, 102);
	padding: 0px 4px 3px 3px;
	font: normal 700 1.25em/1.35em 'Inconsolata', sans-serif;
}

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

@media all and (max-width: 1000px)  {  nav ul li{ font:normal 700 1em/1.3em 'Inconsolata', sans-serif;  } }
nav ul li a{
	text-decoration: none;
	margin: 0px 2px 0px 2px;
   color: white;
   /*text-shadow: 1px 1px 1px #bbb;*/
}

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

/* styles for the current page nav */
#home #nav-home, #links #nav-links, #history #nav-history, #benefits #nav-benefits,
#board #nav-board, #events #nav-events, #memoriam #nav-memoriam, #supporters #nav-supporters, #donate #nav-donate{
		font-size: 1em;
		text-decoration: underline;
}

#home #nav-home:before, #links #nav-links:before, #history #nav-history:before,
#board #nav-board:before, #events #nav-events:before, #memoriam #nav-memoriam:before, #supporters #nav-supporters:before, 
#donate #nav-donate:before, #benefits #nav-benefits: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 2.6em/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: -29px;
	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;



}

h2:after {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 0px;
	top: 100%;
	border-width: 5px 14px;
	border-style: solid;
	border-color: rgb(212, 175, 55) rgb(212, 175, 55) transparent transparent;

}

h2:before
{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	right: -2px;
	top: 0px;
	border-color: transparent #fff transparent transparent;
}

h2:before {
	content: ' ';
	position: absolute;
	width: 17px;
	height: 0;
	left: -36px;
	top: 9px;
	border-width: 28px 22px;
	border-style: solid;
	border-color: rgb(212, 175, 55) rgb(212, 175, 55) rgb(212, 175, 55) transparent;
	-webkit-box-shadow: 0px 2px 4px gray;
	-moz-box-shadow: 0px 4px 0px gray;
	box-shadow: 3px 4px 4px gray;
	z-index: -1;
}

h3 {
	font: normal 400 1.4em/1.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: 65%;
	float: left;
	margin: 20px 20px 5px 4.5%;
	/*background: linear-gradient(to top, rgba(211, 211, 211, 0.1) 0%,
		rgba(211, 211, 211, 0.6) 15%,
		rgba(211, 211, 211, 0.9) 50%,
		rgba(211, 211, 211, 0.6) 85%,
		rgba(211, 211, 211, 0.1) 100%);*/
}

section p {
	padding: 10px;
}


#stuff {
	height: 500px;
}

/* styles for the boxes on the side */
aside {
	padding-left: 15px;
}

aside .box{
	float: left;
	width: 25%;
	margin-right: 2%;
	margin-top: 20px;
	border: 1px outset red;
	text-align: center;
	border-radius: 40px 0px 40px 0px;
}

aside .box p{
	padding: 5px;
}

/* styles for the footer */
footer {
	position: relative;	
	clear: left;
	float: left;
	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%;
}

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

/* styles for the names on the footer */
#names {
	font-size: 0.8em;
	float: none;
	margin: 0px auto;
	width: 100%;
	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: 15%;
	display: inline-block;
	color: rgba(50, 20, 0, 1);
}

footer div h4, footer div p {
	padding: 0;
	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: 10%;
    left: 15%;
    height: 22%;
    width: 15%;
}

/*creates the animated effect  when hovering over the img */
#likebtn img:hover {
	transition: all 0.8s ease;
	transform: translateY(-5px) translateX(-5px) rotate(340deg);
}

/* Styles for the scroll-bar in chrome, opera, and safari. Other browsers do not fully support this yet*/
::-webkit-scrollbar {
	width: 15px;
}

::-webkit-scrollbar-track {
      background-color: rgba(184, 134, 11, 0.2);
}

::-webkit-scrollbar-thumb {
      	
	background-color: rgba(184, 134, 11, 0.8);
}

::-webkit-scrollbar-button {
      	background-color:rgb(139, 90, 0);
}

::-webkit-scrollbar-corner {
      background-color: black;
}

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

#totop:hover {
	cursor: pointer;
}

/* styles for the images on the memoriam page */
#imgs figure {
			margin: 3%;
		}
		#imgs figure img {
			box-shadow: 4px 4px 3px gray;
		}
		#imgs figure p {
			font-size: 0.9em;
			font-weight: 700;
		}
		#imgs {
			display: flex;
  			justify-content: center;
  			text-align: center;
		}
		.more {
			display: none;
			clear: left;
			text-align: center;
			font: normal 1.5em/1.3em '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;
	}

/*styles for the welcome message on the home page*/
#welcomeMsg {
		font:normal 1.7em/1.3em 'Poiret One', serif;width:70%;
}

/*styles for the contact button at the bottom of the page*/
.contactBtn{
	border-radius: 10px;
}

.contactBtn a{
	color: red;
}


/* Style changes for smaller screens */
@media all and (max-width: 1060px) and (min-width: 720px){
	section{
		width: 60%;
		margin-left: 6%;
	}
	aside .box{
		width: 28%;

		
	}
	#welcomeMsg {
		font-size: 1.5em;
	}
}

/* hide the mobile nav*/
#smallNav {
	display: none;
}