/**
 * Smiley project CSS 
 */

/* generic emoji styles */
.wp-emoji, .wp-emoji:before {
	display: inline-block !important; /* shouldn't have been necessary, but some themes set this to static */
}

.wp-emoji {
	position: relative !important; /* shouldn't have been necessary, but some themes set this to static */
	vertical-align: bottom;

	/* this will be a line-height tall wrapper for vertically centering the smiley */
	width: 1.375em;
	overflow: hidden;
	white-space: nowrap;	
	text-indent: 9999px;
	min-height: 1.2em; /* for really small lineheights */
}

/* Firefox does weird things with text-indent and selection */
@-moz-document url-prefix() { 
	.wp-emoji {
		text-indent: 0;
		text-align: center;
		color: rgba(255,255,255,0);
		overflow: visible;
	}
}

/* @noflip */
.wp-emoji:before {
	/* vertically center the smiley */
	position: absolute;
	content: "";
	
	/* height/width for IE, Firefox and non-webkit browsers */
	height: 1.25em;
	width: 1.375em;
	margin-top: -0.625em; /* minus half the height of the smiley */

	left: 0;
	top: 50%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}

/* WebKit specific hacks */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	.wp-emoji {
		width: 1.35em;
	}
    .wp-emoji:before {
		height: 1.4em;
		width: 1.35em;
		margin-top: -0.7em; /* minus half the height of the smiley */
    }
}

/* IE specific hacks */
@media screen and (min-width:0\0) {
	.wp-emoji {
		height: 1.2em;
		width: 1.38em;
	}
    .wp-emoji:before {
		width: 1.38em;
    }
}

/* individual smileys */
	/* PNGs are for IE8 fallbacks. Let's remove them some day please */
.wp-emoji-smile:before {
	background-image: url(348ce45ee881bae125737b9059a5d0bb4d295d54.png) ;
	background-image: url(6fa438858cf5a02ee05c46474268dfba54f21a65.svg) , none;
}

.wp-emoji-wink:before {
	background-image: url(b09491b227e0196039e428ad2163029ef6b0a36f.png) ;
	background-image: url(89da80250ae22442be224e39c4700cd02d2ef701.svg) , none;
}

.wp-emoji-bigsmile:before {
	background-image: url(cd830b7c96622f12a9fcbecf08297d97285fac62.png) ;
	background-image: url(506ba237fe38bae3911eca9cf502152633efaf55.svg) , none;
}

.wp-emoji-heart:before {
	background-image: url(faf62e261df41702654fc406a2f0de66213fcc36.png) ;
	background-image: url(6b94dc5bdb4c99ed506a25953af901594949367d.svg) , none;
}

.wp-emoji-neutral:before {
	background-image: url(c197aed0f633d278d7d6bdff708fa8c548b6c3a2.png) ;
	background-image: url(2652f8e3f973e4d5ad6a10856a1f9560869eab16.svg) , none;
}

.wp-emoji-uneasy:before {
	background-image: url(db9d86ab82dec0d34364d0251afde793bb185233.png) ;
	background-image: url(3bda8b2bc1df514a49fcfc90c5a083b858b2dcc4.svg) , none;
}

.wp-emoji-lol:before {
	background-image: url(f007fcdf59d565c68fe93159ae7c6358e7f9c086.png) ;
	background-image: url(411a579638a59111354d874124539b4f9683a7b7.svg) , none;
}

.wp-emoji-sad:before {
	background-image: url(21e25cf5a2690bb2f959f4ebc7226eb7ce814a70.png) ;
	background-image: url(5858879f94b41a1294f0c2ea989d13430a781573.svg) , none;
}

.wp-emoji-cry:before {
	background-image: url(72fd1f6680b954368577ab95dfdbed01bff71d34.png) ;
	background-image: url(2e378747e31e29f4cefa44721ef4d25b6fc4a2a5.svg) , none;
}

.wp-emoji-evilgrin:before {
	background-image: url(7f7b3549662358800020193ebc0987cbf971eef8.png) ;
	background-image: url(f45bf9d5ac4aeaa740c6a90fa300d4f8fa9c2780.svg) , none;
}

.wp-emoji-twisted:before {
	background-image: url(64d0259276ce3d24663ae6574f480afe7fb6f592.png) ;
	background-image: url(dbd3a0eb4f51077ad4e96c1de3aab09c5d5e2132.svg) , none;
}

.wp-emoji-evil:before {
	background-image: url(c58a1acfff9872e428bfb4414ccd9f8d6ee33647.png) ;
	background-image: url(3ab3d085e2e16a49a2444d73d4b5cbfd0d94376a.svg) , none;
}

.wp-emoji-surprised:before {
	background-image: url(ca0a1d241fa7c2b75e12f2a7d765d7c978d33b92.png) ;
	background-image: url(8b941f3b50b381cb1297390b085bd1a4a8b5ba24.svg) , none;
}

.wp-emoji-tongue:before {
	background-image: url(2ae2cd828d57ed6eb23213a3c338a0bcfc83dbd4.png) ;
	background-image: url(d2b24a2645b0fb5f9722920fe127e6a8aea15e7f.svg) , none;
}

.wp-emoji-angry:before {
	background-image: url(a24446bd6221deffdbc17ae996e9061406db0615.png) ;
	background-image: url(599dff20a3fec78db3d1264497610d25aa97ed71.svg) , none;
}

.wp-emoji-burrito:before {
	background-image: url(929bab315c4c9e2668577557ac33926b2aed63d7.png) ;
	background-image: url(d22c4ee3131e9fa5319fa9024833d905e76356d0.svg) , none;
}
.wp-emoji-burrito, .wp-emoji-burrito:before {
	width: 1.6em;
}

.wp-emoji-wordpress:before {
	background-image: url(d78f1b33aa0121436ea4ffe0256985b1ba1b01cd.png) ;
	background-image: url(ada07c579db97525aa489ef0169edd9b5ef5e4d6.svg) , none;
}

.wp-emoji-mindblown:before {
	background-image: url(911ea02b339963f0463db3b592102823c119695e.png) ;
	background-image: url(e5514e5450c9f135b00a4f24103cc2f4b346310b.svg) , none;
}

.wp-emoji-mindblown-alt:before {
	background-image: url(c367aa1f48db1c7bc9cbdf739ac654bbf659af3d.png) ;
	background-image: url(ff143699eb93857423fbc7d47539206005978172.svg) , none;
}

.wp-emoji-martini:before {
	background-image: url(89407e9c15d535b83ba10e4e0df12d9abb0d85c7.png) ;
	background-image: url(2dfaed743f9ed2fbb466450a9299b52abc5ea69a.svg) , none;
}

.wp-emoji-whiterussian:before {
	background-image: url(68b646b9cc1642796097b1d10d2c879e4b3f0e5f.png) ;
	background-image: url(f8b8db7301f1bae8e7062ec182de9cf23e155dd2.svg) , none;
}

.wp-emoji-star:before {
	background-image: url(617d662b890047966562c45447da1051720918c8.png) ;
	background-image: url(186500a318974d49a8f98a7c0b42f77770cf9dbc.svg) , none;
}

.wp-emoji-developer:before {
	background-image: url(2b5541e584dbac732c923856f2ac620f16766a18.png) ;
	background-image: url(396316d9a04a2aeb9f86954d23f518e1391bdf6d.svg) , none;
}
.wp-emoji-developer, .wp-emoji-developer:before {
	width: 1.5em;
}

.wp-emoji-facepalm:before {
	background-image: url(04742fa893a1abef065e6193aa8b5a74f4e7be89.png) ;
	background-image: url(d1ddcfc453471cd288aad885906cd0ba1c193680.svg) , none;
}
.wp-emoji-facepalm, .wp-emoji-facepalm:before {
	width: 1.4em;
}

.wp-emoji-bear:before {
	background-image: url(de43c1ccf05fb0d94da4e7afb058be536d2b5494.png) ;
	background-image: url(35bcdfbfc69dab274f5ab94c5b559dae0f4dbd4c.svg) , none;
}

.wp-emoji-mrgreen:before {
	background-image: url(56e6173fa5935fe113b017c542d5dc266bb483a1.png) ;
	background-image: url(2649dc43893af93cb00d8edfca09b8600a4cab9b.svg) , none;
}

.wp-emoji-arrow:before {
	background-image: url(7dc085f75a242e50eb29d7da4d955afe97232b46.png) ;
	background-image: url(0c97a17ae77e2b2f1ff9adcaef2e8803b0f59d2f.svg) , none;
}

.wp-emoji-confused:before {
	background-image: url(9a15a2fe2f3e9a82afcefced9369508821c76f07.png) ;
	background-image: url(3d7099fb4711ef0649c502b38672f39faca15ffd.svg) , none;
}

.wp-emoji-cool:before {
	background-image: url(86636fc3ce95bd6d15423a6f580e918645cc8476.png) ;
	background-image: url(63b0bda7416a26e3ab970833012911c499b3730c.svg) , none;
}

.wp-emoji-idea:before {
	background-image: url(4296e9907b297fd232f75b45282a9f3714a4d752.png) ;
	background-image: url(25376beed163a2db150c18d4d78ebc10ffda68ec.svg) , none;
}

.wp-emoji-blush:before {
	background-image: url(6b69b09e5b6d68f6dd833724e17a1a67855c1be4.png) ;
	background-image: url(a959f73775d33f4400306a8f7e05561c803cbc9b.svg) , none;
}

.wp-emoji-oops:before {
	background-image: url(aa6f5e88e28928efaba6a122f9b74d6bbee89d9d.png) ;
	background-image: url(b9da09864c869eff504c698df18932f2899c4df1.svg) , none;
}

.wp-emoji-rolleyes:before {
	background-image: url(dc6b6762f80bbda9ef03af61f7faf896f8016b97.png) ;
	background-image: url(a5622709cd05f88ffc54f9c5b125db6b8d9adcd6.svg) , none;
}

.wp-emoji-exclaim:before {
	background-image: url(9909aad9a2bdf22935b0d431291d74820355a6a1.png) ;
	background-image: url(72e1b2b3bf89e235324a42d5d95dbf55aac73eb4.svg) , none;
}

.wp-emoji-question:before {
	background-image: url(4531f7b7a31d8942beb647b76b4f7f438b87d471.png) ;
	background-image: url(14dcaf4a8e46f3ca3f72b813783e62c1f864d744.svg) , none;
}

.wp-emoji-kitten:before {
	background-image: url(5282e154193b6798924a507175a0697a2381e222.png) ;
	background-image: url(38b2a3d4c1771a3a773cbab7080c164f16c6ead9.svg) , none;
}

.wp-emoji-momface:before {
	background-image: url(f967a7918224c4418bad53dbff05d12a70c73c4f.png) ;
	background-image: url(92dc3290b2f6bffdecf2bc9b1e7c10ea3c78aca7.svg) , none;
}


/* to enable text-selection of smileys in Firefox, we can't use text-indent or overflow to hide the text, so letterspace it instead */
@-moz-document url-prefix() { 
	.wp-emoji-rolleyes {
		letter-spacing: -.2em;
	}

	.wp-emoji-oops, .wp-emoji-idea, .wp-emoji-confused {
		letter-spacing: -.25em;
	}

	.wp-emoji-burrito, .wp-emoji-arrow, .wp-emoji-bear, .wp-emoji-star {
		letter-spacing: -.3em;
	}

	.wp-emoji-developer, .wp-emoji-mrgreen, .wp-emoji-facepalm {
		letter-spacing: -.35em;
	}

}




/**
 * Like Button toolbar button, loading text & container styles
 *
 * @todo: doesn't look like "style.css" is used anymore.
 */


/* Master container */
#jp-post-flair {
	padding-top: .5em;
}

/* Overall Sharedaddy block title */
div.sharedaddy,
#content div.sharedaddy,
#main div.sharedaddy {
	clear: both;
}

div.sharedaddy h3.sd-title {
	margin: 0 0 1em 0;
	display: inline-block;
	line-height: 1.2;
	font-size: 9pt;
	font-weight: bold;
}

div.sharedaddy h3.sd-title:before {
	content: "";
	display: block;
	width: 100%;
	min-width: 30px;
	border-top: 1px solid #ddd;
	margin-bottom: 1em;
}


/* Toolbar */
#wpadminbar li#wp-admin-bar-admin-bar-likes-widget {
	width: 61px;
	overflow: hidden;
}

#wpadminbar iframe.admin-bar-likes-widget {
	width: 61px;
	height: 28px;
	min-height: 28px;
	border-width: 0px;
	position: absolute;
	top: 0;
}

div.jetpack-likes-widget-wrapper {
	width: 100%;
	min-height: 50px;	/* Previous height, 60px */
	position: relative; /* Need to abs position placeholder and iframe so there isn't a jarring jump */
}

div.jetpack-likes-widget-wrapper .sd-link-color {
	font-size: 12px;
}

div.jetpack-likes-widget-wrapper.slim-likes-widget {
	width: 1px; /* initial default */
	min-height: 0;
}

#likes-other-gravatars {
	display: none;
	position: absolute;
	padding: 10px;
	background-color: #000;
	border-width: 0;
	opacity: 0.88;
	filter: alpha(opacity=88);
	box-shadow: 0 0 10px black;
	min-width: 130px;
	z-index: 1000;
}

#likes-other-gravatars * {
	line-height: normal;
}

#likes-other-gravatars .likes-text {
	color: white;
	font-size: 14px;
	padding-bottom: 5px;
}

#likes-other-gravatars ul,
#likes-other-gravatars li {
	margin: 0;
	padding: 0;
	text-indent: 0;
	list-style-type: none;
}

#likes-other-gravatars li::before {
	content: "";
}

#likes-other-gravatars ul.wpl-avatars {
	overflow: auto;
	display: block;
	position: absolute;
	max-height: 190px;
}

#likes-other-gravatars ul.wpl-avatars li {
	width: 32px;
	height: 32px;
	float: left;
	margin: 0 5px 5px 0;
}

#likes-other-gravatars ul.wpl-avatars li a {
	margin: 0 2px 0 0;
	border-bottom: none !important;
	display: block;
}

#likes-other-gravatars ul.wpl-avatars li a img {
	background: none;
	border: none;
	margin: 0 !important;
	padding: 0 !important;
	position: static;
}

div.sd-box {
	border-top: 1px solid #ddd;
	border-top: 1px solid rgba(0,0,0,.13);
}

.entry-content .post-likes-widget, .post-likes-widget,
.comment-likes-widget {
	margin: 0;
	border-width: 0;
	display: block;
}


/* Loading text */
.post-likes-widget-placeholder {
	margin: 0;
	border-width: 0;
	position: relative;
}

.post-likes-widget-placeholder .button {
	display: none;	/* Let's not show a dummy like button, let's just make a great button experience once it's loaded */
}

.post-likes-widget-placeholder .button span {
}

.post-likes-widget-placeholder .loading {
	color: #999;
	font-size: 12px;
}

.slim-likes-widget .post-likes-widget {
	width: auto;
	float: none;
}


/* Like Special cases (display on it's own) */
div.sharedaddy.sd-like-enabled .sd-like h3 {
	display: none;
}

div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget {
	width: 100%;
	float: none;
	position: absolute; /* Need to abs position placeholder and iframe so there isn't a jarring jump */
	top: 0;
}

.comment-likes-widget {
	width: 100%;
}


/* Make ratings block. @todo: make !important unnecessary by removing inline style */
.pd-rating {
	display: block !important;
}


/* Hide G+ title */
.sd-gplus .sd-title {
	display: none;
}
/**
 * Add text colors to the playlist shortcode light color scheme.
 * 
 * Core ticket: https://core.trac.wordpress.org/ticket/27562
 */

.wp-playlist-light {
	color: #000;
}

.wp-playlist-light .wp-playlist-item {
	color: #333;
}

.wp-playlist-light .wp-playlist-playing {
	background: #fff;
	color: #000;
}

.wp-playlist-dark .wp-playlist-item .wp-playlist-caption {
	color: #fff;
}

.wp-playlist-caption {
	display: block;
}/**
 * MP6 hacks, CSS that's either WPCOM specific or otherwise not suitably for MP6 proper
 */


/* Replace Omnisearch PNG search icon with a dashicon */
#wpadminbar div.ab-item form#adminbarsearch input.adminbar-search-input {
	background-image: none;
	position: relative;
	z-index: 30;
}


/* Show globe icon next to blog */
#wpadminbar #wp-admin-bar-blog > .ab-item:before {
	position: relative;
	top: 2px;
	content: '\f319';
}

/* If a blavatar is present, move it left to cover the globe */
#wpadminbar #wp-admin-bar-blog > .ab-item {
	position: relative;
}
#wpadminbar #wp-admin-bar-blog > .ab-item img.avatar {
	position: absolute;
	z-index: 1;
	left: 10px;
	top: 10px;
}

/* @noflip */
#wpadminbar.rtl #wp-admin-bar-blog > .ab-item img.avatar {
	right: 12px;
}

/* Fix omnisearch lineheight */
#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary input.adminbar-search-input.search-input-focus {
	border: none;
	text-shadow: none;
	box-shadow: none;
	line-height: 1;
	background: #ccc;
	background: rgba(255,255,255,.7);
}

/* Invert stats sparkline on light theme */
body.admin-color-mp6-light li#wp-admin-bar-stats img {
	filter: invert(100%);
	-webkit-filter: invert(100%);
}

/* Override white color on blog title */
body.admin-color-mp6-light #wpadminbar ul li#wp-admin-bar-blog > .ab-item {
	color: #333;
}

/* Updated message fixes */
body.admin-color-mp6-light #wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary span.noticon {
	color: #eee;
}

div.updated p,
div.error p {
	position: relative;
}

div.updated .noticon-close,
div.error .noticon-close {
	font-size: 28px;

	height: 28px;
	width: 28px;

	position: absolute;
	right: 0;
	top: -1px;
}

/* Fix taller MP6 v2 toolbar. Merge this into mu-plugins/wpcom-admin-bar.css after MP6 v2 launch */
@media screen and ( max-width: 782px ) {

	.mp6 #wpadminbar li#wp-admin-bar-follow > a,
	.mp6 #wpadminbar li#wp-admin-bar-blog > a,
	.mp6 #wpadminbar li#wp-admin-bar-topicpress > a,
	.mp6 #wpadminbar li#wp-admin-bar-wpr-reblog > a,
	/* These next lines are necessary for when users opt out to the responsive styles */
	.mp6 #wpadminbar li#wp-admin-bar-dbg > div,			
	.mp6 #wpadminbar li#wp-admin-bar-my-account > a
	{
		line-height: 46px !important;
	}
	
	/* Notes only shown when users opt out to the responsive styles */
	body.mp6 #wpadminbar #wp-admin-bar-notes #wpnt-notes-unread-count {
		margin: 13px 3px 0 3px !important;
	}

	.mp6 #wpadminbar li#wp-admin-bar-blog > a.ab-item:before {
		top: 13px;
	}
	
	#wpadminbar #wp-admin-bar-blog > .ab-item img.avatar {
		top: 17px;
	}

}

/* Fix toolbar hover color temporarily. Post launch, remove from /wp-content/mu-plugins/admin-bar/wpcom-admin-bar.css */
.admin-color-mp6 #wpadminbar ul li#wp-admin-bar-blog.hover > .ab-item, .mp6 #wpadminbar ul li#wp-admin-bar-blog.hover > .ab-item, .admin-color-mp6 #wpadminbar .quicklinks #wp-admin-bar-my-account-with-avatar.hover .ab-display-name, .mp6 #wpadminbar .quicklinks #wp-admin-bar-my-account-with-avatar.hover .ab-display-name, .admin-color-mp6 #wpadminbar .quicklinks #wp-admin-bar-my-account-no-avatar.hover .ab-display-name, .mp6 #wpadminbar .quicklinks #wp-admin-bar-my-account-no-avatar.hover .ab-display-name, .admin-color-mp6 #wpadminbar .quicklinks #wp-admin-bar-my-account.hover .ab-display-name, .mp6 #wpadminbar .quicklinks #wp-admin-bar-my-account.hover .ab-display-name {
	color: inherit !important;
}

/* add style for reader link in /wp-admin/ leftbar */

/* Reader icon in left-bar */
.icon16.icon-reader:before,
#adminmenu .menu-icon-reader div.wp-menu-image:before,
ul#adminmenu .toplevel_page_reader div.wp-menu-image:before{
     content: '\f116';
}

/* Fix dashicons priority so Japanese users can use the toolbar. Should long term be fixed in whatever plugin that forces all fonts to be Arial */
i.mce-i-bold, i.mce-i-italic, i.mce-i-bullist, i.mce-i-numlist, i.mce-i-blockquote, i.mce-i-alignleft, i.mce-i-aligncenter, i.mce-i-alignright, i.mce-i-link, i.mce-i-unlink, i.mce-i-wp_more, i.mce-i-strikethrough, i.mce-i-spellchecker, i.mce-i-fullscreen, i.mce-i-wp_fullscreen, i.mce-i-wp_adv, i.mce-i-underline, i.mce-i-alignjustify, i.mce-i-forecolor, i.mce-i-pastetext, i.mce-i-pasteword, i.mce-i-removeformat, i.mce-i-charmap, i.mce-i-outdent, i.mce-i-indent, i.mce-i-undo, i.mce-i-redo, i.mce-i-help, i.mce-i-wp_help, i.mce-i-wp-media-library, i.mce-i-ltr, i.mce-i-wp_page, .mce-close {
	font: normal 20px/1 'dashicons' !important;
}

.dashicons, .dashicons-before:before {
	font-family: dashicons !important;
}

.noticon {
	font-family: "Noticons" !important;
}
