#wrapper {
	padding-bottom:20px;
}

body, div {
	margin:0;
	padding:0;
	font-family:"TimesClassicText-Roman";
}

h1 {
	font-family: "TimesModern-Bold";
	font-size:36px;
	font-weight: normal;
	line-height: 110%;
	color:#3E3F40;
}

h2 {
	font-family: "TimesModern-Bold";
	font-size:30px;
	font-weight:normal;
	line-height:105%;
	color:#3E3F40;
}

h3 {
	font-family: "TimesClassicText-Bold";
	font-size:26px;
	font-weight:normal;
	line-height:105%;
	color:#3E3F40;
}

p {
	font-family: "TimesClassicText-Roman";
	font-size:22px;
	font-weight: normal;
	line-height: 105%;
	color:#3E3F40;
}

/* nav bar */

.nav-placeholder {
  height:54px;
}

.nav-bar {
  height:54px;
  width:100%;
  top:0;
  left:0;
  background-color:#1F1F1F;
  position:fixed;
  z-index:5;
  text-align:center;
}

.masthead {
  height:40px;
  width:250px;
  float:left;
  display:inline-block;
  margin:6px auto 8px 15px;
  background-image:url('../assets/tt-masthead.png');
  background-size:100% auto;
  background-repeat:no-repeat;
  background-position:bottom left;
  cursor:hand;
  cursor:pointer;
}

@media all and (max-width: 400px) {
	.masthead {
		width:50%;
		background-size:contain;
		background-position:center center;
		margin-top:12px;
	}
}

.social {
  float:right;
  display:inline-block;
  height:46px;
  width:auto;
  margin:12px 6px 0 0;
  cursor:hand;
  cursor:pointer;
  letter-spacing: 18px;
}

.social i {
  font-size:36px;
  color:#fff;
}

@media all and (max-width: 400px) {
	.social {
		margin-top:15px;
	}
	.social i {
	  font-size:25px;
	}
}

.social i:hover {
  color:#B9BDBF;
}

/* intro */

#intro {
	height:500px;
	width:100%;
}

#intro-pic {
	background-image:url('http://www.thetimes.co.uk/tto/multimedia/archive/00766/162247048_01_766314y.jpg');
	background-position:center center;
	background-size:cover;
	background-repeat: no-repeat;
	background-attachment:fixed;
	height:500px;
	width:100%;
	position:absolute;
	z-index:2;
}

.black-background {
	z-index:3;
	opacity:0.7;
	height:500px;
	width:100%;
	position:absolute;
	overflow:auto;
	/* background gradient */
	background: -moz-linear-gradient(left,  rgba(0,0,0,1) 23%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(23%,rgba(0,0,0,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(0,0,0,1) 23%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(0,0,0,1) 23%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(0,0,0,1) 23%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(0,0,0,1) 23%,rgba(255,255,255,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

#intro-text {
	position:relative;
	width:100%;
	height:100%;
	z-index:4;
	color:#fff;
	text-align:center;
}

#intro-text h1, #intro-text p {
	color:#fff;
	margin:0;
	text-align: center;
}

#intro-text h1 {
	padding:100px 0 5px 0;
	font-size:100px;
	line-height: 110%;
}

#intro-text p {
	margin-left:auto;
	margin-right:auto;
}

#intro-text p:nth-child(2) {
	font-size:70px;
}

#intro-text p:nth-child(3) {
	font-family:'TimesModern-Regular-Italic';
	padding-top:20px;
	font-size:30px;
	max-width:380px;
	margin:0 auto;
}

/* main */

#main {
	padding:50px 0 50px 0;
	color:#000;
	position:relative;
	overflow:auto;
}

h2 {
	font-family:'TimesClassicText-Medium';
	font-size:38px;
	padding:15px 10px;
	border-bottom:1px solid #bfbfbf;
	margin:20px auto;
	text-align: center;
	max-width:620px;
	color:#141414;
}

p {
	font-family:'TimesClassicText-Roman';
	font-size:22px;
	padding:15px 0;
	margin:10px auto;
	text-align: justify;
	line-height:110%;
	max-width:640px;
	color:#141414;
}

#main ul.list {
	font-family:'TimesClassicText-Roman';
	max-width:640px;
	color:#141414;
	font-size:22px;
	padding:15px 0;
	margin:10px auto;
	line-height:110%;
}

#main ul.list li {
	margin:0 20px 20px;
}

img.fullbleed {
	width:100%;
	height:auto;
	padding:15px 0;
}

/* the in-out module */

.allcaps {
	text-transform: uppercase;
}

.in-out p {
	font-family:'TimesClassicText-Roman';
	font-size:16px;
	text-align: center;
}

.in-out span.in {
	color:#cc0000;
	cursor:hand;
	cursor:pointer;
}

.in-out span.in-out-bar {
	font-size:18px;
	font-family:'TimesClassicText-Medium';
	padding:0 3px;
}

.in-out span.out {
	color:#003a7d;
	cursor:hand;
	cursor:pointer;
}

.active {
	text-decoration:underline;
}

/* elections interactive */

#elections-interactive {
	padding:10px 0;
	background-color:#E3E3E3;
}

#elections-interactive, .years, #elections-interactive>div>div:nth-child(2) {
	position:relative;
	overflow:auto;
}

.chart-body {
	position:relative;
	overflow:auto;
	padding:10px 0;
	text-align: center;
}

#elections-interactive .chart-body {
	border-top:1px solid #bfbfbf;
}

.years .arrow, .year, #elections-interactive>div>div:nth-child(2)>div {
	display:inline-block;
	text-align: center;
}

.years {
	text-align: center;
}

.years .arrow {
	width:20px;
	height:20px;
	background-position:center center;
	background-size:contain;
	background-repeat: no-repeat;
	margin:5px 30px;
	cursor:hand;
	cursor:pointer;
}

.left {
	background-image:url('../assets/left.png');
}

.right {
	background-image:url('../assets/right.png');
}

.year {
	font-family:'TimesClassicText-Roman';
	font-size:22px;
	text-align:center;
	margin-top:3px;
	vertical-align: top;
}

.column {
	width:140px;
	height:320px;
	text-align: center;
	padding:0 50px;
}

.column .bar-box {
	position:relative;
	overflow:auto;
	height:290px;
	width:45px;
	margin:0 auto;
	text-align: center;
}

.bar {
	display:inline-block;
	width:100%;
	height: 60px;
	position:absolute;
	bottom:0;
	left:0;
	margin:0 auto;
	padding:0;
	text-align: center;
}

.number {
	position:absolute;
	font-family:'TimesClassicText-Roman';
	font-size:16px;
	width:100%;
	text-align: center;
}

.labour .bar {
	background-color:#cc0000;
}

.conservative .bar {
	background-color:#003a7d;
}

.label {
	margin-top:6px;
	font-family: 'TimesClassicText-Roman';
}

.result {
	vertical-align: top;
	max-width:200px;
	padding:0 10px;
}

.result p {
	margin-top:70px;
	text-align: center;
	font-size:16px;
}

#elections-interactive h2.result-text {
	border:none;
	margin:0;
	padding:0;
}

#elections-interactive p.pm {
	margin-top:5px;
	padding:0;
	font-size:26px;
}

/* slider */

#main .slider{
	width: 100%;
	position: relative;
	overflow: hidden;
}

#main .slider li{
	width: 100%;
	margin: 0; padding: 0;
}

#main .slider div.img{
	width: 100%; height: 500px;
	background-size: cover;
	background-position: top center;
}

#main .slider ul.flex-direction-nav{
	width: 100%;
	overflow: hidden;
	margin: 0; padding: 0;
}

#main .slider .banner{
	width: 100%;
	height:53px;
	background: #000;
	color: #FFF;
	padding: 6px 5px 4px 5px;
	z-index: 3;
}

#main .slider .banner .container{
	width: 650px;
	margin: 0 auto;
}

#main .slider .banner strong{
	display: block;
	font-family: 'StagSans-Book';
	font-weight:normal;
}

#main .slider .banner cite{
	font-family: 'StagSans-Light';
	font-weight:normal;
	font-style:normal;
	text-transform:uppercase;
}

#main .slider ol.flex-control-nav{
	bottom: -2px;
	text-align: center;
}

#main .slider ol.flex-control-nav li{
	display: inline-block;
	width: 16px;
}

#main .slider ol.flex-control-nav li a{
	background-color: #FFF;
	opacity: 0.5;
	width:8px;
	height:8px;
}

#main .slider ol.flex-control-nav li a.flex-active{
	opacity: 1;
}

/* whisky */

#whisky {
	padding:10px 0;
	background-color:#E3E3E3;
	text-align: center;
}

#whisky .chart-body {
	max-width:640px;
	margin:0 auto;
	text-align: center;
	overflow:auto;
	position:relative;
}

#whisky .chart-body>div {
	display:block;
}

#whisky .chart-body p {
	padding-top:15px;
}

.bottle {
	display:inline-block;
	float:left;
	width:68px;
	height:80px;
	margin:0 6px 20px 6px;
	background-image:url('../assets/whisky-brown.png');
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
}

.grey {
	background-image:url('../assets/whisky-grey.png');
}

/* salmon */

#salmon {
	background-color:#E3E3E3;
	padding: 1px 0 10px 0;
}

#salmon .chart-body {
	padding: 10px 0 30px 0;
}

#salmon .chart-body img {
	width:640px;
	height:auto;
}

/* financial */

#financial {
	background-color:#E3E3E3;
	padding: 1px 0 10px 0;
}

#financial .chart-body {
}

#financial #gvapic {
	background-image:url('../assets/gva.png');
	width: 426px;
	height: 426px;
	position: relative;
	left: 35%
}

#financial #gvapic div:nth-child(1) {
	position: relative;
	left: 64px;
	top: 89px;
}

#financial #gvapic div:nth-child(2) {
	position: relative;
	left: 150px;
	top: 133px;
}

#financial #gvapic div p {
	color:white;
}

#financesector{
	position: relative;
	top: 116px;
	left: 70px;
}

/* olympics */

#olympics {
	padding:10px 0;
	background-color:#E3E3E3;
	text-align: center;
}

#olympics .chart-body {
	max-width:640px;
	margin:0 auto;
	text-align: center;
	overflow:auto;
	position:relative;
}

#olympics .chart-body>div {
	display:block;
}

#olympics .chart-body p {
	padding-top:15px;
}

#olympics .medal {
	display:inline-block;
	float:left;
	width:50px;
	height:50px;
	margin:0 6px 20px 6px;
	background-image:url('../assets/medals.png');
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
}

/* nobel */

#nobel {
	padding:10px 0;
	background-color:#E3E3E3;
	text-align: center;
}

#nobel .chart-body {
	max-width:640px;
	margin:0 auto;
	text-align: center;
	overflow:auto;
	position:relative;
}

#nobel .chart-body>div {
	display:block;
}

#nobel .chart-body p {
	padding-top:15px;
}

#nobel .medal {
	display:inline-block;
	float:left;
	width:50px;
	height:50px;
	margin:0 6px 20px 6px;
	background-image:url('../assets/Nobel_medal.png');
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
}

/* rain */

#rain {
	padding:10px 0;
	background-color:#E3E3E3;
}

#rain img {
	height:250px;
}

#rain .column {
	width:650px;
	margin:0 auto;
	height: 200px
}

#rain .bar-box {
	width:650px;
	height: 80px
}

#rain .bar {
	background-color:#003a7d;
}

#rain .number {
	font-family:'TimesModern-Bold';
	font-size:28px;
	color:#fff;
	z-index:2;
}

/* unemployment */

#unemployment {
	padding:10px 0;
	background-color:#E3E3E3;
}

#unemployment .column {
	width:210px;
	margin:0 auto;
}

#unemployment .bar-box {
	width:140px;
}

#unemployment .bar {
	background-color:#003a7d;
}

#unemployment .number {
	font-family:'TimesModern-Bold';
	font-size:28px;
	color:#fff;
	z-index:2;
}

/* golf clubs */

#golf {
	padding:10px 0;
	background-color:#E3E3E3;
}

#golf img, #golf .golf-copy {
	display:inline-block;
	width:30%;
	padding:10px 0;
}

#golf .golf-copy {
	max-width:220px;
	vertical-align: top;
}

#golf .golf-copy p {
	text-align: justify;
}

.end-credits {
	color:#E3E3E3;
	width:600px;
	margin:0 auto;
	padding:50px 0;
}

.end-credits p {
	color:grey;
	text-align: center;
	margin:0;
	padding:0;
	font-size:18px;
}
