/*****SIMPLE SHARE MENU STYLESHEET*****/
/*****BY: AMIT JAKHU*****/
/*****WWW.AMITJAKHU.COM*****/

/*****************
FONTS
*****************/

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,800);


/*****************
ANIMATIONS (optional)
*****************/

/*****EXAMPLE 1*****/

@keyframes slide-down {
	from {top: -30px; opacity: 0;}
	to {top: 0; opacity: 100;}
}

@-moz-keyframes slide-down {
	from {top: -30px; opacity: 0;}
	to {top: 0; opacity: 100;}
}

@-webkit-keyframes slide-down {
	from {top: -30px; opacity: 0;}
	to {top: 0; opacity: 100;}
}

/*****EXAMPLE 2*****/

@keyframes slide-right {
	from {left: -30px; opacity: 0;}
	to {left: 0; opacity: 100;}
}

@-moz-keyframes slide-right {
	from {left: -30px; opacity: 0;}
	to {left: 0; opacity: 100;}
}

@-webkit-keyframes slide-right {
	from {left: -30px; opacity: 0;}
	to {left: 0; opacity: 100;}
}

/*****************
END ANIMATIONS
*****************/


/*****************
EXAMPLE 1
*****************/

#example1 .share {
	position: relative;
	background: #d43e27;
	display: inline-block;
	padding: 11px 25px;
	
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

#example1 .share:hover {
	background: #fff;
	color: #4a4a4a;
}

#example1 .share .button {
	text-decoration: none;
	position: relative;
}

#example1 .share .button span, .share .menu li a, .share .menu .header {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	color: #fff;
}

#example1 .share .menu {
	display: none; /* Hide menu */
	
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100; /* Adjust for visibility over videos, dialogs, etc. */
	
	min-width: 75px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(255,255,255,0.25);
	
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	
	animation: slide-down 0.25s;
	-moz-animation: slide-down 0.25s;
	-webkit-animation: slide-down 0.25s;
	
	transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
}

#example1 .share:hover .menu {
	display: block; /* Show menu */
}

#example1 .share .menu li {
	display: block;
	margin: 0;
	padding: 11px 25px;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

#example1 .share .menu li:last-child {
	border: none;
}

#example1 .share .menu li:hover, .share .menu .header {
	background: rgba(0,0,0,0.025);
}

#example1 .share .menu .header {
	padding: 12px 25px;
	cursor: default;
	white-space: nowrap;
	
	font-size: 12px;
	font-weight: 400;
	text-align: left;
	text-decoration: none;
	color: #999;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
	
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
}

#example1 .share .menu li:last-child {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
}

/*****************
EXAMPLE 2
*****************/

#example2 .share {
	position: relative;
	background: #d43e27;
	display: inline-block;
	padding: 11px 25px;
	list-style: none;
	
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

#example2 .share:hover {
	background: #fff;
	color: #4a4a4a;
}

#example2 .share .button, #example2 .share .share-menu-wrapper .header {
	position: relative;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	color: #fff;
}

#example2 .share .share-menu-wrapper {
	display: none; /* Hide menu */
	
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000; /* Adjust for visibility over videos, dialogs, etc. */
	overflow: hidden;
	
	width: 275px !important; /* Change width if you decide to remove or add more buttons */
	height: 40px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(255,255,255,0.25);
	
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	
	animation: slide-right 0.25s;
	-moz-animation: slide-right 0.25s;
	-webkit-animation: slide-right 0.25s;
	
	transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
}

#example2 .share:hover .share-menu-wrapper {
	display: block; /* Show menu */
}

#example2 .share .share-menu-wrapper .header {
	float: left;
	padding: 12px 25px;
	cursor: default;
	white-space: nowrap;
	background: rgba(0,0,0,0.025);
	border-right: 1px solid rgba(0,0,0,0.1);
	
	font-size: 12px;
	font-weight: 400;
	text-align: left;
	text-decoration: none;
	color: #999;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
	
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomleft: 8px;
}

#example2 .share .share-menu-buttons {
	display: block;
}

#example2 .share .share-button-wrapper {
	float: left;
	margin: 0;
	padding: 0;
	border-right: 1px solid rgba(0,0,0,0.1);
	display: block;
}

#example2 .share .share-button-wrapper:last-child {
	border: none;
}

#example2 .share .share-button-inner {
	position: relative;
	width: 40px;
	height: 40px;
	overflow: hidden;
	padding: 11px 8px;
	display: block;
	
	transition: width 0.25s ease-in-out;
	-moz-transition: width 0.25s ease-in-out;
	-webkit-transition: width 0.25s ease-in-out;
}

#example2 .share .share-button-wrapper:last-child {
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-radius-topright: 8px;
	-moz-border-radius-bottomright: 8px;
}

#example2 .share .icon {
	position: relative;
	text-align: center;
	display: block;
	z-index: 1;
}

#example2 .share .icon img {
	width: 21px;
	height: 21px;
	opacity: 0.5;
}

#example2 .share .widget {
	position: relative;
	overflow: hidden;
	margin-top: 50px;
	display: block;
	z-index: 2;
}

#example2 .share .share-button-wrapper:hover .share-button-inner {
	width: 60px;
}

#example2 .share .share-button-wrapper:hover .icon {
	display: none;
}

#example2 .share .share-button-wrapper:hover .widget {
	margin: 0;
}

/* Facebook */
#example2 .share .facebook .widget,#example2 .share .facebook:hover .share-button-inner {
	width: 45px;
}

/* Twitter */
#example2 .share .twitter .widget, #example2 .share .twitter:hover .share-button-inner {
	width: 60px;
}

/* Google Plus */
#example2 .share .google-plus .widget, #example2 .share .google-plus:hover .share-button-inner {
	width: 35px;
}

/*****************
DEMO ONLY
*****************/

* {
	margin: 0;
	padding: 0;
	border: none;
}

body {
	background: rgba(0,0,0,0.025);
}

#wrapper, #footer {
	width: 800px;
	margin: 100px auto;
	position: relative;
	clear: both;
}

h1, h4, #footer {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 400;
	text-align: left;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
}

h1 {
	font-size: 48px;
	color: #4a4a4a;
	margin-bottom: 75px;
}

h4 {
	font-size: 12px;
	color: rgba(0,0,0,0.75);
	margin-bottom: 25px;
}

#example1, #example2 {
	float: left;
	margin-right: 150px;
}

#footer {
	padding-top: 200px;
	font-size: 12px;
	color: rgba(0,0,0,0.6);
}

.download {
	display: block;
	position: fixed;
	float: right;
	right: 25px;
	bottom: 25px;
	padding: 5px;
	
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	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;
}