/* CSS Document RDLR 2015 */

/* Global styling */

body {
	background: #F7F7F7;
	margin:0;
	padding:0;
	font-size: 1em;
	font-family: "Trebuchet MS", Verdana, sans-serif;
	color: #000000;
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* Standard Formatting */

h1, h2, h3, h4, h5, h6 {
	font-size: 1.5em;
	font-weight: bold;
	margin: 0;
}

p {
	margin-top: 1em;
}

td {
	padding: 5px 20px;
	text-align: center;
}

td p {
	margin: 0;
}

content a {
	margin-top: 1em;
	color: #000000;
	text-decoration: underline;
}

content a:hover {
	color: #636363;
}

content > h1, h2, h3, h4, h5, h6 {
	margin: 1em 0 0 1em;	
}

content > p {
		margin: 0.5em 0 0 1em;
}

.acm-home-img {
	max-width: 80%;
}

/* Layout */

#container {
	margin: 0 auto 0 auto;
	width: 80%;
	overflow: auto;
	border-style: solid;
	border-width: 0 1px 1px 1px;
	border-color: #000000;
}

header#site-header {
	position: relative;
	padding: .5em 85% .5em 5%;
	border-style: solid;
	border-width: 0 0 1px 0;
	border-color: rgba(0, 0, 0, 0.3);
}

nav {
	position: relative;
	width: 15%;
	min-width: 120px;
	float: left;
}

content#site-content {
	position: relative;
	width: 85%;
	float: right;
	border-style: solid;
	border-width: 0 0 0 1px;
	border-color: rgba(0, 0, 0, 0.3);
}

#clear {
	position: relative;
	width: 100%;
	height: 50px;
}

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: center;
	background: rgba(0, 0, 0, 0.1)
}

/* Layout mobile */

@media screen and (max-width: 1020px) { 
	
	nav {
		position: relative;
		width: 100%;
		border: none;
		}
	
	content#site-content {
	position: relative;
	width: 100%;
	}

}

@media screen and (max-width: 767px) { 
	
	body {
	font-size: 0.8em;
	}
	
	#container {
	margin: 0;
	width: 100%;
	overflow: auto;
	border: none;
}
	
	header#site-header { 
		position: relative;
		padding: .5em 40%;
		text-align: center;
		border: none;
	}
	
	nav {
		position: relative;
		width: 100%;
		background: rgba(0, 0, 0, 0.1);
		border: none;
		}
	
	content#site-content {
	position: relative;
	width: 100%;
	}
	
}

/* Header */

header h1 {
	font-size: 2em;
	margin: .2em 0;
	font-family: "Trebuchet MS", Verdana, sans-serif;
}

/* Footer */

footer p {
	margin: .3em;
	font-size: 1em;
	color: #636363;
	font-family: "Trebuchet MS", Verdana, sans-serif;
}

footer p a {
	margin: .3em;
	font-size: 1em;
	color: #636363;
	font-family: "Trebuchet MS", Verdana, sans-serif;
}

footer p a:hover {
	color: #9F9F9F;
}

/* Nav */

nav ul {
	list-style: none;
	padding: 1em;
	margin: 0;
	text-align: center;
}

nav ul li {
	margin-bottom: .5em;
}

nav ul li a {
	color: #000000;
	text-decoration: none;
	font-size: 1.2em;
}

nav ul li a:hover {
	color: #636363;
}

nav ul li a.selected {
	color: #636363;
}

/* Nav Mobile */

@media screen and (max-width: 1020px) { 
	nav ul {
		list-style: none;
		text-align: center;
		margin: 0;
		padding: 1em;
	}
	
	nav ul li {
		display: inline;
		margin: 0 .5em;
	}
	
	nav ul li a {
	text-transform: uppercase;
	}
}

@media screen and (max-width: 767px) { 
	nav ul {
		list-style: none;
		text-align: center;
		margin: 0;
		padding: 1em;
	}
	
	nav ul li {
		display: inline;
		margin: 0 .5em;
	}
	
	nav ul li a {
	text-transform: uppercase;
	}
	
	.acm-home-img {
		max-width: 100%;
	}
}


/* Fotorama Gallery Custom CSS */

.fotorama__caption__wrap {
	font-size: 1em;
	font-weight: bold;
	font-family: "Trebuchet MS", Verdana, sans-serif;
	color: #000000;
}


/* RDLR custom styles */

.rdlr-img-centre {
	display: block;
	margin: 0 auto 0 auto;
}