header, section, footer, aside, nav, article, figure, figcaption {
				display: block;}
				
/********************* Colour reference chart****************
*************************** colour ********* code *********old

main text font				nearly black	 #181100
text area background 		pale ivory       #f4f5ef		
background edges            dark brown		#331511	
nav bar						dark green		#2e5430			

*/				
			
body {
	background-image: url("../images/chalkboard_min.jpg");
	background-position: center;
	font-family: Georgia, Times, serif;
	color: #181100;
	margin: 0px;}
	
a {
	text-decoration: none;
	color: #B4A573;
}
	
a:hover {
	color: #331511;
}

.wrapper {
	width: 940px;
	margin: 20px auto 20px auto;
	border: 3px solid #181100;
	padding: 0px;
}
	
header, main {
	background-color: #331511;
	border-top: 1px solid #181100;	
	border-bottom: 1px solid #181100;	
}	

.logo {
	background: #f4f5ef;
	background-image: url("../images/maths_logo_icon.svg");
	background-repeat: no-repeat;
	background-position: 10px 15px;
	background-size: 100px;
	text-indent: 110px;
	margin: 10px;
	padding: 10px;
	height: 110px;
	border: 0.5px solid #181100;
	border-radius: 10px;
}

header h1 {
	padding-top: 5px;
	margin: 0px;
	font-size: 3em;
}

header h2 {
	margin: 0px;
	font-size:2em;
	font-style: italic;
}

nav, footer {
	clear: both;
	background-color: #2e5430;
	color: #f4f5ef;
	border-top: 1px solid #181100;	
	height: 30px;}	

nav ul {
	margin: 0px;
}
nav li {
	display: block;
	float:left;
	height: 30px;
/*	padding: 6px 40px 6px 5px;*/
}
nav li a {
	display: block;
	color: #f4f5ef;
	padding: 6px 35px 6px 10px;*
}

nav li a:hover, nav li.current a {
	background: #092611;
	color: #B4A573;
}

section {
	background: #f4f5ef		;
	margin: 10px;
	border: 0.5px solid #181100;
	border-radius: 10px;
	padding: 10px;	
	display: block;
}

section.carousel {
	height: 400px;	
}

/* Information section */	
section.information {
	display: table;
}

section.references {
	position: relative;
}

article.about {
	float: left;
	width: 55%;
	padding-right: 10px;
	border-right: 1px solid #181100;
}

.slider_pictures {
	height: 350px;
	position: relative;
}

.carousel h1 {
	font-size: 1.5em;
}

.carousel h2 {
	font-size: 1.17em;
	margin-left: 1em;
}

figure.slide {
	display: none;
	position: absolute;
	width:100%;
	height: 100%;
	margin: 0;
}

figure.active-slide {
	display: block;
}

figure.profile_fig {
	height: 150px;
	width: 120px;
	float: right;
	border: thin black solid;
	margin: 0;
	padding: 10px;
	background-color: white;
	text-align: center;
	
}

figcaption {
	margin-top:20px;
}

img.profile_pic {
	height: 100%;
}
	
.slide-image {
	position: relative;
	float: left;
	height: 340px;
	width: 567px;
	margin: 20px;
	border:1px solid #181100;
	background-color: white;
}

.slide-picture {
	width: 100%;
	margin-top: 5px;
}

.maths_display {
	font-size: 1.5em;
}

#normal_equation {
	position: absolute;
	top: 0px;
	right: 10px;
}

/* Slider navigation features */
.slider-nav {
	position: relative;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	color: #B4A573;
    font-size: 30px;
	vertical-align: middle;
	cursor: default;
	user-select: none;
}

.slider-nav .arrow, .dot {
	cursor: pointer;
}

#arrow-prev {margin-right: 45px;}

#arrow-next {margin-left: 40px;}

ul {
	list-style: none;
}

ul.slider-dots {
	list-style: none;
	display: inline;
	padding-left: 0;
	margin-bottom: 0;
}

ul.slider-dots li {
  display: inline;
  margin-right: 5px;
  user-select: none;
}

li.dot:hover, li.active-dot, .arrow-prev:hover, .arrow-next:hover, 
span.read-more:hover, .close-window:hover
{	color: #331511;}

/* References section */
aside {
	position: relative; z-index: 10;
	width: 41%;
	float: left;
	padding-left: 15px;
}

blockquote.expanded {
	display: none;
	position: absolute;
	top: -250px;
	left: -250px;
	background-color: #f4f5ef;
	border: 1px solid #181100;
	border-radius: 10px;
	box-shadow: 0px 0px 10px #181100;
	width: 500px;
	z-index: 10;
	overflow: none;
}
	
blockquote {
    font-style: italic;
	margin: 0px;
    padding: 0.35em 20px 0.35em 40px;
    line-height: 1.45;
    position: relative;
    color: #331511;
}

blockquote:before {
    padding-left: 10px;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -20px;
    top: -20px;
    color: #B4A573;
}

blockquote.expanded:before {
	left: -10px;
	top: -10px;
	padding-right: 40px;	
}

p.end-quote:after {
	display:block;
	content: "\201D";
	font-size:80px;
	position: absolute;
	color: #B4A573;
	right: 20px;
	bottom: -20px;
}
	

blockquote cite {
	color: #2e5430;
	display: block;
	margin-top: 5px;
}
 
blockquote cite:before {
content: "\2014 \2009";
}

span.read-more, .close-window{
	font-weight: bold;
	color: #B4A573;
	cursor: pointer; 
}

a.close-window {
float: right; }

footer {
	font-size: 80%;
	padding: 7px 20px 7px 20px;
}

footer.a {
	target: _blank;
	text-decoration: none;
}

.copy-right {
	float: left;
	width: 25%;
}

.footer-badge {
	display: inline-block;
	float: right;
	padding-right: 10px;
	font: 80% Arial, sans-serif;

}	

.linkedin-badge {
	vertical-align: middle;
}
