/**
	Plugin Name: Juiz Social Post Sharer
	Plugin URI: http://creativejuiz.fr
	Author: Geoffrey Crofte
	Version: Styles v7 inspired from Brand Colors
*/

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

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

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

	--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;

	/* Utilities */
	--link-padding: 8px 16px 8px 12px;
	--icon-size: 32px;
	--text-size: 18px;
	--icon-margin: 8px;
	--space-between: 4px;
}

@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: var(--icon-size, 32px);
}

.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: -9999em;
	text-indent: -9999em;
}

[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_links_list,
.juiz_sps_links .juiz_sps_item,
.juiz_sps_links .juiz_sps_item .juiz_sps_button { 
	display: flex;
}

/* UL list */
.juiz_sps_links .juiz_sps_links_list {
	flex-wrap: wrap;
	margin-left: var(--space-between, 4px);
	margin-right: var(--space-between, 4px);
}

/* LI item */
.juiz_sps_links .juiz_sps_item {
	margin: var(--space-between, 4px) !important;
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button .juiz_sps_network_name {
	font-weight: bold;
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button {
	align-items: center;
	padding: var(--link-padding);
	border: 0;
	font-size: var(--text-size, 18px);
	color: #FFF;
	text-decoration: none;
	text-shadow: none;
	background: var(--jsps-custom-color, var(--neutral));
	-webkit-background-clip: padding-box;
	   -moz-background-clip: padding;
	        background-clip: padding-box;
	transition: padding .5s cubic-bezier(0.4, 0, 0.2, 1), background-color .5s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0.2s;
	-webkit-user-select: none;
	   -moz-user-select: none;
		-ms-user-select: none;
			user-select: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-touch-callout: none;
	font-family: inherit;
	text-transform: inherit;
	font-weight: normal;
	line-height: 1.55;
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button:focus {
	outline: 0;
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_item .juiz_sps_button:focus {
	transition-delay: 0s;
	background: var(--jsps-custom-hover-color, var(--neutraldark));
}

.juiz_sps_links .juiz_sps_icon {
	margin-right: var(--icon-margin, 8px);
	width: 1em;
	height: 1em;
	text-align: center;
}

.juiz_sps_links .juiz_sps_icon svg {
	width: calc(100% - 6px);
	height: calc(100% - 6px);
}

/**
 * Color Application
 */

.juiz_sps_links .juiz_sps_link_twitter .juiz_sps_button {
	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_facebook .juiz_sps_button {
	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_vk .juiz_sps_button {
	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_pinterest .juiz_sps_button {
	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 {
	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_linkedin .juiz_sps_button {
	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 {
	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 {
	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 {
	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_evernote .juiz_sps_button {
	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);
}

.juiz_sps_links .juiz_sps_link_diigo .juiz_sps_button {
	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_pocket .juiz_sps_button {
	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_whatsapp .juiz_sps_button {
	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_weibo .juiz_sps_button {
	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 {
	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_bookmark .juiz_sps_button,
.juiz_sps_links .juiz_sps_link_print .juiz_sps_button,
.juiz_sps_links .juiz_sps_link_mail .juiz_sps_button {
	background: var(--neutral);
}

.juiz_sps_links .juiz_sps_link_print .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_print .juiz_sps_button:focus,
.juiz_sps_links .juiz_sps_link_bookmark .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_bookmark .juiz_sps_button:focus,
.juiz_sps_links .juiz_sps_link_mail .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_link_mail .juiz_sps_button:focus {
	background: var(--neutraldark);
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_item .juiz_sps_button:focus {
	color: #FFF;
}

/**
 * Special if names are hidden
 */
.juiz_sps_links .juiz_sps_hide_name {
	--link-padding: 8px;
}

.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 .75s;
			transition: max-width .75s;
}

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

.juiz_sps_hide_name .juiz_sps_item .juiz_sps_button:hover,
.juiz_sps_hide_name .juiz_sps_item .juiz_sps_button:focus {
	--link-padding: 8px 16px 8px 12px;
}

.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: 8em;
}

.juiz_sps_hide_name .juiz_sps_button:hover .juiz_sps_icon,
.juiz_sps_hide_name .juiz_sps_button:focus .juiz_sps_icon {
	margin-right: 0.3em;
}

/**
 * Compact Mode
 */
.juiz_sps_compact {
	--link-padding: 4px 10px 4px 6px;
	--icon-size: 20px;
	--text-size: 14px;
	--icon-margin: 4px;
	--space-between: 2px;
}

.juiz_sps_compact .juiz_sps_counter,
.juiz_sps_compact .juiz_sps_totalcount {
	padding: 0 5px;
	font-size: .725em;
}

/**
 * Hide + Compact
 */
.juiz_sps_compact.juiz_sps_hide_name {
	--link-padding: 4px;
}
.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_button:hover,
.juiz_sps_compact.juiz_sps_hide_name .juiz_sps_button:focus {
	--link-padding: 4px 10px 4px 6px;
}
.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;
}

/**
 * Counters
 */

.juiz_sps_counter,
.juiz_sps_totalcount {
	display: flex;
	align-items: center;
	position: relative;
	margin-right: 2px;
	padding: 8px;
	font-size: 0.825em;
	color: #FFF;
	background: var(--neutral);
	border-radius: 2px;
}

.juiz_sps_counter:after {
	content: "";
	position: absolute;
	right: -0.325em;
	top: 50%;
	margin-top:-0.325em;
	border-left: 0.4em solid var(--neutral);
	border-bottom: 0.4em solid transparent;
	border-top: 0.4em solid transparent;
}

.juiz_sps_totalcount_item {
	order: -1;
	border-right: 2px solid var(--neutral);
}

.juiz_sps_totalcount {
	display: flex;
	flex-direction: column-reverse;
	line-height: 1;
	color: var(--neutral);
	background: none;
}

.juiz_sps_total_number {
	font-size: 1.2em;
}

.juiz_sps_total_share_text {
	font-size: .875em;
	opacity: .75;
}

.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;
	}
}