/*
Plugin Name: Juiz Social Post Sharer
Plugin URI: http://creativejuiz.fr
Author: Geoffrey Crofte
Version: Styles v3 - Blue Metro Style
*/

@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: 28px;
}

.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 ul,
.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_list .juiz_sps_item {
	margin: 4px!important;
}

.juiz_sps_links .juiz_sps_item .juiz_sps_button { 
	padding: 8px 15px 8px 10px;
	margin: 0;
	background-color: #04b7e3;
	color: #fff;
	text-decoration: none;
	border: 0 none;
	font-weight: 500;
	font-size: 14px;
	font-family: "Segoe WP", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	transition: color .2s, background-color .2s, transform .2s;
	transform-origin: 100% 100%;
	perspective: 2000;
	perspective-origin: 50% 50%;
	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;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	margin-right: 0.25em;
}

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

.juiz_sps_links .juiz_sps_item .juiz_sps_button:hover,
.juiz_sps_links .juiz_sps_item .juiz_sps_button:focus {
	color: #F2F2F2;
	background-color: #24459a;
	transform: scale(0.99) scaleZ(0.9) rotateX(6deg) rotateY(6deg);
}

/* special if names are hidden */
.juiz_sps_hide_name .juiz_sps_item .juiz_sps_button {
	padding: 5px 10px 6px 10px;
}

.juiz_sps_hide_name .juiz_sps_button .juiz_sps_icon,
.juiz_sps_hide_name .juiz_sps_button .juiz_sps_network_name {
	transition: max-width .3s, margin .3s;
}

.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_icon {
	margin-right: 0;
}

.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: 85px;
}

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

/**
 * Compact Mode
 */
.juiz_sps_links_list.juiz_sps_compact .juiz_sps_item {
	margin: 2px !important;
}

.juiz_sps_links .juiz_sps_compact .juiz_sps_item .juiz_sps_button {
	padding: 4px 10px 4px 6px;
}

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

/**
 * 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;
	transform: none;
}

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

.juiz_sps_compact .juiz_sps_counter,
.juiz_sps_compact .juiz_sps_totalcount {
	padding: 4px;
	font-size: 13px;
}

/**
 * Counters
 */

.juiz_sps_counter,
.juiz_sps_totalcount {
	position: relative;
	display: inline-block;
	padding: 9px 6px;
	border: 1px solid #aaa;
	border-right-width: 0;
	vertical-align: middle;
	font-size: 14px;
	color: #888;
	background: #fff;
	border-radius: 3px 0 0 3px;
}

.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;
	border-radius: 0;
	flex-direction: column-reverse;
	border: 0;
	border-left: 2px solid #888;
	line-height: 1;
	color: var(--neutral);
	background: none;
	box-shadow: none;
	padding: 7px 8px;
}

.juiz_sps_compact .juiz_sps_totalcount {
	margin-top: 2px;
	padding: 4px 8px;
}

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