@import url('http://fonts.googleapis.com/css?family=Noto+Serif:400,400italic,700|Open+Sans:400,600,700'); 
@import url('font-awesome.css');  
@import url('animate.css');
@import 'https://fonts.googleapis.com/css?family=Arimo';

:root {
	--yellowy: #E5E01D;
	--orangy: #CD5928;
	--gray: #696969;
    --dark-gray: #494949;
	--padding-s: 0.5em;
	--padding-m: 1em;
	--padding-l: 1.5em;
}

body {
	font-family:'Arimo', Helvetica, Arial, sans-serif;
	font-size:16px;
	font-weight:300;
	line-height:1.6em;
	color:var(--dark-gray);
	padding: 0;
	margin: 0;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
	width: 100%; /* Full width */
	padding: 12px; /* Some padding */ 
	border: 1px solid #ccc; /* Gray border */
	border-radius: 4px; /* Rounded borders */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
	resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }
  
  /* Style the submit button with a specific background color etc */
  input[type=submit] {
	background-color: #CD5928;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
	background-color: #CD5928;
  }


.spacer-item {
	filter: opacity(0);
}

.clickable {
	cursor: pointer;
}

a {
	font-weight: 400;
	cursor: pointer;
	text-align: center;
	vertical-align: middle;
	margin: var(--padding-m);
	padding: var(--padding-s);
	transition: 0.6s;
	color: inherit;
}

ol li a{
	color: var(--dark-gray);
	text-decoration: underline;
}

h3, h4 {
	color: var(--orangy);
}

h4 {
	margin-left: 1em;
}

/*a:first-of-type {
	color: rgb(201, 0, 0);
	font-weight: bold;
}*/

a:hover{
	color: rgb(201, 0, 0);
}

a:visited, a:active, a {
	text-decoration: none;
}

.date {
	color: #CD5928;
}

.container {
	margin: auto;
	width: 80%;
	max-width: 1100px;
}

main, article {
	margin: var(--padding-s);
	padding: var(--padding-s);
}

menu {
	display: flex;
	flex-flow: row nowrap;
	text-align: center;
	align-items: center;
}

.navbar {
	padding: var(--padding-l);
	display: flex;
    flex-flow: row nowrap;
	justify-content: space-around;
	align-items: flex-end;
}

.contained-img {
    height: 100%;
    object-fit: contain;
}

.slideshow {
	width: 100%;
	padding: 0;
	margin: 0;
	border-top: solid 1px var(--gray);
}

.slide {
	max-height: 40vw;
	display: flex;
	flex-flow: row nowrap;
	position: relative;
	justify-content: center;
	margin: auto;
	transition: 1.1s;
}

.absoluteCentreText {
	position: absolute;
	left: 23%;
	top: 32%;
}

figcaption {
	font-size: 2vw;
	line-height: 1.5em;
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: bold;

	text-justify: auto;
}

.slide button {
	cursor: pointer;
	outline-width: 0;
	border-radius: 0.5em;
	height: 3em;
	width: 2em;
	border: transparent;
	color: white;
	font-weight: var(--gray);
	position: absolute;
	top: 46%;
	background-color: rgba(53, 53, 53, 0.664);
}

.slide button:hover {
	background-color: rgba(65, 65, 65, 0.664);
	transition: 0.6s;
}

._0{
	background-color: var(--orangy);
	color: whitesmoke;
}

._0::after {
	content: "◉ ○ ○";
	font-size: 1.5em;
	position: absolute;
	bottom: 10px;
	left: 50;
}

._1{
	background-color: var(--yellowy);
	color: var(--gray);
}

._1::after {
	content: "○ ◉ ○";
	font-size: 1.5em;
	position: absolute;
	bottom: 10px;
	left: 50;
}

._2{
	background-color: var(--gray);
	color: whitesmoke;
}

._2::after {
	content: "○ ○ ◉";
	font-size: 1.5em;
	position: absolute;
	bottom: 10px;
	left: 50;
}

.top-shadow {
    box-shadow: 0px -4px 6px -1px rgba(0, 0, 0, 0.3);
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 4fr;
	justify-content: center;
	max-width: 1100px;
	gap: 1.5em;
}

.three-col {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	justify-content: space-evenly;
	max-width: 1100px;
	gap: 1.5em;
}

.panel {
	background-color: rgb(255, 248, 236);
	border-radius: 0.5em;
	padding: var(--padding-m);
	margin: auto;
	margin-top: var(--padding-m);
	margin-bottom: var(--padding-m);
}

.card {
	background-color: rgb(248, 239, 234);
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-content: flex-start;
	text-align: center;
	min-width: 320px;
	min-height: 340px;
}

.card img {
	max-width: 320px;
	object-fit: scale-down;
	max-height: 349px;
}

.hr1 {
	border-color: #CD5928;
	filter: blur(1px);
}

.hr2 {
	border-color: #696969;
	filter: blur(1px);
}

.hr3 {
	border-color: #E5E01D;
	filter: blur(1px);
}

.newsHeading {
	font-size: 2em;
	color: var(--dark-gray);
}

@media (width < 766px) {
	.two-col, .three-col {
		display: flex;
		flex-flow: column nowrap;
	}

	.contained-img {
		max-width: 320px;
	}
}

@media (width < 1212px) {
	menu {
		flex-flow: column nowrap;
		text-align: center;
		align-items: center;
	}

	.three-col {
		grid-template-columns: 1fr 1fr;
	}

	.slideshow .slide {
		width: 95vw;
		margin: auto;
	}
	
	.navbar {
		flex-wrap: wrap;
		align-items: center;
		padding: var(--padding-s);
	}

	a {
		margin: var(--padding-s);
	}

	.container {
		margin: auto;
		max-width: 95%;
	}

	.absoluteCentreText {
		font-size: 0.8em;
		left: 10%;
	}
}
