/*blue #0078c9
orange #ff5e3c		*/

@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);

@font-face {
	font-family: 'icomoon';
	src:url('../images/icons/icomoon.eot');
	src:url('../images/icons/icomoond41d.eot?#iefix') format('embedded-opentype'),
		url('../images/icons/icomoon.svg#icomoon') format('svg'),
		url('../images/icons/icomoon.woff') format('woff'),
		url('../images/icons/icomoon.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

::selection {
	background: #0078c9;
	color: #fff;
}
::-moz-selection {
	background: #0078c9;
	color: #fff;
}


/* 
-------------------------------------
Welcome
-------------------------------------
*/

#welcome {
	text-align: center;
	padding: 12em 0 9em;
	color: #fff;
	width: 100%;
	border-bottom: none;
	background: rgba(0,0,0,0.3);
}

#welcome h1 {
	display: block;
	max-width: 635px;
	margin-left: auto;
	margin-right: auto;
}

#tooltipster {
	width: 100%;
	max-width: 258px;
	margin-bottom: 2em;
}

#browser-support {
	margin-bottom: 2.8em;
}
#browser-support li {
	display: inline-block;
	margin: 0.25em;
	font-size: 0;
	line-height: 0;
}
#browser-support li img {
	height: 42px;
	opacity: 0.5;
}
#browser-support li img:hover {
	opacity: 1;
}

#download {
	font-size: 1.2em;
	line-height: 1.4em;
	width: 100%;
}
#download a.button {
	margin-right: 0.6em;
}
#download a.button:before {
	content: "\64";
	padding-right: 1em;
	font-size: 0.9em;
}


/* 
-------------------------------------
Demos
-------------------------------------
*/

#demos ul {
	display: block;
	width: 100%;
	font-size: 1.4em;
	line-height: 1.4em;
}
#demos li {
	display: block;
	width: 50%;
	font-weight: 400;
	margin-bottom: 1em;
	overflow: hidden;
	padding-top: 1.4em;
	padding-right: 2em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	float: left;
}
#demos span {
	display: block;
	border: 3px solid #ff5e3c;
	border-radius: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 5em;
	height: 5em;
	background: #ff5e3c;
	color: #fff;
	font-size: 0.6em;
	line-height: 1em;
	font-weight: 700;
	padding: 1.8em 0 0 0;
	text-align: center;
	margin: -1.4em 1em 0 0;
	text-transform: uppercase;
	float: left;
}
#demos span:hover {
	background: #fff !important;
	color: #5d6365;
	border: 3px solid #5d6365 !important;
	cursor: pointer;
}


/* 
-------------------------------------
Tooltips
-------------------------------------
*/

#demos span.tooltipster-icon {
	cursor: help;
	margin-left: 4px;
	background: #0078c9;
	border: 3px solid #0078c9;
	width: 2.3em;
	height: 2.3em;
	padding: 0.4em 0 0;
	margin: 2em 0 0 -3em;
}

.tooltipster-default .tooltipster-content {
	font-family: 'Open Sans', sans-serif;
}
.tooltipster-default .tooltipster-content img {
	float: left;
	margin-right: 10px;
	border: 2px solid #000;
}
.tooltipster-default .tooltipster-content p {
	margin: 0;
}
.tooltipster-default .tooltipster-content a {
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.4);
}
.tooltipster-default .tooltipster-content a:hover {
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,1);
}

.tooltipster-blue {
	background: #0078c9;
	color: #fff;
	border-radius: 5px;
}
.tooltipster-blue .tooltipster-content {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 10px;
}

.tooltipster-white {
	background: #fff;
	color: #0078c9;
	border-radius: 5px; 
}
.tooltipster-white .tooltipster-content {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 10px;
}

.tooltipster-pink {
	background: url(../images/pattern-navy.png);
	background-color: #fc5a0a;
	color: #fff; 
	border-radius: 5px;	
	box-shadow: inset -3px -3px 0 #fc5a0a;
}
.tooltipster-pink .tooltipster-content {
	font-family: 'Courier', monospace;
	font-weight: 400;
	font-size: 16px;
	line-height: 16px;
	padding: 15px 18px;
}


/* 
-------------------------------------
Options
-------------------------------------
*/



/* 
-------------------------------------
Themes
-------------------------------------
*/

#themes .themes span {
	display: inline-block;
	padding: 1em;
	margin-right: 1em;
	margin-bottom: 1em;
	opacity: 0.8;
}

.tooltipster-default-preview {
	border-radius: 5px; 
	border: 2px solid #000;
	background: #4c4c4c;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 10px;
	font-weight: 400;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.tooltipster-light-preview {
	border-radius: 5px; 
	border: 1px solid #cccccc;
	background: #ededed;
	color: #666666;
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 10px;
	font-weight: 400;
}

.tooltipster-punk-preview {
	border-radius: 5px;
	border-bottom: 3px solid #f71169;
	background: #2a2a2a;
	color: #fff;
	font-family: 'Courier', monospace;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 10px;
	font-weight: 400;
}

.tooltipster-noir-preview {
	border-radius: 0px;
	border: 3px solid #2c2c2c;
	background: #fff;
	color: #2c2c2c;
	font-family: 'Georgia', serif;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 10px;
	font-weight: 400;
}

.tooltipster-shadow-preview {
	border-radius: 5px;
	background: #fff;
	box-shadow: 0px 0px 14px rgba(0,0,0,0.3);
	color: #2c2c2c;
	font-family: 'Arial', sans-serif;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 10px;
	font-weight: 400;
}


/* 
-------------------------------------
Talk
-------------------------------------
*/

#talk h3 {
	margin-bottom: 1em;
}


/* 
-------------------------------------
Breakpoints
-------------------------------------
*/

@media all and (max-width : 1100px) {
	#tweet, #gplus {
		display: none;
	}
	#demos li {
		width: 100%;
	}
	
}

@media all and (max-width : 920px) {
	#demos ul {
		width: 100%;
		padding: 0;
	}
}

@media all and (max-width : 820px) {
	nav ul {
		display: none;
	}
	#social div {
		padding: 0.5em 0.7em;
	}
	header {
		padding: 0;
	}
	header select {
		display: block;
		float: right;
		margin: 1em 1em;
	}
	section {
		padding: 3em;
	}
	#welcome {
		padding: 7.4em 3em 6em;
	}
	#download span {
		display: block;
		margin-top: 0.5em;
	}
}

@media all and (max-width : 450px) {
	table h4 {
		font-size: 1em;
		line-height: 1em;
	}
	section {
		padding: 2em;
	}
	h2 {
		font-size: 3em;
		line-height: 1.2em;
		margin-bottom: 0.23em;
	}
	h3 {
		font-size: 1.4em;
		line-height: 1.4em;
		margin-bottom: 1.3em;
	}
	h4 {
		font-size: 1.2em;
	}
	pre {
		padding: 1em;
	}
}