@font-face {
font-family: OswaldLight;
src: url(/includes/fonts/Oswald-Light.ttf);
}

@font-face {
font-family: OswaldRegular;
src: url(/includes/fonts/Oswald-Regular.ttf);
}


@font-face {
font-family: OswaldBold;
src: url(/includes/fonts/Oswald-Bold.ttf);
}

/****************** GENERAL STYLES ******************/

html {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	min-height: 100%;
	font-family: Arial, sans serif;
	font-weight: 300;
	font-size: 13pt;
	margin: 0;
	padding: 0 0 0 0;
	background: url("images/debut_dark.png") repeat scroll center top, none repeat scroll 0 0 #ffffff;
	position: relative;
	color: #eee;
	min-width: 640px;
}
body:after {
	content: "";
	display: block;
	height: 600px;
}

a, a:visited {
	color: #ff3f00;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

em {
	font-style: normal;
	font-weight: 400;
	color: #9DBDFF;
}

.tweet {
    background: url("images/bt_tweet_dark.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    left: -85px;
    height: 49px;
    margin-left: -80px;
    outline: 0 none;
    position: absolute;
    top: 10px;
    width: 49px;
	display: none;
	z-index: 999;
}
	.tweet:hover {
    background: url("images/bt_tweet_dark_hover.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);	
	}
	article:hover .tweet {
		display: block;
	}
	article:after {
		content: "";
		width: 400px;
		height: 100px;
		background: transparent;
		position: absolute;
		top: 5px;	
		left: -175px;	
	}

/****************** BANNERS ******************/

.comingsoon2 {
	background: url('/images/GoodUI_DS_comingsoon.png') top right no-repeat;
    /*background: url("images/GoodUI_DS_comingsoon_dark.png") no-repeat scroll right top rgba(0, 0, 0, 0);*/
    height: 330px;
    position: absolute;
	top: 0;
    right: 0;
    width: 200px;
    z-index: 10001;
}

.dsbutton {
	background: url("http://goodui.org/images/goodui_datastories.png") no-repeat scroll center center rgba(0, 0, 0, 0);
	border: medium none;
	display: inline-block;
	height: 75px;
	vertical-align: middle;
	width: 259px;
}
.dsbutton:hover {
	background: url("http://goodui.org/images/goodui_datastories_hover.png") no-repeat scroll center center rgba(0, 0, 0, 0);
	border: medium none;
	display: inline-block;
	height: 75px;
	width: 259px;
}

.banner-datastories {
	background-color: #5E7096;
    border-bottom: 10px solid #9dbdff;
    border-top: 10px solid #9dbdff;
    color: #ffffff;
    padding: 50px 0 50px 0;
	font-size: 25px;
	line-height: 60px;
	margin: 40px 0 0;
	text-align: center;	
	font-family: 'OswaldLight';
}

		.banner-datastories h2 {
			margin:0;
			font-weight: normal !important;
		}

	.banner-moreontheway {
		width: 60%;
		max-width: 800px;	
		margin: 0 auto;
		text-align: left;
		display: block;
		font-family: 'OswaldLight';
		font-weight: 400;
	}

		.banner-moreontheway h2 {
			font-family: "OswaldLight";
			font-size: 42px;
			margin: 0;
			font-weight: 300;
			padding: 0 0 10px 0;
		}

				.banner-moreontheway small {
					font-family: Arial, sans serif;
					font-size: 14px;
					color: #999999;
					display: block;
					padding-bottom: 50px;
				}
				
/****************** PAGE CONTENT ******************/		
		
.header {
	font-family: 'OswaldLight';			
	width: 80%;
	text-align: center;
	margin: 0 auto 40px auto;
	padding:1px; /* prevent collapsed margins */
}

		h1 {
			font-size: 60px;
			font-weight: 400;
			margin-top: 60px;
			margin-bottom: 5px;
			padding: 0;
			font-family: 'OswaldRegular';
		}
		
			h1 > em {
				font-size: 90px;
				font-weight: 400;
				color: white;
				font-family: 'OswaldBold';
			}
			
					h1 > em > em {
						color: #9DBDFF;
					}
			
			.header p {
				font-size: 42px;
				margin: 0 auto;
				max-width: 800px;
				line-height: 70px;
			}
			
					.header p em {
						color: white;
						font-family: "OswaldBold";
					}
			
			.nav {
				padding: 0;
				margin: 20px 0;
			}
			
					.nav li {
						font-family: Arial, sans serif;
						background-color: #333;
						border: 1px solid #444;
						border-radius: 7px;
						color: #ff3f00;;
						display: inline-block;
						font-size: 21px;
						margin: 3px;
						padding: 8px 12px;
						text-align: center;
						cursor: pointer;
					}
			
			.nav .selected {	
				background: #111;
				color: white;
				border-color: #111;
				cursor: default;
			}

					.nav .selected a {
						color: #ffffff;
					}

article {
	width: 60%;
	max-width: 800px;	
	margin: 0 auto;
	padding-bottom: 100px;
	position:relative;
	border-top: 1px solid transparent; /*prevent collapse*/			
}

	article:before {
		content: attr(id);
		position: absolute;
		top: 0;
		left: -90px;
		border-radius: 35px;
		line-height: 70px;
		height: 70px;
		width: 70px;
		text-align: center;
		font-family: 'OswaldBold';
		background: #444;
		font-weight: 700;
		font-size: 35px;
		color: #aaa;
	}

	article .content {
		-webkit-transition: height 1s;
		transition: height 1s;
		height: auto;					
	}

	article.collapsed .content {
		overflow: hidden;
		height: 350px;
		position: relative;
	}
	
	article.collapsed .content:after {
		position: absolute;
		bottom:0;
		content: "";
		width: 100%;
		height: 125px;
		background: -moz-linear-gradient(top,  rgba(51,51,51,0) 0%, rgba(51,51,51,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(51,51,51,0)), color-stop(100%,rgba(51,51,51,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(51,51,51,0) 0%,rgba(51,51,51,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(51,51,51,0) 0%,rgba(51,51,51,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(51,51,51,0) 0%,rgba(51,51,51,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom,  rgba(51,51,51,0) 0%,rgba(51,51,51,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00333333', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
	}
	
	article:last-of-type {
		border-bottom: 0;
	}	

	article h2 {
		font-family: "OswaldLight";
		font-size: 42px;
		line-height: 60px;
		margin: 0;
		font-weight: 300;
	}	
	
			article h2 em {
				font-family: "OswaldBold";
				color: white;
				text-transform: capitalize;
			}
	
	article code {
		font-family: "consolas", "monaco", sans serif;
		font-size: 11pt;
		line-height: 14pt;
		background: #3f3f3f;
		padding: 20px;
		display: block;
		border-radius: 6px;
		color: #afafaf;
	}
	
	article p {
		position: relative;
		line-height: 18pt;	
	}
	
	article .note {
		margin-left: 40px;
	}
	article .note:before {
		font-size: 15px;
		content: "\02713";
		line-height: 30px;
		width: 30px;
		color: #999;
		font-weight: bold;
		display: inline-block;
		background: #222;
		text-align: center;
		border-radius: 15px;
		position: absolute;
		left: -40px;
	}
	
	.draft {
		display: none !important;
	}
	
	.collapsed .more {
		margin-top: 20px;
		font-family: Arial, sans serif;
		background-color: #333;
		border: 1px solid #444;
		border-radius: 7px;
		color: #ff3f00;
		display: block;
		font-size: 13pt;
		padding: 8px 12px;
		text-align: center;
		cursor: pointer;
		text-decoration: none;
		text-align: center;
	}		
	
	.more:hover {	
		background: #444;
	}
	
	.more {
		display: none;
	}
	
footer {
	text-align: center;
	width: 100%;
	background: #3f3f3f;
	position: absolute;
	bottom:0;
	left:0;
	height: 500px;
}

		footer .signup {
			padding-top: 50px;
			background: #333;
			padding-bottom: 35px;
			font: 18px/30px 'OswaldLight';			
		}

				footer .signup > div {
					width: 480px;
					display: inline-block;
					vertical-align: top;	
					text-align: left;
					margin-right: 20px;
				}
				
				footer .signup > div p:last-of-type {
					color: #999;
				}
				
						footer h2 {
							font: 300 38px/38px 'OswaldLight';
							margin: 0 0 10px 0;
							padding: 0;
						}

						footer .signup p {
							font-size: 18px;
							line-height: 30px;
							margin: 0;
						}
						
				footer .signup > form {		
					display: inline-block;
					vertical-align: top;
					padding: 0;			
				}
						
						footer input {
							background-color: #f1f1f1;
							border: 1px solid #cfcfcf;
							border-radius: 5px;
							margin: 3px 0 2px 2px;
							padding: 4px;
							width: 188px;
						}
					
						#fsubmit {
							background: url("http://goodui.org/images/bt_updates_default.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
							border: medium none;
							cursor: pointer;
							height: 46px;
							margin: 0;
							width: 204px;
						}
						#fsubmit:hover {
							background: url("http://goodui.org/images/bt_updates_hover.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
							border: medium none;
							cursor: pointer;
							height: 46px;
							margin: 0;
							width: 204px;
						}						
		
		.banner-vwo {
			font-family: 'OswaldLight';
			font-size: 22px;
			margin: 40px 0;
			display: block;
			text-align: center;
			font-weight: 400;
		}
				.banner-vwo h2 {
					margin:0;
				}
		
				.banner-vwo a {
					background-image: url("https://vwo.com/images/xvwo_logo.png.pagespeed.ic.bFxHB9BeNg.png");
					background-position: center top;
					background-repeat: no-repeat;
					background-size: 92px 32px;
					padding-top: 40px;
					text-decoration: none;
					display: inline-block;
					margin: 0 10px;
				}
				
		.footer-about {
			padding-top: 20px;
			border-top: 1px solid #666;
			font-family: Arial, sans serif;
			width: 75%;
			margin: 0 auto;
			font-size: smaller;
		}
				
				.otherprojects {
				    color: #777777;
					font: 18px/30px 'OswaldLight';
				}
				
				.otherprojects a {
					font: 18px/30px 'OswaldLight';
					background-color: #2f2f2f;
					border-radius: 5px;
					display: inline-block;
					margin: 0 4px;
					padding: 0 10px;
				}
			
@media screen and (max-width: 1280px) {

	.comingsoon2 {
		background-size: cover;
		height: 185px;
		width: 140px;
	}
	
}

@media screen and (max-width: 1024px) {
	article {
		width: 80%;
		left: 5%;
	}
	
			article:before {
				content: attr(id);
				top: 8px;
				left: -70px;
				border-radius: 25px;
				line-height: 50px;
				height: 50px;
				width: 50px;
				font-size: 25px;
			}	
			
	.tweet {
		left: -45px;
	}	
			
			
}

@media screen and (max-width: 800px) {

	.header {
		width: 95%;	
	}

	article {
		width: 95%;
		left: 0;		
	}
	
			article:before {
				content: "Tip " attr(id);
				position: static;
				border-radius: 0;
				line-height: 50px;
				height: 50px;
				width: 100%;
				display: block;
				font-size: 22px;
			}	
			
			article h2 {
				font-size: 36px;
			}
			
	.comingsoon2 {
		display: none;
	}
	
	.tweet, .tweet:hover {
		left: 100px;
		top: 5px;
		display: block !important;
		background-size: 40px 40px;
	}
				
}