@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400");
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:400");

body {
	padding: 0px;
	margin: 0px;
	background-color: #f5f5f5;
	font-family: "Open Sans";
	font-weight: 400;
	font-size: 15px;
	height: 100vh;
}

main {
	container-type: inline-size;
	width: 100%;
	max-width: 1200px;
	min-height: calc(100vh - 70px - 231px);
	margin: 0px auto;
}

a {
  color: #187cc4;
  text-decoration: none;
  outline: 0;
  line-height: inherit;
}

a:visited {
  color: #7b3e87;
}

header {
	margin:0px;
	margin-bottom:5px;
	padding: 10px;
	text-align:center;
	color:#fff;
	background-color:#009ee2;
}

header h1 {
	font-size: 3rem;
	line-height: 1.2em;
	margin: 0px auto;
	max-width:600px;
}

h1, h2, h3 {
	font-family: "Roboto Slab",serif;
  	font-weight: 400;
}

h2 {
	text-transform: uppercase;
}

h2, h3 {
	margin: 0px;
	margin-bottom: 10px;
}

.content h3 {
	margin-top:5px;
	margin-bottom:5px;
}

.committee h3 span {
	color: #555;
	margin-left:0px;
}

.event h3 {
	text-transform: uppercase;
}

.event h3 span {
	color: #555;
	font-size: 17px;
	text-transform: none;
}

.content {
  	box-sizing: border-box;
	padding:15px 20px 20px 20px;
	float:left;
	background-color: #fff;
}

@container (width < 800px) {
	.content {	
		width: 100%;
		margin:5px 0px;
	}
}

@container (width >= 800px) {
	.content {
		width: calc(50% - 10px);
		margin:5px 5px 5px 5px;
	}
}

.event { 
	padding-left: 8px;
	border-left-width: 5px;
	border-left-style: solid;
	margin-top:10px; 
}

.committee {
	border-top-width: 5px;
	border-top-style: solid;
	padding-bottom: 15px;
}

.committee ul {
	padding:0px;
	margin:0px;
	list-style: none;
}

.national {
	border-color: #333;
}

.auckland {
	border-color:  #009ee2;
}

.wellington {
	border-color:  #783980;
}

.south-island {
	border-color: #de347f;
}

footer {
	clear: both;
	position: relative;
	bottom:0px;
	width: 100%;
	background-color: #333;
	box-sizing: border-box;
	height:70px;
	padding-top: 25px;
	color: rgba(255,255,255,0.5);
	text-align: center;
}

