/*______________________________________________________________________________
_General________________________________________________________________________
______________________________________________________________________________*/

html {
	-webkit-font-smoothing:antialiased;
	-webkit-text-size-adjust:100;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	font-weight: 300;
	fill: #3f3f3f;
	color: rgba(0, 0, 0, 0.8);
	margin: 0;
}

header {
	height: 67px;
	background-color: #1d1d1b;
}

footer {
	background-color: #414042;
	font-size: 18px;
	color: #b3b3b3;
}

#footerdiv {
	padding: 1% 0px 1% 0px;
	margin-left: 25%;
}

footer h1 {
	font-weight: 500;
	font-size: 20px;
	color: #fff;
	padding-bottom: 5px;
}

footer a {
	color: #e6e6e6;
	text-decoration: none;
}

footer a:hover {
	color: #e6e6e6;
	text-decoration: underline;
}

.logo {
	height: 60px;
	margin: 0% 0% 0% 25%;
	background: url("../image/ons_logo.png") no-repeat;
	background-size: 188px;
	background-position: 0px 15px;
}

.inner {
	width:100%;
}

.p1 {
	color: rgb(0, 61, 89);
	letter-spacing: -1px;
	line-height: 110%;
	font-size:2.2em;
}

.circ {
	fill: none;
  	fill-opacity: 1;
  	stroke-width: 1;
  	stroke: #cdcdcd;
}

#mobilehidden, #mobilehidden2 {
	display: none;
}

/*______________________________________________________________________________
_Navigation_____________________________________________________________________
______________________________________________________________________________*/

#circlenav {
	position: fixed;
	top: 50%;
	left: 95%;
	z-index: 2;
}

#circle0 {
	background-color: rgba(0, 0, 0, 0.5);
}

.dotstyle ul {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0;
	list-style: none;
	cursor: default;
}

.dotstyle li {
	position: relative;
	display: block;
	margin: 10px 16px;
	width: 14px;
	height: 14px;
	cursor: pointer;
}

.dotstyle li a {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	outline: none;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.1);
	text-indent: -999em;
	cursor: pointer; /* make the text accessible to screen readers */
	position: absolute;
	-webkit-transition: -webkit-transform 0.3s ease, background-color 0.3s ease;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

/*______________________________________________________________________________
_Swoopy Annotations_____________________________________________________________
______________________________________________________________________________*/

.swoopy text {
	font-weight: 600;
	font-size:1em;
}

.swoopy path {
	stroke: rgba(0, 0, 0, 0.8);
}

.anno1, .anno2, .anno3, .anno4, .anno5 {
	opacity: 0;
	line-height: 200%;
}

/*______________________________________________________________________________
_Editorial_____________________________________________________________________
______________________________________________________________________________*/

.arrows {
	width: 60px;
	height: 72px;
	position: relative;
	margin-left: -30px;
	left:50%;
}

.arrows path {
	stroke: #cdcdcd;
	fill: transparent;
	stroke-width: 2px;	
	animation: arrow 1.5s infinite;
	-webkit-animation: arrow 1.5s infinite; 
}

@keyframes arrow
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

/*________________________________________________________________*/

#year {
	width: 50%;
	max-width: 1200px;
	margin: 200px auto; 
}

#year h1 {
	color: rgb(0, 61, 89);
	line-height: 132%;
	font-size: 4em;
}

#year p {
	max-width: 460px;
	font-size: 1.4em;
	line-height: 130%;
}

.yeartext {
	position: relative;
	background: url("../image/circle.svg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	margin-bottom: 10%;
	padding: 60px 0;

}

.yeartext span {
	background-color: white; 
	z-index:100;
}

/*________________________________________________________________*/

#intermediate {
	width: 50%;
	max-width: 1200px;
	margin: 300px auto; 
}

#intermediate p {
	padding: 120px 0;
	max-width: 470px;
	font-size: 1.4em;
}

.intermediatetext {
	position: relative;
	background: url("../image/circle.svg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	margin-bottom: 15%;
}

.intermediatetext span {
	background-color: white; 
	z-index:100;
}

/*________________________________________________________________*/

.endsymbol {
	display: block;
	margin: 80px auto 20px;
	width: 100px;
}

/*______________________________________________________________________________
_Intro_1________________________________________________________________________
______________________________________________________________________________*/

.skippers {
	color: #1586CE;
	font-weight: 600;
	font-size: 1em;
	cursor: pointer;
}

.next0 {
	color: rgb(0, 61, 89);
	font-weight: 600;
	font-size:0.8em;
}

/*______________________________________________________________________________
_Info_1_________________________________________________________________________
______________________________________________________________________________*/

#info {
	position: absolute;
	max-width: 310px;
	opacity: 0;
	margin-top: 15%;
	margin-left:74%;
}

#info span {
	margin: 0 0 0 0;
	font-size:2.2em;
}

#info p {
	margin: 2px 0 2px 0;
}

#datatext_1 {
	/*color: rgb(0, 61, 89);*/
	margin: 0 0 0 0;
	font-weight: 600;
}

/*______________________________________________________________________________
_Info_2_________________________________________________________________________
______________________________________________________________________________*/

#info2 {
	position: absolute;
	opacity: 0;
	margin-top: 16.5%;
	margin-left:74%;
}

#info2 span {
	margin: 0 0 0 0;
	font-size:2.2em;
}

#info2 p {
	margin: 2px 0 2px 0;
}

#datatext_4 {
	margin: 0 0 0 0;
	font-weight: 600;
}

/*______________________________________________________________________________
_monthlyChart_____________________________________________________________________
______________________________________________________________________________*/

.intro {
	position: absolute;
	max-width: 450px;
	margin: 2% 0 0 3%;
	text-align: left;
}

.intro p {
	max-width: 370px;
}

.graph {
	text-align: center;
}
			
.legend {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	fill: rgba(0, 0, 0, 0.4);
	/*fill: #cdcdcd*/
}

/*______________________________________________________________________________
_dailyChart_____________________________________________________________________
______________________________________________________________________________*/

circle {
	fill-opacity: .05;
	fill: #999;
}

.hovered {
	fill-opacity: 0.25;
	fill: #1586CE;
}

/*______________________________________________________________________________
_BarChart_______________________________________________________________________
______________________________________________________________________________*/

.xAxisLabel {
	margin: 0 0 0 0;
}

.xAxis path, .xAxis line {
	fill: none;
	stroke: #cdcdcd;
}

.tick text {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	padding-top:5px;
	fill: rgba(0, 0, 0, 0.4);
	/*fill: #cdcdcd*/
}

.tick line, .domain {
	display: none;
}

/*______________________________________________________________________________
_Heat map_______________________________________________________________________
______________________________________________________________________________*/

.timeLabel text {
      	font-size: 16px;
		font-family: 'Open Sans', sans-serif;
		fill: rgba(0, 0, 0, 0.4);
		/*fill: #cdcdcd*/
      }

/*______________________________________________________________________________
_Responsive_____________________________________________________________________
______________________________________________________________________________*/

@media only screen and (min-width:1371px) and (max-width:1950px) {

	/*1800*/

	.yeartext {
		padding: 50px 0;
	}

	#year {
		margin: 100px auto;
	}

	#intermediate {
		margin: 250px auto;
	}

	#year h1 {
		font-size: 3em;
	}

	#year p, #intermediate p {
		max-width: 400px;
		font-size: 1.2em;
		line-height: 136%;
	}

	#intermediate p {
		padding: 100px 0;
	}

}

@media only screen and (min-width:851px) and (max-width:1370px) {

	body {
		font-size: 0.9em;
	}

	.anno1 path, .anno2 path, .anno3 path, .anno4 path, .anno5 path {
		display: none;
	}

	.scrolldown, .tabletnone {
		display: none;
	}

	#year {
		margin: 70px auto;
	}

	#intermediate {
		margin: 200px auto;
	}

	#year h1 {
		font-size: 2.5em;
		line-height: 132%;
	}

	#year p, #intermediate p {
		max-width: 340px;
		font-size: 1.1em;
		line-height: 140%;
	}

	#intermediate p {
		padding: 50px 0;
	}

	.yeartext {
		padding: 20px 0;
	}
	
    #info, #info2 {
		margin-top: 450px;
		margin-left: 3%;
		max-width: 200px;
	}

	#info p, #info2 p {
		margin: 0px 0 0px 0;
	}

	#info span, #info2 span {
		font-size:1.5em;
	}

	.intro {
		max-width: 330px;
	}

	.radarmonthlyChart, .monthlybarChart, .xAxisLabel, .dailyChart, .dailyheatMap {
		margin-left: 30%;
	}
}

@media only screen and (min-width:451px) and (max-width:850px) {

	body {
		font-size: 0.9em;
	}

	#mobilehidden {
		display: initial;
		font-size: 1.2em;
		line-height: 140%;	
	}

	#mobilehidden p {
		margin-left: 25%;
		max-width: 340px;
		margin-top: 100px;
		margin-bottom: -50px;
	}

	#mobilehidden2 {
		display: initial;
		font-size: 1.2em;
		line-height: 140%;	
	}

	#mobilehidden2 p {
		margin-left: 25%;
		max-width: 340px;
		margin-top: 100px;
		margin-bottom: -50px;
	}

	.anno1, .anno2, .anno3, .anno4, .anno5, .text, .xAxisLabel {
		display: none;
	}

	.yeartext, .intermediatetext {
			background: none;
	}

	.scrolldown {
		display: none;
	}

	#year, #intermediate {
		margin: 50px auto;
	}

	#year h1 {
		font-size: 3em;
		line-height: 110%;
	}

	#year p, #intermediate p {
		font-size: 1.2em;
		line-height: 140%;
	}
	
    #info, #info2 {
		margin-top: 90%;
		margin-left: 25%;
		max-width: 280px;
	}

	#info span, #info2 span {
		font-size:1.8em;
	}

	#info p, #info2 p {
		margin: -2px 0 -2px 0;
	}


	.intro {
		position: relative;
		margin: 50px auto;
		max-width: 350px;
	}

	#circlenav {
		display: none;
	}
	
}

@media only screen and (min-width:0px) and (max-width:450px) {

	body {
		font-size: 0.9em;
	}

	.legend, .tick text, .timeLabel text {
		font-size: 12px;
	}

	#mobilehidden {
		display: initial;
		font-size: 1em;
		line-height: 130%;	
	}

	#mobilehidden p {
		margin-left: 25%;
		max-width: 180px;
		margin-top: 100px;
		margin-bottom: -50px;
	}

	#mobilehidden2 {
		display: initial;
		font-size: 1em;
		line-height: 130%;	
	}

	#mobilehidden2 p {
		margin-left: 25%;
		max-width: 180px;
		margin-top: 100px;
		margin-bottom: -50px;
	}

	.anno1, .anno2, .anno3, .anno4, .anno5, .text, .xAxisLabel {
		display: none;
	}

	.yeartext, .intermediatetext {
			background: none;
	}

	.scrolldown {
		display: none;
	}

	#year, #intermediate {
		margin: -50px auto;
	}

	#year h1 {
		font-size: 2em;
		line-height: 110%;
	}

	#year p, #intermediate p {
		font-size: 1em;
		line-height: 130%;
	}
	
    #info, #info2 {
		margin-top: 100%;
		margin-left: 25%;
		max-width: 200px;
	}

	#info p, #info2 p {
		margin: -2px 0 -2px 0;
	}

	#info span, #info2 span {
		font-size:1.2em;
	}

	.intro {
		position: relative;
		margin: 50px auto;
		max-width: 350px;
	}

	#circlenav {
		display: none;
	}
	
}
