/*****TOOLTIP STYLESHEET*****/
/*****BY: AMIT JAKHU*****/
/*****WWW.AMITJAKHU.COM*****/

/*****FONTS*****/

@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic,700italic|Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300);

/*****DEMO ONLY*****/

::selection {
	color: #fff;
	background: #ea4816;
}

::-moz-selection {
	color: #fff;
	background: #ea4816;
}

* {
	margin: 0;
	padding: 0;
	border: none;
}

body {
	background: #f3f3f3;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 22px;
	font-weight: 400;
	color: #3b3b3b;
	text-align: left;
}

#wrapper {
	background: #fff;
	position: relative;
	width: 500px;
	margin: 150px auto 0 auto;
	border-top: 10px solid #ea4816;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.header, .content, .footer {
	padding: 50px 40px;
}

.header {
	border-bottom: 1px dotted #D6D6D6;
	padding-bottom: 20px;
}

h1 {
	font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
	font-size: 48px;
	line-height: 56px;
	font-weight: 400;
}

.description {
	font-size: 12px;
	color: #888888;
	margin-top: 10px;
}

.footer {
	background: #e5e5e5;
	position: relative;
	font-size: 12px;
	color: #888888;
}

.footer a {
	color: #888888;
	text-decoration: none;
}

.download {
	display: block;
	position: absolute;
	float: right;
	right: 25px;
	bottom: 25px;
	padding: 5px;
	
	font-weight: 700;
	font-size: 11px;
	text-align: right;
	text-decoration: none;
	color: rgba(0,0,0,0.5);
	text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.download:hover {
	color: rgba(0,0,0,0.75);
	text-shadow: 1px 1px 0 rgba(256,256,256,0.5);
}

.download:focus {
	bottom: 24px;
}

/*****END DEMO ONLY*****/


/*****ANIMATIONS*****/

.tooltip {
	transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
}

.tooltip span {
	pointer-events: none;
	opacity: 0;
	filter: alpha(opacity=0);
	bottom: 0;
	
	transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
}

.tooltip:hover span {
	pointer-events: auto;
	opacity: 1;
	filter: alpha(opacity=100);
	bottom: 30px;
}

/*****END ANIMATIONS*****/

/*****TOOLTIP*****/

.tooltip {
	font-weight: 700;
	color: #3b3b3b;
	text-decoration: none;
	
	position: relative;
	display: inline-block;
}

.tooltip:hover {
	color: #ea4816;
}

.tooltip span {
	background: #ea4816;
	font-size: 12px;
	line-height: 18px;
	font-weight: 400;
	color: #fff;
	
	min-width: 150px;
	max-width: 300px;
	padding: 12px 20px;
	left: -50%;
	margin-left: -35px;
	display: block;
	position: absolute;
	z-index: 30;
}

.tooltip:hover span {
	display: block;
}

.tooltip span:before, .tooltip span:after /* Triangle */ {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ea4816;
	z-index: 29;
}

.tooltip span img {
	max-width: 300px; /* Maximum width of image to display. probably don't want any larger or else it will be too distracting. */
	padding: 6px 0;
	clear: right;
}

/*****END TOOLTIP*****/