/*
Plugin Name: Juiz Social Post Sharer
Plugin URI: http://creativejuiz.fr
Author: Tony Trancard, Geoffrey Crofte
Version: Styles v5 (Design and CSS by Tony Trancard - tonytrancard.fr)
*/

/* Colors */
.juiz_sps_links {
	--neutral: #333C45;
	--neutraldark: #1A1C1E;

	--twitter: #1DA1F2;
	--twitterdark: #005FD1;

	--twitter: #222;
	--twitterdark: #000;

	--linkedin: #0A66C2;
	--linkedindark: #004183;

	--facebook: #1778F2;
	--facebookdark: #385898;

	--viadeo: #F07355;
	--viadeodark: #D64928;

	--weibo: #D52A2C;
	--weibodark: #AD1719;

	--pinterest: #E60023;
	--pinterestdark: #AE0719;

	--vk: #4680C2;
	--vkdark: #304186;

	--tumblr: #001935;
	--tumblrdark: #020C16;

	--reddit: #FF4500;
	--redditdark: #CF4816;

	--diigo: #368BFF;
	--diigodark: #256ED2;

	--evernote: #00A82D;
	--evernotedark: #0D862E;

	--pocket: #EF4056;
	--pocketdark: #CB3F50;

	--mix: #FF8126;
	--mixdark: #DE201D;

	--whatsapp: #128C7E;
	--whatsappdark: #075E54;

	--shareapi: #5250B1;
	--shareapidark: #3C3B69;
}

@font-face{
	font-family: 'jsps-icons';
	src: url('../common/fonts/jsps.woff2?233') format('woff2'),
	     url('../common/fonts/jsps.woff?233') format('woff'),
		 url('../common/fonts/jsps.ttf?233') format('truetype'),
		 url('../common/fonts/jsps.svg?233') format('svg');
	font-weight: normal;
	font-style: normal;
}

.juiz_sps_icon {
	font-family: 'jsps-icons'!important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 26px;
}

.jsps-bookmark:before {
  content: "\e900";
}
.jsps-diigo:before {
  content: "\e901";
}
.jsps-evernote:before {
  content: "\e902";
}
.jsps-facebook:before {
  content: "\e903";
}
.jsps-linkedin:before {
  content: "\e904";
}
.jsps-mail:before {
  content: "\e905";
}
.jsps-mix:before {
  content: "\e906";
}
.jsps-pinterest:before {
  content: "\e907";
}
.jsps-pocket:before {
  content: "\e908";
}
.jsps-print:before {
  content: "\e909";
}
.jsps-reddit:before {
  content: "\e90a";
}
.jsps-share:before,
.jsps-shareapi:before {
  content: "\e90b";
}
.jsps-tumblr:before {
  content: "\e90c";
}
.jsps-twitter-old:before {
  content: "\e90d";
}
.jsps-viadeo:before {
  content: "\e90e";
}
.jsps-vk:before {
  content: "\e90f";
}
.jsps-weibo:before {
  content: "\e910";
}
.jsps-whatsapp:before {
  content: "\e911";
}
.jsps-instagram:before {
	content: "\e913";
}
.jsps-buffer:before {
	content: "\e912";
}
.jsps-tiktok:before {
	content: "\e914";
}
.jsps-twitter:before {
	/* X now */
	content: "\e915";
}

.juiz_sps_links {
	word-wrap: normal!important;
	clear: both;
	margin: 1em 0;
}

.juiz_sps_maybe_hidden_text {
	position: absolute;
	left: -9999px;
	text-indent: -9999px;
}

[dir="rtl"] .juiz_sps_maybe_hidden_text {
	position: absolute;
	right: -9999em;
}

.juiz_sps_links .juiz_sps_links_list,
.juiz_sps_links .juiz_sps_item  { 
	padding: 0!important;
	margin: 0!important;
	list-style: none!important;
}

.juiz_sps_links .juiz_sps_item,
.juiz_sps_links .juiz_sps_item .juiz_sps_button,
.juiz_sps_links .juiz_sps_item .juiz_sps_button .juiz_sps_network_name { 
	display: inline-block;
	vertical-align: middle;
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button { 
	padding: 6px 15px 8px 10px;
	margin: 3px 5px 0 0;
	border: 1px solid var(--jsps-custom-hover-color, var(--neutraldark));
	color: #fff;
	text-decoration: none;
	font-size: .785em;
	font-weight: bold;
	text-shadow: 1px 1px 1px rgba(0,0,0,.35);
    background-image: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,255,255,.26) 100%);
    background-color: var(--jsps-custom-color, var(--neutral));
	box-shadow: 0 1px 1px rgba(0,0,0,.19), inset 0 0 5px rgba(255,255,255,.38);
	border-radius: 4px;
	background-clip: padding-box;
	transition: background .275s;
	font-family: inherit;
	text-transform: inherit;
	line-height: 1.55;
}

.juiz_sps_links .juiz_sps_item:last-child .juiz_sps_button {
	margin-right: 0;
}

.juiz_sps_links .juiz_sps_icon {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	vertical-align: middle;
	margin-right: 0.25em;
	width: 1em;
	height: 1em;
}

.juiz_sps_links .juiz_sps_icon svg {
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	filter: drop-shadow(1px 1px 1px rgba(0,0,0,.35));
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_item .juiz_sps_button:focus {
	color: #FFF!important;
	border: 1px solid var(--jsps-custom-hover-color, var(--neutraldark));
	background-color: var(--jsps-custom-hover-color, var(--neutraldark));
}

.juiz_sps_links .juiz_sps_link_twitter .juiz_sps_button {
	border: 1px solid var(--twitterdark);
	background-color: var(--twitter);
}

.juiz_sps_links .juiz_sps_link_twitter .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_twitter .juiz_sps_button:focus { 
	background-color: var(--twitterdark);
}

.juiz_sps_links .juiz_sps_link_whatsapp .juiz_sps_button {
	border: 1px solid var(--whatsappdark);
	background-color: var(--whatsapp);
}

.juiz_sps_links .juiz_sps_link_whatsapp .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_whatsapp .juiz_sps_button:focus { 
	background-color: var(--whatsappdark);
}

.juiz_sps_links .juiz_sps_link_facebook .juiz_sps_button {
	border: 1px solid var(--facebookdark);
	background-color: var(--facebook);
}

.juiz_sps_links .juiz_sps_link_facebook .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_facebook .juiz_sps_button:focus { 
	background-color: var(--facebookdark);
}

.juiz_sps_links .juiz_sps_link_pinterest .juiz_sps_button {
	border: 1px solid var(--pinterestdark);
	background-color: var(--pinterest);
}

.juiz_sps_links .juiz_sps_link_pinterest .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_pinterest .juiz_sps_button:focus { 
	background-color: var(--pinterestdark);
}

.juiz_sps_links .juiz_sps_link_viadeo .juiz_sps_button {
	border: 1px solid var(--viadeodark);
	background-color: var(--viadeo);
}

.juiz_sps_links .juiz_sps_link_viadeo .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_viadeo .juiz_sps_button:focus { 
	background-color: var(--viadeodark);
}

.juiz_sps_links .juiz_sps_link_diigo .juiz_sps_button {
	border: 1px solid var(--diigodark);
	background-color: var(--diigo);
}

.juiz_sps_links .juiz_sps_link_diigo .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_diigo .juiz_sps_button:focus { 
	background-color: var(--diigodark);
}

.juiz_sps_links .juiz_sps_link_linkedin .juiz_sps_button {
	border: 1px solid var(--linkedindark);
	background-color: var(--linkedin);
}

.juiz_sps_links .juiz_sps_link_linkedin .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_linkedin .juiz_sps_button:focus { 
	background-color: var(--linkedindark);
}

.juiz_sps_links .juiz_sps_link_mix .juiz_sps_button {
	border: 1px solid var(--mixdark);
	background-color: var(--mix);
}

.juiz_sps_links .juiz_sps_link_mix .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_mix .juiz_sps_button:focus { 
	background-color: var(--mixdark);
}

.juiz_sps_links .juiz_sps_link_tumblr .juiz_sps_button {
	border: 1px solid var(--tumblrdark);
	background-color: var(--tumblr);
}
.juiz_sps_links .juiz_sps_link_tumblr .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_tumblr .juiz_sps_button:focus { 
	background-color: var(--tumblrdark);
}

.juiz_sps_links .juiz_sps_link_reddit .juiz_sps_button {
	border: 1px solid var(--redditdark);
	background-color: var(--reddit);
}

.juiz_sps_links .juiz_sps_link_reddit .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_reddit .juiz_sps_button:focus { 
	background-color: var(--redditdark);
}

.juiz_sps_links .juiz_sps_link_pocket .juiz_sps_button {
	border: 1px solid var(--pocketdark);
	background-color: var(--pocket);
}

.juiz_sps_links .juiz_sps_link_pocket .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_pocket .juiz_sps_button:focus { 
	background-color: var(--pocketdark);
}

.juiz_sps_links .juiz_sps_link_weibo .juiz_sps_button {
	border: 1px solid var(--weibodark);
	background-color: var(--weibo);
}

.juiz_sps_links .juiz_sps_link_weibo .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_weibo .juiz_sps_button:focus { 
	background-color: var(--weibodark);
}

.juiz_sps_links .juiz_sps_link_shareapi .juiz_sps_button {
	border: 1px solid var(--shareapidark);
	background-color: var(--shareapi);
}

.juiz_sps_links .juiz_sps_link_shareapi .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_shareapi .juiz_sps_button:focus { 
	background-color: var(--shareapidark);
}

.juiz_sps_links .juiz_sps_link_vk .juiz_sps_button {
	border: 1px solid var(--vkdark);
	background-color: var(--vk);
}

.juiz_sps_links .juiz_sps_link_vk .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_vk .juiz_sps_button:focus { 
	background-color: var(--vkdark);
}

.juiz_sps_links .juiz_sps_link_evernote .juiz_sps_button {
	border: 1px solid var(--evernotedark);
	background-color: var(--evernote);
}

.juiz_sps_links .juiz_sps_link_evernote .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_evernote .juiz_sps_button:focus { 
	background-color: var(--evernotedark);
}

/**
 * Special if names are hidden
 */
.juiz_sps_hide_name .juiz_sps_item .juiz_sps_button {
	padding: 2px 10px;
}

.juiz_sps_hide_name .juiz_sps_button .juiz_sps_network_name {
	max-width:0;
	white-space: nowrap!important;
	overflow: hidden;
}

.juiz_sps_hide_name .juiz_sps_button .juiz_sps_network_name {
	-webkit-transition: max-width .4s;
	transition: max-width .4s;
}

.juiz_sps_hide_name .juiz_sps_button .juiz_sps_icon {
	margin-right: 0;
	-webkit-transition: margin .4s;
	transition: margin .4s;
}

.juiz_sps_hide_name .juiz_sps_button:hover .juiz_sps_network_name,
.juiz_sps_hide_name .juiz_sps_button:focus .juiz_sps_network_name {
	max-width: 80px;
}

.juiz_sps_hide_name .juiz_sps_button:hover .juiz_sps_icon,
.juiz_sps_hide_name .juiz_sps_button:focus .juiz_sps_icon {
	margin-right: 5px;
	margin-left: 5px;
}

/**
 * Compact mode.
 */
.juiz_sps_compact .juiz_sps_item .juiz_sps_button {
	padding: 4px 11px 5px 6px;
	margin: 2px 4px 0 0;
}

.juiz_sps_compact .juiz_sps_icon {
	font-size: 20px;
}

.juiz_sps_compact .juiz_sps_item .juiz_sps_button .juiz_sps_network_name {
	font-size: 0.92em;
}

.juiz_sps_compact .juiz_sps_counter,
.juiz_sps_compact .juiz_sps_totalcount {
	right: -3px;
	padding: 5px 6px 5px;
}

.juiz_sps_compact.juiz_sps_counters .juiz_sps_button {
	padding-left: 8px;
}

/**
 * Compact + Hidden name
 */
.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_item .juiz_sps_button {
	padding: 4px;
}

.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_item .juiz_sps_button:hover,
.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_item .juiz_sps_button:focus {
	padding: 4px 8px 4px 4px;
}

.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_button:hover .juiz_sps_icon,
.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_button:focus .juiz_sps_icon {
	margin-right: 4px;
	margin-left: 4px;
}

/**
 * Counters
 */

.juiz_sps_counter,
.juiz_sps_totalcount {
	position: relative;
	right: -2px; top: 1px;
	display: inline-block;
	padding: 7px 6px 8px;
	border: 1px solid #ddd;
	border-right-width: 0;
	vertical-align: 0;
	font-size: 14px;
	color: #999;
	background: #fff;
	border-radius: 5px 0 0 5px;
	box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

.juiz_sps_counter:after {
	content: "";
	position: absolute;
	right: -6px;
	top: 50%;
	margin-top:-5px;
	border-left: 6px solid #FFF;
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
}

.juiz_sps_counters .juiz_sps_totalcount {
	display: flex;
	flex-direction: column-reverse;
	margin-top: 2px;
	border: 0;
	border-left: 2px solid var(--neutral);
	line-height: 1;
	color: var(--neutral);
	background: none;
	box-shadow: none;
}

.juiz_sps_compact .juiz_sps_total_number {
	font-size: 1em;
}

.juiz_sps_total_number {
	font-size: 1.3em;
}

.juiz_sps_total_share_text {
	font-size: .785em;
}

.juiz_sps_links.counters_total .juiz_hidden_counter {
	display: none!important;
}

@media print {
	.juiz_sps_links {
		display: none;
		margin: 0; padding: 0;
		opacity: 0;
		visibility: hidden;
	}
}