Simple Share Buttons Adder - Version 7.7.0

Version Description

  • Add: Add Line, Weibo, and Skype buttons.
  • Fix: Update DB data structure away from JSON.
  • Add: Review us dismissible popup.
Download this release

Release Info

Developer DavidoffNeal
Plugin Icon 128x128 Simple Share Buttons Adder
Version 7.7.0
Comparing to
See all releases

Code changes from version 7.6.21 to 7.7.0

css/admin-theme.css CHANGED
@@ -343,6 +343,7 @@
343
  .ssbp--theme-4 .ssbp-diggit {
344
  background-color: #14589E
345
  }
 
346
  .ssbp--theme-4 .ssbp-email {
347
  background-color: #787878
348
  }
@@ -440,7 +441,56 @@
440
  }
441
 
442
  /* Share buttons preview */
443
- .ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ssbp-spinner:before{font-family:'ssbp';content:"\e614"}.ssbp-spinner{-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}.ssbp-btn:before,.ssbp-toggle-switch:before{display:inline-block;font-family:'ssbp';speak:none;font-size:24px;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none}.ssbp-arrow-right:before{content:"\e612"}.ssbp-arrow-left:before{content:"\e613"}.ssbp-arrow-down:before{content:"\e619"}.ssbp-arrow-up:before{content:"\e61a"}.ssbp-chevron-down:before,.ssbp-toggle-switch:before{content:"\e618"}.ssbp-chevron-up:before,.ssbp--state-hidden .ssbp-toggle-switch:before{content:"\e615"}.ssbp-chevron-right:before,.ssbp--fixed-right .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-left .ssbp-toggle-switch:before{content:"\e616"}.ssbp-chevron-left:before,.ssbp--fixed-left .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-right .ssbp-toggle-switch:before{content:"\e617"}.ssbp-simplesharebuttons:before{content:"\e611"}.ssbp-yummly:before{content:"\e60b"}.ssbp-whatsapp:before{content:"\e60f"}.ssbp-diggit:before{content:"\e60c"}.ssbp-buffer:before{content:"\e60d"}.ssbp-close:before{content:"\e614"}.ssbp-twitter:before{content:"\e605"}.ssbp-reddit:before{content:"\e606"}.ssbp-flattr:before{content:"\e607"}.ssbp-tumblr:before{content:"\e608"}.ssbp-linkedin:before{content:"\e609"}.ssbp-google:before{content:"\e60a"}.ssbp-xing:before{content:"\e610"}.ssbp-facebook:before{content:"\e60e"}.ssbp-facebook_save:before{content:"\e900"}.ssbp-facebook-messenger:before{content:"\e611"}.ssbp-vk:before{content:"\e600"}.ssbp-stumbleupon:before{content:"\e601"}.ssbp-print:before{content:"\e602"}.ssbp-pinterest:before{content:"\e603"}.ssbp-email:before{content:"\e604"}.ssbp-ellipsis:before{content:"\e612"}.ssbp-x:before{content:"\e613"}@media print{.ssbp-wrap{display:none !important}}.ssbp-wrap *,.ssbp-wrap *:before,.ssbp-wrap *:after{box-sizing:border-box}.ssbp-input-url-div,.ssbp-total-shares,.ssba-hide-button.ssbp-each-share,.ssbp-toggle-switch,.ssbp-text{display:none}.ssbp-wrap{position:relative;display:inline-block;padding:0px;font-size:0;color:#272727}.ssbp-wrap.ssbp--centred{display:block;text-align:center}.ssbp-wrap.ssbp--aligned-right{display:block;text-align:right}.ssbp-wrap.ssbp--aligned-right .ssbp-container{display:inline-block}.ssbp-wrap .ssbp-container,.ssbp-wrap .ssbp-toggle-switch{font-size:16px}.ssbp-wrap .ssbp-list{list-style:none;display:inline-block;vertical-align:middle;margin:0;padding:0}.ssbp-wrap .ssbp-list li{position:relative;display:inline-block;vertical-align:top}.ssbp-wrap .ssbp-list li:first-of-type{margin-left:0}.ssbp-wrap .ssbp-btn{display:inline-block;text-align:center;text-decoration:none;font-family:sans-serif}.ssbp-wrap.ssbp--stacked .ssbp-list li,.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp-wrap.ssbp--fixed-right .ssbp-list li{display:block;margin-top:6px;margin-left:0 !important;margin-right:0 !important}.ssbp-wrap.ssbp--stacked .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-left .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-right .ssbp-list li:first-of-type{margin-top:0}.ssbp-wrap[class*="ssbp--fixed"]{position:fixed;z-index:99999}.ssbp-wrap[class*="ssbp--fixed"] .ssbp-container{-webkit-transition:.25s;transition:.25s}.ssbp-wrap.ssbp--fixed-top,.ssbp-wrap.ssbp--fixed-bottom{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ssbp-wrap.ssbp--fixed-left,.ssbp-wrap.ssbp--fixed-right{top:25%}.ssbp-wrap.ssbp--fixed-top{top:0}.ssbp-wrap.ssbp--fixed-bottom{bottom:0}.ssbp-wrap.ssbp--fixed-left{left:0}.ssbp-wrap.ssbp--fixed-right{right:0}.ssbp-wrap[data-ssbp-counts="true"] .ssbp-each-share{display:block;pointer-events:none}.ssbp-wrap[data-ssbp-total-counts="true"] .ssbp-total-shares{display:inline-block;padding:0 .5em;text-align:center;font-size:14px;line-height:2}.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--stacked .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares{display:block;padding:0}.ssbp-toggle-switch{position:absolute;padding:0;border:0;background:transparent;text-align:center;cursor:pointer;-webkit-transition:.25s;transition:.25s;display:none}.ssbp-toggle-switch:active,.ssbp-toggle-switch:hover,.ssbp-toggle-switch:focus{padding:0;border:0}.ssbp--fixed-left .ssbp-toggle-switch,.ssbp--fixed-right .ssbp-toggle-switch{left:0;bottom:100%;width:100%}.ssbp--fixed-top .ssbp-toggle-switch,.ssbp--fixed-bottom .ssbp-toggle-switch{left:100%;bottom:0;height:100%}.ssbp--show-toggle.ssbp--fixed-top .ssbp-toggle-switch:before{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ssbp--show-toggle.ssbp--fixed-bottom .ssbp-toggle-switch:before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ssbp--show-toggle.ssbp--fixed-right .ssbp-toggle-switch:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ssbp--state-hidden .ssbp-each-share{opacity:0}.ssbp--state-hidden .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-top .ssbp-container{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.ssbp--state-hidden.ssbp--fixed-bottom .ssbp-container{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--state-hidden.ssbp--fixed-left .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-right .ssbp-container{-webkit-transform:translateX(100%);transform:translateX(100%)}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}@keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}.ssbp--theme-1 .ssbp-container{padding:6px}.ssbp--theme-1 .ssbp-list li{margin-left:12px}.ssbp--theme-1 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;border-radius:50%;color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-1 .ssbp-btn:hover,.ssbp--theme-1 .ssbp-btn:focus,.ssbp--theme-1 .ssbp-btn:active{background-color:#fff;z-index:10}.ssbp--theme-1 .ssbp-btn:visited{color:#fff}.ssbp--theme-1 .ssbp-btn:before{-webkit-transition:-webkit-transform .25s;transition:transform .25s}.ssbp--theme-1 .ssbp-btn:active:before{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-1 .ssbp-btn:after{content:'';visibility:hidden;position:absolute;border:1px solid #fff;border-radius:50%;top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;-webkit-animation-duration:.5s;animation-duration:.5s}.ssbp--theme-1 .ssbp-btn:hover:after{-webkit-animation-name:ripple-out;animation-name:ripple-out}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li{margin-left:13.2px}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li:first-of-type{margin-left:0}.ssbp--theme-1 .ssbp-buffer{background-color:#272727}.ssbp--theme-1 .ssbp-buffer:hover,.ssbp--theme-1 .ssbp-buffer:focus,.ssbp--theme-1 .ssbp-buffer:active{color:#272727;border-color:#272727}.ssbp--theme-1 .ssbp-buffer+.ssbp-each-share{background-color:#272727}.ssbp--theme-1 .ssbp-diggit{background-color:#14589E}.ssbp--theme-1 .ssbp-diggit:hover,.ssbp--theme-1 .ssbp-diggit:focus,.ssbp--theme-1 .ssbp-diggit:active{color:#14589E;border-color:#14589E}.ssbp--theme-1 .ssbp-diggit+.ssbp-each-share{background-color:#14589E}.ssbp--theme-1 .ssbp-email{background-color:#787878}.ssbp--theme-1 .ssbp-email:hover,.ssbp--theme-1 .ssbp-email:focus,.ssbp--theme-1 .ssbp-email:active{color:#787878;border-color:#787878}.ssbp--theme-1 .ssbp-email+.ssbp-each-share{background-color:#787878}.ssbp--theme-1 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis:hover,.ssbp--theme-1 .ssbp-ellipsis:focus,.ssbp--theme-1 .ssbp-ellipsis:active{color:#4582EC;border-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis+.ssbp-each-share{background-color:#4582EC}.ssbp--theme-1 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook:hover,.ssbp--theme-1 .ssbp-facebook:focus,.ssbp--theme-1 .ssbp-facebook:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save:hover,.ssbp--theme-1 .ssbp-facebook_save:focus,.ssbp--theme-1 .ssbp-facebook_save:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger:hover,.ssbp--theme-1 .ssbp-facebook-messenger:focus,.ssbp--theme-1 .ssbp-facebook-messenger:active{color:#0084FF;border-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#0084FF}.ssbp--theme-1 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr:hover,.ssbp--theme-1 .ssbp-flattr:focus,.ssbp--theme-1 .ssbp-flattr:active{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr+.ssbp-each-share{background-color:#f67C1A}.ssbp--theme-1 .ssbp-google{background-color:#DC4E41}.ssbp--theme-1 .ssbp-google:hover,.ssbp--theme-1 .ssbp-google:focus,.ssbp--theme-1 .ssbp-google:active{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-1 .ssbp-google+.ssbp-each-share{background-color:#DC4E41}.ssbp--theme-1 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin:hover,.ssbp--theme-1 .ssbp-linkedin:focus,.ssbp--theme-1 .ssbp-linkedin:active{color:#007bb6;border-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin+.ssbp-each-share{background-color:#007bb6}.ssbp--theme-1 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest:hover,.ssbp--theme-1 .ssbp-pinterest:focus,.ssbp--theme-1 .ssbp-pinterest:active{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest+.ssbp-each-share{background-color:#ce1a19}.ssbp--theme-1 .ssbp-print{background-color:#1F6B43}.ssbp--theme-1 .ssbp-print:hover,.ssbp--theme-1 .ssbp-print:focus,.ssbp--theme-1 .ssbp-print:active{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-1 .ssbp-print+.ssbp-each-share{background-color:#1F6B43}.ssbp--theme-1 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-1 .ssbp-reddit:hover,.ssbp--theme-1 .ssbp-reddit:focus,.ssbp--theme-1 .ssbp-reddit:active{color:#FF4500;border-color:#FF4500}.ssbp--theme-1 .ssbp-reddit+.ssbp-each-share{background-color:#FF4500}.ssbp--theme-1 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons:hover,.ssbp--theme-1 .ssbp-simplesharebuttons:focus,.ssbp--theme-1 .ssbp-simplesharebuttons:active{color:#4582ec;border-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#4582ec}.ssbp--theme-1 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon:hover,.ssbp--theme-1 .ssbp-stumbleupon:focus,.ssbp--theme-1 .ssbp-stumbleupon:active{color:#EB4924;border-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon+.ssbp-each-share{background-color:#EB4924}.ssbp--theme-1 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr:hover,.ssbp--theme-1 .ssbp-tumblr:focus,.ssbp--theme-1 .ssbp-tumblr:active{color:#2C4762;border-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr+.ssbp-each-share{background-color:#2C4762}.ssbp--theme-1 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter:hover,.ssbp--theme-1 .ssbp-twitter:focus,.ssbp--theme-1 .ssbp-twitter:active{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter+.ssbp-each-share{background-color:#00a9f1}.ssbp--theme-1 .ssbp-vk{background-color:#45668E}.ssbp--theme-1 .ssbp-vk:hover,.ssbp--theme-1 .ssbp-vk:focus,.ssbp--theme-1 .ssbp-vk:active{color:#45668E;border-color:#45668E}.ssbp--theme-1 .ssbp-vk+.ssbp-each-share{background-color:#45668E}.ssbp--theme-1 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp:hover,.ssbp--theme-1 .ssbp-whatsapp:focus,.ssbp--theme-1 .ssbp-whatsapp:active{color:#34AF23;border-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp+.ssbp-each-share{background-color:#34AF23}.ssbp--theme-1 .ssbp-yummly{background-color:#E16120}.ssbp--theme-1 .ssbp-yummly:hover,.ssbp--theme-1 .ssbp-yummly:focus,.ssbp--theme-1 .ssbp-yummly:active{color:#E16120;border-color:#E16120}.ssbp--theme-1 .ssbp-yummly+.ssbp-each-share{background-color:#E16120}.ssbp--theme-1 .ssbp-xing{background-color:#026466}.ssbp--theme-1 .ssbp-xing:hover,.ssbp--theme-1 .ssbp-xing:focus,.ssbp--theme-1 .ssbp-xing:active{color:#026466;border-color:#026466}.ssbp--theme-1 .ssbp-xing+.ssbp-each-share{background-color:#026466}.ssbp--theme-1 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-1.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centered .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-2 .ssbp-list li{overflow:hidden;margin: 0}.ssbp--theme-2 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-2 .ssbp-btn:before{-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn+.ssbp-each-share{position:absolute;z-index:10;bottom:0;left:0;right:0;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn:hover,.ssbp--theme-2 .ssbp-btn:focus,.ssbp--theme-2 .ssbp-btn:active,.ssbp--theme-2 .ssbp-btn:visited{z-index:10;color:#fff}.ssbp--theme-2 .ssbp-btn:hover:before,.ssbp--theme-2 .ssbp-btn:focus:before,.ssbp--theme-2 .ssbp-btn:active:before,.ssbp--theme-2 .ssbp-btn:visited:before{-webkit-transform:none !important;transform:none !important}.ssbp--theme-2 .ssbp-btn:hover+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:focus+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:active+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:visited+.ssbp-each-share{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--theme-2 .ssbp-btn:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-2[data-ssbp-counts="true"] .ssbp-btn:before{-webkit-transform:translateY(-0.25em) scale(0.75);transform:translateY(-0.25em) scale(0.75)}.ssbp--theme-2 .ssbp-buffer{background-color:#272727}.ssbp--theme-2 .ssbp-buffer:hover,.ssbp--theme-2 .ssbp-buffer:focus,.ssbp--theme-2 .ssbp-buffer:active{background-color:#0e0e0e}.ssbp--theme-2 .ssbp-diggit{background-color:#14589E}.ssbp--theme-2 .ssbp-diggit:hover,.ssbp--theme-2 .ssbp-diggit:focus,.ssbp--theme-2 .ssbp-diggit:active{background-color:#0e3f71}.ssbp--theme-2 .ssbp-email{background-color:#787878}.ssbp--theme-2 .ssbp-email:hover,.ssbp--theme-2 .ssbp-email:focus,.ssbp--theme-2 .ssbp-email:active{background-color:#5f5f5f}.ssbp--theme-2 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-2 .ssbp-ellipsis:hover,.ssbp--theme-2 .ssbp-ellipsis:focus,.ssbp--theme-2 .ssbp-ellipsis:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook:hover,.ssbp--theme-2 .ssbp-facebook:focus,.ssbp--theme-2 .ssbp-facebook:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook_save:hover,.ssbp--theme-2 .ssbp-facebook_save:focus,.ssbp--theme-2 .ssbp-facebook_save:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-2 .ssbp-facebook-messenger:hover,.ssbp--theme-2 .ssbp-facebook-messenger:focus,.ssbp--theme-2 .ssbp-facebook-messenger:active{background-color:#006acc}.ssbp--theme-2 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-2 .ssbp-flattr:hover,.ssbp--theme-2 .ssbp-flattr:focus,.ssbp--theme-2 .ssbp-flattr:active{background-color:#d56308}.ssbp--theme-2 .ssbp-google{background-color:#DC4E41}.ssbp--theme-2 .ssbp-google:hover,.ssbp--theme-2 .ssbp-google:focus,.ssbp--theme-2 .ssbp-google:active{background-color:#c63224}.ssbp--theme-2 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-2 .ssbp-linkedin:hover,.ssbp--theme-2 .ssbp-linkedin:focus,.ssbp--theme-2 .ssbp-linkedin:active{background-color:#005983}.ssbp--theme-2 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-2 .ssbp-pinterest:hover,.ssbp--theme-2 .ssbp-pinterest:focus,.ssbp--theme-2 .ssbp-pinterest:active{background-color:#a11413}.ssbp--theme-2 .ssbp-print{background-color:#1F6B43}.ssbp--theme-2 .ssbp-print:hover,.ssbp--theme-2 .ssbp-print:focus,.ssbp--theme-2 .ssbp-print:active{background-color:#14432a}.ssbp--theme-2 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-2 .ssbp-reddit:hover,.ssbp--theme-2 .ssbp-reddit:focus,.ssbp--theme-2 .ssbp-reddit:active{background-color:#cc3700}.ssbp--theme-2 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-2 .ssbp-simplesharebuttons:hover,.ssbp--theme-2 .ssbp-simplesharebuttons:focus,.ssbp--theme-2 .ssbp-simplesharebuttons:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-2 .ssbp-stumbleupon:hover,.ssbp--theme-2 .ssbp-stumbleupon:focus,.ssbp--theme-2 .ssbp-stumbleupon:active{background-color:#ca3412}.ssbp--theme-2 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-2 .ssbp-tumblr:hover,.ssbp--theme-2 .ssbp-tumblr:focus,.ssbp--theme-2 .ssbp-tumblr:active{background-color:#1c2e3f}.ssbp--theme-2 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-2 .ssbp-twitter:hover,.ssbp--theme-2 .ssbp-twitter:focus,.ssbp--theme-2 .ssbp-twitter:active{background-color:#0085be}.ssbp--theme-2 .ssbp-vk{background-color:#45668E}.ssbp--theme-2 .ssbp-vk:hover,.ssbp--theme-2 .ssbp-vk:focus,.ssbp--theme-2 .ssbp-vk:active{background-color:#344d6c}.ssbp--theme-2 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-2 .ssbp-whatsapp:hover,.ssbp--theme-2 .ssbp-whatsapp:focus,.ssbp--theme-2 .ssbp-whatsapp:active{background-color:#27851b}.ssbp--theme-2 .ssbp-yummly{background-color:#E16120}.ssbp--theme-2 .ssbp-yummly:hover,.ssbp--theme-2 .ssbp-yummly:focus,.ssbp--theme-2 .ssbp-yummly:active{background-color:#b64d18}.ssbp--theme-2 .ssbp-xing{background-color:#026466}.ssbp--theme-2 .ssbp-xing:hover,.ssbp--theme-2 .ssbp-xing:focus,.ssbp--theme-2 .ssbp-xing:active{background-color:#013334}.ssbp--theme-2 .ssbp-each-share{padding:2px;background-color:rgba(0,0,0,0.1);font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-3 .ssbp-list li{margin: 0;}.ssbp--theme-3 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12.1px;margin-left:0;text-shadow:-1px -1px rgba(0,0,0,0.2)}.ssbp--theme-3 .ssbp-btn{display:block;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-3 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-3 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-3 .ssbp-btn:hover,.ssbp--theme-3 .ssbp-btn:focus,.ssbp--theme-3 .ssbp-btn:active,.ssbp--theme-3 .ssbp-btn:visited{color:#fff}.ssbp--theme-3 .ssbp-buffer{background-color:#272727}.ssbp--theme-3 .ssbp-buffer:hover,.ssbp--theme-3 .ssbp-buffer:focus,.ssbp--theme-3 .ssbp-buffer:active,.ssbp--theme-3 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-3 .ssbp-diggit{background-color:#14589E}.ssbp--theme-3 .ssbp-diggit:hover,.ssbp--theme-3 .ssbp-diggit:focus,.ssbp--theme-3 .ssbp-diggit:active,.ssbp--theme-3 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-3 .ssbp-email{background-color:#787878}.ssbp--theme-3 .ssbp-email:hover,.ssbp--theme-3 .ssbp-email:focus,.ssbp--theme-3 .ssbp-email:active,.ssbp--theme-3 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-3 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-3 .ssbp-ellipsis:hover,.ssbp--theme-3 .ssbp-ellipsis:focus,.ssbp--theme-3 .ssbp-ellipsis:active,.ssbp--theme-3 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook:hover,.ssbp--theme-3 .ssbp-facebook:focus,.ssbp--theme-3 .ssbp-facebook:active,.ssbp--theme-3 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook_save:hover,.ssbp--theme-3 .ssbp-facebook_save:focus,.ssbp--theme-3 .ssbp-facebook_save:active,.ssbp--theme-3 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-3 .ssbp-facebook-messenger:hover,.ssbp--theme-3 .ssbp-facebook-messenger:focus,.ssbp--theme-3 .ssbp-facebook-messenger:active,.ssbp--theme-3 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-3 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-3 .ssbp-flattr:hover,.ssbp--theme-3 .ssbp-flattr:focus,.ssbp--theme-3 .ssbp-flattr:active,.ssbp--theme-3 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-3 .ssbp-google{background-color:#DC4E41}.ssbp--theme-3 .ssbp-google:hover,.ssbp--theme-3 .ssbp-google:focus,.ssbp--theme-3 .ssbp-google:active,.ssbp--theme-3 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-3 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-3 .ssbp-linkedin:hover,.ssbp--theme-3 .ssbp-linkedin:focus,.ssbp--theme-3 .ssbp-linkedin:active,.ssbp--theme-3 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-3 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-3 .ssbp-pinterest:hover,.ssbp--theme-3 .ssbp-pinterest:focus,.ssbp--theme-3 .ssbp-pinterest:active,.ssbp--theme-3 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-3 .ssbp-print{background-color:#1F6B43}.ssbp--theme-3 .ssbp-print:hover,.ssbp--theme-3 .ssbp-print:focus,.ssbp--theme-3 .ssbp-print:active,.ssbp--theme-3 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-3 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-3 .ssbp-reddit:hover,.ssbp--theme-3 .ssbp-reddit:focus,.ssbp--theme-3 .ssbp-reddit:active,.ssbp--theme-3 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-3 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-3 .ssbp-simplesharebuttons:hover,.ssbp--theme-3 .ssbp-simplesharebuttons:focus,.ssbp--theme-3 .ssbp-simplesharebuttons:active,.ssbp--theme-3 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-3 .ssbp-stumbleupon:hover,.ssbp--theme-3 .ssbp-stumbleupon:focus,.ssbp--theme-3 .ssbp-stumbleupon:active,.ssbp--theme-3 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-3 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-3 .ssbp-tumblr:hover,.ssbp--theme-3 .ssbp-tumblr:focus,.ssbp--theme-3 .ssbp-tumblr:active,.ssbp--theme-3 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-3 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-3 .ssbp-twitter:hover,.ssbp--theme-3 .ssbp-twitter:focus,.ssbp--theme-3 .ssbp-twitter:active,.ssbp--theme-3 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-3 .ssbp-vk{background-color:#45668E}.ssbp--theme-3 .ssbp-vk:hover,.ssbp--theme-3 .ssbp-vk:focus,.ssbp--theme-3 .ssbp-vk:active,.ssbp--theme-3 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-3 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-3 .ssbp-whatsapp:hover,.ssbp--theme-3 .ssbp-whatsapp:focus,.ssbp--theme-3 .ssbp-whatsapp:active,.ssbp--theme-3 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-3 .ssbp-yummly{background-color:#E16120}.ssbp--theme-3 .ssbp-yummly:hover,.ssbp--theme-3 .ssbp-yummly:focus,.ssbp--theme-3 .ssbp-yummly:active,.ssbp--theme-3 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-3 .ssbp-xing{background-color:#026466}.ssbp--theme-3 .ssbp-xing:hover,.ssbp--theme-3 .ssbp-xing:focus,.ssbp--theme-3 .ssbp-xing:active,.ssbp--theme-3 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-3 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-4[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:8px}.ssbp--theme-4 .ssbp-btn{width:3em;height:3em;line-height:3em;border-radius:7.5px;color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s;box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1);border-bottom:0}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active{box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1),inset 0 0 3.5em rgba(0,0,0,0.33)}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active,.ssbp--theme-4 .ssbp-btn:visited{color:#fff}.ssbp--theme-4 .ssbp-list li{margin-left:12px}.ssbp--theme-4 .ssbp-buffer{background-color:#272727}.ssbp--theme-4 .ssbp-diggit{background-color:#14589E}.ssbp--theme-4 .ssbp-email{background-color:#787878}.ssbp--theme-4 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-4 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-4 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-4 .ssbp-google{background-color:#DC4E41}.ssbp--theme-4 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-4 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-4 .ssbp-print{background-color:#1F6B43}.ssbp--theme-4 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-4 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-4 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-4 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-4 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-4 .ssbp-vk{background-color:#45668E}.ssbp--theme-4 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-4 .ssbp-yummly{background-color:#E16120}.ssbp--theme-4 .ssbp-xing{background-color:#026466}.ssbp--theme-4 .ssbp-each-share{position:absolute;bottom:100%;right:0;z-index:11;min-width:1.25em;margin-right:-6px;margin-bottom:-8px;padding:2px 4px;border-radius:8px;background-color:#F22121;font-size:10px;color:#FFF;text-align:center}.ssbp--theme-4.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-16px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-5 .ssbp-btn{width:4em;height:3em;line-height:3em;margin-bottom:8px;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-5 .ssbp-btn:active{-webkit-transform:translateY(4px);transform:translateY(4px)}.ssbp--theme-5 .ssbp-btn:hover,.ssbp--theme-5 .ssbp-btn:focus,.ssbp--theme-5 .ssbp-btn:active,.ssbp--theme-5 .ssbp-btn:visited{color:#fff}.ssbp--theme-5.ssbp--stacked .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-right .ssbp-list li{margin-top:0}.ssbp--theme-5 .ssbp-buffer{background-color:#272727;box-shadow:0 8px 0 #0e0e0e,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-buffer:active{box-shadow:0 4px 0 #0e0e0e,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-diggit{background-color:#14589E;box-shadow:0 8px 0 #0e3f71,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-diggit:active{box-shadow:0 4px 0 #0e3f71,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-email{background-color:#787878;box-shadow:0 8px 0 #5f5f5f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-email:active{box-shadow:0 4px 0 #5f5f5f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis{background-color:#4582EC;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger{background-color:#0084FF;box-shadow:0 8px 0 #006acc,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger:active{box-shadow:0 4px 0 #006acc,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr{background-color:#f67C1A;box-shadow:0 8px 0 #d56308,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr:active{box-shadow:0 4px 0 #d56308,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google{background-color:#DC4E41;box-shadow:0 8px 0 #c63224,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google:active{box-shadow:0 4px 0 #c63224,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin{background-color:#007bb6;box-shadow:0 8px 0 #005983,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin:active{box-shadow:0 4px 0 #005983,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest{background-color:#ce1a19;box-shadow:0 8px 0 #a11413,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest:active{box-shadow:0 4px 0 #a11413,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print{background-color:#1F6B43;box-shadow:0 8px 0 #14432a,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print:active{box-shadow:0 4px 0 #14432a,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit{background-color:#FF4500;box-shadow:0 8px 0 #cc3700,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit:active{box-shadow:0 4px 0 #cc3700,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons{background-color:#4582ec;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon{background-color:#EB4924;box-shadow:0 8px 0 #ca3412,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon:active{box-shadow:0 4px 0 #ca3412,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr{background-color:#2C4762;box-shadow:0 8px 0 #1c2e3f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr:active{box-shadow:0 4px 0 #1c2e3f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter{background-color:#00a9f1;box-shadow:0 8px 0 #0085be,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter:active{box-shadow:0 4px 0 #0085be,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk{background-color:#45668E;box-shadow:0 8px 0 #344d6c,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk:active{box-shadow:0 4px 0 #344d6c,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp{background-color:#34AF23;box-shadow:0 8px 0 #27851b,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp:active{box-shadow:0 4px 0 #27851b,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly{background-color:#E16120;box-shadow:0 8px 0 #b64d18,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly:active{box-shadow:0 4px 0 #b64d18,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing{background-color:#026466;box-shadow:0 8px 0 #013334,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing:active{box-shadow:0 4px 0 #013334,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-6[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:6px}.ssbp--theme-6 .ssbp-btn{width:3em;height:3em;line-height:3em;border:2px solid #fff;border-radius:50%;background-color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-6 .ssbp-btn:hover,.ssbp--theme-6 .ssbp-btn:focus,.ssbp--theme-6 .ssbp-btn:active{color:#fff}.ssbp--theme-6 .ssbp-list li{margin-left:12px}.ssbp--theme-6 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-6 .ssbp-buffer:hover,.ssbp--theme-6 .ssbp-buffer:focus,.ssbp--theme-6 .ssbp-buffer:active{background-color:#272727}.ssbp--theme-6 .ssbp-buffer+.ssbp-each-share{color:#272727;border-color:#272727}.ssbp--theme-6 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-6 .ssbp-diggit:hover,.ssbp--theme-6 .ssbp-diggit:focus,.ssbp--theme-6 .ssbp-diggit:active{background-color:#14589E}.ssbp--theme-6 .ssbp-diggit+.ssbp-each-share{color:#14589E;border-color:#14589E}.ssbp--theme-6 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-6 .ssbp-email:hover,.ssbp--theme-6 .ssbp-email:focus,.ssbp--theme-6 .ssbp-email:active{background-color:#787878}.ssbp--theme-6 .ssbp-email+.ssbp-each-share{color:#787878;border-color:#787878}.ssbp--theme-6 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis:hover,.ssbp--theme-6 .ssbp-ellipsis:focus,.ssbp--theme-6 .ssbp-ellipsis:active{background-color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC;border-color:#4582EC}.ssbp--theme-6 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook:hover,.ssbp--theme-6 .ssbp-facebook:focus,.ssbp--theme-6 .ssbp-facebook:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save:hover,.ssbp--theme-6 .ssbp-facebook_save:focus,.ssbp--theme-6 .ssbp-facebook_save:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger:hover,.ssbp--theme-6 .ssbp-facebook-messenger:focus,.ssbp--theme-6 .ssbp-facebook-messenger:active{background-color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF;border-color:#0084FF}.ssbp--theme-6 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-6 .ssbp-flattr:hover,.ssbp--theme-6 .ssbp-flattr:focus,.ssbp--theme-6 .ssbp-flattr:active{background-color:#f67C1A}.ssbp--theme-6 .ssbp-flattr+.ssbp-each-share{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-6 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-6 .ssbp-google:hover,.ssbp--theme-6 .ssbp-google:focus,.ssbp--theme-6 .ssbp-google:active{background-color:#DC4E41}.ssbp--theme-6 .ssbp-google+.ssbp-each-share{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-6 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-6 .ssbp-linkedin:hover,.ssbp--theme-6 .ssbp-linkedin:focus,.ssbp--theme-6 .ssbp-linkedin:active{background-color:#007bb6}.ssbp--theme-6 .ssbp-linkedin+.ssbp-each-share{color:#007bb6;border-color:#007bb6}.ssbp--theme-6 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest:hover,.ssbp--theme-6 .ssbp-pinterest:focus,.ssbp--theme-6 .ssbp-pinterest:active{background-color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-6 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-6 .ssbp-print:hover,.ssbp--theme-6 .ssbp-print:focus,.ssbp--theme-6 .ssbp-print:active{background-color:#1F6B43}.ssbp--theme-6 .ssbp-print+.ssbp-each-share{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-6 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-6 .ssbp-reddit:hover,.ssbp--theme-6 .ssbp-reddit:focus,.ssbp--theme-6 .ssbp-reddit:active{background-color:#FF4500}.ssbp--theme-6 .ssbp-reddit+.ssbp-each-share{color:#FF4500;border-color:#FF4500}.ssbp--theme-6 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons:hover,.ssbp--theme-6 .ssbp-simplesharebuttons:focus,.ssbp--theme-6 .ssbp-simplesharebuttons:active{background-color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec;border-color:#4582ec}.ssbp--theme-6 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon:hover,.ssbp--theme-6 .ssbp-stumbleupon:focus,.ssbp--theme-6 .ssbp-stumbleupon:active{background-color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924;border-color:#EB4924}.ssbp--theme-6 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-6 .ssbp-tumblr:hover,.ssbp--theme-6 .ssbp-tumblr:focus,.ssbp--theme-6 .ssbp-tumblr:active{background-color:#2C4762}.ssbp--theme-6 .ssbp-tumblr+.ssbp-each-share{color:#2C4762;border-color:#2C4762}.ssbp--theme-6 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-6 .ssbp-twitter:hover,.ssbp--theme-6 .ssbp-twitter:focus,.ssbp--theme-6 .ssbp-twitter:active{background-color:#00a9f1}.ssbp--theme-6 .ssbp-twitter+.ssbp-each-share{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-6 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-6 .ssbp-vk:hover,.ssbp--theme-6 .ssbp-vk:focus,.ssbp--theme-6 .ssbp-vk:active{background-color:#45668E}.ssbp--theme-6 .ssbp-vk+.ssbp-each-share{color:#45668E;border-color:#45668E}.ssbp--theme-6 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp:hover,.ssbp--theme-6 .ssbp-whatsapp:focus,.ssbp--theme-6 .ssbp-whatsapp:active{background-color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23;border-color:#34AF23}.ssbp--theme-6 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-6 .ssbp-yummly:hover,.ssbp--theme-6 .ssbp-yummly:focus,.ssbp--theme-6 .ssbp-yummly:active{background-color:#E16120}.ssbp--theme-6 .ssbp-yummly+.ssbp-each-share{color:#E16120;border-color:#E16120}.ssbp--theme-6 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-6 .ssbp-xing:hover,.ssbp--theme-6 .ssbp-xing:focus,.ssbp--theme-6 .ssbp-xing:active{background-color:#026466}.ssbp--theme-6 .ssbp-xing+.ssbp-each-share{color:#026466;border-color:#026466}.ssbp--theme-6 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border:1px solid #fff;background-color:#fff;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-6.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-7 .ssbp-list li{margin-left:6px}.ssbp--theme-7 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;}.ssbp--theme-7 .ssbp-btn{display:block;border:2px solid #fff;color:#fff;background-color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s}.ssbp--theme-7 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-7 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-7 .ssbp-buffer:visited{color:#272727}.ssbp--theme-7 .ssbp-buffer:hover,.ssbp--theme-7 .ssbp-buffer:focus,.ssbp--theme-7 .ssbp-buffer:active{background-color:#272727;border-bottom:2px #272727 solid;color:#fff}.ssbp--theme-7 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-7 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-7 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-7 .ssbp-diggit:hover,.ssbp--theme-7 .ssbp-diggit:focus,.ssbp--theme-7 .ssbp-diggit:active{background-color:#14589E;border-bottom:2px #14589E solid;color:#fff}.ssbp--theme-7 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-7 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-7 .ssbp-email:visited{color:#787878}.ssbp--theme-7 .ssbp-email:hover,.ssbp--theme-7 .ssbp-email:focus,.ssbp--theme-7 .ssbp-email:active{background-color:#787878;border-bottom:2px #787878 solid;color:#fff}.ssbp--theme-7 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-7 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:hover,.ssbp--theme-7 .ssbp-ellipsis:focus,.ssbp--theme-7 .ssbp-ellipsis:active{background-color:#4582EC;border-bottom:2px #4582EC solid;color:#fff}.ssbp--theme-7 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-7 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook:hover,.ssbp--theme-7 .ssbp-facebook:focus,.ssbp--theme-7 .ssbp-facebook:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:hover,.ssbp--theme-7 .ssbp-facebook_save:focus,.ssbp--theme-7 .ssbp-facebook_save:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:hover,.ssbp--theme-7 .ssbp-facebook-messenger:focus,.ssbp--theme-7 .ssbp-facebook-messenger:active{background-color:#0084FF;border-bottom:2px #0084FF solid;color:#fff}.ssbp--theme-7 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-7 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:hover,.ssbp--theme-7 .ssbp-flattr:focus,.ssbp--theme-7 .ssbp-flattr:active{background-color:#f67C1A;border-bottom:2px #f67C1A solid;color:#fff}.ssbp--theme-7 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-7 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-7 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-7 .ssbp-google:hover,.ssbp--theme-7 .ssbp-google:focus,.ssbp--theme-7 .ssbp-google:active{background-color:#DC4E41;border-bottom:2px #DC4E41 solid;color:#fff}.ssbp--theme-7 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-7 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:hover,.ssbp--theme-7 .ssbp-linkedin:focus,.ssbp--theme-7 .ssbp-linkedin:active{background-color:#007bb6;border-bottom:2px #007bb6 solid;color:#fff}.ssbp--theme-7 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-7 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:hover,.ssbp--theme-7 .ssbp-pinterest:focus,.ssbp--theme-7 .ssbp-pinterest:active{background-color:#ce1a19;border-bottom:2px #ce1a19 solid;color:#fff}.ssbp--theme-7 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-7 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-7 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-7 .ssbp-print:hover,.ssbp--theme-7 .ssbp-print:focus,.ssbp--theme-7 .ssbp-print:active{background-color:#1F6B43;border-bottom:2px #1F6B43 solid;color:#fff}.ssbp--theme-7 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-7 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-7 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-7 .ssbp-reddit:hover,.ssbp--theme-7 .ssbp-reddit:focus,.ssbp--theme-7 .ssbp-reddit:active{background-color:#FF4500;border-bottom:2px #FF4500 solid;color:#fff}.ssbp--theme-7 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-7 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:hover,.ssbp--theme-7 .ssbp-simplesharebuttons:focus,.ssbp--theme-7 .ssbp-simplesharebuttons:active{background-color:#4582ec;border-bottom:2px #4582ec solid;color:#fff}.ssbp--theme-7 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-7 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:hover,.ssbp--theme-7 .ssbp-stumbleupon:focus,.ssbp--theme-7 .ssbp-stumbleupon:active{background-color:#EB4924;border-bottom:2px #EB4924 solid;color:#fff}.ssbp--theme-7 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-7 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:hover,.ssbp--theme-7 .ssbp-tumblr:focus,.ssbp--theme-7 .ssbp-tumblr:active{background-color:#2C4762;border-bottom:2px #2C4762 solid;color:#fff}.ssbp--theme-7 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-7 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:hover,.ssbp--theme-7 .ssbp-twitter:focus,.ssbp--theme-7 .ssbp-twitter:active{background-color:#00a9f1;border-bottom:2px #00a9f1 solid;color:#fff}.ssbp--theme-7 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-7 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-7 .ssbp-vk:visited{color:#45668E}.ssbp--theme-7 .ssbp-vk:hover,.ssbp--theme-7 .ssbp-vk:focus,.ssbp--theme-7 .ssbp-vk:active{background-color:#45668E;border-bottom:2px #45668E solid;color:#fff}.ssbp--theme-7 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-7 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:hover,.ssbp--theme-7 .ssbp-whatsapp:focus,.ssbp--theme-7 .ssbp-whatsapp:active{background-color:#34AF23;border-bottom:2px #34AF23 solid;color:#fff}.ssbp--theme-7 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-7 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-7 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-7 .ssbp-yummly:hover,.ssbp--theme-7 .ssbp-yummly:focus,.ssbp--theme-7 .ssbp-yummly:active{background-color:#E16120;border-bottom:2px #E16120 solid;color:#fff}.ssbp--theme-7 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-7 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-7 .ssbp-xing:visited{color:#026466}.ssbp--theme-7 .ssbp-xing:hover,.ssbp--theme-7 .ssbp-xing:focus,.ssbp--theme-7 .ssbp-xing:active{background-color:#026466;border-bottom:2px #026466 solid;color:#fff}.ssbp--theme-7 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-7 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-8 .ssbp-list li{margin-left:6px}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active{border-bottom:3px solid #272727}.ssbp--theme-8 .ssbp-btn,.ssbp--theme-8 .ssbp-btn:visited{width:4em;height:3em;line-height:3em;position:relative;border:3px solid #272727;background-color:#fff;color:#272727;-webkit-transition:.25s;transition:.25s}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active,.ssbp--theme-8 .ssbp-btn:visited:hover,.ssbp--theme-8 .ssbp-btn:visited:focus,.ssbp--theme-8 .ssbp-btn:visited:active{background-color:#272727;color:#fff}.ssbp--theme-8 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-9 .ssbp-list li{margin-left:6px}.ssbp--theme-9 .ssbp-btn{display:block;padding:.5em 1em}.ssbp--theme-9 .ssbp-btn:hover,.ssbp--theme-9 .ssbp-btn:focus,.ssbp--theme-9 .ssbp-btn:active{opacity:.66}.ssbp--theme-9 .ssbp-buffer{border-bottom:5px solid #272727;color:#272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active{border-bottom:5px solid #272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active,.ssbp--theme-9 .ssbp-buffer:visited{color:#272727}.ssbp--theme-9 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-9 .ssbp-diggit{border-bottom:5px solid #14589E;color:#14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active{border-bottom:5px solid #14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active,.ssbp--theme-9 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-9 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-9 .ssbp-email{border-bottom:5px solid #787878;color:#787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active{border-bottom:5px solid #787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active,.ssbp--theme-9 .ssbp-email:visited{color:#787878}.ssbp--theme-9 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-9 .ssbp-ellipsis{border-bottom:5px solid #4582EC;color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active{border-bottom:5px solid #4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active,.ssbp--theme-9 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-9 .ssbp-facebook{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active,.ssbp--theme-9 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active,.ssbp--theme-9 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook-messenger{border-bottom:5px solid #0084FF;color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active{border-bottom:5px solid #0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active,.ssbp--theme-9 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-9 .ssbp-flattr{border-bottom:5px solid #f67C1A;color:#f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active{border-bottom:5px solid #f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active,.ssbp--theme-9 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-9 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-9 .ssbp-google{border-bottom:5px solid #DC4E41;color:#DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active{border-bottom:5px solid #DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active,.ssbp--theme-9 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-9 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-9 .ssbp-linkedin{border-bottom:5px solid #007bb6;color:#007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active{border-bottom:5px solid #007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active,.ssbp--theme-9 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-9 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-9 .ssbp-pinterest{border-bottom:5px solid #ce1a19;color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active{border-bottom:5px solid #ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active,.ssbp--theme-9 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-9 .ssbp-print{border-bottom:5px solid #1F6B43;color:#1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active{border-bottom:5px solid #1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active,.ssbp--theme-9 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-9 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-9 .ssbp-reddit{border-bottom:5px solid #FF4500;color:#FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active{border-bottom:5px solid #FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active,.ssbp--theme-9 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-9 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-9 .ssbp-simplesharebuttons{border-bottom:5px solid #4582ec;color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active{border-bottom:5px solid #4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active,.ssbp--theme-9 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-9 .ssbp-stumbleupon{border-bottom:5px solid #EB4924;color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active{border-bottom:5px solid #EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active,.ssbp--theme-9 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-9 .ssbp-tumblr{border-bottom:5px solid #2C4762;color:#2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active{border-bottom:5px solid #2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active,.ssbp--theme-9 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-9 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-9 .ssbp-twitter{border-bottom:5px solid #00a9f1;color:#00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active{border-bottom:5px solid #00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active,.ssbp--theme-9 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-9 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-9 .ssbp-vk{border-bottom:5px solid #45668E;color:#45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active{border-bottom:5px solid #45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active,.ssbp--theme-9 .ssbp-vk:visited{color:#45668E}.ssbp--theme-9 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-9 .ssbp-whatsapp{border-bottom:5px solid #34AF23;color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active{border-bottom:5px solid #34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active,.ssbp--theme-9 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-9 .ssbp-yummly{border-bottom:5px solid #E16120;color:#E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active{border-bottom:5px solid #E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active,.ssbp--theme-9 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-9 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-9 .ssbp-xing{border-bottom:5px solid #026466;color:#026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active{border-bottom:5px solid #026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active,.ssbp--theme-9 .ssbp-xing:visited{color:#026466}.ssbp--theme-9 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-9 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-9 .ssbp-each-share:before{content:"("}.ssbp--theme-9 .ssbp-each-share:after{content:")"}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-10{overflow:hidden}.ssbp--theme-10 .ssbp-list li{margin: 0}.ssbp--theme-10 .ssbp-btn{width: auto!important;height:auto!important;display:block;padding:0.5em 1em;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-10 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-10 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-10 .ssbp-btn:hover,.ssbp--theme-10 .ssbp-btn:focus,.ssbp--theme-10 .ssbp-btn:active,.ssbp--theme-10 .ssbp-btn:visited{color:#fff}.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{position:relative;display:block;padding:10px}.ssbp--theme-10.ssbp--centred .ssbp-input-url{width:100%;max-width:200px;border:1px solid #DDD;padding:8px 8px 8px 8px;font-size:20px;font-weight:400;line-height:1;color:#B3B3B3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{display:block;line-height:1}.ssbp--theme-10.ssbp--centred .ssbp-total-shares b{font-size:70px;color:#4582EC}.ssbp--theme-10.ssbp--centred .ssbp-total-shares:after{content:'Shares';display:block;font-family:'Lato',sans-serif;font-weight:700;font-size:30px;text-transform:uppercase;color:#B3B3B3}@media only screen and (min-width: 481px){.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{float:right;width:50%;padding:35px 20px;text-align:left}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{width:50%;text-align:right}}.ssbp--theme-10 .ssbp-buffer{background-color:#272727}.ssbp--theme-10 .ssbp-buffer:hover,.ssbp--theme-10 .ssbp-buffer:focus,.ssbp--theme-10 .ssbp-buffer:active,.ssbp--theme-10 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-10 .ssbp-diggit{background-color:#14589E}.ssbp--theme-10 .ssbp-diggit:hover,.ssbp--theme-10 .ssbp-diggit:focus,.ssbp--theme-10 .ssbp-diggit:active,.ssbp--theme-10 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-10 .ssbp-email{background-color:#787878}.ssbp--theme-10 .ssbp-email:hover,.ssbp--theme-10 .ssbp-email:focus,.ssbp--theme-10 .ssbp-email:active,.ssbp--theme-10 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-10 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-10 .ssbp-ellipsis:hover,.ssbp--theme-10 .ssbp-ellipsis:focus,.ssbp--theme-10 .ssbp-ellipsis:active,.ssbp--theme-10 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook:hover,.ssbp--theme-10 .ssbp-facebook:focus,.ssbp--theme-10 .ssbp-facebook:active,.ssbp--theme-10 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook_save:hover,.ssbp--theme-10 .ssbp-facebook_save:focus,.ssbp--theme-10 .ssbp-facebook_save:active,.ssbp--theme-10 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-10 .ssbp-facebook-messenger:hover,.ssbp--theme-10 .ssbp-facebook-messenger:focus,.ssbp--theme-10 .ssbp-facebook-messenger:active,.ssbp--theme-10 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-10 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-10 .ssbp-flattr:hover,.ssbp--theme-10 .ssbp-flattr:focus,.ssbp--theme-10 .ssbp-flattr:active,.ssbp--theme-10 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-10 .ssbp-google{background-color:#DC4E41}.ssbp--theme-10 .ssbp-google:hover,.ssbp--theme-10 .ssbp-google:focus,.ssbp--theme-10 .ssbp-google:active,.ssbp--theme-10 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-10 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-10 .ssbp-linkedin:hover,.ssbp--theme-10 .ssbp-linkedin:focus,.ssbp--theme-10 .ssbp-linkedin:active,.ssbp--theme-10 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-10 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-10 .ssbp-pinterest:hover,.ssbp--theme-10 .ssbp-pinterest:focus,.ssbp--theme-10 .ssbp-pinterest:active,.ssbp--theme-10 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-10 .ssbp-print{background-color:#1F6B43}.ssbp--theme-10 .ssbp-print:hover,.ssbp--theme-10 .ssbp-print:focus,.ssbp--theme-10 .ssbp-print:active,.ssbp--theme-10 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-10 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-10 .ssbp-reddit:hover,.ssbp--theme-10 .ssbp-reddit:focus,.ssbp--theme-10 .ssbp-reddit:active,.ssbp--theme-10 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-10 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-10 .ssbp-simplesharebuttons:hover,.ssbp--theme-10 .ssbp-simplesharebuttons:focus,.ssbp--theme-10 .ssbp-simplesharebuttons:active,.ssbp--theme-10 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-10 .ssbp-stumbleupon:hover,.ssbp--theme-10 .ssbp-stumbleupon:focus,.ssbp--theme-10 .ssbp-stumbleupon:active,.ssbp--theme-10 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-10 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-10 .ssbp-tumblr:hover,.ssbp--theme-10 .ssbp-tumblr:focus,.ssbp--theme-10 .ssbp-tumblr:active,.ssbp--theme-10 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-10 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-10 .ssbp-twitter:hover,.ssbp--theme-10 .ssbp-twitter:focus,.ssbp--theme-10 .ssbp-twitter:active,.ssbp--theme-10 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-10 .ssbp-vk{background-color:#45668E}.ssbp--theme-10 .ssbp-vk:hover,.ssbp--theme-10 .ssbp-vk:focus,.ssbp--theme-10 .ssbp-vk:active,.ssbp--theme-10 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-10 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-10 .ssbp-whatsapp:hover,.ssbp--theme-10 .ssbp-whatsapp:focus,.ssbp--theme-10 .ssbp-whatsapp:active,.ssbp--theme-10 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-10 .ssbp-yummly{background-color:#E16120}.ssbp--theme-10 .ssbp-yummly:hover,.ssbp--theme-10 .ssbp-yummly:focus,.ssbp--theme-10 .ssbp-yummly:active,.ssbp--theme-10 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-10 .ssbp-xing{background-color:#026466}.ssbp--theme-10 .ssbp-xing:hover,.ssbp--theme-10 .ssbp-xing:focus,.ssbp--theme-10 .ssbp-xing:active,.ssbp--theme-10 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-10 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-11{margin-left:-5px;margin-right:-5px}.ssbp--theme-11 .ssbp-list li{margin: 0}.ssbp--theme-11 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;line-height:1.2;font-size:11px}.ssbp--theme-11 .ssbp-btn{width:auto!important;height:auto!important;display:block;padding:0.6em 1em;margin:5px;text-transform:uppercase;color:#fff;font-size:11px;-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0;border-radius:5px}.ssbp--theme-11 .ssbp-btn:before{display:none}.ssbp--theme-11 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-11 .ssbp-btn:hover,.ssbp--theme-11 .ssbp-btn:focus,.ssbp--theme-11 .ssbp-btn:active,.ssbp--theme-11 .ssbp-btn:visited{color:#fff}.ssbp--theme-11 .ssbp-buffer{background-color:#272727}.ssbp--theme-11 .ssbp-buffer:hover,.ssbp--theme-11 .ssbp-buffer:focus,.ssbp--theme-11 .ssbp-buffer:active,.ssbp--theme-11 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-11 .ssbp-diggit{background-color:#14589E}.ssbp--theme-11 .ssbp-diggit:hover,.ssbp--theme-11 .ssbp-diggit:focus,.ssbp--theme-11 .ssbp-diggit:active,.ssbp--theme-11 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-11 .ssbp-email{background-color:#787878}.ssbp--theme-11 .ssbp-email:hover,.ssbp--theme-11 .ssbp-email:focus,.ssbp--theme-11 .ssbp-email:active,.ssbp--theme-11 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-11 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-11 .ssbp-ellipsis:hover,.ssbp--theme-11 .ssbp-ellipsis:focus,.ssbp--theme-11 .ssbp-ellipsis:active,.ssbp--theme-11 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook:hover,.ssbp--theme-11 .ssbp-facebook:focus,.ssbp--theme-11 .ssbp-facebook:active,.ssbp--theme-11 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook_save:hover,.ssbp--theme-11 .ssbp-facebook_save:focus,.ssbp--theme-11 .ssbp-facebook_save:active,.ssbp--theme-11 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-11 .ssbp-facebook-messenger:hover,.ssbp--theme-11 .ssbp-facebook-messenger:focus,.ssbp--theme-11 .ssbp-facebook-messenger:active,.ssbp--theme-11 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-11 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-11 .ssbp-flattr:hover,.ssbp--theme-11 .ssbp-flattr:focus,.ssbp--theme-11 .ssbp-flattr:active,.ssbp--theme-11 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-11 .ssbp-google{background-color:#DC4E41}.ssbp--theme-11 .ssbp-google:hover,.ssbp--theme-11 .ssbp-google:focus,.ssbp--theme-11 .ssbp-google:active,.ssbp--theme-11 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-11 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-11 .ssbp-linkedin:hover,.ssbp--theme-11 .ssbp-linkedin:focus,.ssbp--theme-11 .ssbp-linkedin:active,.ssbp--theme-11 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-11 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-11 .ssbp-pinterest:hover,.ssbp--theme-11 .ssbp-pinterest:focus,.ssbp--theme-11 .ssbp-pinterest:active,.ssbp--theme-11 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-11 .ssbp-print{background-color:#1F6B43}.ssbp--theme-11 .ssbp-print:hover,.ssbp--theme-11 .ssbp-print:focus,.ssbp--theme-11 .ssbp-print:active,.ssbp--theme-11 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-11 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-11 .ssbp-reddit:hover,.ssbp--theme-11 .ssbp-reddit:focus,.ssbp--theme-11 .ssbp-reddit:active,.ssbp--theme-11 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-11 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-11 .ssbp-simplesharebuttons:hover,.ssbp--theme-11 .ssbp-simplesharebuttons:focus,.ssbp--theme-11 .ssbp-simplesharebuttons:active,.ssbp--theme-11 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-11 .ssbp-stumbleupon:hover,.ssbp--theme-11 .ssbp-stumbleupon:focus,.ssbp--theme-11 .ssbp-stumbleupon:active,.ssbp--theme-11 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-11 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-11 .ssbp-tumblr:hover,.ssbp--theme-11 .ssbp-tumblr:focus,.ssbp--theme-11 .ssbp-tumblr:active,.ssbp--theme-11 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-11 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-11 .ssbp-twitter:hover,.ssbp--theme-11 .ssbp-twitter:focus,.ssbp--theme-11 .ssbp-twitter:active,.ssbp--theme-11 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-11 .ssbp-vk{background-color:#45668E}.ssbp--theme-11 .ssbp-vk:hover,.ssbp--theme-11 .ssbp-vk:focus,.ssbp--theme-11 .ssbp-vk:active,.ssbp--theme-11 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-11 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-11 .ssbp-whatsapp:hover,.ssbp--theme-11 .ssbp-whatsapp:focus,.ssbp--theme-11 .ssbp-whatsapp:active,.ssbp--theme-11 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-11 .ssbp-yummly{background-color:#E16120}.ssbp--theme-11 .ssbp-yummly:hover,.ssbp--theme-11 .ssbp-yummly:focus,.ssbp--theme-11 .ssbp-yummly:active,.ssbp--theme-11 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-11 .ssbp-xing{background-color:#026466}.ssbp--theme-11 .ssbp-xing:hover,.ssbp--theme-11 .ssbp-xing:focus,.ssbp--theme-11 .ssbp-xing:active,.ssbp--theme-11 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-11 .ssbp-each-share{padding:2px;font-size:10px;margin-right:5px;margin-left:5px;text-align:center;color:#FFF;border-radius:5px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
 
445
  .active.in {
446
  position: relatve;
@@ -604,3 +654,603 @@
604
  margin-right: -12px;
605
  margin-left: 0;
606
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  .ssbp--theme-4 .ssbp-diggit {
344
  background-color: #14589E
345
  }
346
+
347
  .ssbp--theme-4 .ssbp-email {
348
  background-color: #787878
349
  }
441
  }
442
 
443
  /* Share buttons preview */
444
+ .ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}
445
+ .ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ssbp-spinner:before{font-family:'ssbp';content:"\e614"}.ssbp-spinner{-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}.ssbp-btn:before,.ssbp-toggle-switch:before{display:inline-block;font-family:'ssbp';speak:none;font-size:24px;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none}.ssbp-arrow-right:before{content:"\e612"}.ssbp-arrow-left:before{content:"\e613"}.ssbp-arrow-down:before{content:"\e619"}.ssbp-arrow-up:before{content:"\e61a"}.ssbp-chevron-down:before,.ssbp-toggle-switch:before{content:"\e618"}.ssbp-chevron-up:before,.ssbp--state-hidden .ssbp-toggle-switch:before{content:"\e615"}.ssbp-chevron-right:before,.ssbp--fixed-right .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-left .ssbp-toggle-switch:before{content:"\e616"}.ssbp-chevron-left:before,.ssbp--fixed-left .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-right .ssbp-toggle-switch:before{content:"\e617"}.ssbp-simplesharebuttons:before{content:"\e611"}.ssbp-yummly:before{content:"\e60b"}.ssbp-whatsapp:before{content:"\e60f"}
446
+ .ssbp-diggit:before{content:"\e60c"}
447
+ .ssbp-line:before{
448
+ content: url("../images/line.svg");
449
+ left: 0;
450
+ padding: 5px 8px 0;
451
+ position: absolute;
452
+ top: 0;
453
+ width: 100%;
454
+ }
455
+ .ssbp-buffer:before{content:"\e60d"}.ssbp-close:before{content:"\e614"}.ssbp-twitter:before{content:"\e605"}.ssbp-reddit:before{content:"\e606"}.ssbp-flattr:before{content:"\e607"}.ssbp-tumblr:before{content:"\e608"}.ssbp-linkedin:before{content:"\e609"}.ssbp-google:before{content:"\e60a"}.ssbp-xing:before{content:"\e610"}.ssbp-facebook:before{content:"\e60e"}.ssbp-facebook_save:before{content:"\e900"}.ssbp-facebook-messenger:before{content:"\e611"}.ssbp-vk:before{content:"\e600"}.ssbp-stumbleupon:before{content:"\e601"}.ssbp-print:before{content:"\e602"}.ssbp-pinterest:before{content:"\e603"}.ssbp-email:before{content:"\e604"}.ssbp-ellipsis:before{content:"\e612"}.ssbp-x:before{content:"\e613"}@media print{.ssbp-wrap{display:none !important}}.ssbp-wrap *,.ssbp-wrap *:before,.ssbp-wrap *:after{box-sizing:border-box}.ssbp-input-url-div,.ssbp-total-shares,.ssba-hide-button.ssbp-each-share,.ssbp-toggle-switch,.ssbp-text{display:none}.ssbp-wrap{position:relative;display:inline-block;padding:0px;font-size:0;color:#272727}.ssbp-wrap.ssbp--centred{display:block;text-align:center}.ssbp-wrap.ssbp--aligned-right{display:block;text-align:right}.ssbp-wrap.ssbp--aligned-right .ssbp-container{display:inline-block}.ssbp-wrap .ssbp-container,.ssbp-wrap .ssbp-toggle-switch{font-size:16px}.ssbp-wrap .ssbp-list{list-style:none;display:inline-block;vertical-align:middle;margin:0;padding:0}.ssbp-wrap .ssbp-list li{position:relative;display:inline-block;vertical-align:top}.ssbp-wrap .ssbp-list li:first-of-type{margin-left:0}.ssbp-wrap .ssbp-btn{display:inline-block;text-align:center;text-decoration:none;font-family:sans-serif}.ssbp-wrap.ssbp--stacked .ssbp-list li,.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp-wrap.ssbp--fixed-right .ssbp-list li{display:block;margin-top:6px;margin-left:0 !important;margin-right:0 !important}.ssbp-wrap.ssbp--stacked .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-left .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-right .ssbp-list li:first-of-type{margin-top:0}.ssbp-wrap[class*="ssbp--fixed"]{position:fixed;z-index:99999}.ssbp-wrap[class*="ssbp--fixed"] .ssbp-container{-webkit-transition:.25s;transition:.25s}.ssbp-wrap.ssbp--fixed-top,.ssbp-wrap.ssbp--fixed-bottom{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ssbp-wrap.ssbp--fixed-left,.ssbp-wrap.ssbp--fixed-right{top:25%}.ssbp-wrap.ssbp--fixed-top{top:0}.ssbp-wrap.ssbp--fixed-bottom{bottom:0}.ssbp-wrap.ssbp--fixed-left{left:0}.ssbp-wrap.ssbp--fixed-right{right:0}.ssbp-wrap[data-ssbp-counts="true"] .ssbp-each-share{display:block;pointer-events:none}.ssbp-wrap[data-ssbp-total-counts="true"] .ssbp-total-shares{display:inline-block;padding:0 .5em;text-align:center;font-size:14px;line-height:2}.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--stacked .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares{display:block;padding:0}.ssbp-toggle-switch{position:absolute;padding:0;border:0;background:transparent;text-align:center;cursor:pointer;-webkit-transition:.25s;transition:.25s;display:none}.ssbp-toggle-switch:active,.ssbp-toggle-switch:hover,.ssbp-toggle-switch:focus{padding:0;border:0}.ssbp--fixed-left .ssbp-toggle-switch,.ssbp--fixed-right .ssbp-toggle-switch{left:0;bottom:100%;width:100%}.ssbp--fixed-top .ssbp-toggle-switch,.ssbp--fixed-bottom .ssbp-toggle-switch{left:100%;bottom:0;height:100%}.ssbp--show-toggle.ssbp--fixed-top .ssbp-toggle-switch:before{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ssbp--show-toggle.ssbp--fixed-bottom .ssbp-toggle-switch:before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ssbp--show-toggle.ssbp--fixed-right .ssbp-toggle-switch:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ssbp--state-hidden .ssbp-each-share{opacity:0}.ssbp--state-hidden .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-top .ssbp-container{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.ssbp--state-hidden.ssbp--fixed-bottom .ssbp-container{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--state-hidden.ssbp--fixed-left .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-right .ssbp-container{-webkit-transform:translateX(100%);transform:translateX(100%)}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}@keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}.ssbp--theme-1 .ssbp-container{padding:6px}.ssbp--theme-1 .ssbp-list li{margin-left:12px}.ssbp--theme-1 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;border-radius:50%;color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-1 .ssbp-btn:hover,.ssbp--theme-1 .ssbp-btn:focus,.ssbp--theme-1 .ssbp-btn:active{background-color:#fff;z-index:10}.ssbp--theme-1 .ssbp-btn:visited{color:#fff}.ssbp--theme-1 .ssbp-btn:before{-webkit-transition:-webkit-transform .25s;transition:transform .25s}.ssbp--theme-1 .ssbp-btn:active:before{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-1 .ssbp-btn:after{content:'';visibility:hidden;position:absolute;border:1px solid #fff;border-radius:50%;top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;-webkit-animation-duration:.5s;animation-duration:.5s}.ssbp--theme-1 .ssbp-btn:hover:after{-webkit-animation-name:ripple-out;animation-name:ripple-out}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li{margin-left:13.2px}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li:first-of-type{margin-left:0}.ssbp--theme-1 .ssbp-buffer{background-color:#272727}.ssbp--theme-1 .ssbp-buffer:hover,.ssbp--theme-1 .ssbp-buffer:focus,.ssbp--theme-1 .ssbp-buffer:active{color:#272727;border-color:#272727}.ssbp--theme-1 .ssbp-buffer+.ssbp-each-share{background-color:#272727}
456
+ .ssbp--theme-1 .ssbp-diggit{background-color:#14589E}
457
+ .ssbp--theme-1 .ssbp-diggit:hover,
458
+ .ssbp--theme-1 .ssbp-diggit:focus,
459
+ .ssbp--theme-1 .ssbp-diggit:active{
460
+ color:#14589E;
461
+ border-color:#14589E
462
+ }
463
+ .ssbp--theme-1 .ssbp-diggit+.ssbp-each-share{
464
+ background-color:#14589E
465
+ }
466
+
467
+ .ssbp--theme-1 .ssbp-email{background-color:#787878}.ssbp--theme-1 .ssbp-email:hover,.ssbp--theme-1 .ssbp-email:focus,.ssbp--theme-1 .ssbp-email:active{color:#787878;border-color:#787878}.ssbp--theme-1 .ssbp-email+.ssbp-each-share{background-color:#787878}.ssbp--theme-1 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis:hover,.ssbp--theme-1 .ssbp-ellipsis:focus,.ssbp--theme-1 .ssbp-ellipsis:active{color:#4582EC;border-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis+.ssbp-each-share{background-color:#4582EC}.ssbp--theme-1 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook:hover,.ssbp--theme-1 .ssbp-facebook:focus,.ssbp--theme-1 .ssbp-facebook:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save:hover,.ssbp--theme-1 .ssbp-facebook_save:focus,.ssbp--theme-1 .ssbp-facebook_save:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger:hover,.ssbp--theme-1 .ssbp-facebook-messenger:focus,.ssbp--theme-1 .ssbp-facebook-messenger:active{color:#0084FF;border-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#0084FF}.ssbp--theme-1 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr:hover,.ssbp--theme-1 .ssbp-flattr:focus,.ssbp--theme-1 .ssbp-flattr:active{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr+.ssbp-each-share{background-color:#f67C1A}.ssbp--theme-1 .ssbp-google{background-color:#DC4E41}.ssbp--theme-1 .ssbp-google:hover,.ssbp--theme-1 .ssbp-google:focus,.ssbp--theme-1 .ssbp-google:active{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-1 .ssbp-google+.ssbp-each-share{background-color:#DC4E41}.ssbp--theme-1 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin:hover,.ssbp--theme-1 .ssbp-linkedin:focus,.ssbp--theme-1 .ssbp-linkedin:active{color:#007bb6;border-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin+.ssbp-each-share{background-color:#007bb6}.ssbp--theme-1 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest:hover,.ssbp--theme-1 .ssbp-pinterest:focus,.ssbp--theme-1 .ssbp-pinterest:active{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest+.ssbp-each-share{background-color:#ce1a19}.ssbp--theme-1 .ssbp-print{background-color:#1F6B43}.ssbp--theme-1 .ssbp-print:hover,.ssbp--theme-1 .ssbp-print:focus,.ssbp--theme-1 .ssbp-print:active{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-1 .ssbp-print+.ssbp-each-share{background-color:#1F6B43}.ssbp--theme-1 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-1 .ssbp-reddit:hover,.ssbp--theme-1 .ssbp-reddit:focus,.ssbp--theme-1 .ssbp-reddit:active{color:#FF4500;border-color:#FF4500}.ssbp--theme-1 .ssbp-reddit+.ssbp-each-share{background-color:#FF4500}.ssbp--theme-1 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons:hover,.ssbp--theme-1 .ssbp-simplesharebuttons:focus,.ssbp--theme-1 .ssbp-simplesharebuttons:active{color:#4582ec;border-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#4582ec}.ssbp--theme-1 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon:hover,.ssbp--theme-1 .ssbp-stumbleupon:focus,.ssbp--theme-1 .ssbp-stumbleupon:active{color:#EB4924;border-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon+.ssbp-each-share{background-color:#EB4924}.ssbp--theme-1 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr:hover,.ssbp--theme-1 .ssbp-tumblr:focus,.ssbp--theme-1 .ssbp-tumblr:active{color:#2C4762;border-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr+.ssbp-each-share{background-color:#2C4762}.ssbp--theme-1 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter:hover,.ssbp--theme-1 .ssbp-twitter:focus,.ssbp--theme-1 .ssbp-twitter:active{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter+.ssbp-each-share{background-color:#00a9f1}.ssbp--theme-1 .ssbp-vk{background-color:#45668E}.ssbp--theme-1 .ssbp-vk:hover,.ssbp--theme-1 .ssbp-vk:focus,.ssbp--theme-1 .ssbp-vk:active{color:#45668E;border-color:#45668E}.ssbp--theme-1 .ssbp-vk+.ssbp-each-share{background-color:#45668E}.ssbp--theme-1 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp:hover,.ssbp--theme-1 .ssbp-whatsapp:focus,.ssbp--theme-1 .ssbp-whatsapp:active{color:#34AF23;border-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp+.ssbp-each-share{background-color:#34AF23}.ssbp--theme-1 .ssbp-yummly{background-color:#E16120}.ssbp--theme-1 .ssbp-yummly:hover,.ssbp--theme-1 .ssbp-yummly:focus,.ssbp--theme-1 .ssbp-yummly:active{color:#E16120;border-color:#E16120}.ssbp--theme-1 .ssbp-yummly+.ssbp-each-share{background-color:#E16120}.ssbp--theme-1 .ssbp-xing{background-color:#026466}.ssbp--theme-1 .ssbp-xing:hover,.ssbp--theme-1 .ssbp-xing:focus,.ssbp--theme-1 .ssbp-xing:active{color:#026466;border-color:#026466}.ssbp--theme-1 .ssbp-xing+.ssbp-each-share{background-color:#026466}.ssbp--theme-1 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-1.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px} .ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centered .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-2 .ssbp-list li{overflow:hidden;margin: 0}.ssbp--theme-2 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-2 .ssbp-btn:before{-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn+.ssbp-each-share{position:absolute;z-index:10;bottom:0;left:0;right:0;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn:hover,.ssbp--theme-2 .ssbp-btn:focus,.ssbp--theme-2 .ssbp-btn:active,.ssbp--theme-2 .ssbp-btn:visited{z-index:10;color:#fff}.ssbp--theme-2 .ssbp-btn:hover:before,.ssbp--theme-2 .ssbp-btn:focus:before,.ssbp--theme-2 .ssbp-btn:active:before,.ssbp--theme-2 .ssbp-btn:visited:before{-webkit-transform:none !important;transform:none !important}.ssbp--theme-2 .ssbp-btn:hover+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:focus+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:active+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:visited+.ssbp-each-share{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--theme-2 .ssbp-btn:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-2[data-ssbp-counts="true"] .ssbp-btn:before{-webkit-transform:translateY(-0.25em) scale(0.75);transform:translateY(-0.25em) scale(0.75)}.ssbp--theme-2 .ssbp-buffer{background-color:#272727}.ssbp--theme-2 .ssbp-buffer:hover,.ssbp--theme-2 .ssbp-buffer:focus,.ssbp--theme-2 .ssbp-buffer:active{background-color:#0e0e0e}
468
+
469
+ .ssbp--theme-2 .ssbp-diggit{background-color:#14589E}
470
+ .ssbp--theme-2 .ssbp-diggit:hover,
471
+ .ssbp--theme-2 .ssbp-diggit:focus,
472
+ .ssbp--theme-2 .ssbp-diggit:active{background-color:#0e3f71}
473
+
474
+
475
+ .ssbp--theme-2 .ssbp-email{background-color:#787878}.ssbp--theme-2 .ssbp-email:hover,.ssbp--theme-2 .ssbp-email:focus,.ssbp--theme-2 .ssbp-email:active{background-color:#5f5f5f}.ssbp--theme-2 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-2 .ssbp-ellipsis:hover,.ssbp--theme-2 .ssbp-ellipsis:focus,.ssbp--theme-2 .ssbp-ellipsis:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook:hover,.ssbp--theme-2 .ssbp-facebook:focus,.ssbp--theme-2 .ssbp-facebook:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook_save:hover,.ssbp--theme-2 .ssbp-facebook_save:focus,.ssbp--theme-2 .ssbp-facebook_save:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-2 .ssbp-facebook-messenger:hover,.ssbp--theme-2 .ssbp-facebook-messenger:focus,.ssbp--theme-2 .ssbp-facebook-messenger:active{background-color:#006acc}.ssbp--theme-2 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-2 .ssbp-flattr:hover,.ssbp--theme-2 .ssbp-flattr:focus,.ssbp--theme-2 .ssbp-flattr:active{background-color:#d56308}.ssbp--theme-2 .ssbp-google{background-color:#DC4E41}.ssbp--theme-2 .ssbp-google:hover,.ssbp--theme-2 .ssbp-google:focus,.ssbp--theme-2 .ssbp-google:active{background-color:#c63224}.ssbp--theme-2 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-2 .ssbp-linkedin:hover,.ssbp--theme-2 .ssbp-linkedin:focus,.ssbp--theme-2 .ssbp-linkedin:active{background-color:#005983}.ssbp--theme-2 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-2 .ssbp-pinterest:hover,.ssbp--theme-2 .ssbp-pinterest:focus,.ssbp--theme-2 .ssbp-pinterest:active{background-color:#a11413}.ssbp--theme-2 .ssbp-print{background-color:#1F6B43}.ssbp--theme-2 .ssbp-print:hover,.ssbp--theme-2 .ssbp-print:focus,.ssbp--theme-2 .ssbp-print:active{background-color:#14432a}.ssbp--theme-2 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-2 .ssbp-reddit:hover,.ssbp--theme-2 .ssbp-reddit:focus,.ssbp--theme-2 .ssbp-reddit:active{background-color:#cc3700}.ssbp--theme-2 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-2 .ssbp-simplesharebuttons:hover,.ssbp--theme-2 .ssbp-simplesharebuttons:focus,.ssbp--theme-2 .ssbp-simplesharebuttons:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-2 .ssbp-stumbleupon:hover,.ssbp--theme-2 .ssbp-stumbleupon:focus,.ssbp--theme-2 .ssbp-stumbleupon:active{background-color:#ca3412}.ssbp--theme-2 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-2 .ssbp-tumblr:hover,.ssbp--theme-2 .ssbp-tumblr:focus,.ssbp--theme-2 .ssbp-tumblr:active{background-color:#1c2e3f}.ssbp--theme-2 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-2 .ssbp-twitter:hover,.ssbp--theme-2 .ssbp-twitter:focus,.ssbp--theme-2 .ssbp-twitter:active{background-color:#0085be}.ssbp--theme-2 .ssbp-vk{background-color:#45668E}.ssbp--theme-2 .ssbp-vk:hover,.ssbp--theme-2 .ssbp-vk:focus,.ssbp--theme-2 .ssbp-vk:active{background-color:#344d6c}.ssbp--theme-2 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-2 .ssbp-whatsapp:hover,.ssbp--theme-2 .ssbp-whatsapp:focus,.ssbp--theme-2 .ssbp-whatsapp:active{background-color:#27851b}.ssbp--theme-2 .ssbp-yummly{background-color:#E16120}.ssbp--theme-2 .ssbp-yummly:hover,.ssbp--theme-2 .ssbp-yummly:focus,.ssbp--theme-2 .ssbp-yummly:active{background-color:#b64d18}.ssbp--theme-2 .ssbp-xing{background-color:#026466}.ssbp--theme-2 .ssbp-xing:hover,.ssbp--theme-2 .ssbp-xing:focus,.ssbp--theme-2 .ssbp-xing:active{background-color:#013334}.ssbp--theme-2 .ssbp-each-share{padding:2px;background-color:rgba(0,0,0,0.1);font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-3 .ssbp-list li{margin: 0;}
476
+
477
+ .ssbp--theme-3 .ssbp-btn{display:block;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-3 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-3 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-3 .ssbp-btn:hover,.ssbp--theme-3 .ssbp-btn:focus,.ssbp--theme-3 .ssbp-btn:active,.ssbp--theme-3 .ssbp-btn:visited{color:#fff}.ssbp--theme-3 .ssbp-buffer{background-color:#272727}.ssbp--theme-3 .ssbp-buffer:hover,.ssbp--theme-3 .ssbp-buffer:focus,.ssbp--theme-3 .ssbp-buffer:active,.ssbp--theme-3 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}
478
+
479
+ .ssbp--theme-3 .ssbp-diggit{background-color:#14589E}
480
+ .ssbp--theme-3 .ssbp-diggit:hover,
481
+ .ssbp--theme-3 .ssbp-diggit:focus,
482
+ .ssbp--theme-3 .ssbp-diggit:active,
483
+ .ssbp--theme-3 .ssbp-diggit+.ssbp-each-share {background-color:#0e3f71}
484
+
485
+ .ssbp--theme-3 .ssbp-email{background-color:#787878}.ssbp--theme-3 .ssbp-email:hover,.ssbp--theme-3 .ssbp-email:focus,.ssbp--theme-3 .ssbp-email:active,.ssbp--theme-3 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-3 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-3 .ssbp-ellipsis:hover,.ssbp--theme-3 .ssbp-ellipsis:focus,.ssbp--theme-3 .ssbp-ellipsis:active,.ssbp--theme-3 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook:hover,.ssbp--theme-3 .ssbp-facebook:focus,.ssbp--theme-3 .ssbp-facebook:active,.ssbp--theme-3 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook_save:hover,.ssbp--theme-3 .ssbp-facebook_save:focus,.ssbp--theme-3 .ssbp-facebook_save:active,.ssbp--theme-3 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-3 .ssbp-facebook-messenger:hover,.ssbp--theme-3 .ssbp-facebook-messenger:focus,.ssbp--theme-3 .ssbp-facebook-messenger:active,.ssbp--theme-3 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-3 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-3 .ssbp-flattr:hover,.ssbp--theme-3 .ssbp-flattr:focus,.ssbp--theme-3 .ssbp-flattr:active,.ssbp--theme-3 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-3 .ssbp-google{background-color:#DC4E41}.ssbp--theme-3 .ssbp-google:hover,.ssbp--theme-3 .ssbp-google:focus,.ssbp--theme-3 .ssbp-google:active,.ssbp--theme-3 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-3 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-3 .ssbp-linkedin:hover,.ssbp--theme-3 .ssbp-linkedin:focus,.ssbp--theme-3 .ssbp-linkedin:active,.ssbp--theme-3 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-3 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-3 .ssbp-pinterest:hover,.ssbp--theme-3 .ssbp-pinterest:focus,.ssbp--theme-3 .ssbp-pinterest:active,.ssbp--theme-3 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-3 .ssbp-print{background-color:#1F6B43}.ssbp--theme-3 .ssbp-print:hover,.ssbp--theme-3 .ssbp-print:focus,.ssbp--theme-3 .ssbp-print:active,.ssbp--theme-3 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-3 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-3 .ssbp-reddit:hover,.ssbp--theme-3 .ssbp-reddit:focus,.ssbp--theme-3 .ssbp-reddit:active,.ssbp--theme-3 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-3 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-3 .ssbp-simplesharebuttons:hover,.ssbp--theme-3 .ssbp-simplesharebuttons:focus,.ssbp--theme-3 .ssbp-simplesharebuttons:active,.ssbp--theme-3 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-3 .ssbp-stumbleupon:hover,.ssbp--theme-3 .ssbp-stumbleupon:focus,.ssbp--theme-3 .ssbp-stumbleupon:active,.ssbp--theme-3 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-3 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-3 .ssbp-tumblr:hover,.ssbp--theme-3 .ssbp-tumblr:focus,.ssbp--theme-3 .ssbp-tumblr:active,.ssbp--theme-3 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-3 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-3 .ssbp-twitter:hover,.ssbp--theme-3 .ssbp-twitter:focus,.ssbp--theme-3 .ssbp-twitter:active,.ssbp--theme-3 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-3 .ssbp-vk{background-color:#45668E}.ssbp--theme-3 .ssbp-vk:hover,.ssbp--theme-3 .ssbp-vk:focus,.ssbp--theme-3 .ssbp-vk:active,.ssbp--theme-3 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-3 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-3 .ssbp-whatsapp:hover,.ssbp--theme-3 .ssbp-whatsapp:focus,.ssbp--theme-3 .ssbp-whatsapp:active,.ssbp--theme-3 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-3 .ssbp-yummly{background-color:#E16120}.ssbp--theme-3 .ssbp-yummly:hover,.ssbp--theme-3 .ssbp-yummly:focus,.ssbp--theme-3 .ssbp-yummly:active,.ssbp--theme-3 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-3 .ssbp-xing{background-color:#026466}.ssbp--theme-3 .ssbp-xing:hover,.ssbp--theme-3 .ssbp-xing:focus,.ssbp--theme-3 .ssbp-xing:active,.ssbp--theme-3 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-3 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-4[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:8px}.ssbp--theme-4 .ssbp-btn{width:3em;height:3em;line-height:3em;border-radius:7.5px;color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s;box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1);border-bottom:0}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active{box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1),inset 0 0 3.5em rgba(0,0,0,0.33)}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active,.ssbp--theme-4 .ssbp-btn:visited{color:#fff}.ssbp--theme-4 .ssbp-list li{margin-left:12px}.ssbp--theme-4 .ssbp-buffer{background-color:#272727}
486
+ .ssbp--theme-4 .ssbp-diggit{background-color:#14589E} .ssbp--theme-4 .ssbp-email{background-color:#787878}.ssbp--theme-4 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-4 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-4 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-4 .ssbp-google{background-color:#DC4E41}.ssbp--theme-4 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-4 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-4 .ssbp-print{background-color:#1F6B43}.ssbp--theme-4 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-4 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-4 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-4 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-4 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-4 .ssbp-vk{background-color:#45668E}.ssbp--theme-4 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-4 .ssbp-yummly{background-color:#E16120}.ssbp--theme-4 .ssbp-xing{background-color:#026466}.ssbp--theme-4 .ssbp-each-share{position:absolute;bottom:100%;right:0;z-index:11;min-width:1.25em;margin-right:-6px;margin-bottom:-8px;padding:2px 4px;border-radius:8px;background-color:#F22121;font-size:10px;color:#FFF;text-align:center}.ssbp--theme-4.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-16px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-5 .ssbp-btn{width:4em;height:3em;line-height:3em;margin-bottom:8px;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-5 .ssbp-btn:active{-webkit-transform:translateY(4px);transform:translateY(4px)}.ssbp--theme-5 .ssbp-btn:hover,.ssbp--theme-5 .ssbp-btn:focus,.ssbp--theme-5 .ssbp-btn:active,.ssbp--theme-5 .ssbp-btn:visited{color:#fff}.ssbp--theme-5.ssbp--stacked .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-right .ssbp-list li{margin-top:0}.ssbp--theme-5 .ssbp-buffer{background-color:#272727;box-shadow:0 8px 0 #0e0e0e,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-buffer:active{box-shadow:0 4px 0 #0e0e0e,0 5px 6px rgba(0,0,0,0.33)}
487
+ .ssbp--theme-5 .ssbp-diggit{
488
+ background-color:#14589E;box-shadow:0 8px 0 #0e3f71,0 10px 12px rgba(0,0,0,0.33)
489
+ }
490
+ .ssbp--theme-5 .ssbp-diggit:active{
491
+ box-shadow:0 4px 0 #0e3f71,0 5px 6px rgba(0,0,0,0.33)
492
+ }
493
+ .ssbp--theme-5 .ssbp-email{background-color:#787878;box-shadow:0 8px 0 #5f5f5f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-email:active{box-shadow:0 4px 0 #5f5f5f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis{background-color:#4582EC;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger{background-color:#0084FF;box-shadow:0 8px 0 #006acc,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger:active{box-shadow:0 4px 0 #006acc,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr{background-color:#f67C1A;box-shadow:0 8px 0 #d56308,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr:active{box-shadow:0 4px 0 #d56308,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google{background-color:#DC4E41;box-shadow:0 8px 0 #c63224,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google:active{box-shadow:0 4px 0 #c63224,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin{background-color:#007bb6;box-shadow:0 8px 0 #005983,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin:active{box-shadow:0 4px 0 #005983,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest{background-color:#ce1a19;box-shadow:0 8px 0 #a11413,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest:active{box-shadow:0 4px 0 #a11413,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print{background-color:#1F6B43;box-shadow:0 8px 0 #14432a,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print:active{box-shadow:0 4px 0 #14432a,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit{background-color:#FF4500;box-shadow:0 8px 0 #cc3700,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit:active{box-shadow:0 4px 0 #cc3700,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons{background-color:#4582ec;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon{background-color:#EB4924;box-shadow:0 8px 0 #ca3412,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon:active{box-shadow:0 4px 0 #ca3412,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr{background-color:#2C4762;box-shadow:0 8px 0 #1c2e3f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr:active{box-shadow:0 4px 0 #1c2e3f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter{background-color:#00a9f1;box-shadow:0 8px 0 #0085be,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter:active{box-shadow:0 4px 0 #0085be,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk{background-color:#45668E;box-shadow:0 8px 0 #344d6c,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk:active{box-shadow:0 4px 0 #344d6c,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp{background-color:#34AF23;box-shadow:0 8px 0 #27851b,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp:active{box-shadow:0 4px 0 #27851b,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly{background-color:#E16120;box-shadow:0 8px 0 #b64d18,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly:active{box-shadow:0 4px 0 #b64d18,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing{background-color:#026466;box-shadow:0 8px 0 #013334,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing:active{box-shadow:0 4px 0 #013334,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-6[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:6px}.ssbp--theme-6 .ssbp-btn{width:3em;height:3em;line-height:3em;border:2px solid #fff;border-radius:50%;background-color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-6 .ssbp-btn:hover,.ssbp--theme-6 .ssbp-btn:focus,.ssbp--theme-6 .ssbp-btn:active{color:#fff}.ssbp--theme-6 .ssbp-list li{margin-left:12px}.ssbp--theme-6 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-6 .ssbp-buffer:hover,.ssbp--theme-6 .ssbp-buffer:focus,.ssbp--theme-6 .ssbp-buffer:active{background-color:#272727}.ssbp--theme-6 .ssbp-buffer+.ssbp-each-share{color:#272727;border-color:#272727}.ssbp--theme-6 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-6 .ssbp-diggit:hover,.ssbp--theme-6 .ssbp-diggit:focus,.ssbp--theme-6 .ssbp-diggit:active{background-color:#14589E}.ssbp--theme-6 .ssbp-diggit+.ssbp-each-share{color:#14589E;border-color:#14589E}.ssbp--theme-6 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-6 .ssbp-email:hover,.ssbp--theme-6 .ssbp-email:focus,.ssbp--theme-6 .ssbp-email:active{background-color:#787878}.ssbp--theme-6 .ssbp-email+.ssbp-each-share{color:#787878;border-color:#787878}.ssbp--theme-6 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis:hover,.ssbp--theme-6 .ssbp-ellipsis:focus,.ssbp--theme-6 .ssbp-ellipsis:active{background-color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC;border-color:#4582EC}.ssbp--theme-6 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook:hover,.ssbp--theme-6 .ssbp-facebook:focus,.ssbp--theme-6 .ssbp-facebook:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save:hover,.ssbp--theme-6 .ssbp-facebook_save:focus,.ssbp--theme-6 .ssbp-facebook_save:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger:hover,.ssbp--theme-6 .ssbp-facebook-messenger:focus,.ssbp--theme-6 .ssbp-facebook-messenger:active{background-color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF;border-color:#0084FF}.ssbp--theme-6 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-6 .ssbp-flattr:hover,.ssbp--theme-6 .ssbp-flattr:focus,.ssbp--theme-6 .ssbp-flattr:active{background-color:#f67C1A}.ssbp--theme-6 .ssbp-flattr+.ssbp-each-share{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-6 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-6 .ssbp-google:hover,.ssbp--theme-6 .ssbp-google:focus,.ssbp--theme-6 .ssbp-google:active{background-color:#DC4E41}.ssbp--theme-6 .ssbp-google+.ssbp-each-share{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-6 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-6 .ssbp-linkedin:hover,.ssbp--theme-6 .ssbp-linkedin:focus,.ssbp--theme-6 .ssbp-linkedin:active{background-color:#007bb6}.ssbp--theme-6 .ssbp-linkedin+.ssbp-each-share{color:#007bb6;border-color:#007bb6}.ssbp--theme-6 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest:hover,.ssbp--theme-6 .ssbp-pinterest:focus,.ssbp--theme-6 .ssbp-pinterest:active{background-color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-6 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-6 .ssbp-print:hover,.ssbp--theme-6 .ssbp-print:focus,.ssbp--theme-6 .ssbp-print:active{background-color:#1F6B43}.ssbp--theme-6 .ssbp-print+.ssbp-each-share{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-6 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-6 .ssbp-reddit:hover,.ssbp--theme-6 .ssbp-reddit:focus,.ssbp--theme-6 .ssbp-reddit:active{background-color:#FF4500}.ssbp--theme-6 .ssbp-reddit+.ssbp-each-share{color:#FF4500;border-color:#FF4500}.ssbp--theme-6 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons:hover,.ssbp--theme-6 .ssbp-simplesharebuttons:focus,.ssbp--theme-6 .ssbp-simplesharebuttons:active{background-color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec;border-color:#4582ec}.ssbp--theme-6 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon:hover,.ssbp--theme-6 .ssbp-stumbleupon:focus,.ssbp--theme-6 .ssbp-stumbleupon:active{background-color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924;border-color:#EB4924}.ssbp--theme-6 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-6 .ssbp-tumblr:hover,.ssbp--theme-6 .ssbp-tumblr:focus,.ssbp--theme-6 .ssbp-tumblr:active{background-color:#2C4762}.ssbp--theme-6 .ssbp-tumblr+.ssbp-each-share{color:#2C4762;border-color:#2C4762}.ssbp--theme-6 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-6 .ssbp-twitter:hover,.ssbp--theme-6 .ssbp-twitter:focus,.ssbp--theme-6 .ssbp-twitter:active{background-color:#00a9f1}.ssbp--theme-6 .ssbp-twitter+.ssbp-each-share{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-6 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-6 .ssbp-vk:hover,.ssbp--theme-6 .ssbp-vk:focus,.ssbp--theme-6 .ssbp-vk:active{background-color:#45668E}.ssbp--theme-6 .ssbp-vk+.ssbp-each-share{color:#45668E;border-color:#45668E}.ssbp--theme-6 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp:hover,.ssbp--theme-6 .ssbp-whatsapp:focus,.ssbp--theme-6 .ssbp-whatsapp:active{background-color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23;border-color:#34AF23}.ssbp--theme-6 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-6 .ssbp-yummly:hover,.ssbp--theme-6 .ssbp-yummly:focus,.ssbp--theme-6 .ssbp-yummly:active{background-color:#E16120}.ssbp--theme-6 .ssbp-yummly+.ssbp-each-share{color:#E16120;border-color:#E16120}.ssbp--theme-6 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-6 .ssbp-xing:hover,.ssbp--theme-6 .ssbp-xing:focus,.ssbp--theme-6 .ssbp-xing:active{background-color:#026466}.ssbp--theme-6 .ssbp-xing+.ssbp-each-share{color:#026466;border-color:#026466}.ssbp--theme-6 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border:1px solid #fff;background-color:#fff;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-6.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-7 .ssbp-list li{margin-left:6px}.ssbp--theme-7 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;}.ssbp--theme-7 .ssbp-btn{display:block;border:2px solid #fff;color:#fff;background-color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s}.ssbp--theme-7 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-7 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-7 .ssbp-buffer:visited{color:#272727}.ssbp--theme-7 .ssbp-buffer:hover,.ssbp--theme-7 .ssbp-buffer:focus,.ssbp--theme-7 .ssbp-buffer:active{background-color:#272727;border-bottom:2px #272727 solid;color:#fff}.ssbp--theme-7 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-7 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-7 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-7 .ssbp-diggit:hover,.ssbp--theme-7 .ssbp-diggit:focus,.ssbp--theme-7 .ssbp-diggit:active{background-color:#14589E;border-bottom:2px #14589E solid;color:#fff}.ssbp--theme-7 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-7 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-7 .ssbp-email:visited{color:#787878}.ssbp--theme-7 .ssbp-email:hover,.ssbp--theme-7 .ssbp-email:focus,.ssbp--theme-7 .ssbp-email:active{background-color:#787878;border-bottom:2px #787878 solid;color:#fff}.ssbp--theme-7 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-7 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:hover,.ssbp--theme-7 .ssbp-ellipsis:focus,.ssbp--theme-7 .ssbp-ellipsis:active{background-color:#4582EC;border-bottom:2px #4582EC solid;color:#fff}.ssbp--theme-7 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-7 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook:hover,.ssbp--theme-7 .ssbp-facebook:focus,.ssbp--theme-7 .ssbp-facebook:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:hover,.ssbp--theme-7 .ssbp-facebook_save:focus,.ssbp--theme-7 .ssbp-facebook_save:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:hover,.ssbp--theme-7 .ssbp-facebook-messenger:focus,.ssbp--theme-7 .ssbp-facebook-messenger:active{background-color:#0084FF;border-bottom:2px #0084FF solid;color:#fff}.ssbp--theme-7 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-7 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:hover,.ssbp--theme-7 .ssbp-flattr:focus,.ssbp--theme-7 .ssbp-flattr:active{background-color:#f67C1A;border-bottom:2px #f67C1A solid;color:#fff}.ssbp--theme-7 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-7 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-7 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-7 .ssbp-google:hover,.ssbp--theme-7 .ssbp-google:focus,.ssbp--theme-7 .ssbp-google:active{background-color:#DC4E41;border-bottom:2px #DC4E41 solid;color:#fff}.ssbp--theme-7 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-7 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:hover,.ssbp--theme-7 .ssbp-linkedin:focus,.ssbp--theme-7 .ssbp-linkedin:active{background-color:#007bb6;border-bottom:2px #007bb6 solid;color:#fff}.ssbp--theme-7 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-7 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:hover,.ssbp--theme-7 .ssbp-pinterest:focus,.ssbp--theme-7 .ssbp-pinterest:active{background-color:#ce1a19;border-bottom:2px #ce1a19 solid;color:#fff}.ssbp--theme-7 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-7 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-7 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-7 .ssbp-print:hover,.ssbp--theme-7 .ssbp-print:focus,.ssbp--theme-7 .ssbp-print:active{background-color:#1F6B43;border-bottom:2px #1F6B43 solid;color:#fff}.ssbp--theme-7 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-7 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-7 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-7 .ssbp-reddit:hover,.ssbp--theme-7 .ssbp-reddit:focus,.ssbp--theme-7 .ssbp-reddit:active{background-color:#FF4500;border-bottom:2px #FF4500 solid;color:#fff}.ssbp--theme-7 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-7 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:hover,.ssbp--theme-7 .ssbp-simplesharebuttons:focus,.ssbp--theme-7 .ssbp-simplesharebuttons:active{background-color:#4582ec;border-bottom:2px #4582ec solid;color:#fff}.ssbp--theme-7 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-7 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:hover,.ssbp--theme-7 .ssbp-stumbleupon:focus,.ssbp--theme-7 .ssbp-stumbleupon:active{background-color:#EB4924;border-bottom:2px #EB4924 solid;color:#fff}.ssbp--theme-7 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-7 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:hover,.ssbp--theme-7 .ssbp-tumblr:focus,.ssbp--theme-7 .ssbp-tumblr:active{background-color:#2C4762;border-bottom:2px #2C4762 solid;color:#fff}.ssbp--theme-7 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-7 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:hover,.ssbp--theme-7 .ssbp-twitter:focus,.ssbp--theme-7 .ssbp-twitter:active{background-color:#00a9f1;border-bottom:2px #00a9f1 solid;color:#fff}.ssbp--theme-7 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-7 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-7 .ssbp-vk:visited{color:#45668E}.ssbp--theme-7 .ssbp-vk:hover,.ssbp--theme-7 .ssbp-vk:focus,.ssbp--theme-7 .ssbp-vk:active{background-color:#45668E;border-bottom:2px #45668E solid;color:#fff}.ssbp--theme-7 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-7 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:hover,.ssbp--theme-7 .ssbp-whatsapp:focus,.ssbp--theme-7 .ssbp-whatsapp:active{background-color:#34AF23;border-bottom:2px #34AF23 solid;color:#fff}.ssbp--theme-7 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-7 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-7 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-7 .ssbp-yummly:hover,.ssbp--theme-7 .ssbp-yummly:focus,.ssbp--theme-7 .ssbp-yummly:active{background-color:#E16120;border-bottom:2px #E16120 solid;color:#fff}.ssbp--theme-7 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-7 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-7 .ssbp-xing:visited{color:#026466}.ssbp--theme-7 .ssbp-xing:hover,.ssbp--theme-7 .ssbp-xing:focus,.ssbp--theme-7 .ssbp-xing:active{background-color:#026466;border-bottom:2px #026466 solid;color:#fff}.ssbp--theme-7 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-7 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-8 .ssbp-list li{margin-left:6px}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active{border-bottom:3px solid #272727}.ssbp--theme-8 .ssbp-btn,.ssbp--theme-8 .ssbp-btn:visited{width:4em;height:3em;line-height:3em;position:relative;border:3px solid #272727;background-color:#fff;color:#272727;-webkit-transition:.25s;transition:.25s}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active,.ssbp--theme-8 .ssbp-btn:visited:hover,.ssbp--theme-8 .ssbp-btn:visited:focus,.ssbp--theme-8 .ssbp-btn:visited:active{background-color:#272727;color:#fff}.ssbp--theme-8 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-9 .ssbp-list li{margin-left:6px}.ssbp--theme-9 .ssbp-btn{display:block;padding:.5em 1em}.ssbp--theme-9 .ssbp-btn:hover,.ssbp--theme-9 .ssbp-btn:focus,.ssbp--theme-9 .ssbp-btn:active{opacity:.66}.ssbp--theme-9 .ssbp-buffer{border-bottom:5px solid #272727;color:#272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active{border-bottom:5px solid #272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active,.ssbp--theme-9 .ssbp-buffer:visited{color:#272727}.ssbp--theme-9 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-9 .ssbp-diggit{border-bottom:5px solid #14589E;color:#14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active{border-bottom:5px solid #14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active,.ssbp--theme-9 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-9 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-9 .ssbp-email{border-bottom:5px solid #787878;color:#787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active{border-bottom:5px solid #787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active,.ssbp--theme-9 .ssbp-email:visited{color:#787878}.ssbp--theme-9 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-9 .ssbp-ellipsis{border-bottom:5px solid #4582EC;color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active{border-bottom:5px solid #4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active,.ssbp--theme-9 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-9 .ssbp-facebook{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active,.ssbp--theme-9 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active,.ssbp--theme-9 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook-messenger{border-bottom:5px solid #0084FF;color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active{border-bottom:5px solid #0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active,.ssbp--theme-9 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-9 .ssbp-flattr{border-bottom:5px solid #f67C1A;color:#f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active{border-bottom:5px solid #f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active,.ssbp--theme-9 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-9 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-9 .ssbp-google{border-bottom:5px solid #DC4E41;color:#DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active{border-bottom:5px solid #DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active,.ssbp--theme-9 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-9 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-9 .ssbp-linkedin{border-bottom:5px solid #007bb6;color:#007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active{border-bottom:5px solid #007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active,.ssbp--theme-9 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-9 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-9 .ssbp-pinterest{border-bottom:5px solid #ce1a19;color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active{border-bottom:5px solid #ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active,.ssbp--theme-9 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-9 .ssbp-print{border-bottom:5px solid #1F6B43;color:#1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active{border-bottom:5px solid #1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active,.ssbp--theme-9 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-9 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-9 .ssbp-reddit{border-bottom:5px solid #FF4500;color:#FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active{border-bottom:5px solid #FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active,.ssbp--theme-9 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-9 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-9 .ssbp-simplesharebuttons{border-bottom:5px solid #4582ec;color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active{border-bottom:5px solid #4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active,.ssbp--theme-9 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-9 .ssbp-stumbleupon{border-bottom:5px solid #EB4924;color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active{border-bottom:5px solid #EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active,.ssbp--theme-9 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-9 .ssbp-tumblr{border-bottom:5px solid #2C4762;color:#2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active{border-bottom:5px solid #2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active,.ssbp--theme-9 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-9 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-9 .ssbp-twitter{border-bottom:5px solid #00a9f1;color:#00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active{border-bottom:5px solid #00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active,.ssbp--theme-9 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-9 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-9 .ssbp-vk{border-bottom:5px solid #45668E;color:#45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active{border-bottom:5px solid #45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active,.ssbp--theme-9 .ssbp-vk:visited{color:#45668E}.ssbp--theme-9 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-9 .ssbp-whatsapp{border-bottom:5px solid #34AF23;color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active{border-bottom:5px solid #34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active,.ssbp--theme-9 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-9 .ssbp-yummly{border-bottom:5px solid #E16120;color:#E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active{border-bottom:5px solid #E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active,.ssbp--theme-9 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-9 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-9 .ssbp-xing{border-bottom:5px solid #026466;color:#026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active{border-bottom:5px solid #026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active,.ssbp--theme-9 .ssbp-xing:visited{color:#026466}.ssbp--theme-9 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-9 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-9 .ssbp-each-share:before{content:"("}.ssbp--theme-9 .ssbp-each-share:after{content:")"}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-10{overflow:hidden}.ssbp--theme-10 .ssbp-list li{margin: 0}.ssbp--theme-10 .ssbp-btn{width: auto!important;height:auto!important;display:block;padding:0.5em 1em;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-10 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-10 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-10 .ssbp-btn:hover,.ssbp--theme-10 .ssbp-btn:focus,.ssbp--theme-10 .ssbp-btn:active,.ssbp--theme-10 .ssbp-btn:visited{color:#fff}.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{position:relative;display:block;padding:10px}.ssbp--theme-10.ssbp--centred .ssbp-input-url{width:100%;max-width:200px;border:1px solid #DDD;padding:8px 8px 8px 8px;font-size:20px;font-weight:400;line-height:1;color:#B3B3B3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{display:block;line-height:1}.ssbp--theme-10.ssbp--centred .ssbp-total-shares b{font-size:70px;color:#4582EC}.ssbp--theme-10.ssbp--centred .ssbp-total-shares:after{content:'Shares';display:block;font-family:'Lato',sans-serif;font-weight:700;font-size:30px;text-transform:uppercase;color:#B3B3B3}@media only screen and (min-width: 481px){.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{float:right;width:50%;padding:35px 20px;text-align:left}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{width:50%;text-align:right}}.ssbp--theme-10 .ssbp-buffer{background-color:#272727}.ssbp--theme-10 .ssbp-buffer:hover,.ssbp--theme-10 .ssbp-buffer:focus,.ssbp--theme-10 .ssbp-buffer:active,.ssbp--theme-10 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-10 .ssbp-diggit{background-color:#14589E}.ssbp--theme-10 .ssbp-diggit:hover,.ssbp--theme-10 .ssbp-diggit:focus,.ssbp--theme-10 .ssbp-diggit:active,.ssbp--theme-10 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-10 .ssbp-email{background-color:#787878}.ssbp--theme-10 .ssbp-email:hover,.ssbp--theme-10 .ssbp-email:focus,.ssbp--theme-10 .ssbp-email:active,.ssbp--theme-10 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-10 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-10 .ssbp-ellipsis:hover,.ssbp--theme-10 .ssbp-ellipsis:focus,.ssbp--theme-10 .ssbp-ellipsis:active,.ssbp--theme-10 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook:hover,.ssbp--theme-10 .ssbp-facebook:focus,.ssbp--theme-10 .ssbp-facebook:active,.ssbp--theme-10 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook_save:hover,.ssbp--theme-10 .ssbp-facebook_save:focus,.ssbp--theme-10 .ssbp-facebook_save:active,.ssbp--theme-10 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-10 .ssbp-facebook-messenger:hover,.ssbp--theme-10 .ssbp-facebook-messenger:focus,.ssbp--theme-10 .ssbp-facebook-messenger:active,.ssbp--theme-10 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-10 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-10 .ssbp-flattr:hover,.ssbp--theme-10 .ssbp-flattr:focus,.ssbp--theme-10 .ssbp-flattr:active,.ssbp--theme-10 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-10 .ssbp-google{background-color:#DC4E41}.ssbp--theme-10 .ssbp-google:hover,.ssbp--theme-10 .ssbp-google:focus,.ssbp--theme-10 .ssbp-google:active,.ssbp--theme-10 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-10 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-10 .ssbp-linkedin:hover,.ssbp--theme-10 .ssbp-linkedin:focus,.ssbp--theme-10 .ssbp-linkedin:active,.ssbp--theme-10 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-10 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-10 .ssbp-pinterest:hover,.ssbp--theme-10 .ssbp-pinterest:focus,.ssbp--theme-10 .ssbp-pinterest:active,.ssbp--theme-10 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-10 .ssbp-print{background-color:#1F6B43}.ssbp--theme-10 .ssbp-print:hover,.ssbp--theme-10 .ssbp-print:focus,.ssbp--theme-10 .ssbp-print:active,.ssbp--theme-10 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-10 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-10 .ssbp-reddit:hover,.ssbp--theme-10 .ssbp-reddit:focus,.ssbp--theme-10 .ssbp-reddit:active,.ssbp--theme-10 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-10 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-10 .ssbp-simplesharebuttons:hover,.ssbp--theme-10 .ssbp-simplesharebuttons:focus,.ssbp--theme-10 .ssbp-simplesharebuttons:active,.ssbp--theme-10 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-10 .ssbp-stumbleupon:hover,.ssbp--theme-10 .ssbp-stumbleupon:focus,.ssbp--theme-10 .ssbp-stumbleupon:active,.ssbp--theme-10 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-10 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-10 .ssbp-tumblr:hover,.ssbp--theme-10 .ssbp-tumblr:focus,.ssbp--theme-10 .ssbp-tumblr:active,.ssbp--theme-10 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-10 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-10 .ssbp-twitter:hover,.ssbp--theme-10 .ssbp-twitter:focus,.ssbp--theme-10 .ssbp-twitter:active,.ssbp--theme-10 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-10 .ssbp-vk{background-color:#45668E}.ssbp--theme-10 .ssbp-vk:hover,.ssbp--theme-10 .ssbp-vk:focus,.ssbp--theme-10 .ssbp-vk:active,.ssbp--theme-10 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-10 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-10 .ssbp-whatsapp:hover,.ssbp--theme-10 .ssbp-whatsapp:focus,.ssbp--theme-10 .ssbp-whatsapp:active,.ssbp--theme-10 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-10 .ssbp-yummly{background-color:#E16120}.ssbp--theme-10 .ssbp-yummly:hover,.ssbp--theme-10 .ssbp-yummly:focus,.ssbp--theme-10 .ssbp-yummly:active,.ssbp--theme-10 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-10 .ssbp-xing{background-color:#026466}.ssbp--theme-10 .ssbp-xing:hover,.ssbp--theme-10 .ssbp-xing:focus,.ssbp--theme-10 .ssbp-xing:active,.ssbp--theme-10 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-10 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-11{margin-left:-5px;margin-right:-5px}.ssbp--theme-11 .ssbp-list li{margin: 0}.ssbp--theme-11 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;line-height:1.2;font-size:11px}.ssbp--theme-11 .ssbp-btn{width:auto!important;height:auto!important;display:block;padding:0.6em 1em;margin:5px;text-transform:uppercase;color:#fff;font-size:11px;-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0;border-radius:5px}.ssbp--theme-11 .ssbp-btn:before{display:none}.ssbp--theme-11 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-11 .ssbp-btn:hover,.ssbp--theme-11 .ssbp-btn:focus,.ssbp--theme-11 .ssbp-btn:active,.ssbp--theme-11 .ssbp-btn:visited{color:#fff}.ssbp--theme-11 .ssbp-buffer{background-color:#272727}.ssbp--theme-11 .ssbp-buffer:hover,.ssbp--theme-11 .ssbp-buffer:focus,.ssbp--theme-11 .ssbp-buffer:active,.ssbp--theme-11 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-11 .ssbp-diggit{background-color:#14589E}.ssbp--theme-11 .ssbp-diggit:hover,.ssbp--theme-11 .ssbp-diggit:focus,.ssbp--theme-11 .ssbp-diggit:active,.ssbp--theme-11 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-11 .ssbp-email{background-color:#787878}.ssbp--theme-11 .ssbp-email:hover,.ssbp--theme-11 .ssbp-email:focus,.ssbp--theme-11 .ssbp-email:active,.ssbp--theme-11 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-11 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-11 .ssbp-ellipsis:hover,.ssbp--theme-11 .ssbp-ellipsis:focus,.ssbp--theme-11 .ssbp-ellipsis:active,.ssbp--theme-11 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook:hover,.ssbp--theme-11 .ssbp-facebook:focus,.ssbp--theme-11 .ssbp-facebook:active,.ssbp--theme-11 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook_save:hover,.ssbp--theme-11 .ssbp-facebook_save:focus,.ssbp--theme-11 .ssbp-facebook_save:active,.ssbp--theme-11 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-11 .ssbp-facebook-messenger:hover,.ssbp--theme-11 .ssbp-facebook-messenger:focus,.ssbp--theme-11 .ssbp-facebook-messenger:active,.ssbp--theme-11 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-11 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-11 .ssbp-flattr:hover,.ssbp--theme-11 .ssbp-flattr:focus,.ssbp--theme-11 .ssbp-flattr:active,.ssbp--theme-11 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-11 .ssbp-google{background-color:#DC4E41}.ssbp--theme-11 .ssbp-google:hover,.ssbp--theme-11 .ssbp-google:focus,.ssbp--theme-11 .ssbp-google:active,.ssbp--theme-11 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-11 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-11 .ssbp-linkedin:hover,.ssbp--theme-11 .ssbp-linkedin:focus,.ssbp--theme-11 .ssbp-linkedin:active,.ssbp--theme-11 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-11 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-11 .ssbp-pinterest:hover,.ssbp--theme-11 .ssbp-pinterest:focus,.ssbp--theme-11 .ssbp-pinterest:active,.ssbp--theme-11 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-11 .ssbp-print{background-color:#1F6B43}.ssbp--theme-11 .ssbp-print:hover,.ssbp--theme-11 .ssbp-print:focus,.ssbp--theme-11 .ssbp-print:active,.ssbp--theme-11 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-11 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-11 .ssbp-reddit:hover,.ssbp--theme-11 .ssbp-reddit:focus,.ssbp--theme-11 .ssbp-reddit:active,.ssbp--theme-11 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-11 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-11 .ssbp-simplesharebuttons:hover,.ssbp--theme-11 .ssbp-simplesharebuttons:focus,.ssbp--theme-11 .ssbp-simplesharebuttons:active,.ssbp--theme-11 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-11 .ssbp-stumbleupon:hover,.ssbp--theme-11 .ssbp-stumbleupon:focus,.ssbp--theme-11 .ssbp-stumbleupon:active,.ssbp--theme-11 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-11 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-11 .ssbp-tumblr:hover,.ssbp--theme-11 .ssbp-tumblr:focus,.ssbp--theme-11 .ssbp-tumblr:active,.ssbp--theme-11 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-11 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-11 .ssbp-twitter:hover,.ssbp--theme-11 .ssbp-twitter:focus,.ssbp--theme-11 .ssbp-twitter:active,.ssbp--theme-11 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-11 .ssbp-vk{background-color:#45668E}.ssbp--theme-11 .ssbp-vk:hover,.ssbp--theme-11 .ssbp-vk:focus,.ssbp--theme-11 .ssbp-vk:active,.ssbp--theme-11 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-11 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-11 .ssbp-whatsapp:hover,.ssbp--theme-11 .ssbp-whatsapp:focus,.ssbp--theme-11 .ssbp-whatsapp:active,.ssbp--theme-11 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-11 .ssbp-yummly{background-color:#E16120}.ssbp--theme-11 .ssbp-yummly:hover,.ssbp--theme-11 .ssbp-yummly:focus,.ssbp--theme-11 .ssbp-yummly:active,.ssbp--theme-11 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-11 .ssbp-xing{background-color:#026466}.ssbp--theme-11 .ssbp-xing:hover,.ssbp--theme-11 .ssbp-xing:focus,.ssbp--theme-11 .ssbp-xing:active,.ssbp--theme-11 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-11 .ssbp-each-share{padding:2px;font-size:10px;margin-right:5px;margin-left:5px;text-align:center;color:#FFF;border-radius:5px}
494
 
495
  .active.in {
496
  position: relatve;
654
  margin-right: -12px;
655
  margin-left: 0;
656
  }
657
+
658
+ /* Line */
659
+ .ssbp-line:before {
660
+ content: url("../images/line.svg");
661
+ left: 0;
662
+ padding: 5px 8px 0;
663
+ position: absolute;
664
+ top: 0;
665
+ width: 100%;
666
+ }
667
+
668
+ .ssbp--theme-8 .ssbp-line:before {
669
+ content: url("../images/line-black.svg");
670
+ }
671
+
672
+ .ssbp--theme-1 .ssbp-line,
673
+ .ssbp--theme-2 .ssbp-line,
674
+ .ssbp--theme-3 .ssbp-line,
675
+ .ssbp--theme-4 .ssbp-line,
676
+ .ssbp--theme-5 .ssbp-line,
677
+ .ssbp--theme-10 .ssbp-line:before,
678
+ .ssbp--theme-11 .ssbp-line {
679
+ transition: background-color, .5s;
680
+ background-color:#00c300;
681
+ display: block;
682
+ }
683
+ .ssbp--theme-6 .ssbp-line,
684
+ .ssbp--theme-7 .ssbp-line {
685
+ border-color:#00c300;
686
+ display: block;
687
+ }
688
+
689
+ .ssbp--theme-8 .ssbp-line,
690
+ .ssbp--theme-9 .ssbp-line {
691
+ display: block;
692
+ }
693
+
694
+ .ssbp--theme-6 .ssbp-line:before,
695
+ .ssbp--theme-7 .ssbp-line:before,
696
+ .ssbp--theme-9 .ssbp-line:before {
697
+ content: url("../images/line-hover.svg");
698
+ }
699
+
700
+ .ssbp--theme-1 .ssbp-line:before,
701
+ .ssbp--theme-2 .ssbp-line:before,
702
+ .ssbp--theme-3 .ssbp-line:before,
703
+ .ssbp--theme-4 .ssbp-line:before,
704
+ .ssbp--theme-5 .ssbp-line:before,
705
+ .ssbp--theme-6 .ssbp-line:before,
706
+ .ssbp--theme-7 .ssbp-line:before {
707
+ left: 50%;
708
+ position: absolute;
709
+ top: 50%;
710
+ padding-top: 0;
711
+ width: 86%;
712
+ height: 100%;
713
+ transform: translate(-50%, -37%);
714
+ }
715
+ .ssbp--theme-1 .ssbp-line:hover,
716
+ .ssbp--theme-1 .ssbp-line:focus,
717
+ .ssbp--theme-1 .ssbp-line:active {
718
+ color:#00c300;
719
+ border-color:#00c300;
720
+ }
721
+
722
+ .ssbp--theme-6 .ssbp-line:hover,
723
+ .ssbp--theme-6 .ssbp-line:focus,
724
+ .ssbp--theme-6 .ssbp-line:active,
725
+ .ssbp--theme-7 .ssbp-line:hover,
726
+ .ssbp--theme-7 .ssbp-line:focus,
727
+ .ssbp--theme-7 .ssbp-line:active {
728
+ background-color: #00c300;
729
+ }
730
+
731
+ .ssbp--theme-2 .ssbp-line:hover,
732
+ .ssbp--theme-2 .ssbp-line:focus,
733
+ .ssbp--theme-2 .ssbp-line:active,
734
+ .ssbp--theme-3 .ssbp-line:hover,
735
+ .ssbp--theme-3 .ssbp-line:focus,
736
+ .ssbp--theme-3 .ssbp-line:active,
737
+ .ssbp--theme-10 .ssbp-line:hover:before,
738
+ .ssbp--theme-10 .ssbp-line:focus:before,
739
+ .ssbp--theme-10 .ssbp-line:active:before,
740
+ .ssbp--theme-11 .ssbp-line:hover,
741
+ .ssbp--theme-11 .ssbp-line:focus,
742
+ .ssbp--theme-11 .ssbp-line:active {
743
+ border-color:#008e00;
744
+ background-color: #008e00;
745
+ }
746
+
747
+ .ssbp--theme-1 .ssbp-line:hover:before,
748
+ .ssbp--theme-1 .ssbp-line:focus:before,
749
+ .ssbp--theme-1 .ssbp-line:active:before {
750
+ content: url("../images/line-hover.svg");
751
+ left: 50%;
752
+ position: absolute;
753
+ top: 50%;
754
+ padding-top: 0;
755
+ width: 86%;
756
+ height: 100%;
757
+ transform: translate(-50%, -37%);
758
+ }
759
+ .ssbp--theme-6 .ssbp-line:hover:before,
760
+ .ssbp--theme-6 .ssbp-line:focus:before,
761
+ .ssbp--theme-6 .ssbp-line:active:before,
762
+ .ssbp--theme-7 .ssbp-line:hover:before,
763
+ .ssbp--theme-7 .ssbp-line:focus:before,
764
+ .ssbp--theme-7 .ssbp-line:active:before,
765
+ .ssbp--theme-8 .ssbp-line:hover:before,
766
+ .ssbp--theme-8 .ssbp-line:focus:before,
767
+ .ssbp--theme-8 .ssbp-line:active:before {
768
+ content: url("../images/line.svg");
769
+ }
770
+ .ssbp--theme-1 .ssbp-line+.ssbp-each-share,
771
+ .ssbp--theme-2 .ssbp-line+.ssbp-each-share,
772
+ .ssbp--theme-3 .ssbp-line+.ssbp-each-share,
773
+ .ssbp--theme-4 .ssbp-line+.ssbp-each-share,
774
+ .ssbp--theme-5 .ssbp-line+.ssbp-each-share,
775
+ .ssbp--theme-6 .ssbp-line+.ssbp-each-share,
776
+ .ssbp--theme-7 .ssbp-line+.ssbp-each-share {
777
+ background-color:#00c300;
778
+ }
779
+
780
+ .ssbp--theme-2 .ssbp-btn.ssbp-line:hover:before,
781
+ .ssbp--theme-2 .ssbp-btn.ssbp-line:focus:before,
782
+ .ssbp--theme-2 .ssbp-btn.ssbp-line:active:before,
783
+ .ssbp--theme-3 .ssbp-btn.ssbp-line:hover:before,
784
+ .ssbp--theme-3 .ssbp-btn.ssbp-line:focus:before,
785
+ .ssbp--theme-3 .ssbp-btn.ssbp-line:active:before,
786
+ .ssbp--theme-4 .ssbp-btn.ssbp-line:hover:before,
787
+ .ssbp--theme-4 .ssbp-btn.ssbp-line:focus:before,
788
+ .ssbp--theme-4 .ssbp-btn.ssbp-line:active:before,
789
+ .ssbp--theme-5 .ssbp-btn.ssbp-line:hover:before,
790
+ .ssbp--theme-5 .ssbp-btn.ssbp-line:focus:before,
791
+ .ssbp--theme-5 .ssbp-btn.ssbp-line:active:before,
792
+ .ssbp--theme-6 .ssbp-btn.ssbp-line:hover:before,
793
+ .ssbp--theme-6 .ssbp-btn.ssbp-line:focus:before,
794
+ .ssbp--theme-6 .ssbp-btn.ssbp-line:active:before,
795
+ .ssbp--theme-7 .ssbp-btn.ssbp-line:hover:before,
796
+ .ssbp--theme-7 .ssbp-btn.ssbp-line:focus:before,
797
+ .ssbp--theme-7 .ssbp-btn.ssbp-line:active:before {
798
+ transform: translate(-50%, -37%)!important;
799
+ left: 50%;
800
+ position: absolute;
801
+ top: 50%;
802
+ padding-top: 0;
803
+ width: 86%;
804
+ height: 100%;
805
+ }
806
+ .ssbp--theme-5 .ssbp-line{
807
+ background-color:#00c300;
808
+ box-shadow:0 8px 0 #008e00,0 10px 12px rgba(0,0,0,0.33)
809
+ }
810
+ .ssbp--theme-5 .ssbp-line:active{
811
+ box-shadow:0 4px 0 #008e00,0 5px 6px rgba(0,0,0,0.33)
812
+ }
813
+
814
+ .ssbp--theme-3 .ssbp-text,
815
+ .ssbp--theme-7 .ssbp-text {
816
+ display:inline-block;
817
+ vertical-align:middle;
818
+ font-size:12.1px;
819
+ margin-left:0;
820
+ text-shadow:-1px -1px rgba(0,0,0,0.2);
821
+ position: absolute;
822
+ bottom: -20px;
823
+ left: 50%;
824
+ transform: translate(-50%);
825
+ }
826
+
827
+ .ssbp--theme-7 .ssbp-li--line .ssbp-text {
828
+ color: #00c300;
829
+ }
830
+
831
+ .ssbp--theme-7 .ssbp-li--line:hover .ssbp-text {
832
+ color: #fff;
833
+ }
834
+
835
+ .ssbp--theme-9 .ssbp-li--line {
836
+ border-bottom: 5px solid #00c300;
837
+ }
838
+ .ssbp--theme-9 .ssbp-line {
839
+ height: 43px !important;
840
+ }
841
+
842
+ .ssbp--theme-9 .ssbp-li--line:hover {
843
+ border-bottom:5px solid rgba(0, 195, 0, 0.59);
844
+ }
845
+
846
+ .ssbp--theme-9 .ssbp-li--line .ssbp-line:before {
847
+ padding: 9px 14px 0;
848
+ }
849
+
850
+ .ssbp--theme-10 .ssbp-line {
851
+ width: 40px!important;
852
+ }
853
+
854
+ .ssbp--theme-10 .ssbp-line:before {
855
+ padding: 11px 8px 8px;
856
+ }
857
+
858
+ /* Skype */
859
+ .ssbp-skype:before {
860
+ content: url("../images/skype.svg");
861
+ left: 0;
862
+ padding: 5px 8px 0;
863
+ position: absolute;
864
+ top: 0;
865
+ width: 100%;
866
+ }
867
+
868
+ .ssbp--theme-8 .ssbp-skype:before {
869
+ content: url("../images/skype-black.svg");
870
+ }
871
+
872
+ .ssbp--theme-1 .ssbp-skype,
873
+ .ssbp--theme-2 .ssbp-skype,
874
+ .ssbp--theme-3 .ssbp-skype,
875
+ .ssbp--theme-4 .ssbp-skype,
876
+ .ssbp--theme-5 .ssbp-skype,
877
+ .ssbp--theme-10 .ssbp-skype:before,
878
+ .ssbp--theme-11 .ssbp-skype {
879
+ transition: background-color, .5s;
880
+ background-color:#00AFF0;
881
+ display: block;
882
+ }
883
+ .ssbp--theme-6 .ssbp-skype,
884
+ .ssbp--theme-7 .ssbp-skype {
885
+ border-color:#00AFF0;
886
+ display: block;
887
+ }
888
+
889
+ .ssbp--theme-8 .ssbp-skype,
890
+ .ssbp--theme-9 .ssbp-skype {
891
+ display: block;
892
+ }
893
+
894
+ .ssbp--theme-6 .ssbp-skype:before,
895
+ .ssbp--theme-7 .ssbp-skype:before,
896
+ .ssbp--theme-9 .ssbp-skype:before {
897
+ content: url("../images/skype-hover.svg");
898
+ }
899
+
900
+ .ssbp--theme-1 .ssbp-skype:before,
901
+ .ssbp--theme-2 .ssbp-skype:before,
902
+ .ssbp--theme-3 .ssbp-skype:before,
903
+ .ssbp--theme-4 .ssbp-skype:before,
904
+ .ssbp--theme-5 .ssbp-skype:before,
905
+ .ssbp--theme-6 .ssbp-skype:before,
906
+ .ssbp--theme-7 .ssbp-skype:before {
907
+ left: 50%;
908
+ position: absolute;
909
+ top: 50%;
910
+ padding-top: 0;
911
+ width: 100%;
912
+ height: 100%;
913
+ transform: translate(-50%, -37%);
914
+ }
915
+ .ssbp--theme-1 .ssbp-skype:hover,
916
+ .ssbp--theme-1 .ssbp-skype:focus,
917
+ .ssbp--theme-1 .ssbp-skype:active {
918
+ color:#00AFF0;
919
+ border-color:#00AFF0;
920
+ }
921
+
922
+ .ssbp--theme-6 .ssbp-skype:hover,
923
+ .ssbp--theme-6 .ssbp-skype:focus,
924
+ .ssbp--theme-6 .ssbp-skype:active,
925
+ .ssbp--theme-7 .ssbp-skype:hover,
926
+ .ssbp--theme-7 .ssbp-skype:focus,
927
+ .ssbp--theme-7 .ssbp-skype:active {
928
+ background-color: #00AFF0;
929
+ }
930
+
931
+ .ssbp--theme-2 .ssbp-skype:hover,
932
+ .ssbp--theme-2 .ssbp-skype:focus,
933
+ .ssbp--theme-2 .ssbp-skype:active,
934
+ .ssbp--theme-3 .ssbp-skype:hover,
935
+ .ssbp--theme-3 .ssbp-skype:focus,
936
+ .ssbp--theme-3 .ssbp-skype:active,
937
+ .ssbp--theme-10 .ssbp-skype:hover:before,
938
+ .ssbp--theme-10 .ssbp-skype:focus:before,
939
+ .ssbp--theme-10 .ssbp-skype:active:before,
940
+ .ssbp--theme-11 .ssbp-skype:hover,
941
+ .ssbp--theme-11 .ssbp-skype:focus,
942
+ .ssbp--theme-11 .ssbp-skype:active {
943
+ border-color: #0081b1;
944
+ background-color: #0081b1;
945
+ }
946
+
947
+ .ssbp--theme-1 .ssbp-skype:hover:before,
948
+ .ssbp--theme-1 .ssbp-skype:focus:before,
949
+ .ssbp--theme-1 .ssbp-skype:active:before {
950
+ content: url("../images/skype-hover.svg");
951
+ left: 50%;
952
+ position: absolute;
953
+ top: 50%;
954
+ padding-top: 0;
955
+ width: 100%;
956
+ height: 100%;
957
+ transform: translate(-50%, -37%);
958
+ }
959
+ .ssbp--theme-6 .ssbp-skype:hover:before,
960
+ .ssbp--theme-6 .ssbp-skype:focus:before,
961
+ .ssbp--theme-6 .ssbp-skype:active:before,
962
+ .ssbp--theme-7 .ssbp-skype:hover:before,
963
+ .ssbp--theme-7 .ssbp-skype:focus:before,
964
+ .ssbp--theme-7 .ssbp-skype:active:before,
965
+ .ssbp--theme-8 .ssbp-skype:hover:before,
966
+ .ssbp--theme-8 .ssbp-skype:focus:before,
967
+ .ssbp--theme-8 .ssbp-skype:active:before {
968
+ content: url("../images/skype.svg");
969
+ }
970
+ .ssbp--theme-1 .ssbp-skype+.ssbp-each-share,
971
+ .ssbp--theme-2 .ssbp-skype+.ssbp-each-share,
972
+ .ssbp--theme-3 .ssbp-skype+.ssbp-each-share,
973
+ .ssbp--theme-4 .ssbp-skype+.ssbp-each-share,
974
+ .ssbp--theme-5 .ssbp-skype+.ssbp-each-share,
975
+ .ssbp--theme-6 .ssbp-skype+.ssbp-each-share,
976
+ .ssbp--theme-7 .ssbp-skype+.ssbp-each-share {
977
+ background-color:#00AFF0;
978
+ }
979
+
980
+ .ssbp--theme-2 .ssbp-btn.ssbp-skype:hover:before,
981
+ .ssbp--theme-2 .ssbp-btn.ssbp-skype:focus:before,
982
+ .ssbp--theme-2 .ssbp-btn.ssbp-skype:active:before,
983
+ .ssbp--theme-3 .ssbp-btn.ssbp-skype:hover:before,
984
+ .ssbp--theme-3 .ssbp-btn.ssbp-skype:focus:before,
985
+ .ssbp--theme-3 .ssbp-btn.ssbp-skype:active:before,
986
+ .ssbp--theme-4 .ssbp-btn.ssbp-skype:hover:before,
987
+ .ssbp--theme-4 .ssbp-btn.ssbp-skype:focus:before,
988
+ .ssbp--theme-4 .ssbp-btn.ssbp-skype:active:before,
989
+ .ssbp--theme-5 .ssbp-btn.ssbp-skype:hover:before,
990
+ .ssbp--theme-5 .ssbp-btn.ssbp-skype:focus:before,
991
+ .ssbp--theme-5 .ssbp-btn.ssbp-skype:active:before,
992
+ .ssbp--theme-6 .ssbp-btn.ssbp-skype:hover:before,
993
+ .ssbp--theme-6 .ssbp-btn.ssbp-skype:focus:before,
994
+ .ssbp--theme-6 .ssbp-btn.ssbp-skype:active:before,
995
+ .ssbp--theme-7 .ssbp-btn.ssbp-skype:hover:before,
996
+ .ssbp--theme-7 .ssbp-btn.ssbp-skype:focus:before,
997
+ .ssbp--theme-7 .ssbp-btn.ssbp-skype:active:before {
998
+ transform: translate(-50%, -37%)!important;
999
+ left: 50%;
1000
+ position: absolute;
1001
+ top: 50%;
1002
+ padding-top: 0;
1003
+ width: 100%;
1004
+ height: 100%;
1005
+ }
1006
+ .ssbp--theme-5 .ssbp-skype{
1007
+ background-color:#00AFF0;
1008
+ box-shadow:0 8px 0 #0081b1,0 10px 12px rgba(0,0,0,0.33)
1009
+ }
1010
+ .ssbp--theme-5 .ssbp-skype:active{
1011
+ box-shadow:0 4px 0 #0081b1,0 5px 6px rgba(0,0,0,0.33)
1012
+ }
1013
+
1014
+ .ssbp--theme-3 .ssbp-text,
1015
+ .ssbp--theme-7 .ssbp-text {
1016
+ display:inline-block;
1017
+ vertical-align:middle;
1018
+ font-size:12.1px;
1019
+ margin-left:0;
1020
+ text-shadow:-1px -1px rgba(0,0,0,0.2);
1021
+ position: absolute;
1022
+ bottom: -20px;
1023
+ left: 50%;
1024
+ transform: translate(-50%);
1025
+ }
1026
+
1027
+ .ssbp--theme-7 .ssbp-li--skype .ssbp-text {
1028
+ color: #00AFF0;
1029
+ }
1030
+
1031
+ .ssbp--theme-7 .ssbp-li--skype:hover .ssbp-text {
1032
+ color: #fff;
1033
+ }
1034
+
1035
+ .ssbp--theme-9 .ssbp-li--skype {
1036
+ border-bottom: 5px solid #00AFF0;
1037
+ }
1038
+ .ssbp--theme-9 .ssbp-skype {
1039
+ height: 43px !important;
1040
+ }
1041
+
1042
+ .ssbp--theme-9 .ssbp-li--skype:hover {
1043
+ border-bottom:5px solid rgba(0, 175, 240, 0.59);
1044
+ }
1045
+
1046
+ .ssbp--theme-9 .ssbp-li--skype .ssbp-skype:before {
1047
+ padding: 9px 14px 0;
1048
+ }
1049
+
1050
+ .ssbp--theme-10 .ssbp-skype {
1051
+ width: 40px!important;
1052
+ }
1053
+
1054
+ .ssbp--theme-10 .ssbp-skype:before {
1055
+ padding: 11px 8px 8px;
1056
+ }
1057
+
1058
+ /* Weibo */
1059
+ .ssbp-weibo:before {
1060
+ content: url("../images/weibo.svg");
1061
+ left: 0;
1062
+ padding: 5px 8px 0;
1063
+ position: absolute;
1064
+ top: 0;
1065
+ width: 100%;
1066
+ }
1067
+
1068
+ .ssbp--theme-8 .ssbp-weibo:before {
1069
+ content: url("../images/weibo-black.svg");
1070
+ }
1071
+
1072
+ .ssbp--theme-1 .ssbp-weibo,
1073
+ .ssbp--theme-2 .ssbp-weibo,
1074
+ .ssbp--theme-3 .ssbp-weibo,
1075
+ .ssbp--theme-4 .ssbp-weibo,
1076
+ .ssbp--theme-5 .ssbp-weibo,
1077
+ .ssbp--theme-10 .ssbp-weibo:before,
1078
+ .ssbp--theme-11 .ssbp-weibo {
1079
+ transition: background-color, .5s;
1080
+ background-color:#df2029;
1081
+ display: block;
1082
+ }
1083
+ .ssbp--theme-6 .ssbp-weibo,
1084
+ .ssbp--theme-7 .ssbp-weibo {
1085
+ border-color:#df2029;
1086
+ display: block;
1087
+ }
1088
+
1089
+ .ssbp--theme-8 .ssbp-weibo,
1090
+ .ssbp--theme-9 .ssbp-weibo {
1091
+ display: block;
1092
+ }
1093
+
1094
+ .ssbp--theme-6 .ssbp-weibo:before,
1095
+ .ssbp--theme-7 .ssbp-weibo:before,
1096
+ .ssbp--theme-9 .ssbp-weibo:before {
1097
+ content: url("../images/weibo-hover.svg");
1098
+ }
1099
+
1100
+ .ssbp--theme-1 .ssbp-weibo:before,
1101
+ .ssbp--theme-2 .ssbp-weibo:before,
1102
+ .ssbp--theme-3 .ssbp-weibo:before,
1103
+ .ssbp--theme-4 .ssbp-weibo:before,
1104
+ .ssbp--theme-5 .ssbp-weibo:before,
1105
+ .ssbp--theme-6 .ssbp-weibo:before,
1106
+ .ssbp--theme-7 .ssbp-weibo:before {
1107
+ left: 50%;
1108
+ position: absolute;
1109
+ top: 50%;
1110
+ padding-top: 0;
1111
+ width: 100%;
1112
+ height: 100%;
1113
+ transform: translate(-50%, -37%);
1114
+ }
1115
+ .ssbp--theme-1 .ssbp-weibo:hover,
1116
+ .ssbp--theme-1 .ssbp-weibo:focus,
1117
+ .ssbp--theme-1 .ssbp-weibo:active {
1118
+ color:#df2029;
1119
+ border-color:#df2029;
1120
+ }
1121
+
1122
+ .ssbp--theme-6 .ssbp-weibo:hover,
1123
+ .ssbp--theme-6 .ssbp-weibo:focus,
1124
+ .ssbp--theme-6 .ssbp-weibo:active,
1125
+ .ssbp--theme-7 .ssbp-weibo:hover,
1126
+ .ssbp--theme-7 .ssbp-weibo:focus,
1127
+ .ssbp--theme-7 .ssbp-weibo:active {
1128
+ background-color: #df2029;
1129
+ }
1130
+
1131
+ .ssbp--theme-2 .ssbp-weibo:hover,
1132
+ .ssbp--theme-2 .ssbp-weibo:focus,
1133
+ .ssbp--theme-2 .ssbp-weibo:active,
1134
+ .ssbp--theme-3 .ssbp-weibo:hover,
1135
+ .ssbp--theme-3 .ssbp-weibo:focus,
1136
+ .ssbp--theme-3 .ssbp-weibo:active,
1137
+ .ssbp--theme-10 .ssbp-weibo:hover:before,
1138
+ .ssbp--theme-10 .ssbp-weibo:focus:before,
1139
+ .ssbp--theme-10 .ssbp-weibo:active:before,
1140
+ .ssbp--theme-11 .ssbp-weibo:hover,
1141
+ .ssbp--theme-11 .ssbp-weibo:focus,
1142
+ .ssbp--theme-11 .ssbp-weibo:active {
1143
+ border-color: #ad191f;
1144
+ background-color: #ad191f;
1145
+ }
1146
+
1147
+ .ssbp--theme-1 .ssbp-weibo:hover:before,
1148
+ .ssbp--theme-1 .ssbp-weibo:focus:before,
1149
+ .ssbp--theme-1 .ssbp-weibo:active:before {
1150
+ content: url("../images/weibo-hover.svg");
1151
+ left: 50%;
1152
+ position: absolute;
1153
+ top: 50%;
1154
+ padding-top: 0;
1155
+ width: 100%;
1156
+ height: 100%;
1157
+ transform: translate(-50%, -37%);
1158
+ }
1159
+ .ssbp--theme-6 .ssbp-weibo:hover:before,
1160
+ .ssbp--theme-6 .ssbp-weibo:focus:before,
1161
+ .ssbp--theme-6 .ssbp-weibo:active:before,
1162
+ .ssbp--theme-7 .ssbp-weibo:hover:before,
1163
+ .ssbp--theme-7 .ssbp-weibo:focus:before,
1164
+ .ssbp--theme-7 .ssbp-weibo:active:before,
1165
+ .ssbp--theme-8 .ssbp-weibo:hover:before,
1166
+ .ssbp--theme-8 .ssbp-weibo:focus:before,
1167
+ .ssbp--theme-8 .ssbp-weibo:active:before {
1168
+ content: url("../images/weibo.svg");
1169
+ }
1170
+ .ssbp--theme-1 .ssbp-weibo+.ssbp-each-share,
1171
+ .ssbp--theme-2 .ssbp-weibo+.ssbp-each-share,
1172
+ .ssbp--theme-3 .ssbp-weibo+.ssbp-each-share,
1173
+ .ssbp--theme-4 .ssbp-weibo+.ssbp-each-share,
1174
+ .ssbp--theme-5 .ssbp-weibo+.ssbp-each-share,
1175
+ .ssbp--theme-6 .ssbp-weibo+.ssbp-each-share,
1176
+ .ssbp--theme-7 .ssbp-weibo+.ssbp-each-share {
1177
+ background-color:#df2029;
1178
+ }
1179
+
1180
+ .ssbp--theme-2 .ssbp-btn.ssbp-weibo:hover:before,
1181
+ .ssbp--theme-2 .ssbp-btn.ssbp-weibo:focus:before,
1182
+ .ssbp--theme-2 .ssbp-btn.ssbp-weibo:active:before,
1183
+ .ssbp--theme-3 .ssbp-btn.ssbp-weibo:hover:before,
1184
+ .ssbp--theme-3 .ssbp-btn.ssbp-weibo:focus:before,
1185
+ .ssbp--theme-3 .ssbp-btn.ssbp-weibo:active:before,
1186
+ .ssbp--theme-4 .ssbp-btn.ssbp-weibo:hover:before,
1187
+ .ssbp--theme-4 .ssbp-btn.ssbp-weibo:focus:before,
1188
+ .ssbp--theme-4 .ssbp-btn.ssbp-weibo:active:before,
1189
+ .ssbp--theme-5 .ssbp-btn.ssbp-weibo:hover:before,
1190
+ .ssbp--theme-5 .ssbp-btn.ssbp-weibo:focus:before,
1191
+ .ssbp--theme-5 .ssbp-btn.ssbp-weibo:active:before,
1192
+ .ssbp--theme-6 .ssbp-btn.ssbp-weibo:hover:before,
1193
+ .ssbp--theme-6 .ssbp-btn.ssbp-weibo:focus:before,
1194
+ .ssbp--theme-6 .ssbp-btn.ssbp-weibo:active:before,
1195
+ .ssbp--theme-7 .ssbp-btn.ssbp-weibo:hover:before,
1196
+ .ssbp--theme-7 .ssbp-btn.ssbp-weibo:focus:before,
1197
+ .ssbp--theme-7 .ssbp-btn.ssbp-weibo:active:before {
1198
+ transform: translate(-50%, -37%)!important;
1199
+ left: 50%;
1200
+ position: absolute;
1201
+ top: 50%;
1202
+ padding-top: 0;
1203
+ width: 100%;
1204
+ height: 100%;
1205
+ }
1206
+ .ssbp--theme-5 .ssbp-weibo{
1207
+ background-color:#df2029;
1208
+ box-shadow:0 8px 0 #ad191f,0 10px 12px rgba(0,0,0,0.33)
1209
+ }
1210
+ .ssbp--theme-5 .ssbp-weibo:active{
1211
+ box-shadow:0 4px 0 #ad191f,0 5px 6px rgba(0,0,0,0.33)
1212
+ }
1213
+
1214
+ .ssbp--theme-3 .ssbp-text,
1215
+ .ssbp--theme-7 .ssbp-text {
1216
+ display:inline-block;
1217
+ vertical-align:middle;
1218
+ font-size:12.1px;
1219
+ margin-left:0;
1220
+ text-shadow:-1px -1px rgba(0,0,0,0.2);
1221
+ position: absolute;
1222
+ bottom: -20px;
1223
+ left: 50%;
1224
+ transform: translate(-50%);
1225
+ }
1226
+
1227
+ .ssbp--theme-7 .ssbp-li--weibo .ssbp-text {
1228
+ color: #df2029;
1229
+ }
1230
+
1231
+ .ssbp--theme-7 .ssbp-li--weibo:hover .ssbp-text {
1232
+ color: #fff;
1233
+ }
1234
+
1235
+ .ssbp--theme-9 .ssbp-li--weibo {
1236
+ border-bottom: 5px solid #df2029;
1237
+ }
1238
+ .ssbp--theme-9 .ssbp-weibo {
1239
+ height: 43px !important;
1240
+ }
1241
+
1242
+ .ssbp--theme-9 .ssbp-li--weibo:hover {
1243
+ border-bottom:5px solid rgba(223, 32, 41, 0.61);
1244
+ }
1245
+
1246
+ .ssbp--theme-9 .ssbp-li--weibo .ssbp-weibo:before {
1247
+ padding: 9px 14px 0;
1248
+ }
1249
+
1250
+ .ssbp--theme-10 .ssbp-weibo {
1251
+ width: 40px!important;
1252
+ }
1253
+
1254
+ .ssbp--theme-10 .ssbp-weibo:before {
1255
+ padding: 11px 8px 8px;
1256
+ }
css/admin.css CHANGED
@@ -18,4 +18,28 @@
18
  text-align: center;
19
  max-width: 400px;
20
  margin: auto;
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  text-align: center;
19
  max-width: 400px;
20
  margin: auto;
21
+ }
22
+
23
+ .ssba-review-us {
24
+ position: fixed;
25
+ right: 10px;
26
+ bottom: 40px;
27
+ background: #fff;
28
+ border: solid 1px #00b300;
29
+ border-radius: 10px;
30
+ padding: 15px;
31
+ width: 295px;
32
+ text-align: center;
33
+ }
34
+
35
+ .ssba-review-us #close-review-us {
36
+ cursor: pointer;
37
+ }
38
+
39
+ .ssba-review-us h3 {
40
+ color: #353535;
41
+ }
42
+
43
+ .ssba-review-us h3 a {
44
+ color: #00b300;
45
+ }
css/ssba.css CHANGED
@@ -1,4 +1,47 @@
1
  /* Style stylesheet */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  .ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ssbp-spinner:before{font-family:'ssbp';content:"\e614"}.ssbp-spinner{-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}.ssbp-btn:before,.ssbp-toggle-switch:before{display:inline-block;font-family:'ssbp';speak:none;font-size:18px;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none}.ssbp-arrow-right:before{content:"\e612"}.ssbp-arrow-left:before{content:"\e613"}.ssbp-arrow-down:before{content:"\e619"}.ssbp-arrow-up:before{content:"\e61a"}.ssbp-chevron-down:before,.ssbp-toggle-switch:before{content:"\e618"}.ssbp-chevron-up:before,.ssbp--state-hidden .ssbp-toggle-switch:before{content:"\e615"}.ssbp-chevron-right:before,.ssbp--fixed-right .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-left .ssbp-toggle-switch:before{content:"\e616"}.ssbp-chevron-left:before,.ssbp--fixed-left .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-right .ssbp-toggle-switch:before{content:"\e617"}.ssbp-simplesharebuttons:before{content:"\e611"}.ssbp-yummly:before{content:"\e60b"}.ssbp-whatsapp:before{content:"\e60f"}.ssbp-diggit:before{content:"\e60c"}.ssbp-buffer:before{content:"\e60d"}.ssbp-close:before{content:"\e614"}.ssbp-twitter:before{content:"\e605"}.ssbp-reddit:before{content:"\e606"}.ssbp-flattr:before{content:"\e607"}.ssbp-tumblr:before{content:"\e608"}.ssbp-linkedin:before{content:"\e609"}.ssbp-google:before{content:"\e60a"}.ssbp-xing:before{content:"\e610"}.ssbp-facebook:before{content:"\e60e"}.ssbp-facebook_save:before{content:"\e900"}.ssbp-facebook-messenger:before{content:"\e611"}.ssbp-vk:before{content:"\e600"}.ssbp-stumbleupon:before{content:"\e601"}.ssbp-print:before{content:"\e602"}.ssbp-pinterest:before{content:"\e603"}.ssbp-email:before{content:"\e604"}.ssbp-ellipsis:before{content:"\e612"}.ssbp-x:before{content:"\e613"}@media print{.ssbp-wrap{display:none !important}}.ssbp-wrap *,.ssbp-wrap *:before,.ssbp-wrap *:after{box-sizing:border-box}.ssbp-input-url-div,.ssbp-total-shares,.ssba-hide-button.ssbp-each-share,.ssbp-toggle-switch,.ssbp-text{display:none}.ssbp-wrap{position:relative;display:inline-block;padding:0px;font-size:0;color:#272727;}.ssbp-wrap.ssbp--centred{display:block;text-align:center}.ssbp-wrap.ssbp--aligned-right{display:block;text-align:right}.ssbp-wrap.ssbp--aligned-right .ssbp-container{display:inline}.ssbp-wrap .ssbp-container,.ssbp-wrap .ssbp-toggle-switch{font-size:16px}.ssbp-wrap .ssbp-list{list-style:none;display:inline-block;vertical-align:middle;margin:0;padding:0}.ssbp-wrap .ssbp-list li{margin-top: 1rem; position:relative;display:inline-block;vertical-align:top}.ssbp-wrap .ssbp-list li:first-of-type{margin-left:0}.ssbp-wrap .ssbp-btn{display:inline-block;text-align:center;text-decoration:none;font-family:sans-serif}.ssbp-wrap.ssbp--stacked .ssbp-list li,.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp-wrap.ssbp--fixed-right .ssbp-list li{display:block;margin-top:6px;margin-left:0 !important;margin-right:0 !important}.ssbp-wrap.ssbp--stacked .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-left .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-right .ssbp-list li:first-of-type{margin-top:0}.ssbp-wrap[class*="ssbp--fixed"]{position:fixed;z-index:99999}.ssbp-wrap[class*="ssbp--fixed"] .ssbp-container{-webkit-transition:.25s;transition:.25s}.ssbp-wrap.ssbp--fixed-top,.ssbp-wrap.ssbp--fixed-bottom{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ssbp-wrap.ssbp--fixed-left,.ssbp-wrap.ssbp--fixed-right{top:25%}.ssbp-wrap.ssbp--fixed-top{top:0}.ssbp-wrap.ssbp--fixed-bottom{bottom:0}.ssbp-wrap.ssbp--fixed-left{left:0}.ssbp-wrap.ssbp--fixed-right{right:0}.ssbp-wrap[data-ssbp-counts="true"] .ssbp-each-share{display:block;pointer-events:none}.ssbp-wrap[data-ssbp-total-counts="true"] .ssbp-total-shares{display:inline-block;padding:0 .5em;text-align:center;font-size:14px;line-height:2}.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--stacked .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares{display:block;padding:0}.ssbp-toggle-switch{position:absolute;padding:0;border:0;background:transparent;text-align:center;cursor:pointer;-webkit-transition:.25s;transition:.25s;display:none}.ssbp-toggle-switch:active,.ssbp-toggle-switch:hover,.ssbp-toggle-switch:focus{padding:0;border:0}.ssbp--fixed-left .ssbp-toggle-switch,.ssbp--fixed-right .ssbp-toggle-switch{left:0;bottom:100%;width:100%}.ssbp--fixed-top .ssbp-toggle-switch,.ssbp--fixed-bottom .ssbp-toggle-switch{left:100%;bottom:0;height:100%}.ssbp--show-toggle.ssbp--fixed-top .ssbp-toggle-switch:before{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ssbp--show-toggle.ssbp--fixed-bottom .ssbp-toggle-switch:before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ssbp--show-toggle.ssbp--fixed-right .ssbp-toggle-switch:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ssbp--state-hidden .ssbp-each-share{opacity:0}.ssbp--state-hidden .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-top .ssbp-container{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.ssbp--state-hidden.ssbp--fixed-bottom .ssbp-container{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--state-hidden.ssbp--fixed-left .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-right .ssbp-container{-webkit-transform:translateX(100%);transform:translateX(100%)}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}@keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}.ssbp--theme-1 .ssbp-container{padding:6px}.ssbp--theme-1 .ssbp-list li{margin-left:12px}.ssbp--theme-1 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;border-radius:50%;color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-1 .ssbp-btn:hover,.ssbp--theme-1 .ssbp-btn:focus,.ssbp--theme-1 .ssbp-btn:active{background-color:#fff;z-index:10}.ssbp--theme-1 .ssbp-btn:visited{color:#fff}.ssbp--theme-1 .ssbp-btn:before{-webkit-transition:-webkit-transform .25s;transition:transform .25s}.ssbp--theme-1 .ssbp-btn:active:before{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-1 .ssbp-btn:after{content:'';visibility:hidden;position:absolute;border:1px solid #fff;border-radius:50%;top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;-webkit-animation-duration:.5s;animation-duration:.5s}.ssbp--theme-1 .ssbp-btn:hover:after{-webkit-animation-name:ripple-out;animation-name:ripple-out}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li{margin-left:13.2px}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li:first-of-type{margin-left:0}.ssbp--theme-1 .ssbp-buffer{background-color:#272727}.ssbp--theme-1 .ssbp-buffer:hover,.ssbp--theme-1 .ssbp-buffer:focus,.ssbp--theme-1 .ssbp-buffer:active{color:#272727;border-color:#272727}.ssbp--theme-1 .ssbp-buffer+.ssbp-each-share{background-color:#272727}.ssbp--theme-1 .ssbp-diggit{background-color:#14589E}.ssbp--theme-1 .ssbp-diggit:hover,.ssbp--theme-1 .ssbp-diggit:focus,.ssbp--theme-1 .ssbp-diggit:active{color:#14589E;border-color:#14589E}.ssbp--theme-1 .ssbp-diggit+.ssbp-each-share{background-color:#14589E}.ssbp--theme-1 .ssbp-email{background-color:#787878}.ssbp--theme-1 .ssbp-email:hover,.ssbp--theme-1 .ssbp-email:focus,.ssbp--theme-1 .ssbp-email:active{color:#787878;border-color:#787878}.ssbp--theme-1 .ssbp-email+.ssbp-each-share{background-color:#787878}.ssbp--theme-1 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis:hover,.ssbp--theme-1 .ssbp-ellipsis:focus,.ssbp--theme-1 .ssbp-ellipsis:active{color:#4582EC;border-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis+.ssbp-each-share{background-color:#4582EC}.ssbp--theme-1 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook:hover,.ssbp--theme-1 .ssbp-facebook:focus,.ssbp--theme-1 .ssbp-facebook:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save:hover,.ssbp--theme-1 .ssbp-facebook_save:focus,.ssbp--theme-1 .ssbp-facebook_save:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger:hover,.ssbp--theme-1 .ssbp-facebook-messenger:focus,.ssbp--theme-1 .ssbp-facebook-messenger:active{color:#0084FF;border-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#0084FF}.ssbp--theme-1 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr:hover,.ssbp--theme-1 .ssbp-flattr:focus,.ssbp--theme-1 .ssbp-flattr:active{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr+.ssbp-each-share{background-color:#f67C1A}.ssbp--theme-1 .ssbp-google{background-color:#DC4E41}.ssbp--theme-1 .ssbp-google:hover,.ssbp--theme-1 .ssbp-google:focus,.ssbp--theme-1 .ssbp-google:active{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-1 .ssbp-google+.ssbp-each-share{background-color:#DC4E41}.ssbp--theme-1 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin:hover,.ssbp--theme-1 .ssbp-linkedin:focus,.ssbp--theme-1 .ssbp-linkedin:active{color:#007bb6;border-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin+.ssbp-each-share{background-color:#007bb6}.ssbp--theme-1 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest:hover,.ssbp--theme-1 .ssbp-pinterest:focus,.ssbp--theme-1 .ssbp-pinterest:active{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest+.ssbp-each-share{background-color:#ce1a19}.ssbp--theme-1 .ssbp-print{background-color:#1F6B43}.ssbp--theme-1 .ssbp-print:hover,.ssbp--theme-1 .ssbp-print:focus,.ssbp--theme-1 .ssbp-print:active{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-1 .ssbp-print+.ssbp-each-share{background-color:#1F6B43}.ssbp--theme-1 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-1 .ssbp-reddit:hover,.ssbp--theme-1 .ssbp-reddit:focus,.ssbp--theme-1 .ssbp-reddit:active{color:#FF4500;border-color:#FF4500}.ssbp--theme-1 .ssbp-reddit+.ssbp-each-share{background-color:#FF4500}.ssbp--theme-1 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons:hover,.ssbp--theme-1 .ssbp-simplesharebuttons:focus,.ssbp--theme-1 .ssbp-simplesharebuttons:active{color:#4582ec;border-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#4582ec}.ssbp--theme-1 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon:hover,.ssbp--theme-1 .ssbp-stumbleupon:focus,.ssbp--theme-1 .ssbp-stumbleupon:active{color:#EB4924;border-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon+.ssbp-each-share{background-color:#EB4924}.ssbp--theme-1 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr:hover,.ssbp--theme-1 .ssbp-tumblr:focus,.ssbp--theme-1 .ssbp-tumblr:active{color:#2C4762;border-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr+.ssbp-each-share{background-color:#2C4762}.ssbp--theme-1 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter:hover,.ssbp--theme-1 .ssbp-twitter:focus,.ssbp--theme-1 .ssbp-twitter:active{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter+.ssbp-each-share{background-color:#00a9f1}.ssbp--theme-1 .ssbp-vk{background-color:#45668E}.ssbp--theme-1 .ssbp-vk:hover,.ssbp--theme-1 .ssbp-vk:focus,.ssbp--theme-1 .ssbp-vk:active{color:#45668E;border-color:#45668E}.ssbp--theme-1 .ssbp-vk+.ssbp-each-share{background-color:#45668E}.ssbp--theme-1 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp:hover,.ssbp--theme-1 .ssbp-whatsapp:focus,.ssbp--theme-1 .ssbp-whatsapp:active{color:#34AF23;border-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp+.ssbp-each-share{background-color:#34AF23}.ssbp--theme-1 .ssbp-yummly{background-color:#E16120}.ssbp--theme-1 .ssbp-yummly:hover,.ssbp--theme-1 .ssbp-yummly:focus,.ssbp--theme-1 .ssbp-yummly:active{color:#E16120;border-color:#E16120}.ssbp--theme-1 .ssbp-yummly+.ssbp-each-share{background-color:#E16120}.ssbp--theme-1 .ssbp-xing{background-color:#026466}.ssbp--theme-1 .ssbp-xing:hover,.ssbp--theme-1 .ssbp-xing:focus,.ssbp--theme-1 .ssbp-xing:active{color:#026466;border-color:#026466}.ssbp--theme-1 .ssbp-xing+.ssbp-each-share{background-color:#026466}.ssbp--theme-1 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-1.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centered .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-2 .ssbp-list li{overflow:hidden;margin: 0}.ssbp--theme-2 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-2 .ssbp-btn:before{-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn+.ssbp-each-share{position:absolute;z-index:10;bottom:0;left:0;right:0;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn:hover,.ssbp--theme-2 .ssbp-btn:focus,.ssbp--theme-2 .ssbp-btn:active,.ssbp--theme-2 .ssbp-btn:visited{z-index:10;color:#fff}.ssbp--theme-2 .ssbp-btn:hover:before,.ssbp--theme-2 .ssbp-btn:focus:before,.ssbp--theme-2 .ssbp-btn:active:before,.ssbp--theme-2 .ssbp-btn:visited:before{-webkit-transform:none !important;transform:none !important}.ssbp--theme-2 .ssbp-btn:hover+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:focus+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:active+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:visited+.ssbp-each-share{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--theme-2 .ssbp-btn:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-2[data-ssbp-counts="true"] .ssbp-btn:before{-webkit-transform:translateY(-0.25em) scale(0.75);transform:translateY(-0.25em) scale(0.75)}.ssbp--theme-2 .ssbp-buffer{background-color:#272727}.ssbp--theme-2 .ssbp-buffer:hover,.ssbp--theme-2 .ssbp-buffer:focus,.ssbp--theme-2 .ssbp-buffer:active{background-color:#0e0e0e}.ssbp--theme-2 .ssbp-diggit{background-color:#14589E}.ssbp--theme-2 .ssbp-diggit:hover,.ssbp--theme-2 .ssbp-diggit:focus,.ssbp--theme-2 .ssbp-diggit:active{background-color:#0e3f71}.ssbp--theme-2 .ssbp-email{background-color:#787878}.ssbp--theme-2 .ssbp-email:hover,.ssbp--theme-2 .ssbp-email:focus,.ssbp--theme-2 .ssbp-email:active{background-color:#5f5f5f}.ssbp--theme-2 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-2 .ssbp-ellipsis:hover,.ssbp--theme-2 .ssbp-ellipsis:focus,.ssbp--theme-2 .ssbp-ellipsis:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook:hover,.ssbp--theme-2 .ssbp-facebook:focus,.ssbp--theme-2 .ssbp-facebook:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook_save:hover,.ssbp--theme-2 .ssbp-facebook_save:focus,.ssbp--theme-2 .ssbp-facebook_save:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-2 .ssbp-facebook-messenger:hover,.ssbp--theme-2 .ssbp-facebook-messenger:focus,.ssbp--theme-2 .ssbp-facebook-messenger:active{background-color:#006acc}.ssbp--theme-2 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-2 .ssbp-flattr:hover,.ssbp--theme-2 .ssbp-flattr:focus,.ssbp--theme-2 .ssbp-flattr:active{background-color:#d56308}.ssbp--theme-2 .ssbp-google{background-color:#DC4E41}.ssbp--theme-2 .ssbp-google:hover,.ssbp--theme-2 .ssbp-google:focus,.ssbp--theme-2 .ssbp-google:active{background-color:#c63224}.ssbp--theme-2 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-2 .ssbp-linkedin:hover,.ssbp--theme-2 .ssbp-linkedin:focus,.ssbp--theme-2 .ssbp-linkedin:active{background-color:#005983}.ssbp--theme-2 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-2 .ssbp-pinterest:hover,.ssbp--theme-2 .ssbp-pinterest:focus,.ssbp--theme-2 .ssbp-pinterest:active{background-color:#a11413}.ssbp--theme-2 .ssbp-print{background-color:#1F6B43}.ssbp--theme-2 .ssbp-print:hover,.ssbp--theme-2 .ssbp-print:focus,.ssbp--theme-2 .ssbp-print:active{background-color:#14432a}.ssbp--theme-2 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-2 .ssbp-reddit:hover,.ssbp--theme-2 .ssbp-reddit:focus,.ssbp--theme-2 .ssbp-reddit:active{background-color:#cc3700}.ssbp--theme-2 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-2 .ssbp-simplesharebuttons:hover,.ssbp--theme-2 .ssbp-simplesharebuttons:focus,.ssbp--theme-2 .ssbp-simplesharebuttons:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-2 .ssbp-stumbleupon:hover,.ssbp--theme-2 .ssbp-stumbleupon:focus,.ssbp--theme-2 .ssbp-stumbleupon:active{background-color:#ca3412}.ssbp--theme-2 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-2 .ssbp-tumblr:hover,.ssbp--theme-2 .ssbp-tumblr:focus,.ssbp--theme-2 .ssbp-tumblr:active{background-color:#1c2e3f}.ssbp--theme-2 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-2 .ssbp-twitter:hover,.ssbp--theme-2 .ssbp-twitter:focus,.ssbp--theme-2 .ssbp-twitter:active{background-color:#0085be}.ssbp--theme-2 .ssbp-vk{background-color:#45668E}.ssbp--theme-2 .ssbp-vk:hover,.ssbp--theme-2 .ssbp-vk:focus,.ssbp--theme-2 .ssbp-vk:active{background-color:#344d6c}.ssbp--theme-2 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-2 .ssbp-whatsapp:hover,.ssbp--theme-2 .ssbp-whatsapp:focus,.ssbp--theme-2 .ssbp-whatsapp:active{background-color:#27851b}.ssbp--theme-2 .ssbp-yummly{background-color:#E16120}.ssbp--theme-2 .ssbp-yummly:hover,.ssbp--theme-2 .ssbp-yummly:focus,.ssbp--theme-2 .ssbp-yummly:active{background-color:#b64d18}.ssbp--theme-2 .ssbp-xing{background-color:#026466}.ssbp--theme-2 .ssbp-xing:hover,.ssbp--theme-2 .ssbp-xing:focus,.ssbp--theme-2 .ssbp-xing:active{background-color:#013334}.ssbp--theme-2 .ssbp-each-share{padding:2px;background-color:rgba(0,0,0,0.1);font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-3 .ssbp-list li{margin: 0; margin-bottom: 1rem;}.ssbp--theme-3 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;margin-left:.5em;text-shadow:-1px -1px rgba(0,0,0,0.2)}.ssbp--theme-3 .ssbp-btn{display:block;padding:0.5em 1em;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-3 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-3 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-3 .ssbp-btn:hover,.ssbp--theme-3 .ssbp-btn:focus,.ssbp--theme-3 .ssbp-btn:active,.ssbp--theme-3 .ssbp-btn:visited{color:#fff}.ssbp--theme-3 .ssbp-buffer{background-color:#272727}.ssbp--theme-3 .ssbp-buffer:hover,.ssbp--theme-3 .ssbp-buffer:focus,.ssbp--theme-3 .ssbp-buffer:active,.ssbp--theme-3 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-3 .ssbp-diggit{background-color:#14589E}.ssbp--theme-3 .ssbp-diggit:hover,.ssbp--theme-3 .ssbp-diggit:focus,.ssbp--theme-3 .ssbp-diggit:active,.ssbp--theme-3 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-3 .ssbp-email{background-color:#787878}.ssbp--theme-3 .ssbp-email:hover,.ssbp--theme-3 .ssbp-email:focus,.ssbp--theme-3 .ssbp-email:active,.ssbp--theme-3 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-3 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-3 .ssbp-ellipsis:hover,.ssbp--theme-3 .ssbp-ellipsis:focus,.ssbp--theme-3 .ssbp-ellipsis:active,.ssbp--theme-3 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook:hover,.ssbp--theme-3 .ssbp-facebook:focus,.ssbp--theme-3 .ssbp-facebook:active,.ssbp--theme-3 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook_save:hover,.ssbp--theme-3 .ssbp-facebook_save:focus,.ssbp--theme-3 .ssbp-facebook_save:active,.ssbp--theme-3 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-3 .ssbp-facebook-messenger:hover,.ssbp--theme-3 .ssbp-facebook-messenger:focus,.ssbp--theme-3 .ssbp-facebook-messenger:active,.ssbp--theme-3 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-3 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-3 .ssbp-flattr:hover,.ssbp--theme-3 .ssbp-flattr:focus,.ssbp--theme-3 .ssbp-flattr:active,.ssbp--theme-3 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-3 .ssbp-google{background-color:#DC4E41}.ssbp--theme-3 .ssbp-google:hover,.ssbp--theme-3 .ssbp-google:focus,.ssbp--theme-3 .ssbp-google:active,.ssbp--theme-3 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-3 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-3 .ssbp-linkedin:hover,.ssbp--theme-3 .ssbp-linkedin:focus,.ssbp--theme-3 .ssbp-linkedin:active,.ssbp--theme-3 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-3 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-3 .ssbp-pinterest:hover,.ssbp--theme-3 .ssbp-pinterest:focus,.ssbp--theme-3 .ssbp-pinterest:active,.ssbp--theme-3 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-3 .ssbp-print{background-color:#1F6B43}.ssbp--theme-3 .ssbp-print:hover,.ssbp--theme-3 .ssbp-print:focus,.ssbp--theme-3 .ssbp-print:active,.ssbp--theme-3 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-3 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-3 .ssbp-reddit:hover,.ssbp--theme-3 .ssbp-reddit:focus,.ssbp--theme-3 .ssbp-reddit:active,.ssbp--theme-3 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-3 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-3 .ssbp-simplesharebuttons:hover,.ssbp--theme-3 .ssbp-simplesharebuttons:focus,.ssbp--theme-3 .ssbp-simplesharebuttons:active,.ssbp--theme-3 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-3 .ssbp-stumbleupon:hover,.ssbp--theme-3 .ssbp-stumbleupon:focus,.ssbp--theme-3 .ssbp-stumbleupon:active,.ssbp--theme-3 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-3 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-3 .ssbp-tumblr:hover,.ssbp--theme-3 .ssbp-tumblr:focus,.ssbp--theme-3 .ssbp-tumblr:active,.ssbp--theme-3 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-3 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-3 .ssbp-twitter:hover,.ssbp--theme-3 .ssbp-twitter:focus,.ssbp--theme-3 .ssbp-twitter:active,.ssbp--theme-3 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-3 .ssbp-vk{background-color:#45668E}.ssbp--theme-3 .ssbp-vk:hover,.ssbp--theme-3 .ssbp-vk:focus,.ssbp--theme-3 .ssbp-vk:active,.ssbp--theme-3 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-3 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-3 .ssbp-whatsapp:hover,.ssbp--theme-3 .ssbp-whatsapp:focus,.ssbp--theme-3 .ssbp-whatsapp:active,.ssbp--theme-3 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-3 .ssbp-yummly{background-color:#E16120}.ssbp--theme-3 .ssbp-yummly:hover,.ssbp--theme-3 .ssbp-yummly:focus,.ssbp--theme-3 .ssbp-yummly:active,.ssbp--theme-3 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-3 .ssbp-xing{background-color:#026466}.ssbp--theme-3 .ssbp-xing:hover,.ssbp--theme-3 .ssbp-xing:focus,.ssbp--theme-3 .ssbp-xing:active,.ssbp--theme-3 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-3 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-4[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:8px}.ssbp--theme-4 .ssbp-btn{width:3em;height:3em;line-height:3em;border-radius:7.5px;color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s;box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1);border-bottom:0}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active{box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1),inset 0 0 3.5em rgba(0,0,0,0.33)}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active,.ssbp--theme-4 .ssbp-btn:visited{color:#fff}.ssbp--theme-4 .ssbp-list li{margin-left:12px}.ssbp--theme-4 .ssbp-buffer{background-color:#272727}.ssbp--theme-4 .ssbp-diggit{background-color:#14589E}.ssbp--theme-4 .ssbp-email{background-color:#787878}.ssbp--theme-4 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-4 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-4 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-4 .ssbp-google{background-color:#DC4E41}.ssbp--theme-4 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-4 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-4 .ssbp-print{background-color:#1F6B43}.ssbp--theme-4 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-4 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-4 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-4 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-4 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-4 .ssbp-vk{background-color:#45668E}.ssbp--theme-4 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-4 .ssbp-yummly{background-color:#E16120}.ssbp--theme-4 .ssbp-xing{background-color:#026466}.ssbp--theme-4 .ssbp-each-share{position:absolute;bottom:100%;right:0;z-index:11;min-width:1.25em;margin-right:-6px;margin-bottom:-8px;padding:2px 4px;border-radius:8px;background-color:#F22121;font-size:10px;color:#FFF;text-align:center}.ssbp--theme-4.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-16px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-5 .ssbp-btn{width:4em;height:3em;line-height:3em;margin-bottom:8px;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-5 .ssbp-btn:active{-webkit-transform:translateY(4px);transform:translateY(4px)}.ssbp--theme-5 .ssbp-btn:hover,.ssbp--theme-5 .ssbp-btn:focus,.ssbp--theme-5 .ssbp-btn:active,.ssbp--theme-5 .ssbp-btn:visited{color:#fff}.ssbp--theme-5.ssbp--stacked .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-right .ssbp-list li{margin-top:0}.ssbp--theme-5 .ssbp-buffer{background-color:#272727;box-shadow:0 8px 0 #0e0e0e,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-buffer:active{box-shadow:0 4px 0 #0e0e0e,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-diggit{background-color:#14589E;box-shadow:0 8px 0 #0e3f71,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-diggit:active{box-shadow:0 4px 0 #0e3f71,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-email{background-color:#787878;box-shadow:0 8px 0 #5f5f5f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-email:active{box-shadow:0 4px 0 #5f5f5f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis{background-color:#4582EC;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger{background-color:#0084FF;box-shadow:0 8px 0 #006acc,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger:active{box-shadow:0 4px 0 #006acc,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr{background-color:#f67C1A;box-shadow:0 8px 0 #d56308,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr:active{box-shadow:0 4px 0 #d56308,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google{background-color:#DC4E41;box-shadow:0 8px 0 #c63224,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google:active{box-shadow:0 4px 0 #c63224,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin{background-color:#007bb6;box-shadow:0 8px 0 #005983,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin:active{box-shadow:0 4px 0 #005983,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest{background-color:#ce1a19;box-shadow:0 8px 0 #a11413,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest:active{box-shadow:0 4px 0 #a11413,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print{background-color:#1F6B43;box-shadow:0 8px 0 #14432a,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print:active{box-shadow:0 4px 0 #14432a,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit{background-color:#FF4500;box-shadow:0 8px 0 #cc3700,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit:active{box-shadow:0 4px 0 #cc3700,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons{background-color:#4582ec;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon{background-color:#EB4924;box-shadow:0 8px 0 #ca3412,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon:active{box-shadow:0 4px 0 #ca3412,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr{background-color:#2C4762;box-shadow:0 8px 0 #1c2e3f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr:active{box-shadow:0 4px 0 #1c2e3f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter{background-color:#00a9f1;box-shadow:0 8px 0 #0085be,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter:active{box-shadow:0 4px 0 #0085be,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk{background-color:#45668E;box-shadow:0 8px 0 #344d6c,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk:active{box-shadow:0 4px 0 #344d6c,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp{background-color:#34AF23;box-shadow:0 8px 0 #27851b,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp:active{box-shadow:0 4px 0 #27851b,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly{background-color:#E16120;box-shadow:0 8px 0 #b64d18,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly:active{box-shadow:0 4px 0 #b64d18,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing{background-color:#026466;box-shadow:0 8px 0 #013334,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing:active{box-shadow:0 4px 0 #013334,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-6[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:6px}.ssbp--theme-6 .ssbp-btn{width:3em;height:3em;line-height:3em;border:2px solid #fff;border-radius:50%;background-color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-6 .ssbp-btn:hover,.ssbp--theme-6 .ssbp-btn:focus,.ssbp--theme-6 .ssbp-btn:active{color:#fff}.ssbp--theme-6 .ssbp-list li{margin-left:12px}.ssbp--theme-6 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-6 .ssbp-buffer:hover,.ssbp--theme-6 .ssbp-buffer:focus,.ssbp--theme-6 .ssbp-buffer:active{background-color:#272727}.ssbp--theme-6 .ssbp-buffer+.ssbp-each-share{color:#272727;border-color:#272727}.ssbp--theme-6 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-6 .ssbp-diggit:hover,.ssbp--theme-6 .ssbp-diggit:focus,.ssbp--theme-6 .ssbp-diggit:active{background-color:#14589E}.ssbp--theme-6 .ssbp-diggit+.ssbp-each-share{color:#14589E;border-color:#14589E}.ssbp--theme-6 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-6 .ssbp-email:hover,.ssbp--theme-6 .ssbp-email:focus,.ssbp--theme-6 .ssbp-email:active{background-color:#787878}.ssbp--theme-6 .ssbp-email+.ssbp-each-share{color:#787878;border-color:#787878}.ssbp--theme-6 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis:hover,.ssbp--theme-6 .ssbp-ellipsis:focus,.ssbp--theme-6 .ssbp-ellipsis:active{background-color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC;border-color:#4582EC}.ssbp--theme-6 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook:hover,.ssbp--theme-6 .ssbp-facebook:focus,.ssbp--theme-6 .ssbp-facebook:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save:hover,.ssbp--theme-6 .ssbp-facebook_save:focus,.ssbp--theme-6 .ssbp-facebook_save:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger:hover,.ssbp--theme-6 .ssbp-facebook-messenger:focus,.ssbp--theme-6 .ssbp-facebook-messenger:active{background-color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF;border-color:#0084FF}.ssbp--theme-6 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-6 .ssbp-flattr:hover,.ssbp--theme-6 .ssbp-flattr:focus,.ssbp--theme-6 .ssbp-flattr:active{background-color:#f67C1A}.ssbp--theme-6 .ssbp-flattr+.ssbp-each-share{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-6 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-6 .ssbp-google:hover,.ssbp--theme-6 .ssbp-google:focus,.ssbp--theme-6 .ssbp-google:active{background-color:#DC4E41}.ssbp--theme-6 .ssbp-google+.ssbp-each-share{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-6 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-6 .ssbp-linkedin:hover,.ssbp--theme-6 .ssbp-linkedin:focus,.ssbp--theme-6 .ssbp-linkedin:active{background-color:#007bb6}.ssbp--theme-6 .ssbp-linkedin+.ssbp-each-share{color:#007bb6;border-color:#007bb6}.ssbp--theme-6 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest:hover,.ssbp--theme-6 .ssbp-pinterest:focus,.ssbp--theme-6 .ssbp-pinterest:active{background-color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-6 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-6 .ssbp-print:hover,.ssbp--theme-6 .ssbp-print:focus,.ssbp--theme-6 .ssbp-print:active{background-color:#1F6B43}.ssbp--theme-6 .ssbp-print+.ssbp-each-share{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-6 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-6 .ssbp-reddit:hover,.ssbp--theme-6 .ssbp-reddit:focus,.ssbp--theme-6 .ssbp-reddit:active{background-color:#FF4500}.ssbp--theme-6 .ssbp-reddit+.ssbp-each-share{color:#FF4500;border-color:#FF4500}.ssbp--theme-6 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons:hover,.ssbp--theme-6 .ssbp-simplesharebuttons:focus,.ssbp--theme-6 .ssbp-simplesharebuttons:active{background-color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec;border-color:#4582ec}.ssbp--theme-6 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon:hover,.ssbp--theme-6 .ssbp-stumbleupon:focus,.ssbp--theme-6 .ssbp-stumbleupon:active{background-color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924;border-color:#EB4924}.ssbp--theme-6 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-6 .ssbp-tumblr:hover,.ssbp--theme-6 .ssbp-tumblr:focus,.ssbp--theme-6 .ssbp-tumblr:active{background-color:#2C4762}.ssbp--theme-6 .ssbp-tumblr+.ssbp-each-share{color:#2C4762;border-color:#2C4762}.ssbp--theme-6 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-6 .ssbp-twitter:hover,.ssbp--theme-6 .ssbp-twitter:focus,.ssbp--theme-6 .ssbp-twitter:active{background-color:#00a9f1}.ssbp--theme-6 .ssbp-twitter+.ssbp-each-share{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-6 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-6 .ssbp-vk:hover,.ssbp--theme-6 .ssbp-vk:focus,.ssbp--theme-6 .ssbp-vk:active{background-color:#45668E}.ssbp--theme-6 .ssbp-vk+.ssbp-each-share{color:#45668E;border-color:#45668E}.ssbp--theme-6 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp:hover,.ssbp--theme-6 .ssbp-whatsapp:focus,.ssbp--theme-6 .ssbp-whatsapp:active{background-color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23;border-color:#34AF23}.ssbp--theme-6 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-6 .ssbp-yummly:hover,.ssbp--theme-6 .ssbp-yummly:focus,.ssbp--theme-6 .ssbp-yummly:active{background-color:#E16120}.ssbp--theme-6 .ssbp-yummly+.ssbp-each-share{color:#E16120;border-color:#E16120}.ssbp--theme-6 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-6 .ssbp-xing:hover,.ssbp--theme-6 .ssbp-xing:focus,.ssbp--theme-6 .ssbp-xing:active{background-color:#026466}.ssbp--theme-6 .ssbp-xing+.ssbp-each-share{color:#026466;border-color:#026466}.ssbp--theme-6 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border:1px solid #fff;background-color:#fff;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-6.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-7 .ssbp-list li{margin-left:6px;margin-bottom:1.5rem;}.ssbp--theme-7 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;margin-left:.5em}.ssbp--theme-7 .ssbp-btn{display:block;padding:0.5em 1em;border:2px solid #fff;color:#fff;background-color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s}.ssbp--theme-7 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-7 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-7 .ssbp-buffer:visited{color:#272727}.ssbp--theme-7 .ssbp-buffer:hover,.ssbp--theme-7 .ssbp-buffer:focus,.ssbp--theme-7 .ssbp-buffer:active{background-color:#272727;border-bottom:2px #272727 solid;color:#fff}.ssbp--theme-7 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-7 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-7 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-7 .ssbp-diggit:hover,.ssbp--theme-7 .ssbp-diggit:focus,.ssbp--theme-7 .ssbp-diggit:active{background-color:#14589E;border-bottom:2px #14589E solid;color:#fff}.ssbp--theme-7 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-7 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-7 .ssbp-email:visited{color:#787878}.ssbp--theme-7 .ssbp-email:hover,.ssbp--theme-7 .ssbp-email:focus,.ssbp--theme-7 .ssbp-email:active{background-color:#787878;border-bottom:2px #787878 solid;color:#fff}.ssbp--theme-7 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-7 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:hover,.ssbp--theme-7 .ssbp-ellipsis:focus,.ssbp--theme-7 .ssbp-ellipsis:active{background-color:#4582EC;border-bottom:2px #4582EC solid;color:#fff}.ssbp--theme-7 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-7 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook:hover,.ssbp--theme-7 .ssbp-facebook:focus,.ssbp--theme-7 .ssbp-facebook:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:hover,.ssbp--theme-7 .ssbp-facebook_save:focus,.ssbp--theme-7 .ssbp-facebook_save:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:hover,.ssbp--theme-7 .ssbp-facebook-messenger:focus,.ssbp--theme-7 .ssbp-facebook-messenger:active{background-color:#0084FF;border-bottom:2px #0084FF solid;color:#fff}.ssbp--theme-7 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-7 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:hover,.ssbp--theme-7 .ssbp-flattr:focus,.ssbp--theme-7 .ssbp-flattr:active{background-color:#f67C1A;border-bottom:2px #f67C1A solid;color:#fff}.ssbp--theme-7 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-7 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-7 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-7 .ssbp-google:hover,.ssbp--theme-7 .ssbp-google:focus,.ssbp--theme-7 .ssbp-google:active{background-color:#DC4E41;border-bottom:2px #DC4E41 solid;color:#fff}.ssbp--theme-7 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-7 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:hover,.ssbp--theme-7 .ssbp-linkedin:focus,.ssbp--theme-7 .ssbp-linkedin:active{background-color:#007bb6;border-bottom:2px #007bb6 solid;color:#fff}.ssbp--theme-7 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-7 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:hover,.ssbp--theme-7 .ssbp-pinterest:focus,.ssbp--theme-7 .ssbp-pinterest:active{background-color:#ce1a19;border-bottom:2px #ce1a19 solid;color:#fff}.ssbp--theme-7 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-7 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-7 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-7 .ssbp-print:hover,.ssbp--theme-7 .ssbp-print:focus,.ssbp--theme-7 .ssbp-print:active{background-color:#1F6B43;border-bottom:2px #1F6B43 solid;color:#fff}.ssbp--theme-7 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-7 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-7 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-7 .ssbp-reddit:hover,.ssbp--theme-7 .ssbp-reddit:focus,.ssbp--theme-7 .ssbp-reddit:active{background-color:#FF4500;border-bottom:2px #FF4500 solid;color:#fff}.ssbp--theme-7 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-7 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:hover,.ssbp--theme-7 .ssbp-simplesharebuttons:focus,.ssbp--theme-7 .ssbp-simplesharebuttons:active{background-color:#4582ec;border-bottom:2px #4582ec solid;color:#fff}.ssbp--theme-7 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-7 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:hover,.ssbp--theme-7 .ssbp-stumbleupon:focus,.ssbp--theme-7 .ssbp-stumbleupon:active{background-color:#EB4924;border-bottom:2px #EB4924 solid;color:#fff}.ssbp--theme-7 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-7 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:hover,.ssbp--theme-7 .ssbp-tumblr:focus,.ssbp--theme-7 .ssbp-tumblr:active{background-color:#2C4762;border-bottom:2px #2C4762 solid;color:#fff}.ssbp--theme-7 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-7 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:hover,.ssbp--theme-7 .ssbp-twitter:focus,.ssbp--theme-7 .ssbp-twitter:active{background-color:#00a9f1;border-bottom:2px #00a9f1 solid;color:#fff}.ssbp--theme-7 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-7 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-7 .ssbp-vk:visited{color:#45668E}.ssbp--theme-7 .ssbp-vk:hover,.ssbp--theme-7 .ssbp-vk:focus,.ssbp--theme-7 .ssbp-vk:active{background-color:#45668E;border-bottom:2px #45668E solid;color:#fff}.ssbp--theme-7 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-7 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:hover,.ssbp--theme-7 .ssbp-whatsapp:focus,.ssbp--theme-7 .ssbp-whatsapp:active{background-color:#34AF23;border-bottom:2px #34AF23 solid;color:#fff}.ssbp--theme-7 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-7 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-7 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-7 .ssbp-yummly:hover,.ssbp--theme-7 .ssbp-yummly:focus,.ssbp--theme-7 .ssbp-yummly:active{background-color:#E16120;border-bottom:2px #E16120 solid;color:#fff}.ssbp--theme-7 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-7 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-7 .ssbp-xing:visited{color:#026466}.ssbp--theme-7 .ssbp-xing:hover,.ssbp--theme-7 .ssbp-xing:focus,.ssbp--theme-7 .ssbp-xing:active{background-color:#026466;border-bottom:2px #026466 solid;color:#fff}.ssbp--theme-7 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-7 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-8 .ssbp-list li{margin-left:6px}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active{border-bottom:3px solid #272727}.ssbp--theme-8 .ssbp-btn,.ssbp--theme-8 .ssbp-btn:visited{width:4em;height:3em;line-height:3em;position:relative;border:3px solid #272727;background-color:#fff;color:#272727;-webkit-transition:.25s;transition:.25s}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active,.ssbp--theme-8 .ssbp-btn:visited:hover,.ssbp--theme-8 .ssbp-btn:visited:focus,.ssbp--theme-8 .ssbp-btn:visited:active{background-color:#272727;color:#fff}.ssbp--theme-8 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-9 .ssbp-list li{margin-left:6px}.ssbp--theme-9 .ssbp-btn{display:block;padding:.5em 1em}.ssbp--theme-9 .ssbp-btn:hover,.ssbp--theme-9 .ssbp-btn:focus,.ssbp--theme-9 .ssbp-btn:active{opacity:.66}.ssbp--theme-9 .ssbp-buffer{border-bottom:5px solid #272727;color:#272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active{border-bottom:5px solid #272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active,.ssbp--theme-9 .ssbp-buffer:visited{color:#272727}.ssbp--theme-9 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-9 .ssbp-diggit{border-bottom:5px solid #14589E;color:#14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active{border-bottom:5px solid #14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active,.ssbp--theme-9 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-9 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-9 .ssbp-email{border-bottom:5px solid #787878;color:#787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active{border-bottom:5px solid #787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active,.ssbp--theme-9 .ssbp-email:visited{color:#787878}.ssbp--theme-9 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-9 .ssbp-ellipsis{border-bottom:5px solid #4582EC;color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active{border-bottom:5px solid #4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active,.ssbp--theme-9 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-9 .ssbp-facebook{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active,.ssbp--theme-9 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active,.ssbp--theme-9 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook-messenger{border-bottom:5px solid #0084FF;color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active{border-bottom:5px solid #0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active,.ssbp--theme-9 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-9 .ssbp-flattr{border-bottom:5px solid #f67C1A;color:#f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active{border-bottom:5px solid #f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active,.ssbp--theme-9 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-9 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-9 .ssbp-google{border-bottom:5px solid #DC4E41;color:#DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active{border-bottom:5px solid #DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active,.ssbp--theme-9 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-9 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-9 .ssbp-linkedin{border-bottom:5px solid #007bb6;color:#007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active{border-bottom:5px solid #007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active,.ssbp--theme-9 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-9 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-9 .ssbp-pinterest{border-bottom:5px solid #ce1a19;color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active{border-bottom:5px solid #ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active,.ssbp--theme-9 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-9 .ssbp-print{border-bottom:5px solid #1F6B43;color:#1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active{border-bottom:5px solid #1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active,.ssbp--theme-9 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-9 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-9 .ssbp-reddit{border-bottom:5px solid #FF4500;color:#FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active{border-bottom:5px solid #FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active,.ssbp--theme-9 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-9 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-9 .ssbp-simplesharebuttons{border-bottom:5px solid #4582ec;color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active{border-bottom:5px solid #4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active,.ssbp--theme-9 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-9 .ssbp-stumbleupon{border-bottom:5px solid #EB4924;color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active{border-bottom:5px solid #EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active,.ssbp--theme-9 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-9 .ssbp-tumblr{border-bottom:5px solid #2C4762;color:#2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active{border-bottom:5px solid #2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active,.ssbp--theme-9 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-9 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-9 .ssbp-twitter{border-bottom:5px solid #00a9f1;color:#00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active{border-bottom:5px solid #00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active,.ssbp--theme-9 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-9 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-9 .ssbp-vk{border-bottom:5px solid #45668E;color:#45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active{border-bottom:5px solid #45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active,.ssbp--theme-9 .ssbp-vk:visited{color:#45668E}.ssbp--theme-9 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-9 .ssbp-whatsapp{border-bottom:5px solid #34AF23;color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active{border-bottom:5px solid #34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active,.ssbp--theme-9 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-9 .ssbp-yummly{border-bottom:5px solid #E16120;color:#E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active{border-bottom:5px solid #E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active,.ssbp--theme-9 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-9 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-9 .ssbp-xing{border-bottom:5px solid #026466;color:#026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active{border-bottom:5px solid #026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active,.ssbp--theme-9 .ssbp-xing:visited{color:#026466}.ssbp--theme-9 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-9 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-9 .ssbp-each-share:before{content:"("}.ssbp--theme-9 .ssbp-each-share:after{content:")"}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-10{overflow:hidden}.ssbp--theme-10 .ssbp-list li{margin: 0}.ssbp--theme-10 .ssbp-btn{display:block;padding:0.5em 1em;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-10 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-10 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-10 .ssbp-btn:hover,.ssbp--theme-10 .ssbp-btn:focus,.ssbp--theme-10 .ssbp-btn:active,.ssbp--theme-10 .ssbp-btn:visited{color:#fff}.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{position:relative;display:block;padding:10px}.ssbp--theme-10.ssbp--centred .ssbp-input-url{width:100%;max-width:200px;border:1px solid #DDD;padding:8px 8px 8px 8px;font-size:20px;font-weight:400;line-height:1;color:#B3B3B3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{display:block;line-height:1}.ssbp--theme-10.ssbp--centred .ssbp-total-shares b{font-size:70px;color:#4582EC}.ssbp--theme-10.ssbp--centred .ssbp-total-shares:after{content:'Shares';display:block;font-family:'Lato',sans-serif;font-weight:700;font-size:30px;text-transform:uppercase;color:#B3B3B3}@media only screen and (min-width: 481px){.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{float:right;width:50%;padding:35px 20px;text-align:left}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{width:50%;text-align:right}}.ssbp--theme-10 .ssbp-buffer{background-color:#272727}.ssbp--theme-10 .ssbp-buffer:hover,.ssbp--theme-10 .ssbp-buffer:focus,.ssbp--theme-10 .ssbp-buffer:active,.ssbp--theme-10 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-10 .ssbp-diggit{background-color:#14589E}.ssbp--theme-10 .ssbp-diggit:hover,.ssbp--theme-10 .ssbp-diggit:focus,.ssbp--theme-10 .ssbp-diggit:active,.ssbp--theme-10 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-10 .ssbp-email{background-color:#787878}.ssbp--theme-10 .ssbp-email:hover,.ssbp--theme-10 .ssbp-email:focus,.ssbp--theme-10 .ssbp-email:active,.ssbp--theme-10 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-10 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-10 .ssbp-ellipsis:hover,.ssbp--theme-10 .ssbp-ellipsis:focus,.ssbp--theme-10 .ssbp-ellipsis:active,.ssbp--theme-10 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook:hover,.ssbp--theme-10 .ssbp-facebook:focus,.ssbp--theme-10 .ssbp-facebook:active,.ssbp--theme-10 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook_save:hover,.ssbp--theme-10 .ssbp-facebook_save:focus,.ssbp--theme-10 .ssbp-facebook_save:active,.ssbp--theme-10 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-10 .ssbp-facebook-messenger:hover,.ssbp--theme-10 .ssbp-facebook-messenger:focus,.ssbp--theme-10 .ssbp-facebook-messenger:active,.ssbp--theme-10 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-10 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-10 .ssbp-flattr:hover,.ssbp--theme-10 .ssbp-flattr:focus,.ssbp--theme-10 .ssbp-flattr:active,.ssbp--theme-10 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-10 .ssbp-google{background-color:#DC4E41}.ssbp--theme-10 .ssbp-google:hover,.ssbp--theme-10 .ssbp-google:focus,.ssbp--theme-10 .ssbp-google:active,.ssbp--theme-10 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-10 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-10 .ssbp-linkedin:hover,.ssbp--theme-10 .ssbp-linkedin:focus,.ssbp--theme-10 .ssbp-linkedin:active,.ssbp--theme-10 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-10 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-10 .ssbp-pinterest:hover,.ssbp--theme-10 .ssbp-pinterest:focus,.ssbp--theme-10 .ssbp-pinterest:active,.ssbp--theme-10 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-10 .ssbp-print{background-color:#1F6B43}.ssbp--theme-10 .ssbp-print:hover,.ssbp--theme-10 .ssbp-print:focus,.ssbp--theme-10 .ssbp-print:active,.ssbp--theme-10 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-10 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-10 .ssbp-reddit:hover,.ssbp--theme-10 .ssbp-reddit:focus,.ssbp--theme-10 .ssbp-reddit:active,.ssbp--theme-10 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-10 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-10 .ssbp-simplesharebuttons:hover,.ssbp--theme-10 .ssbp-simplesharebuttons:focus,.ssbp--theme-10 .ssbp-simplesharebuttons:active,.ssbp--theme-10 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-10 .ssbp-stumbleupon:hover,.ssbp--theme-10 .ssbp-stumbleupon:focus,.ssbp--theme-10 .ssbp-stumbleupon:active,.ssbp--theme-10 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-10 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-10 .ssbp-tumblr:hover,.ssbp--theme-10 .ssbp-tumblr:focus,.ssbp--theme-10 .ssbp-tumblr:active,.ssbp--theme-10 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-10 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-10 .ssbp-twitter:hover,.ssbp--theme-10 .ssbp-twitter:focus,.ssbp--theme-10 .ssbp-twitter:active,.ssbp--theme-10 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-10 .ssbp-vk{background-color:#45668E}.ssbp--theme-10 .ssbp-vk:hover,.ssbp--theme-10 .ssbp-vk:focus,.ssbp--theme-10 .ssbp-vk:active,.ssbp--theme-10 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-10 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-10 .ssbp-whatsapp:hover,.ssbp--theme-10 .ssbp-whatsapp:focus,.ssbp--theme-10 .ssbp-whatsapp:active,.ssbp--theme-10 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-10 .ssbp-yummly{background-color:#E16120}.ssbp--theme-10 .ssbp-yummly:hover,.ssbp--theme-10 .ssbp-yummly:focus,.ssbp--theme-10 .ssbp-yummly:active,.ssbp--theme-10 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-10 .ssbp-xing{background-color:#026466}.ssbp--theme-10 .ssbp-xing:hover,.ssbp--theme-10 .ssbp-xing:focus,.ssbp--theme-10 .ssbp-xing:active,.ssbp--theme-10 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-10 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-11{margin-left:-5px;margin-right:-5px}.ssbp--theme-11 .ssbp-list li{margin: 0}.ssbp--theme-11 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;line-height:1.2;font-size:11px}.ssbp--theme-11 .ssbp-btn{width:auto!important;height:auto!important;display:block;padding:0.6em 1em;margin:5px;text-transform:uppercase;color:#fff;font-size:11px;-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0;border-radius:5px}.ssbp--theme-11 .ssbp-btn:before{display:none}.ssbp--theme-11 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-11 .ssbp-btn:hover,.ssbp--theme-11 .ssbp-btn:focus,.ssbp--theme-11 .ssbp-btn:active,.ssbp--theme-11 .ssbp-btn:visited{color:#fff}.ssbp--theme-11 .ssbp-buffer{background-color:#272727}.ssbp--theme-11 .ssbp-buffer:hover,.ssbp--theme-11 .ssbp-buffer:focus,.ssbp--theme-11 .ssbp-buffer:active,.ssbp--theme-11 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-11 .ssbp-diggit{background-color:#14589E}.ssbp--theme-11 .ssbp-diggit:hover,.ssbp--theme-11 .ssbp-diggit:focus,.ssbp--theme-11 .ssbp-diggit:active,.ssbp--theme-11 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-11 .ssbp-email{background-color:#787878}.ssbp--theme-11 .ssbp-email:hover,.ssbp--theme-11 .ssbp-email:focus,.ssbp--theme-11 .ssbp-email:active,.ssbp--theme-11 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-11 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-11 .ssbp-ellipsis:hover,.ssbp--theme-11 .ssbp-ellipsis:focus,.ssbp--theme-11 .ssbp-ellipsis:active,.ssbp--theme-11 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook:hover,.ssbp--theme-11 .ssbp-facebook:focus,.ssbp--theme-11 .ssbp-facebook:active,.ssbp--theme-11 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook_save:hover,.ssbp--theme-11 .ssbp-facebook_save:focus,.ssbp--theme-11 .ssbp-facebook_save:active,.ssbp--theme-11 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-11 .ssbp-facebook-messenger:hover,.ssbp--theme-11 .ssbp-facebook-messenger:focus,.ssbp--theme-11 .ssbp-facebook-messenger:active,.ssbp--theme-11 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-11 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-11 .ssbp-flattr:hover,.ssbp--theme-11 .ssbp-flattr:focus,.ssbp--theme-11 .ssbp-flattr:active,.ssbp--theme-11 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-11 .ssbp-google{background-color:#DC4E41}.ssbp--theme-11 .ssbp-google:hover,.ssbp--theme-11 .ssbp-google:focus,.ssbp--theme-11 .ssbp-google:active,.ssbp--theme-11 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-11 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-11 .ssbp-linkedin:hover,.ssbp--theme-11 .ssbp-linkedin:focus,.ssbp--theme-11 .ssbp-linkedin:active,.ssbp--theme-11 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-11 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-11 .ssbp-pinterest:hover,.ssbp--theme-11 .ssbp-pinterest:focus,.ssbp--theme-11 .ssbp-pinterest:active,.ssbp--theme-11 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-11 .ssbp-print{background-color:#1F6B43}.ssbp--theme-11 .ssbp-print:hover,.ssbp--theme-11 .ssbp-print:focus,.ssbp--theme-11 .ssbp-print:active,.ssbp--theme-11 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-11 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-11 .ssbp-reddit:hover,.ssbp--theme-11 .ssbp-reddit:focus,.ssbp--theme-11 .ssbp-reddit:active,.ssbp--theme-11 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-11 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-11 .ssbp-simplesharebuttons:hover,.ssbp--theme-11 .ssbp-simplesharebuttons:focus,.ssbp--theme-11 .ssbp-simplesharebuttons:active,.ssbp--theme-11 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-11 .ssbp-stumbleupon:hover,.ssbp--theme-11 .ssbp-stumbleupon:focus,.ssbp--theme-11 .ssbp-stumbleupon:active,.ssbp--theme-11 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-11 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-11 .ssbp-tumblr:hover,.ssbp--theme-11 .ssbp-tumblr:focus,.ssbp--theme-11 .ssbp-tumblr:active,.ssbp--theme-11 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-11 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-11 .ssbp-twitter:hover,.ssbp--theme-11 .ssbp-twitter:focus,.ssbp--theme-11 .ssbp-twitter:active,.ssbp--theme-11 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-11 .ssbp-vk{background-color:#45668E}.ssbp--theme-11 .ssbp-vk:hover,.ssbp--theme-11 .ssbp-vk:focus,.ssbp--theme-11 .ssbp-vk:active,.ssbp--theme-11 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-11 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-11 .ssbp-whatsapp:hover,.ssbp--theme-11 .ssbp-whatsapp:focus,.ssbp--theme-11 .ssbp-whatsapp:active,.ssbp--theme-11 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-11 .ssbp-yummly{background-color:#E16120}.ssbp--theme-11 .ssbp-yummly:hover,.ssbp--theme-11 .ssbp-yummly:focus,.ssbp--theme-11 .ssbp-yummly:active,.ssbp--theme-11 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-11 .ssbp-xing{background-color:#026466}.ssbp--theme-11 .ssbp-xing:hover,.ssbp--theme-11 .ssbp-xing:focus,.ssbp--theme-11 .ssbp-xing:active,.ssbp--theme-11 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-11 .ssbp-each-share{padding:2px;font-size:10px;margin-right:5px;margin-left:5px;text-align:center;color:#FFF;border-radius:5px}
3
 
4
 
@@ -38,12 +81,13 @@
38
  margin: 0;
39
  margin-left: 0;
40
  margin-right: 0;
41
- display: inline-block;
42
  position: relative;
43
  }
44
 
45
  #ssba-bar-2 ul li a {
46
  max-width: 84px;
 
47
  }
48
 
49
  .ssba-plus-2 {
@@ -64,3 +108,602 @@
64
  margin-right: -12px;
65
  margin-left: 0;
66
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* Style stylesheet */
2
+ .ssbp-line:before {
3
+ content: url("../images/line.svg");
4
+ left: 0;
5
+ padding: 5px 8px 0;
6
+ position: absolute;
7
+ top: 0;
8
+ width: 100%;
9
+ }
10
+ .ssbp--theme-1 .ssbp-line{
11
+ background-color:#00c300;
12
+ display: block;
13
+ }
14
+ .ssbp--theme-1 .ssbp-line:before {
15
+ left: 50%;
16
+ position: absolute;
17
+ top: 50%;
18
+ padding-top: 0;
19
+ width: 86%;
20
+ height: 100%;
21
+ transform: translate(-50%, -37%);
22
+ }
23
+ .ssbp--theme-1 .ssbp-line:hover,
24
+ .ssbp--theme-1 .ssbp-line:focus,
25
+ .ssbp--theme-1 .ssbp-line:active{
26
+ color:#00c300;
27
+ border-color:#00c300;
28
+ }
29
+ .ssbp--theme-1 .ssbp-line:hover:before,
30
+ .ssbp--theme-1 .ssbp-line:focus:before,
31
+ .ssbp--theme-1 .ssbp-line:active:before{
32
+ content: url("../images/line-hover.svg");
33
+ left: 50%;
34
+ position: absolute;
35
+ top: 50%;
36
+ padding-top: 0;
37
+ width: 86%;
38
+ height: 100%;
39
+ transform: translate(-50%, -37%);
40
+ }
41
+ .ssbp--theme-1 .ssbp-line+.ssbp-each-share{
42
+ background-color:#00c300;
43
+ }
44
+
45
  .ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ssbp-spinner:before{font-family:'ssbp';content:"\e614"}.ssbp-spinner{-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}.ssbp-btn:before,.ssbp-toggle-switch:before{display:inline-block;font-family:'ssbp';speak:none;font-size:18px;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none}.ssbp-arrow-right:before{content:"\e612"}.ssbp-arrow-left:before{content:"\e613"}.ssbp-arrow-down:before{content:"\e619"}.ssbp-arrow-up:before{content:"\e61a"}.ssbp-chevron-down:before,.ssbp-toggle-switch:before{content:"\e618"}.ssbp-chevron-up:before,.ssbp--state-hidden .ssbp-toggle-switch:before{content:"\e615"}.ssbp-chevron-right:before,.ssbp--fixed-right .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-left .ssbp-toggle-switch:before{content:"\e616"}.ssbp-chevron-left:before,.ssbp--fixed-left .ssbp-toggle-switch:before,.ssbp--state-hidden.ssbp--fixed-right .ssbp-toggle-switch:before{content:"\e617"}.ssbp-simplesharebuttons:before{content:"\e611"}.ssbp-yummly:before{content:"\e60b"}.ssbp-whatsapp:before{content:"\e60f"}.ssbp-diggit:before{content:"\e60c"}.ssbp-buffer:before{content:"\e60d"}.ssbp-close:before{content:"\e614"}.ssbp-twitter:before{content:"\e605"}.ssbp-reddit:before{content:"\e606"}.ssbp-flattr:before{content:"\e607"}.ssbp-tumblr:before{content:"\e608"}.ssbp-linkedin:before{content:"\e609"}.ssbp-google:before{content:"\e60a"}.ssbp-xing:before{content:"\e610"}.ssbp-facebook:before{content:"\e60e"}.ssbp-facebook_save:before{content:"\e900"}.ssbp-facebook-messenger:before{content:"\e611"}.ssbp-vk:before{content:"\e600"}.ssbp-stumbleupon:before{content:"\e601"}.ssbp-print:before{content:"\e602"}.ssbp-pinterest:before{content:"\e603"}.ssbp-email:before{content:"\e604"}.ssbp-ellipsis:before{content:"\e612"}.ssbp-x:before{content:"\e613"}@media print{.ssbp-wrap{display:none !important}}.ssbp-wrap *,.ssbp-wrap *:before,.ssbp-wrap *:after{box-sizing:border-box}.ssbp-input-url-div,.ssbp-total-shares,.ssba-hide-button.ssbp-each-share,.ssbp-toggle-switch,.ssbp-text{display:none}.ssbp-wrap{position:relative;display:inline-block;padding:0px;font-size:0;color:#272727;}.ssbp-wrap.ssbp--centred{display:block;text-align:center}.ssbp-wrap.ssbp--aligned-right{display:block;text-align:right}.ssbp-wrap.ssbp--aligned-right .ssbp-container{display:inline}.ssbp-wrap .ssbp-container,.ssbp-wrap .ssbp-toggle-switch{font-size:16px}.ssbp-wrap .ssbp-list{list-style:none;display:inline-block;vertical-align:middle;margin:0;padding:0}.ssbp-wrap .ssbp-list li{margin-top: 1rem; position:relative;display:inline-block;vertical-align:top}.ssbp-wrap .ssbp-list li:first-of-type{margin-left:0}.ssbp-wrap .ssbp-btn{display:inline-block;text-align:center;text-decoration:none;font-family:sans-serif}.ssbp-wrap.ssbp--stacked .ssbp-list li,.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp-wrap.ssbp--fixed-right .ssbp-list li{display:block;margin-top:6px;margin-left:0 !important;margin-right:0 !important}.ssbp-wrap.ssbp--stacked .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-left .ssbp-list li:first-of-type,.ssbp-wrap.ssbp--fixed-right .ssbp-list li:first-of-type{margin-top:0}.ssbp-wrap[class*="ssbp--fixed"]{position:fixed;z-index:99999}.ssbp-wrap[class*="ssbp--fixed"] .ssbp-container{-webkit-transition:.25s;transition:.25s}.ssbp-wrap.ssbp--fixed-top,.ssbp-wrap.ssbp--fixed-bottom{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ssbp-wrap.ssbp--fixed-left,.ssbp-wrap.ssbp--fixed-right{top:25%}.ssbp-wrap.ssbp--fixed-top{top:0}.ssbp-wrap.ssbp--fixed-bottom{bottom:0}.ssbp-wrap.ssbp--fixed-left{left:0}.ssbp-wrap.ssbp--fixed-right{right:0}.ssbp-wrap[data-ssbp-counts="true"] .ssbp-each-share{display:block;pointer-events:none}.ssbp-wrap[data-ssbp-total-counts="true"] .ssbp-total-shares{display:inline-block;padding:0 .5em;text-align:center;font-size:14px;line-height:2}.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--stacked .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-left .ssbp-total-shares,.ssbp-wrap[data-ssbp-total-counts="true"].ssbp--fixed-right .ssbp-total-shares{display:block;padding:0}.ssbp-toggle-switch{position:absolute;padding:0;border:0;background:transparent;text-align:center;cursor:pointer;-webkit-transition:.25s;transition:.25s;display:none}.ssbp-toggle-switch:active,.ssbp-toggle-switch:hover,.ssbp-toggle-switch:focus{padding:0;border:0}.ssbp--fixed-left .ssbp-toggle-switch,.ssbp--fixed-right .ssbp-toggle-switch{left:0;bottom:100%;width:100%}.ssbp--fixed-top .ssbp-toggle-switch,.ssbp--fixed-bottom .ssbp-toggle-switch{left:100%;bottom:0;height:100%}.ssbp--show-toggle.ssbp--fixed-top .ssbp-toggle-switch:before{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ssbp--show-toggle.ssbp--fixed-bottom .ssbp-toggle-switch:before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ssbp--show-toggle.ssbp--fixed-right .ssbp-toggle-switch:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ssbp--state-hidden .ssbp-each-share{opacity:0}.ssbp--state-hidden .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-top .ssbp-container{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.ssbp--state-hidden.ssbp--fixed-bottom .ssbp-container{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--state-hidden.ssbp--fixed-left .ssbp-container{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ssbp--state-hidden.ssbp--fixed-right .ssbp-container{-webkit-transform:translateX(100%);transform:translateX(100%)}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}@-webkit-keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}@keyframes ripple-out{100%{visibility:visible;top:-1em;right:-1em;bottom:-1em;left:-1em;opacity:0}}.ssbp--theme-1 .ssbp-container{padding:6px}.ssbp--theme-1 .ssbp-list li{margin-left:12px}.ssbp--theme-1 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;border-radius:50%;color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-1 .ssbp-btn:hover,.ssbp--theme-1 .ssbp-btn:focus,.ssbp--theme-1 .ssbp-btn:active{background-color:#fff;z-index:10}.ssbp--theme-1 .ssbp-btn:visited{color:#fff}.ssbp--theme-1 .ssbp-btn:before{-webkit-transition:-webkit-transform .25s;transition:transform .25s}.ssbp--theme-1 .ssbp-btn:active:before{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-1 .ssbp-btn:after{content:'';visibility:hidden;position:absolute;border:1px solid #fff;border-radius:50%;top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;-webkit-animation-duration:.5s;animation-duration:.5s}.ssbp--theme-1 .ssbp-btn:hover:after{-webkit-animation-name:ripple-out;animation-name:ripple-out}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li{margin-left:13.2px}.ssbp--theme-1[data-ssbp-counts="true"] .ssbp-list li:first-of-type{margin-left:0}.ssbp--theme-1 .ssbp-buffer{background-color:#272727}.ssbp--theme-1 .ssbp-buffer:hover,.ssbp--theme-1 .ssbp-buffer:focus,.ssbp--theme-1 .ssbp-buffer:active{color:#272727;border-color:#272727}.ssbp--theme-1 .ssbp-buffer+.ssbp-each-share{background-color:#272727}.ssbp--theme-1 .ssbp-diggit{background-color:#14589E}.ssbp--theme-1 .ssbp-diggit:hover,.ssbp--theme-1 .ssbp-diggit:focus,.ssbp--theme-1 .ssbp-diggit:active{color:#14589E;border-color:#14589E}.ssbp--theme-1 .ssbp-diggit+.ssbp-each-share{background-color:#14589E}.ssbp--theme-1 .ssbp-email{background-color:#787878}.ssbp--theme-1 .ssbp-email:hover,.ssbp--theme-1 .ssbp-email:focus,.ssbp--theme-1 .ssbp-email:active{color:#787878;border-color:#787878}.ssbp--theme-1 .ssbp-email+.ssbp-each-share{background-color:#787878}.ssbp--theme-1 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis:hover,.ssbp--theme-1 .ssbp-ellipsis:focus,.ssbp--theme-1 .ssbp-ellipsis:active{color:#4582EC;border-color:#4582EC}.ssbp--theme-1 .ssbp-ellipsis+.ssbp-each-share{background-color:#4582EC}.ssbp--theme-1 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook:hover,.ssbp--theme-1 .ssbp-facebook:focus,.ssbp--theme-1 .ssbp-facebook:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save:hover,.ssbp--theme-1 .ssbp-facebook_save:focus,.ssbp--theme-1 .ssbp-facebook_save:active{color:#3b5998;border-color:#3b5998}.ssbp--theme-1 .ssbp-facebook_save+.ssbp-each-share{background-color:#3b5998}.ssbp--theme-1 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger:hover,.ssbp--theme-1 .ssbp-facebook-messenger:focus,.ssbp--theme-1 .ssbp-facebook-messenger:active{color:#0084FF;border-color:#0084FF}.ssbp--theme-1 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#0084FF}.ssbp--theme-1 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr:hover,.ssbp--theme-1 .ssbp-flattr:focus,.ssbp--theme-1 .ssbp-flattr:active{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-1 .ssbp-flattr+.ssbp-each-share{background-color:#f67C1A}.ssbp--theme-1 .ssbp-google{background-color:#DC4E41}.ssbp--theme-1 .ssbp-google:hover,.ssbp--theme-1 .ssbp-google:focus,.ssbp--theme-1 .ssbp-google:active{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-1 .ssbp-google+.ssbp-each-share{background-color:#DC4E41}.ssbp--theme-1 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin:hover,.ssbp--theme-1 .ssbp-linkedin:focus,.ssbp--theme-1 .ssbp-linkedin:active{color:#007bb6;border-color:#007bb6}.ssbp--theme-1 .ssbp-linkedin+.ssbp-each-share{background-color:#007bb6}.ssbp--theme-1 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest:hover,.ssbp--theme-1 .ssbp-pinterest:focus,.ssbp--theme-1 .ssbp-pinterest:active{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-1 .ssbp-pinterest+.ssbp-each-share{background-color:#ce1a19}.ssbp--theme-1 .ssbp-print{background-color:#1F6B43}.ssbp--theme-1 .ssbp-print:hover,.ssbp--theme-1 .ssbp-print:focus,.ssbp--theme-1 .ssbp-print:active{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-1 .ssbp-print+.ssbp-each-share{background-color:#1F6B43}.ssbp--theme-1 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-1 .ssbp-reddit:hover,.ssbp--theme-1 .ssbp-reddit:focus,.ssbp--theme-1 .ssbp-reddit:active{color:#FF4500;border-color:#FF4500}.ssbp--theme-1 .ssbp-reddit+.ssbp-each-share{background-color:#FF4500}.ssbp--theme-1 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons:hover,.ssbp--theme-1 .ssbp-simplesharebuttons:focus,.ssbp--theme-1 .ssbp-simplesharebuttons:active{color:#4582ec;border-color:#4582ec}.ssbp--theme-1 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#4582ec}.ssbp--theme-1 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon:hover,.ssbp--theme-1 .ssbp-stumbleupon:focus,.ssbp--theme-1 .ssbp-stumbleupon:active{color:#EB4924;border-color:#EB4924}.ssbp--theme-1 .ssbp-stumbleupon+.ssbp-each-share{background-color:#EB4924}.ssbp--theme-1 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr:hover,.ssbp--theme-1 .ssbp-tumblr:focus,.ssbp--theme-1 .ssbp-tumblr:active{color:#2C4762;border-color:#2C4762}.ssbp--theme-1 .ssbp-tumblr+.ssbp-each-share{background-color:#2C4762}.ssbp--theme-1 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter:hover,.ssbp--theme-1 .ssbp-twitter:focus,.ssbp--theme-1 .ssbp-twitter:active{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-1 .ssbp-twitter+.ssbp-each-share{background-color:#00a9f1}.ssbp--theme-1 .ssbp-vk{background-color:#45668E}.ssbp--theme-1 .ssbp-vk:hover,.ssbp--theme-1 .ssbp-vk:focus,.ssbp--theme-1 .ssbp-vk:active{color:#45668E;border-color:#45668E}.ssbp--theme-1 .ssbp-vk+.ssbp-each-share{background-color:#45668E}.ssbp--theme-1 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp:hover,.ssbp--theme-1 .ssbp-whatsapp:focus,.ssbp--theme-1 .ssbp-whatsapp:active{color:#34AF23;border-color:#34AF23}.ssbp--theme-1 .ssbp-whatsapp+.ssbp-each-share{background-color:#34AF23}.ssbp--theme-1 .ssbp-yummly{background-color:#E16120}.ssbp--theme-1 .ssbp-yummly:hover,.ssbp--theme-1 .ssbp-yummly:focus,.ssbp--theme-1 .ssbp-yummly:active{color:#E16120;border-color:#E16120}.ssbp--theme-1 .ssbp-yummly+.ssbp-each-share{background-color:#E16120}.ssbp--theme-1 .ssbp-xing{background-color:#026466}.ssbp--theme-1 .ssbp-xing:hover,.ssbp--theme-1 .ssbp-xing:focus,.ssbp--theme-1 .ssbp-xing:active{color:#026466;border-color:#026466}.ssbp--theme-1 .ssbp-xing+.ssbp-each-share{background-color:#026466}.ssbp--theme-1 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-1.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centered .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-2 .ssbp-list li{overflow:hidden;margin: 0}.ssbp--theme-2 .ssbp-btn{width:3em;height:3em;line-height:3em;position:relative;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-2 .ssbp-btn:before{-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn+.ssbp-each-share{position:absolute;z-index:10;bottom:0;left:0;right:0;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:.25s;transition:.25s}.ssbp--theme-2 .ssbp-btn:hover,.ssbp--theme-2 .ssbp-btn:focus,.ssbp--theme-2 .ssbp-btn:active,.ssbp--theme-2 .ssbp-btn:visited{z-index:10;color:#fff}.ssbp--theme-2 .ssbp-btn:hover:before,.ssbp--theme-2 .ssbp-btn:focus:before,.ssbp--theme-2 .ssbp-btn:active:before,.ssbp--theme-2 .ssbp-btn:visited:before{-webkit-transform:none !important;transform:none !important}.ssbp--theme-2 .ssbp-btn:hover+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:focus+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:active+.ssbp-each-share,.ssbp--theme-2 .ssbp-btn:visited+.ssbp-each-share{-webkit-transform:translateY(100%);transform:translateY(100%)}.ssbp--theme-2 .ssbp-btn:active{-webkit-transform:scale(1.2);transform:scale(1.2)}.ssbp--theme-2[data-ssbp-counts="true"] .ssbp-btn:before{-webkit-transform:translateY(-0.25em) scale(0.75);transform:translateY(-0.25em) scale(0.75)}.ssbp--theme-2 .ssbp-buffer{background-color:#272727}.ssbp--theme-2 .ssbp-buffer:hover,.ssbp--theme-2 .ssbp-buffer:focus,.ssbp--theme-2 .ssbp-buffer:active{background-color:#0e0e0e}.ssbp--theme-2 .ssbp-diggit{background-color:#14589E}.ssbp--theme-2 .ssbp-diggit:hover,.ssbp--theme-2 .ssbp-diggit:focus,.ssbp--theme-2 .ssbp-diggit:active{background-color:#0e3f71}.ssbp--theme-2 .ssbp-email{background-color:#787878}.ssbp--theme-2 .ssbp-email:hover,.ssbp--theme-2 .ssbp-email:focus,.ssbp--theme-2 .ssbp-email:active{background-color:#5f5f5f}.ssbp--theme-2 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-2 .ssbp-ellipsis:hover,.ssbp--theme-2 .ssbp-ellipsis:focus,.ssbp--theme-2 .ssbp-ellipsis:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook:hover,.ssbp--theme-2 .ssbp-facebook:focus,.ssbp--theme-2 .ssbp-facebook:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-2 .ssbp-facebook_save:hover,.ssbp--theme-2 .ssbp-facebook_save:focus,.ssbp--theme-2 .ssbp-facebook_save:active{background-color:#2d4373}.ssbp--theme-2 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-2 .ssbp-facebook-messenger:hover,.ssbp--theme-2 .ssbp-facebook-messenger:focus,.ssbp--theme-2 .ssbp-facebook-messenger:active{background-color:#006acc}.ssbp--theme-2 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-2 .ssbp-flattr:hover,.ssbp--theme-2 .ssbp-flattr:focus,.ssbp--theme-2 .ssbp-flattr:active{background-color:#d56308}.ssbp--theme-2 .ssbp-google{background-color:#DC4E41}.ssbp--theme-2 .ssbp-google:hover,.ssbp--theme-2 .ssbp-google:focus,.ssbp--theme-2 .ssbp-google:active{background-color:#c63224}.ssbp--theme-2 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-2 .ssbp-linkedin:hover,.ssbp--theme-2 .ssbp-linkedin:focus,.ssbp--theme-2 .ssbp-linkedin:active{background-color:#005983}.ssbp--theme-2 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-2 .ssbp-pinterest:hover,.ssbp--theme-2 .ssbp-pinterest:focus,.ssbp--theme-2 .ssbp-pinterest:active{background-color:#a11413}.ssbp--theme-2 .ssbp-print{background-color:#1F6B43}.ssbp--theme-2 .ssbp-print:hover,.ssbp--theme-2 .ssbp-print:focus,.ssbp--theme-2 .ssbp-print:active{background-color:#14432a}.ssbp--theme-2 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-2 .ssbp-reddit:hover,.ssbp--theme-2 .ssbp-reddit:focus,.ssbp--theme-2 .ssbp-reddit:active{background-color:#cc3700}.ssbp--theme-2 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-2 .ssbp-simplesharebuttons:hover,.ssbp--theme-2 .ssbp-simplesharebuttons:focus,.ssbp--theme-2 .ssbp-simplesharebuttons:active{background-color:#1863e6}.ssbp--theme-2 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-2 .ssbp-stumbleupon:hover,.ssbp--theme-2 .ssbp-stumbleupon:focus,.ssbp--theme-2 .ssbp-stumbleupon:active{background-color:#ca3412}.ssbp--theme-2 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-2 .ssbp-tumblr:hover,.ssbp--theme-2 .ssbp-tumblr:focus,.ssbp--theme-2 .ssbp-tumblr:active{background-color:#1c2e3f}.ssbp--theme-2 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-2 .ssbp-twitter:hover,.ssbp--theme-2 .ssbp-twitter:focus,.ssbp--theme-2 .ssbp-twitter:active{background-color:#0085be}.ssbp--theme-2 .ssbp-vk{background-color:#45668E}.ssbp--theme-2 .ssbp-vk:hover,.ssbp--theme-2 .ssbp-vk:focus,.ssbp--theme-2 .ssbp-vk:active{background-color:#344d6c}.ssbp--theme-2 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-2 .ssbp-whatsapp:hover,.ssbp--theme-2 .ssbp-whatsapp:focus,.ssbp--theme-2 .ssbp-whatsapp:active{background-color:#27851b}.ssbp--theme-2 .ssbp-yummly{background-color:#E16120}.ssbp--theme-2 .ssbp-yummly:hover,.ssbp--theme-2 .ssbp-yummly:focus,.ssbp--theme-2 .ssbp-yummly:active{background-color:#b64d18}.ssbp--theme-2 .ssbp-xing{background-color:#026466}.ssbp--theme-2 .ssbp-xing:hover,.ssbp--theme-2 .ssbp-xing:focus,.ssbp--theme-2 .ssbp-xing:active{background-color:#013334}.ssbp--theme-2 .ssbp-each-share{padding:2px;background-color:rgba(0,0,0,0.1);font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-3 .ssbp-list li{margin: 0; margin-bottom: 1rem;}.ssbp--theme-3 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;margin-left:.5em;text-shadow:-1px -1px rgba(0,0,0,0.2)}.ssbp--theme-3 .ssbp-btn{display:block;padding:0.5em 1em;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-3 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-3 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-3 .ssbp-btn:hover,.ssbp--theme-3 .ssbp-btn:focus,.ssbp--theme-3 .ssbp-btn:active,.ssbp--theme-3 .ssbp-btn:visited{color:#fff}.ssbp--theme-3 .ssbp-buffer{background-color:#272727}.ssbp--theme-3 .ssbp-buffer:hover,.ssbp--theme-3 .ssbp-buffer:focus,.ssbp--theme-3 .ssbp-buffer:active,.ssbp--theme-3 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-3 .ssbp-diggit{background-color:#14589E}.ssbp--theme-3 .ssbp-diggit:hover,.ssbp--theme-3 .ssbp-diggit:focus,.ssbp--theme-3 .ssbp-diggit:active,.ssbp--theme-3 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-3 .ssbp-email{background-color:#787878}.ssbp--theme-3 .ssbp-email:hover,.ssbp--theme-3 .ssbp-email:focus,.ssbp--theme-3 .ssbp-email:active,.ssbp--theme-3 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-3 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-3 .ssbp-ellipsis:hover,.ssbp--theme-3 .ssbp-ellipsis:focus,.ssbp--theme-3 .ssbp-ellipsis:active,.ssbp--theme-3 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook:hover,.ssbp--theme-3 .ssbp-facebook:focus,.ssbp--theme-3 .ssbp-facebook:active,.ssbp--theme-3 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-3 .ssbp-facebook_save:hover,.ssbp--theme-3 .ssbp-facebook_save:focus,.ssbp--theme-3 .ssbp-facebook_save:active,.ssbp--theme-3 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-3 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-3 .ssbp-facebook-messenger:hover,.ssbp--theme-3 .ssbp-facebook-messenger:focus,.ssbp--theme-3 .ssbp-facebook-messenger:active,.ssbp--theme-3 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-3 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-3 .ssbp-flattr:hover,.ssbp--theme-3 .ssbp-flattr:focus,.ssbp--theme-3 .ssbp-flattr:active,.ssbp--theme-3 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-3 .ssbp-google{background-color:#DC4E41}.ssbp--theme-3 .ssbp-google:hover,.ssbp--theme-3 .ssbp-google:focus,.ssbp--theme-3 .ssbp-google:active,.ssbp--theme-3 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-3 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-3 .ssbp-linkedin:hover,.ssbp--theme-3 .ssbp-linkedin:focus,.ssbp--theme-3 .ssbp-linkedin:active,.ssbp--theme-3 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-3 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-3 .ssbp-pinterest:hover,.ssbp--theme-3 .ssbp-pinterest:focus,.ssbp--theme-3 .ssbp-pinterest:active,.ssbp--theme-3 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-3 .ssbp-print{background-color:#1F6B43}.ssbp--theme-3 .ssbp-print:hover,.ssbp--theme-3 .ssbp-print:focus,.ssbp--theme-3 .ssbp-print:active,.ssbp--theme-3 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-3 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-3 .ssbp-reddit:hover,.ssbp--theme-3 .ssbp-reddit:focus,.ssbp--theme-3 .ssbp-reddit:active,.ssbp--theme-3 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-3 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-3 .ssbp-simplesharebuttons:hover,.ssbp--theme-3 .ssbp-simplesharebuttons:focus,.ssbp--theme-3 .ssbp-simplesharebuttons:active,.ssbp--theme-3 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-3 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-3 .ssbp-stumbleupon:hover,.ssbp--theme-3 .ssbp-stumbleupon:focus,.ssbp--theme-3 .ssbp-stumbleupon:active,.ssbp--theme-3 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-3 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-3 .ssbp-tumblr:hover,.ssbp--theme-3 .ssbp-tumblr:focus,.ssbp--theme-3 .ssbp-tumblr:active,.ssbp--theme-3 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-3 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-3 .ssbp-twitter:hover,.ssbp--theme-3 .ssbp-twitter:focus,.ssbp--theme-3 .ssbp-twitter:active,.ssbp--theme-3 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-3 .ssbp-vk{background-color:#45668E}.ssbp--theme-3 .ssbp-vk:hover,.ssbp--theme-3 .ssbp-vk:focus,.ssbp--theme-3 .ssbp-vk:active,.ssbp--theme-3 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-3 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-3 .ssbp-whatsapp:hover,.ssbp--theme-3 .ssbp-whatsapp:focus,.ssbp--theme-3 .ssbp-whatsapp:active,.ssbp--theme-3 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-3 .ssbp-yummly{background-color:#E16120}.ssbp--theme-3 .ssbp-yummly:hover,.ssbp--theme-3 .ssbp-yummly:focus,.ssbp--theme-3 .ssbp-yummly:active,.ssbp--theme-3 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-3 .ssbp-xing{background-color:#026466}.ssbp--theme-3 .ssbp-xing:hover,.ssbp--theme-3 .ssbp-xing:focus,.ssbp--theme-3 .ssbp-xing:active,.ssbp--theme-3 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-3 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-4[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:8px}.ssbp--theme-4 .ssbp-btn{width:3em;height:3em;line-height:3em;border-radius:7.5px;color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s;box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1);border-bottom:0}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active{box-shadow:inset 0 -1.5em 2em rgba(255,255,255,0.1),inset 0 0 3.5em rgba(0,0,0,0.33)}.ssbp--theme-4 .ssbp-btn:hover,.ssbp--theme-4 .ssbp-btn:focus,.ssbp--theme-4 .ssbp-btn:active,.ssbp--theme-4 .ssbp-btn:visited{color:#fff}.ssbp--theme-4 .ssbp-list li{margin-left:12px}.ssbp--theme-4 .ssbp-buffer{background-color:#272727}.ssbp--theme-4 .ssbp-diggit{background-color:#14589E}.ssbp--theme-4 .ssbp-email{background-color:#787878}.ssbp--theme-4 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-4 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-4 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-4 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-4 .ssbp-google{background-color:#DC4E41}.ssbp--theme-4 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-4 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-4 .ssbp-print{background-color:#1F6B43}.ssbp--theme-4 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-4 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-4 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-4 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-4 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-4 .ssbp-vk{background-color:#45668E}.ssbp--theme-4 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-4 .ssbp-yummly{background-color:#E16120}.ssbp--theme-4 .ssbp-xing{background-color:#026466}.ssbp--theme-4 .ssbp-each-share{position:absolute;bottom:100%;right:0;z-index:11;min-width:1.25em;margin-right:-6px;margin-bottom:-8px;padding:2px 4px;border-radius:8px;background-color:#F22121;font-size:10px;color:#FFF;text-align:center}.ssbp--theme-4.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-16px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-5 .ssbp-btn{width:4em;height:3em;line-height:3em;margin-bottom:8px;color:#fff;-webkit-transition:.25s;transition:.25s;border-bottom:0}.ssbp--theme-5 .ssbp-btn:active{-webkit-transform:translateY(4px);transform:translateY(4px)}.ssbp--theme-5 .ssbp-btn:hover,.ssbp--theme-5 .ssbp-btn:focus,.ssbp--theme-5 .ssbp-btn:active,.ssbp--theme-5 .ssbp-btn:visited{color:#fff}.ssbp--theme-5.ssbp--stacked .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-left .ssbp-list li,.ssbp--theme-5.ssbp-wrap.ssbp--fixed-right .ssbp-list li{margin-top:0}.ssbp--theme-5 .ssbp-buffer{background-color:#272727;box-shadow:0 8px 0 #0e0e0e,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-buffer:active{box-shadow:0 4px 0 #0e0e0e,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-diggit{background-color:#14589E;box-shadow:0 8px 0 #0e3f71,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-diggit:active{box-shadow:0 4px 0 #0e3f71,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-email{background-color:#787878;box-shadow:0 8px 0 #5f5f5f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-email:active{box-shadow:0 4px 0 #5f5f5f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis{background-color:#4582EC;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-ellipsis:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save{background-color:#3b5998;box-shadow:0 8px 0 #2d4373,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook_save:active{box-shadow:0 4px 0 #2d4373,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger{background-color:#0084FF;box-shadow:0 8px 0 #006acc,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-facebook-messenger:active{box-shadow:0 4px 0 #006acc,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr{background-color:#f67C1A;box-shadow:0 8px 0 #d56308,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-flattr:active{box-shadow:0 4px 0 #d56308,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google{background-color:#DC4E41;box-shadow:0 8px 0 #c63224,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-google:active{box-shadow:0 4px 0 #c63224,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin{background-color:#007bb6;box-shadow:0 8px 0 #005983,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-linkedin:active{box-shadow:0 4px 0 #005983,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest{background-color:#ce1a19;box-shadow:0 8px 0 #a11413,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-pinterest:active{box-shadow:0 4px 0 #a11413,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print{background-color:#1F6B43;box-shadow:0 8px 0 #14432a,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-print:active{box-shadow:0 4px 0 #14432a,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit{background-color:#FF4500;box-shadow:0 8px 0 #cc3700,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-reddit:active{box-shadow:0 4px 0 #cc3700,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons{background-color:#4582ec;box-shadow:0 8px 0 #1863e6,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-simplesharebuttons:active{box-shadow:0 4px 0 #1863e6,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon{background-color:#EB4924;box-shadow:0 8px 0 #ca3412,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-stumbleupon:active{box-shadow:0 4px 0 #ca3412,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr{background-color:#2C4762;box-shadow:0 8px 0 #1c2e3f,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-tumblr:active{box-shadow:0 4px 0 #1c2e3f,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter{background-color:#00a9f1;box-shadow:0 8px 0 #0085be,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-twitter:active{box-shadow:0 4px 0 #0085be,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk{background-color:#45668E;box-shadow:0 8px 0 #344d6c,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-vk:active{box-shadow:0 4px 0 #344d6c,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp{background-color:#34AF23;box-shadow:0 8px 0 #27851b,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-whatsapp:active{box-shadow:0 4px 0 #27851b,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly{background-color:#E16120;box-shadow:0 8px 0 #b64d18,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-yummly:active{box-shadow:0 4px 0 #b64d18,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing{background-color:#026466;box-shadow:0 8px 0 #013334,0 10px 12px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-xing:active{box-shadow:0 4px 0 #013334,0 5px 6px rgba(0,0,0,0.33)}.ssbp--theme-5 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 12px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-6[class*="ssbp--fixed"] .ssbp-container{background-color:rgba(255,255,255,0.8);padding:6px}.ssbp--theme-6 .ssbp-btn{width:3em;height:3em;line-height:3em;border:2px solid #fff;border-radius:50%;background-color:#fff;-webkit-transition:.25s;transition:.25s}.ssbp--theme-6 .ssbp-btn:hover,.ssbp--theme-6 .ssbp-btn:focus,.ssbp--theme-6 .ssbp-btn:active{color:#fff}.ssbp--theme-6 .ssbp-list li{margin-left:12px}.ssbp--theme-6 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-6 .ssbp-buffer:hover,.ssbp--theme-6 .ssbp-buffer:focus,.ssbp--theme-6 .ssbp-buffer:active{background-color:#272727}.ssbp--theme-6 .ssbp-buffer+.ssbp-each-share{color:#272727;border-color:#272727}.ssbp--theme-6 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-6 .ssbp-diggit:hover,.ssbp--theme-6 .ssbp-diggit:focus,.ssbp--theme-6 .ssbp-diggit:active{background-color:#14589E}.ssbp--theme-6 .ssbp-diggit+.ssbp-each-share{color:#14589E;border-color:#14589E}.ssbp--theme-6 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-6 .ssbp-email:hover,.ssbp--theme-6 .ssbp-email:focus,.ssbp--theme-6 .ssbp-email:active{background-color:#787878}.ssbp--theme-6 .ssbp-email+.ssbp-each-share{color:#787878;border-color:#787878}.ssbp--theme-6 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis:hover,.ssbp--theme-6 .ssbp-ellipsis:focus,.ssbp--theme-6 .ssbp-ellipsis:active{background-color:#4582EC}.ssbp--theme-6 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC;border-color:#4582EC}.ssbp--theme-6 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook:hover,.ssbp--theme-6 .ssbp-facebook:focus,.ssbp--theme-6 .ssbp-facebook:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save:hover,.ssbp--theme-6 .ssbp-facebook_save:focus,.ssbp--theme-6 .ssbp-facebook_save:active{background-color:#3b5998}.ssbp--theme-6 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998;border-color:#3b5998}.ssbp--theme-6 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger:hover,.ssbp--theme-6 .ssbp-facebook-messenger:focus,.ssbp--theme-6 .ssbp-facebook-messenger:active{background-color:#0084FF}.ssbp--theme-6 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF;border-color:#0084FF}.ssbp--theme-6 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-6 .ssbp-flattr:hover,.ssbp--theme-6 .ssbp-flattr:focus,.ssbp--theme-6 .ssbp-flattr:active{background-color:#f67C1A}.ssbp--theme-6 .ssbp-flattr+.ssbp-each-share{color:#f67C1A;border-color:#f67C1A}.ssbp--theme-6 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-6 .ssbp-google:hover,.ssbp--theme-6 .ssbp-google:focus,.ssbp--theme-6 .ssbp-google:active{background-color:#DC4E41}.ssbp--theme-6 .ssbp-google+.ssbp-each-share{color:#DC4E41;border-color:#DC4E41}.ssbp--theme-6 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-6 .ssbp-linkedin:hover,.ssbp--theme-6 .ssbp-linkedin:focus,.ssbp--theme-6 .ssbp-linkedin:active{background-color:#007bb6}.ssbp--theme-6 .ssbp-linkedin+.ssbp-each-share{color:#007bb6;border-color:#007bb6}.ssbp--theme-6 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest:hover,.ssbp--theme-6 .ssbp-pinterest:focus,.ssbp--theme-6 .ssbp-pinterest:active{background-color:#ce1a19}.ssbp--theme-6 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19;border-color:#ce1a19}.ssbp--theme-6 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-6 .ssbp-print:hover,.ssbp--theme-6 .ssbp-print:focus,.ssbp--theme-6 .ssbp-print:active{background-color:#1F6B43}.ssbp--theme-6 .ssbp-print+.ssbp-each-share{color:#1F6B43;border-color:#1F6B43}.ssbp--theme-6 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-6 .ssbp-reddit:hover,.ssbp--theme-6 .ssbp-reddit:focus,.ssbp--theme-6 .ssbp-reddit:active{background-color:#FF4500}.ssbp--theme-6 .ssbp-reddit+.ssbp-each-share{color:#FF4500;border-color:#FF4500}.ssbp--theme-6 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons:hover,.ssbp--theme-6 .ssbp-simplesharebuttons:focus,.ssbp--theme-6 .ssbp-simplesharebuttons:active{background-color:#4582ec}.ssbp--theme-6 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec;border-color:#4582ec}.ssbp--theme-6 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon:hover,.ssbp--theme-6 .ssbp-stumbleupon:focus,.ssbp--theme-6 .ssbp-stumbleupon:active{background-color:#EB4924}.ssbp--theme-6 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924;border-color:#EB4924}.ssbp--theme-6 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-6 .ssbp-tumblr:hover,.ssbp--theme-6 .ssbp-tumblr:focus,.ssbp--theme-6 .ssbp-tumblr:active{background-color:#2C4762}.ssbp--theme-6 .ssbp-tumblr+.ssbp-each-share{color:#2C4762;border-color:#2C4762}.ssbp--theme-6 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-6 .ssbp-twitter:hover,.ssbp--theme-6 .ssbp-twitter:focus,.ssbp--theme-6 .ssbp-twitter:active{background-color:#00a9f1}.ssbp--theme-6 .ssbp-twitter+.ssbp-each-share{color:#00a9f1;border-color:#00a9f1}.ssbp--theme-6 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-6 .ssbp-vk:hover,.ssbp--theme-6 .ssbp-vk:focus,.ssbp--theme-6 .ssbp-vk:active{background-color:#45668E}.ssbp--theme-6 .ssbp-vk+.ssbp-each-share{color:#45668E;border-color:#45668E}.ssbp--theme-6 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp:hover,.ssbp--theme-6 .ssbp-whatsapp:focus,.ssbp--theme-6 .ssbp-whatsapp:active{background-color:#34AF23}.ssbp--theme-6 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23;border-color:#34AF23}.ssbp--theme-6 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-6 .ssbp-yummly:hover,.ssbp--theme-6 .ssbp-yummly:focus,.ssbp--theme-6 .ssbp-yummly:active{background-color:#E16120}.ssbp--theme-6 .ssbp-yummly+.ssbp-each-share{color:#E16120;border-color:#E16120}.ssbp--theme-6 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-6 .ssbp-xing:hover,.ssbp--theme-6 .ssbp-xing:focus,.ssbp--theme-6 .ssbp-xing:active{background-color:#026466}.ssbp--theme-6 .ssbp-xing+.ssbp-each-share{color:#026466;border-color:#026466}.ssbp--theme-6 .ssbp-each-share{position:absolute;top:0;left:100%;z-index:11;margin-left:-12px;padding:2px;border:1px solid #fff;background-color:#fff;border-radius:6px;font-size:10px;color:#FFF}.ssbp--theme-6.ssbp--fixed-right .ssbp-each-share{left:auto;right:100%;margin-left:0;margin-right:-12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-7 .ssbp-list li{margin-left:6px;margin-bottom:1.5rem;}.ssbp--theme-7 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;margin-left:.5em}.ssbp--theme-7 .ssbp-btn{display:block;padding:0.5em 1em;border:2px solid #fff;color:#fff;background-color:#fff;-webkit-transition:background-color .25s;transition:background-color .25s}.ssbp--theme-7 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-7 .ssbp-buffer{border-color:#272727;color:#272727}.ssbp--theme-7 .ssbp-buffer:visited{color:#272727}.ssbp--theme-7 .ssbp-buffer:hover,.ssbp--theme-7 .ssbp-buffer:focus,.ssbp--theme-7 .ssbp-buffer:active{background-color:#272727;border-bottom:2px #272727 solid;color:#fff}.ssbp--theme-7 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-7 .ssbp-diggit{border-color:#14589E;color:#14589E}.ssbp--theme-7 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-7 .ssbp-diggit:hover,.ssbp--theme-7 .ssbp-diggit:focus,.ssbp--theme-7 .ssbp-diggit:active{background-color:#14589E;border-bottom:2px #14589E solid;color:#fff}.ssbp--theme-7 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-7 .ssbp-email{border-color:#787878;color:#787878}.ssbp--theme-7 .ssbp-email:visited{color:#787878}.ssbp--theme-7 .ssbp-email:hover,.ssbp--theme-7 .ssbp-email:focus,.ssbp--theme-7 .ssbp-email:active{background-color:#787878;border-bottom:2px #787878 solid;color:#fff}.ssbp--theme-7 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-7 .ssbp-ellipsis{border-color:#4582EC;color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-7 .ssbp-ellipsis:hover,.ssbp--theme-7 .ssbp-ellipsis:focus,.ssbp--theme-7 .ssbp-ellipsis:active{background-color:#4582EC;border-bottom:2px #4582EC solid;color:#fff}.ssbp--theme-7 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-7 .ssbp-facebook{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook:hover,.ssbp--theme-7 .ssbp-facebook:focus,.ssbp--theme-7 .ssbp-facebook:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save{border-color:#3b5998;color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-7 .ssbp-facebook_save:hover,.ssbp--theme-7 .ssbp-facebook_save:focus,.ssbp--theme-7 .ssbp-facebook_save:active{background-color:#3b5998;border-bottom:2px #3b5998 solid;color:#fff}.ssbp--theme-7 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-7 .ssbp-facebook-messenger{border-color:#0084FF;color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-7 .ssbp-facebook-messenger:hover,.ssbp--theme-7 .ssbp-facebook-messenger:focus,.ssbp--theme-7 .ssbp-facebook-messenger:active{background-color:#0084FF;border-bottom:2px #0084FF solid;color:#fff}.ssbp--theme-7 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-7 .ssbp-flattr{border-color:#f67C1A;color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-7 .ssbp-flattr:hover,.ssbp--theme-7 .ssbp-flattr:focus,.ssbp--theme-7 .ssbp-flattr:active{background-color:#f67C1A;border-bottom:2px #f67C1A solid;color:#fff}.ssbp--theme-7 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-7 .ssbp-google{border-color:#DC4E41;color:#DC4E41}.ssbp--theme-7 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-7 .ssbp-google:hover,.ssbp--theme-7 .ssbp-google:focus,.ssbp--theme-7 .ssbp-google:active{background-color:#DC4E41;border-bottom:2px #DC4E41 solid;color:#fff}.ssbp--theme-7 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-7 .ssbp-linkedin{border-color:#007bb6;color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-7 .ssbp-linkedin:hover,.ssbp--theme-7 .ssbp-linkedin:focus,.ssbp--theme-7 .ssbp-linkedin:active{background-color:#007bb6;border-bottom:2px #007bb6 solid;color:#fff}.ssbp--theme-7 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-7 .ssbp-pinterest{border-color:#ce1a19;color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-7 .ssbp-pinterest:hover,.ssbp--theme-7 .ssbp-pinterest:focus,.ssbp--theme-7 .ssbp-pinterest:active{background-color:#ce1a19;border-bottom:2px #ce1a19 solid;color:#fff}.ssbp--theme-7 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-7 .ssbp-print{border-color:#1F6B43;color:#1F6B43}.ssbp--theme-7 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-7 .ssbp-print:hover,.ssbp--theme-7 .ssbp-print:focus,.ssbp--theme-7 .ssbp-print:active{background-color:#1F6B43;border-bottom:2px #1F6B43 solid;color:#fff}.ssbp--theme-7 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-7 .ssbp-reddit{border-color:#FF4500;color:#FF4500}.ssbp--theme-7 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-7 .ssbp-reddit:hover,.ssbp--theme-7 .ssbp-reddit:focus,.ssbp--theme-7 .ssbp-reddit:active{background-color:#FF4500;border-bottom:2px #FF4500 solid;color:#fff}.ssbp--theme-7 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-7 .ssbp-simplesharebuttons{border-color:#4582ec;color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-7 .ssbp-simplesharebuttons:hover,.ssbp--theme-7 .ssbp-simplesharebuttons:focus,.ssbp--theme-7 .ssbp-simplesharebuttons:active{background-color:#4582ec;border-bottom:2px #4582ec solid;color:#fff}.ssbp--theme-7 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-7 .ssbp-stumbleupon{border-color:#EB4924;color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-7 .ssbp-stumbleupon:hover,.ssbp--theme-7 .ssbp-stumbleupon:focus,.ssbp--theme-7 .ssbp-stumbleupon:active{background-color:#EB4924;border-bottom:2px #EB4924 solid;color:#fff}.ssbp--theme-7 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-7 .ssbp-tumblr{border-color:#2C4762;color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-7 .ssbp-tumblr:hover,.ssbp--theme-7 .ssbp-tumblr:focus,.ssbp--theme-7 .ssbp-tumblr:active{background-color:#2C4762;border-bottom:2px #2C4762 solid;color:#fff}.ssbp--theme-7 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-7 .ssbp-twitter{border-color:#00a9f1;color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-7 .ssbp-twitter:hover,.ssbp--theme-7 .ssbp-twitter:focus,.ssbp--theme-7 .ssbp-twitter:active{background-color:#00a9f1;border-bottom:2px #00a9f1 solid;color:#fff}.ssbp--theme-7 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-7 .ssbp-vk{border-color:#45668E;color:#45668E}.ssbp--theme-7 .ssbp-vk:visited{color:#45668E}.ssbp--theme-7 .ssbp-vk:hover,.ssbp--theme-7 .ssbp-vk:focus,.ssbp--theme-7 .ssbp-vk:active{background-color:#45668E;border-bottom:2px #45668E solid;color:#fff}.ssbp--theme-7 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-7 .ssbp-whatsapp{border-color:#34AF23;color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-7 .ssbp-whatsapp:hover,.ssbp--theme-7 .ssbp-whatsapp:focus,.ssbp--theme-7 .ssbp-whatsapp:active{background-color:#34AF23;border-bottom:2px #34AF23 solid;color:#fff}.ssbp--theme-7 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-7 .ssbp-yummly{border-color:#E16120;color:#E16120}.ssbp--theme-7 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-7 .ssbp-yummly:hover,.ssbp--theme-7 .ssbp-yummly:focus,.ssbp--theme-7 .ssbp-yummly:active{background-color:#E16120;border-bottom:2px #E16120 solid;color:#fff}.ssbp--theme-7 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-7 .ssbp-xing{border-color:#026466;color:#026466}.ssbp--theme-7 .ssbp-xing:visited{color:#026466}.ssbp--theme-7 .ssbp-xing:hover,.ssbp--theme-7 .ssbp-xing:focus,.ssbp--theme-7 .ssbp-xing:active{background-color:#026466;border-bottom:2px #026466 solid;color:#fff}.ssbp--theme-7 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-7 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-8 .ssbp-list li{margin-left:6px}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active{border-bottom:3px solid #272727}.ssbp--theme-8 .ssbp-btn,.ssbp--theme-8 .ssbp-btn:visited{width:4em;height:3em;line-height:3em;position:relative;border:3px solid #272727;background-color:#fff;color:#272727;-webkit-transition:.25s;transition:.25s}.ssbp--theme-8 .ssbp-btn:hover,.ssbp--theme-8 .ssbp-btn:focus,.ssbp--theme-8 .ssbp-btn:active,.ssbp--theme-8 .ssbp-btn:visited:hover,.ssbp--theme-8 .ssbp-btn:visited:focus,.ssbp--theme-8 .ssbp-btn:visited:active{background-color:#272727;color:#fff}.ssbp--theme-8 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 6px !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-9 .ssbp-list li{margin-left:6px}.ssbp--theme-9 .ssbp-btn{display:block;padding:.5em 1em}.ssbp--theme-9 .ssbp-btn:hover,.ssbp--theme-9 .ssbp-btn:focus,.ssbp--theme-9 .ssbp-btn:active{opacity:.66}.ssbp--theme-9 .ssbp-buffer{border-bottom:5px solid #272727;color:#272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active{border-bottom:5px solid #272727}.ssbp--theme-9 .ssbp-buffer:hover,.ssbp--theme-9 .ssbp-buffer:focus,.ssbp--theme-9 .ssbp-buffer:active,.ssbp--theme-9 .ssbp-buffer:visited{color:#272727}.ssbp--theme-9 .ssbp-buffer+.ssbp-each-share{color:#272727}.ssbp--theme-9 .ssbp-diggit{border-bottom:5px solid #14589E;color:#14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active{border-bottom:5px solid #14589E}.ssbp--theme-9 .ssbp-diggit:hover,.ssbp--theme-9 .ssbp-diggit:focus,.ssbp--theme-9 .ssbp-diggit:active,.ssbp--theme-9 .ssbp-diggit:visited{color:#14589E}.ssbp--theme-9 .ssbp-diggit+.ssbp-each-share{color:#14589E}.ssbp--theme-9 .ssbp-email{border-bottom:5px solid #787878;color:#787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active{border-bottom:5px solid #787878}.ssbp--theme-9 .ssbp-email:hover,.ssbp--theme-9 .ssbp-email:focus,.ssbp--theme-9 .ssbp-email:active,.ssbp--theme-9 .ssbp-email:visited{color:#787878}.ssbp--theme-9 .ssbp-email+.ssbp-each-share{color:#787878}.ssbp--theme-9 .ssbp-ellipsis{border-bottom:5px solid #4582EC;color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active{border-bottom:5px solid #4582EC}.ssbp--theme-9 .ssbp-ellipsis:hover,.ssbp--theme-9 .ssbp-ellipsis:focus,.ssbp--theme-9 .ssbp-ellipsis:active,.ssbp--theme-9 .ssbp-ellipsis:visited{color:#4582EC}.ssbp--theme-9 .ssbp-ellipsis+.ssbp-each-share{color:#4582EC}.ssbp--theme-9 .ssbp-facebook{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook:hover,.ssbp--theme-9 .ssbp-facebook:focus,.ssbp--theme-9 .ssbp-facebook:active,.ssbp--theme-9 .ssbp-facebook:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save{border-bottom:5px solid #3b5998;color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active{border-bottom:5px solid #3b5998}.ssbp--theme-9 .ssbp-facebook_save:hover,.ssbp--theme-9 .ssbp-facebook_save:focus,.ssbp--theme-9 .ssbp-facebook_save:active,.ssbp--theme-9 .ssbp-facebook_save:visited{color:#3b5998}.ssbp--theme-9 .ssbp-facebook_save+.ssbp-each-share{color:#3b5998}.ssbp--theme-9 .ssbp-facebook-messenger{border-bottom:5px solid #0084FF;color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active{border-bottom:5px solid #0084FF}.ssbp--theme-9 .ssbp-facebook-messenger:hover,.ssbp--theme-9 .ssbp-facebook-messenger:focus,.ssbp--theme-9 .ssbp-facebook-messenger:active,.ssbp--theme-9 .ssbp-facebook-messenger:visited{color:#0084FF}.ssbp--theme-9 .ssbp-facebook-messenger+.ssbp-each-share{color:#0084FF}.ssbp--theme-9 .ssbp-flattr{border-bottom:5px solid #f67C1A;color:#f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active{border-bottom:5px solid #f67C1A}.ssbp--theme-9 .ssbp-flattr:hover,.ssbp--theme-9 .ssbp-flattr:focus,.ssbp--theme-9 .ssbp-flattr:active,.ssbp--theme-9 .ssbp-flattr:visited{color:#f67C1A}.ssbp--theme-9 .ssbp-flattr+.ssbp-each-share{color:#f67C1A}.ssbp--theme-9 .ssbp-google{border-bottom:5px solid #DC4E41;color:#DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active{border-bottom:5px solid #DC4E41}.ssbp--theme-9 .ssbp-google:hover,.ssbp--theme-9 .ssbp-google:focus,.ssbp--theme-9 .ssbp-google:active,.ssbp--theme-9 .ssbp-google:visited{color:#DC4E41}.ssbp--theme-9 .ssbp-google+.ssbp-each-share{color:#DC4E41}.ssbp--theme-9 .ssbp-linkedin{border-bottom:5px solid #007bb6;color:#007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active{border-bottom:5px solid #007bb6}.ssbp--theme-9 .ssbp-linkedin:hover,.ssbp--theme-9 .ssbp-linkedin:focus,.ssbp--theme-9 .ssbp-linkedin:active,.ssbp--theme-9 .ssbp-linkedin:visited{color:#007bb6}.ssbp--theme-9 .ssbp-linkedin+.ssbp-each-share{color:#007bb6}.ssbp--theme-9 .ssbp-pinterest{border-bottom:5px solid #ce1a19;color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active{border-bottom:5px solid #ce1a19}.ssbp--theme-9 .ssbp-pinterest:hover,.ssbp--theme-9 .ssbp-pinterest:focus,.ssbp--theme-9 .ssbp-pinterest:active,.ssbp--theme-9 .ssbp-pinterest:visited{color:#ce1a19}.ssbp--theme-9 .ssbp-pinterest+.ssbp-each-share{color:#ce1a19}.ssbp--theme-9 .ssbp-print{border-bottom:5px solid #1F6B43;color:#1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active{border-bottom:5px solid #1F6B43}.ssbp--theme-9 .ssbp-print:hover,.ssbp--theme-9 .ssbp-print:focus,.ssbp--theme-9 .ssbp-print:active,.ssbp--theme-9 .ssbp-print:visited{color:#1F6B43}.ssbp--theme-9 .ssbp-print+.ssbp-each-share{color:#1F6B43}.ssbp--theme-9 .ssbp-reddit{border-bottom:5px solid #FF4500;color:#FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active{border-bottom:5px solid #FF4500}.ssbp--theme-9 .ssbp-reddit:hover,.ssbp--theme-9 .ssbp-reddit:focus,.ssbp--theme-9 .ssbp-reddit:active,.ssbp--theme-9 .ssbp-reddit:visited{color:#FF4500}.ssbp--theme-9 .ssbp-reddit+.ssbp-each-share{color:#FF4500}.ssbp--theme-9 .ssbp-simplesharebuttons{border-bottom:5px solid #4582ec;color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active{border-bottom:5px solid #4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons:hover,.ssbp--theme-9 .ssbp-simplesharebuttons:focus,.ssbp--theme-9 .ssbp-simplesharebuttons:active,.ssbp--theme-9 .ssbp-simplesharebuttons:visited{color:#4582ec}.ssbp--theme-9 .ssbp-simplesharebuttons+.ssbp-each-share{color:#4582ec}.ssbp--theme-9 .ssbp-stumbleupon{border-bottom:5px solid #EB4924;color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active{border-bottom:5px solid #EB4924}.ssbp--theme-9 .ssbp-stumbleupon:hover,.ssbp--theme-9 .ssbp-stumbleupon:focus,.ssbp--theme-9 .ssbp-stumbleupon:active,.ssbp--theme-9 .ssbp-stumbleupon:visited{color:#EB4924}.ssbp--theme-9 .ssbp-stumbleupon+.ssbp-each-share{color:#EB4924}.ssbp--theme-9 .ssbp-tumblr{border-bottom:5px solid #2C4762;color:#2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active{border-bottom:5px solid #2C4762}.ssbp--theme-9 .ssbp-tumblr:hover,.ssbp--theme-9 .ssbp-tumblr:focus,.ssbp--theme-9 .ssbp-tumblr:active,.ssbp--theme-9 .ssbp-tumblr:visited{color:#2C4762}.ssbp--theme-9 .ssbp-tumblr+.ssbp-each-share{color:#2C4762}.ssbp--theme-9 .ssbp-twitter{border-bottom:5px solid #00a9f1;color:#00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active{border-bottom:5px solid #00a9f1}.ssbp--theme-9 .ssbp-twitter:hover,.ssbp--theme-9 .ssbp-twitter:focus,.ssbp--theme-9 .ssbp-twitter:active,.ssbp--theme-9 .ssbp-twitter:visited{color:#00a9f1}.ssbp--theme-9 .ssbp-twitter+.ssbp-each-share{color:#00a9f1}.ssbp--theme-9 .ssbp-vk{border-bottom:5px solid #45668E;color:#45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active{border-bottom:5px solid #45668E}.ssbp--theme-9 .ssbp-vk:hover,.ssbp--theme-9 .ssbp-vk:focus,.ssbp--theme-9 .ssbp-vk:active,.ssbp--theme-9 .ssbp-vk:visited{color:#45668E}.ssbp--theme-9 .ssbp-vk+.ssbp-each-share{color:#45668E}.ssbp--theme-9 .ssbp-whatsapp{border-bottom:5px solid #34AF23;color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active{border-bottom:5px solid #34AF23}.ssbp--theme-9 .ssbp-whatsapp:hover,.ssbp--theme-9 .ssbp-whatsapp:focus,.ssbp--theme-9 .ssbp-whatsapp:active,.ssbp--theme-9 .ssbp-whatsapp:visited{color:#34AF23}.ssbp--theme-9 .ssbp-whatsapp+.ssbp-each-share{color:#34AF23}.ssbp--theme-9 .ssbp-yummly{border-bottom:5px solid #E16120;color:#E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active{border-bottom:5px solid #E16120}.ssbp--theme-9 .ssbp-yummly:hover,.ssbp--theme-9 .ssbp-yummly:focus,.ssbp--theme-9 .ssbp-yummly:active,.ssbp--theme-9 .ssbp-yummly:visited{color:#E16120}.ssbp--theme-9 .ssbp-yummly+.ssbp-each-share{color:#E16120}.ssbp--theme-9 .ssbp-xing{border-bottom:5px solid #026466;color:#026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active{border-bottom:5px solid #026466}.ssbp--theme-9 .ssbp-xing:hover,.ssbp--theme-9 .ssbp-xing:focus,.ssbp--theme-9 .ssbp-xing:active,.ssbp--theme-9 .ssbp-xing:visited{color:#026466}.ssbp--theme-9 .ssbp-xing+.ssbp-each-share{color:#026466}.ssbp--theme-9 .ssbp-each-share{padding-top:3px;text-align:center;font-size:12px}.ssbp--theme-9 .ssbp-each-share:before{content:"("}.ssbp--theme-9 .ssbp-each-share:after{content:")"}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-10{overflow:hidden}.ssbp--theme-10 .ssbp-list li{margin: 0}.ssbp--theme-10 .ssbp-btn{display:block;padding:0.5em 1em;color:#fff;text-shadow:-1px -1px rgba(0,0,0,0.2);-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0}.ssbp--theme-10 .ssbp-btn:before{vertical-align:middle}.ssbp--theme-10 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-10 .ssbp-btn:hover,.ssbp--theme-10 .ssbp-btn:focus,.ssbp--theme-10 .ssbp-btn:active,.ssbp--theme-10 .ssbp-btn:visited{color:#fff}.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{position:relative;display:block;padding:10px}.ssbp--theme-10.ssbp--centred .ssbp-input-url{width:100%;max-width:200px;border:1px solid #DDD;padding:8px 8px 8px 8px;font-size:20px;font-weight:400;line-height:1;color:#B3B3B3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{display:block;line-height:1}.ssbp--theme-10.ssbp--centred .ssbp-total-shares b{font-size:70px;color:#4582EC}.ssbp--theme-10.ssbp--centred .ssbp-total-shares:after{content:'Shares';display:block;font-family:'Lato',sans-serif;font-weight:700;font-size:30px;text-transform:uppercase;color:#B3B3B3}@media only screen and (min-width: 481px){.ssbp--theme-10.ssbp--centred .ssbp-input-url-div{float:right;width:50%;padding:35px 20px;text-align:left}.ssbp--theme-10.ssbp--centred .ssbp-total-shares{width:50%;text-align:right}}.ssbp--theme-10 .ssbp-buffer{background-color:#272727}.ssbp--theme-10 .ssbp-buffer:hover,.ssbp--theme-10 .ssbp-buffer:focus,.ssbp--theme-10 .ssbp-buffer:active,.ssbp--theme-10 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-10 .ssbp-diggit{background-color:#14589E}.ssbp--theme-10 .ssbp-diggit:hover,.ssbp--theme-10 .ssbp-diggit:focus,.ssbp--theme-10 .ssbp-diggit:active,.ssbp--theme-10 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-10 .ssbp-email{background-color:#787878}.ssbp--theme-10 .ssbp-email:hover,.ssbp--theme-10 .ssbp-email:focus,.ssbp--theme-10 .ssbp-email:active,.ssbp--theme-10 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-10 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-10 .ssbp-ellipsis:hover,.ssbp--theme-10 .ssbp-ellipsis:focus,.ssbp--theme-10 .ssbp-ellipsis:active,.ssbp--theme-10 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook:hover,.ssbp--theme-10 .ssbp-facebook:focus,.ssbp--theme-10 .ssbp-facebook:active,.ssbp--theme-10 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-10 .ssbp-facebook_save:hover,.ssbp--theme-10 .ssbp-facebook_save:focus,.ssbp--theme-10 .ssbp-facebook_save:active,.ssbp--theme-10 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-10 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-10 .ssbp-facebook-messenger:hover,.ssbp--theme-10 .ssbp-facebook-messenger:focus,.ssbp--theme-10 .ssbp-facebook-messenger:active,.ssbp--theme-10 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-10 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-10 .ssbp-flattr:hover,.ssbp--theme-10 .ssbp-flattr:focus,.ssbp--theme-10 .ssbp-flattr:active,.ssbp--theme-10 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-10 .ssbp-google{background-color:#DC4E41}.ssbp--theme-10 .ssbp-google:hover,.ssbp--theme-10 .ssbp-google:focus,.ssbp--theme-10 .ssbp-google:active,.ssbp--theme-10 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-10 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-10 .ssbp-linkedin:hover,.ssbp--theme-10 .ssbp-linkedin:focus,.ssbp--theme-10 .ssbp-linkedin:active,.ssbp--theme-10 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-10 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-10 .ssbp-pinterest:hover,.ssbp--theme-10 .ssbp-pinterest:focus,.ssbp--theme-10 .ssbp-pinterest:active,.ssbp--theme-10 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-10 .ssbp-print{background-color:#1F6B43}.ssbp--theme-10 .ssbp-print:hover,.ssbp--theme-10 .ssbp-print:focus,.ssbp--theme-10 .ssbp-print:active,.ssbp--theme-10 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-10 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-10 .ssbp-reddit:hover,.ssbp--theme-10 .ssbp-reddit:focus,.ssbp--theme-10 .ssbp-reddit:active,.ssbp--theme-10 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-10 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-10 .ssbp-simplesharebuttons:hover,.ssbp--theme-10 .ssbp-simplesharebuttons:focus,.ssbp--theme-10 .ssbp-simplesharebuttons:active,.ssbp--theme-10 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-10 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-10 .ssbp-stumbleupon:hover,.ssbp--theme-10 .ssbp-stumbleupon:focus,.ssbp--theme-10 .ssbp-stumbleupon:active,.ssbp--theme-10 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-10 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-10 .ssbp-tumblr:hover,.ssbp--theme-10 .ssbp-tumblr:focus,.ssbp--theme-10 .ssbp-tumblr:active,.ssbp--theme-10 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-10 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-10 .ssbp-twitter:hover,.ssbp--theme-10 .ssbp-twitter:focus,.ssbp--theme-10 .ssbp-twitter:active,.ssbp--theme-10 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-10 .ssbp-vk{background-color:#45668E}.ssbp--theme-10 .ssbp-vk:hover,.ssbp--theme-10 .ssbp-vk:focus,.ssbp--theme-10 .ssbp-vk:active,.ssbp--theme-10 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-10 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-10 .ssbp-whatsapp:hover,.ssbp--theme-10 .ssbp-whatsapp:focus,.ssbp--theme-10 .ssbp-whatsapp:active,.ssbp--theme-10 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-10 .ssbp-yummly{background-color:#E16120}.ssbp--theme-10 .ssbp-yummly:hover,.ssbp--theme-10 .ssbp-yummly:focus,.ssbp--theme-10 .ssbp-yummly:active,.ssbp--theme-10 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-10 .ssbp-xing{background-color:#026466}.ssbp--theme-10 .ssbp-xing:hover,.ssbp--theme-10 .ssbp-xing:focus,.ssbp--theme-10 .ssbp-xing:active,.ssbp--theme-10 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-10 .ssbp-each-share{padding:2px;font-size:10px;text-align:center;color:#FFF}.ssbp--theme-2 .ssbp-toggle-switch,.ssbp--theme-3 .ssbp-toggle-switch,.ssbp--theme-10 .ssbp-toggle-switch,.ssbp--theme-11 .ssbp-toggle-switch{background:#4C4C4C;background:rgba(39,39,39,0.8);border-radius:0;color:#fff}.ssbp--theme-2 .ssbp-toggle-switch:active,.ssbp--theme-3 .ssbp-toggle-switch:active,.ssbp--theme-10 .ssbp-toggle-switch:active,.ssbp--theme-11 .ssbp-toggle-switch:active,.ssbp--theme-2 .ssbp-toggle-switch:hover,.ssbp--theme-3 .ssbp-toggle-switch:hover,.ssbp--theme-10 .ssbp-toggle-switch:hover,.ssbp--theme-11 .ssbp-toggle-switch:hover,.ssbp--theme-2 .ssbp-toggle-switch:focus,.ssbp--theme-3 .ssbp-toggle-switch:focus,.ssbp--theme-10 .ssbp-toggle-switch:focus,.ssbp--theme-11 .ssbp-toggle-switch:focus{background:#4C4C4C;background:rgba(39,39,39,0.9)}.ssbp--theme-1 .ssbp-toggle-switch,.ssbp--theme-4 .ssbp-toggle-switch,.ssbp--theme-5 .ssbp-toggle-switch,.ssbp--theme-6 .ssbp-toggle-switch,.ssbp--theme-7 .ssbp-toggle-switch,.ssbp--theme-8 .ssbp-toggle-switch,.ssbp--theme-9 .ssbp-toggle-switch{background:#fff;background:rgba(255,255,255,0.8);color:#272727;border-radius:0}.ssbp--theme-1 .ssbp-toggle-switch:active,.ssbp--theme-4 .ssbp-toggle-switch:active,.ssbp--theme-5 .ssbp-toggle-switch:active,.ssbp--theme-6 .ssbp-toggle-switch:active,.ssbp--theme-7 .ssbp-toggle-switch:active,.ssbp--theme-8 .ssbp-toggle-switch:active,.ssbp--theme-9 .ssbp-toggle-switch:active,.ssbp--theme-1 .ssbp-toggle-switch:hover,.ssbp--theme-4 .ssbp-toggle-switch:hover,.ssbp--theme-5 .ssbp-toggle-switch:hover,.ssbp--theme-6 .ssbp-toggle-switch:hover,.ssbp--theme-7 .ssbp-toggle-switch:hover,.ssbp--theme-8 .ssbp-toggle-switch:hover,.ssbp--theme-9 .ssbp-toggle-switch:hover,.ssbp--theme-1 .ssbp-toggle-switch:focus,.ssbp--theme-4 .ssbp-toggle-switch:focus,.ssbp--theme-5 .ssbp-toggle-switch:focus,.ssbp--theme-6 .ssbp-toggle-switch:focus,.ssbp--theme-7 .ssbp-toggle-switch:focus,.ssbp--theme-8 .ssbp-toggle-switch:focus,.ssbp--theme-9 .ssbp-toggle-switch:focus{background:#fff;background:rgba(255,255,255,0.9)}.ssbp--theme-2.ssbp--centred .ssbp-list,.ssbp--theme-3.ssbp--centred .ssbp-list,.ssbp--theme-5.ssbp--centred .ssbp-list,.ssbp--theme-7.ssbp--centred .ssbp-list,.ssbp--theme-8.ssbp--centred .ssbp-list,.ssbp--theme-9.ssbp--centred .ssbp-list,.ssbp--theme-10.ssbp--centred .ssbp-list,.ssbp--theme-11.ssbp--centred .ssbp-list{display:table;table-layout:fixed;width:100%}.ssbp--theme-2.ssbp--centred .ssbp-list li,.ssbp--theme-3.ssbp--centred .ssbp-list li,.ssbp--theme-5.ssbp--centred .ssbp-list li,.ssbp--theme-7.ssbp--centred .ssbp-list li,.ssbp--theme-8.ssbp--centred .ssbp-list li,.ssbp--theme-9.ssbp--centred .ssbp-list li,.ssbp--theme-10.ssbp--centred .ssbp-list li,.ssbp--theme-11.ssbp--centred .ssbp-list li{display:inline-block !important;margin:0 0 !important;display:table-cell !important;width:auto;height:auto}.ssbp--theme-2.ssbp--centred .ssbp-btn,.ssbp--theme-3.ssbp--centred .ssbp-btn,.ssbp--theme-5.ssbp--centred .ssbp-btn,.ssbp--theme-7.ssbp--centred .ssbp-btn,.ssbp--theme-8.ssbp--centred .ssbp-btn,.ssbp--theme-9.ssbp--centred .ssbp-btn,.ssbp--theme-10.ssbp--centred .ssbp-btn,.ssbp--theme-11.ssbp--centred .ssbp-btn{display:block;width:auto}.ssbp--theme-11{margin-left:-5px;margin-right:-5px}.ssbp--theme-11 .ssbp-list li{margin: 0}.ssbp--theme-11 .ssbp-text{display:inline-block;vertical-align:middle;font-size:12px;line-height:1.2;font-size:11px}.ssbp--theme-11 .ssbp-btn{width:auto!important;height:auto!important;display:block;padding:0.6em 1em;margin:5px;text-transform:uppercase;color:#fff;font-size:11px;-webkit-transition:background-color .25s;transition:background-color .25s;border-bottom:0;border-radius:5px}.ssbp--theme-11 .ssbp-btn:before{display:none}.ssbp--theme-11 .ssbp-btn:active{box-shadow:inset 0 0 0.5em rgba(0,0,0,0.33)}.ssbp--theme-11 .ssbp-btn:hover,.ssbp--theme-11 .ssbp-btn:focus,.ssbp--theme-11 .ssbp-btn:active,.ssbp--theme-11 .ssbp-btn:visited{color:#fff}.ssbp--theme-11 .ssbp-buffer{background-color:#272727}.ssbp--theme-11 .ssbp-buffer:hover,.ssbp--theme-11 .ssbp-buffer:focus,.ssbp--theme-11 .ssbp-buffer:active,.ssbp--theme-11 .ssbp-buffer+.ssbp-each-share{background-color:#0e0e0e}.ssbp--theme-11 .ssbp-diggit{background-color:#14589E}.ssbp--theme-11 .ssbp-diggit:hover,.ssbp--theme-11 .ssbp-diggit:focus,.ssbp--theme-11 .ssbp-diggit:active,.ssbp--theme-11 .ssbp-diggit+.ssbp-each-share{background-color:#0e3f71}.ssbp--theme-11 .ssbp-email{background-color:#787878}.ssbp--theme-11 .ssbp-email:hover,.ssbp--theme-11 .ssbp-email:focus,.ssbp--theme-11 .ssbp-email:active,.ssbp--theme-11 .ssbp-email+.ssbp-each-share{background-color:#5f5f5f}.ssbp--theme-11 .ssbp-ellipsis{background-color:#4582EC}.ssbp--theme-11 .ssbp-ellipsis:hover,.ssbp--theme-11 .ssbp-ellipsis:focus,.ssbp--theme-11 .ssbp-ellipsis:active,.ssbp--theme-11 .ssbp-ellipsis+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-facebook{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook:hover,.ssbp--theme-11 .ssbp-facebook:focus,.ssbp--theme-11 .ssbp-facebook:active,.ssbp--theme-11 .ssbp-facebook+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook_save{background-color:#3b5998}.ssbp--theme-11 .ssbp-facebook_save:hover,.ssbp--theme-11 .ssbp-facebook_save:focus,.ssbp--theme-11 .ssbp-facebook_save:active,.ssbp--theme-11 .ssbp-facebook_save+.ssbp-each-share{background-color:#2d4373}.ssbp--theme-11 .ssbp-facebook-messenger{background-color:#0084FF}.ssbp--theme-11 .ssbp-facebook-messenger:hover,.ssbp--theme-11 .ssbp-facebook-messenger:focus,.ssbp--theme-11 .ssbp-facebook-messenger:active,.ssbp--theme-11 .ssbp-facebook-messenger+.ssbp-each-share{background-color:#006acc}.ssbp--theme-11 .ssbp-flattr{background-color:#f67C1A}.ssbp--theme-11 .ssbp-flattr:hover,.ssbp--theme-11 .ssbp-flattr:focus,.ssbp--theme-11 .ssbp-flattr:active,.ssbp--theme-11 .ssbp-flattr+.ssbp-each-share{background-color:#d56308}.ssbp--theme-11 .ssbp-google{background-color:#DC4E41}.ssbp--theme-11 .ssbp-google:hover,.ssbp--theme-11 .ssbp-google:focus,.ssbp--theme-11 .ssbp-google:active,.ssbp--theme-11 .ssbp-google+.ssbp-each-share{background-color:#c63224}.ssbp--theme-11 .ssbp-linkedin{background-color:#007bb6}.ssbp--theme-11 .ssbp-linkedin:hover,.ssbp--theme-11 .ssbp-linkedin:focus,.ssbp--theme-11 .ssbp-linkedin:active,.ssbp--theme-11 .ssbp-linkedin+.ssbp-each-share{background-color:#005983}.ssbp--theme-11 .ssbp-pinterest{background-color:#ce1a19}.ssbp--theme-11 .ssbp-pinterest:hover,.ssbp--theme-11 .ssbp-pinterest:focus,.ssbp--theme-11 .ssbp-pinterest:active,.ssbp--theme-11 .ssbp-pinterest+.ssbp-each-share{background-color:#a11413}.ssbp--theme-11 .ssbp-print{background-color:#1F6B43}.ssbp--theme-11 .ssbp-print:hover,.ssbp--theme-11 .ssbp-print:focus,.ssbp--theme-11 .ssbp-print:active,.ssbp--theme-11 .ssbp-print+.ssbp-each-share{background-color:#14432a}.ssbp--theme-11 .ssbp-reddit{background-color:#FF4500}.ssbp--theme-11 .ssbp-reddit:hover,.ssbp--theme-11 .ssbp-reddit:focus,.ssbp--theme-11 .ssbp-reddit:active,.ssbp--theme-11 .ssbp-reddit+.ssbp-each-share{background-color:#cc3700}.ssbp--theme-11 .ssbp-simplesharebuttons{background-color:#4582ec}.ssbp--theme-11 .ssbp-simplesharebuttons:hover,.ssbp--theme-11 .ssbp-simplesharebuttons:focus,.ssbp--theme-11 .ssbp-simplesharebuttons:active,.ssbp--theme-11 .ssbp-simplesharebuttons+.ssbp-each-share{background-color:#1863e6}.ssbp--theme-11 .ssbp-stumbleupon{background-color:#EB4924}.ssbp--theme-11 .ssbp-stumbleupon:hover,.ssbp--theme-11 .ssbp-stumbleupon:focus,.ssbp--theme-11 .ssbp-stumbleupon:active,.ssbp--theme-11 .ssbp-stumbleupon+.ssbp-each-share{background-color:#ca3412}.ssbp--theme-11 .ssbp-tumblr{background-color:#2C4762}.ssbp--theme-11 .ssbp-tumblr:hover,.ssbp--theme-11 .ssbp-tumblr:focus,.ssbp--theme-11 .ssbp-tumblr:active,.ssbp--theme-11 .ssbp-tumblr+.ssbp-each-share{background-color:#1c2e3f}.ssbp--theme-11 .ssbp-twitter{background-color:#00a9f1}.ssbp--theme-11 .ssbp-twitter:hover,.ssbp--theme-11 .ssbp-twitter:focus,.ssbp--theme-11 .ssbp-twitter:active,.ssbp--theme-11 .ssbp-twitter+.ssbp-each-share{background-color:#0085be}.ssbp--theme-11 .ssbp-vk{background-color:#45668E}.ssbp--theme-11 .ssbp-vk:hover,.ssbp--theme-11 .ssbp-vk:focus,.ssbp--theme-11 .ssbp-vk:active,.ssbp--theme-11 .ssbp-vk+.ssbp-each-share{background-color:#344d6c}.ssbp--theme-11 .ssbp-whatsapp{background-color:#34AF23}.ssbp--theme-11 .ssbp-whatsapp:hover,.ssbp--theme-11 .ssbp-whatsapp:focus,.ssbp--theme-11 .ssbp-whatsapp:active,.ssbp--theme-11 .ssbp-whatsapp+.ssbp-each-share{background-color:#27851b}.ssbp--theme-11 .ssbp-yummly{background-color:#E16120}.ssbp--theme-11 .ssbp-yummly:hover,.ssbp--theme-11 .ssbp-yummly:focus,.ssbp--theme-11 .ssbp-yummly:active,.ssbp--theme-11 .ssbp-yummly+.ssbp-each-share{background-color:#b64d18}.ssbp--theme-11 .ssbp-xing{background-color:#026466}.ssbp--theme-11 .ssbp-xing:hover,.ssbp--theme-11 .ssbp-xing:focus,.ssbp--theme-11 .ssbp-xing:active,.ssbp--theme-11 .ssbp-xing+.ssbp-each-share{background-color:#013334}.ssbp--theme-11 .ssbp-each-share{padding:2px;font-size:10px;margin-right:5px;margin-left:5px;text-align:center;color:#FFF;border-radius:5px}
46
 
47
 
81
  margin: 0;
82
  margin-left: 0;
83
  margin-right: 0;
84
+ display: block;
85
  position: relative;
86
  }
87
 
88
  #ssba-bar-2 ul li a {
89
  max-width: 84px;
90
+ display: block;
91
  }
92
 
93
  .ssba-plus-2 {
108
  margin-right: -12px;
109
  margin-left: 0;
110
  }
111
+
112
+ .ssbp-line:before {
113
+ content: url("../images/line.svg");
114
+ left: 0;
115
+ padding: 5px 8px 0;
116
+ position: absolute;
117
+ top: 0;
118
+ width: 100%;
119
+ }
120
+
121
+ .ssbp--theme-8 .ssbp-line:before {
122
+ content: url("../images/line-black.svg");
123
+ }
124
+
125
+ .ssbp--theme-1 .ssbp-line,
126
+ .ssbp--theme-2 .ssbp-line,
127
+ .ssbp--theme-3 .ssbp-line,
128
+ .ssbp--theme-4 .ssbp-line,
129
+ .ssbp--theme-5 .ssbp-line,
130
+ .ssbp--theme-10 .ssbp-line:before,
131
+ .ssbp--theme-11 .ssbp-line {
132
+ transition: background-color, .5s;
133
+ background-color:#00c300;
134
+ display: block;
135
+ }
136
+ .ssbp--theme-6 .ssbp-line,
137
+ .ssbp--theme-7 .ssbp-line {
138
+ border-color:#00c300;
139
+ display: block;
140
+ }
141
+
142
+ .ssbp--theme-8 .ssbp-line,
143
+ .ssbp--theme-9 .ssbp-line {
144
+ display: block;
145
+ }
146
+
147
+ .ssbp--theme-6 .ssbp-line:before,
148
+ .ssbp--theme-7 .ssbp-line:before,
149
+ .ssbp--theme-9 .ssbp-line:before {
150
+ content: url("../images/line-hover.svg");
151
+ }
152
+
153
+ .ssbp--theme-1 .ssbp-line:before,
154
+ .ssbp--theme-2 .ssbp-line:before,
155
+ .ssbp--theme-3 .ssbp-line:before,
156
+ .ssbp--theme-4 .ssbp-line:before,
157
+ .ssbp--theme-5 .ssbp-line:before,
158
+ .ssbp--theme-6 .ssbp-line:before,
159
+ .ssbp--theme-7 .ssbp-line:before {
160
+ left: 50%;
161
+ position: absolute;
162
+ top: 50%;
163
+ padding-top: 0;
164
+ width: 86%;
165
+ height: 100%;
166
+ transform: translate(-50%, -37%);
167
+ }
168
+ .ssbp--theme-1 .ssbp-line:hover,
169
+ .ssbp--theme-1 .ssbp-line:focus,
170
+ .ssbp--theme-1 .ssbp-line:active {
171
+ color:#00c300;
172
+ border-color:#00c300;
173
+ }
174
+
175
+ .ssbp--theme-6 .ssbp-line:hover,
176
+ .ssbp--theme-6 .ssbp-line:focus,
177
+ .ssbp--theme-6 .ssbp-line:active,
178
+ .ssbp--theme-7 .ssbp-line:hover,
179
+ .ssbp--theme-7 .ssbp-line:focus,
180
+ .ssbp--theme-7 .ssbp-line:active {
181
+ background-color: #00c300;
182
+ }
183
+
184
+ .ssbp--theme-2 .ssbp-line:hover,
185
+ .ssbp--theme-2 .ssbp-line:focus,
186
+ .ssbp--theme-2 .ssbp-line:active,
187
+ .ssbp--theme-3 .ssbp-line:hover,
188
+ .ssbp--theme-3 .ssbp-line:focus,
189
+ .ssbp--theme-3 .ssbp-line:active,
190
+ .ssbp--theme-10 .ssbp-line:hover:before,
191
+ .ssbp--theme-10 .ssbp-line:focus:before,
192
+ .ssbp--theme-10 .ssbp-line:active:before,
193
+ .ssbp--theme-11 .ssbp-line:hover,
194
+ .ssbp--theme-11 .ssbp-line:focus,
195
+ .ssbp--theme-11 .ssbp-line:active {
196
+ border-color:#008e00;
197
+ background-color: #008e00;
198
+ }
199
+
200
+ .ssbp--theme-1 .ssbp-line:hover:before,
201
+ .ssbp--theme-1 .ssbp-line:focus:before,
202
+ .ssbp--theme-1 .ssbp-line:active:before {
203
+ content: url("../images/line-hover.svg");
204
+ left: 50%;
205
+ position: absolute;
206
+ top: 50%;
207
+ padding-top: 0;
208
+ width: 86%;
209
+ height: 100%;
210
+ transform: translate(-50%, -37%);
211
+ }
212
+ .ssbp--theme-6 .ssbp-line:hover:before,
213
+ .ssbp--theme-6 .ssbp-line:focus:before,
214
+ .ssbp--theme-6 .ssbp-line:active:before,
215
+ .ssbp--theme-7 .ssbp-line:hover:before,
216
+ .ssbp--theme-7 .ssbp-line:focus:before,
217
+ .ssbp--theme-7 .ssbp-line:active:before,
218
+ .ssbp--theme-8 .ssbp-line:hover:before,
219
+ .ssbp--theme-8 .ssbp-line:focus:before,
220
+ .ssbp--theme-8 .ssbp-line:active:before {
221
+ content: url("../images/line.svg");
222
+ }
223
+ .ssbp--theme-1 .ssbp-line+.ssbp-each-share,
224
+ .ssbp--theme-2 .ssbp-line+.ssbp-each-share,
225
+ .ssbp--theme-3 .ssbp-line+.ssbp-each-share,
226
+ .ssbp--theme-4 .ssbp-line+.ssbp-each-share,
227
+ .ssbp--theme-5 .ssbp-line+.ssbp-each-share,
228
+ .ssbp--theme-6 .ssbp-line+.ssbp-each-share,
229
+ .ssbp--theme-7 .ssbp-line+.ssbp-each-share {
230
+ background-color:#00c300;
231
+ }
232
+
233
+ .ssbp--theme-2 .ssbp-btn.ssbp-line:hover:before,
234
+ .ssbp--theme-2 .ssbp-btn.ssbp-line:focus:before,
235
+ .ssbp--theme-2 .ssbp-btn.ssbp-line:active:before,
236
+ .ssbp--theme-3 .ssbp-btn.ssbp-line:hover:before,
237
+ .ssbp--theme-3 .ssbp-btn.ssbp-line:focus:before,
238
+ .ssbp--theme-3 .ssbp-btn.ssbp-line:active:before,
239
+ .ssbp--theme-4 .ssbp-btn.ssbp-line:hover:before,
240
+ .ssbp--theme-4 .ssbp-btn.ssbp-line:focus:before,
241
+ .ssbp--theme-4 .ssbp-btn.ssbp-line:active:before,
242
+ .ssbp--theme-5 .ssbp-btn.ssbp-line:hover:before,
243
+ .ssbp--theme-5 .ssbp-btn.ssbp-line:focus:before,
244
+ .ssbp--theme-5 .ssbp-btn.ssbp-line:active:before,
245
+ .ssbp--theme-6 .ssbp-btn.ssbp-line:hover:before,
246
+ .ssbp--theme-6 .ssbp-btn.ssbp-line:focus:before,
247
+ .ssbp--theme-6 .ssbp-btn.ssbp-line:active:before,
248
+ .ssbp--theme-7 .ssbp-btn.ssbp-line:hover:before,
249
+ .ssbp--theme-7 .ssbp-btn.ssbp-line:focus:before,
250
+ .ssbp--theme-7 .ssbp-btn.ssbp-line:active:before {
251
+ transform: translate(-50%, -37%)!important;
252
+ left: 50%;
253
+ position: absolute;
254
+ top: 50%;
255
+ padding-top: 0;
256
+ width: 86%;
257
+ height: 100%;
258
+ }
259
+ .ssbp--theme-5 .ssbp-line{
260
+ background-color:#00c300;
261
+ box-shadow:0 8px 0 #008e00,0 10px 12px rgba(0,0,0,0.33)
262
+ }
263
+ .ssbp--theme-5 .ssbp-line:active{
264
+ box-shadow:0 4px 0 #008e00,0 5px 6px rgba(0,0,0,0.33)
265
+ }
266
+
267
+ .ssbp--theme-3 .ssbp-text,
268
+ .ssbp--theme-7 .ssbp-text {
269
+ display:inline-block;
270
+ vertical-align:middle;
271
+ font-size:12.1px;
272
+ margin-left:0;
273
+ text-shadow:-1px -1px rgba(0,0,0,0.2);
274
+ position: absolute;
275
+ bottom: -20px;
276
+ left: 50%;
277
+ transform: translate(-50%);
278
+ }
279
+
280
+ .ssbp--theme-7 .ssbp-li--line .ssbp-text {
281
+ color: #00c300;
282
+ }
283
+
284
+ .ssbp--theme-7 .ssbp-li--line:hover .ssbp-text {
285
+ color: #fff;
286
+ }
287
+
288
+ .ssbp--theme-9 .ssbp-li--line {
289
+ border-bottom: 5px solid #00c300;
290
+ }
291
+ .ssbp--theme-9 .ssbp-line {
292
+ height: 43px !important;
293
+ }
294
+
295
+ .ssbp--theme-9 .ssbp-li--line:hover {
296
+ border-bottom:5px solid rgba(0, 195, 0, 0.59);
297
+ }
298
+
299
+ .ssbp--theme-9 .ssbp-li--line .ssbp-line:before {
300
+ padding: 1px 14px 0;
301
+ }
302
+
303
+ .ssbp--theme-10 .ssbp-line {
304
+ width: 40px!important;
305
+ }
306
+
307
+ .ssbp--theme-10 .ssbp-line:before {
308
+ padding: 11% 8px 8px;
309
+ }
310
+
311
+ /* Skype */
312
+ .ssbp-skype:before {
313
+ content: url("../images/skype.svg");
314
+ left: 0;
315
+ padding: 5px 8px 0;
316
+ position: absolute;
317
+ top: 0;
318
+ width: 100%;
319
+ }
320
+
321
+ .ssbp--theme-8 .ssbp-skype:before {
322
+ content: url("../images/skype-black.svg");
323
+ }
324
+
325
+ .ssbp--theme-1 .ssbp-skype,
326
+ .ssbp--theme-2 .ssbp-skype,
327
+ .ssbp--theme-3 .ssbp-skype,
328
+ .ssbp--theme-4 .ssbp-skype,
329
+ .ssbp--theme-5 .ssbp-skype,
330
+ .ssbp--theme-10 .ssbp-skype:before,
331
+ .ssbp--theme-11 .ssbp-skype {
332
+ transition: background-color, .5s;
333
+ background-color:#00AFF0;
334
+ display: block;
335
+ }
336
+ .ssbp--theme-6 .ssbp-skype,
337
+ .ssbp--theme-7 .ssbp-skype {
338
+ border-color:#00AFF0;
339
+ display: block;
340
+ }
341
+
342
+ .ssbp--theme-8 .ssbp-skype,
343
+ .ssbp--theme-9 .ssbp-skype {
344
+ display: block;
345
+ }
346
+
347
+ .ssbp--theme-6 .ssbp-skype:before,
348
+ .ssbp--theme-7 .ssbp-skype:before,
349
+ .ssbp--theme-9 .ssbp-skype:before {
350
+ content: url("../images/skype-hover.svg");
351
+ }
352
+
353
+ .ssbp--theme-1 .ssbp-skype:before,
354
+ .ssbp--theme-2 .ssbp-skype:before,
355
+ .ssbp--theme-3 .ssbp-skype:before,
356
+ .ssbp--theme-4 .ssbp-skype:before,
357
+ .ssbp--theme-5 .ssbp-skype:before,
358
+ .ssbp--theme-6 .ssbp-skype:before,
359
+ .ssbp--theme-7 .ssbp-skype:before {
360
+ left: 50%;
361
+ position: absolute;
362
+ top: 50%;
363
+ padding-top: 0;
364
+ width: 100%;
365
+ height: 100%;
366
+ transform: translate(-50%, -37%);
367
+ }
368
+ .ssbp--theme-1 .ssbp-skype:hover,
369
+ .ssbp--theme-1 .ssbp-skype:focus,
370
+ .ssbp--theme-1 .ssbp-skype:active {
371
+ color:#00AFF0;
372
+ border-color:#00AFF0;
373
+ }
374
+
375
+ .ssbp--theme-6 .ssbp-skype:hover,
376
+ .ssbp--theme-6 .ssbp-skype:focus,
377
+ .ssbp--theme-6 .ssbp-skype:active,
378
+ .ssbp--theme-7 .ssbp-skype:hover,
379
+ .ssbp--theme-7 .ssbp-skype:focus,
380
+ .ssbp--theme-7 .ssbp-skype:active {
381
+ background-color: #00AFF0;
382
+ }
383
+
384
+ .ssbp--theme-2 .ssbp-skype:hover,
385
+ .ssbp--theme-2 .ssbp-skype:focus,
386
+ .ssbp--theme-2 .ssbp-skype:active,
387
+ .ssbp--theme-3 .ssbp-skype:hover,
388
+ .ssbp--theme-3 .ssbp-skype:focus,
389
+ .ssbp--theme-3 .ssbp-skype:active,
390
+ .ssbp--theme-10 .ssbp-skype:hover:before,
391
+ .ssbp--theme-10 .ssbp-skype:focus:before,
392
+ .ssbp--theme-10 .ssbp-skype:active:before,
393
+ .ssbp--theme-11 .ssbp-skype:hover,
394
+ .ssbp--theme-11 .ssbp-skype:focus,
395
+ .ssbp--theme-11 .ssbp-skype:active {
396
+ border-color: #0081b1;
397
+ background-color: #0081b1;
398
+ }
399
+
400
+ .ssbp--theme-1 .ssbp-skype:hover:before,
401
+ .ssbp--theme-1 .ssbp-skype:focus:before,
402
+ .ssbp--theme-1 .ssbp-skype:active:before {
403
+ content: url("../images/skype-hover.svg");
404
+ left: 50%;
405
+ position: absolute;
406
+ top: 50%;
407
+ padding-top: 0;
408
+ width: 100%;
409
+ height: 100%;
410
+ transform: translate(-50%, -37%);
411
+ }
412
+ .ssbp--theme-6 .ssbp-skype:hover:before,
413
+ .ssbp--theme-6 .ssbp-skype:focus:before,
414
+ .ssbp--theme-6 .ssbp-skype:active:before,
415
+ .ssbp--theme-7 .ssbp-skype:hover:before,
416
+ .ssbp--theme-7 .ssbp-skype:focus:before,
417
+ .ssbp--theme-7 .ssbp-skype:active:before,
418
+ .ssbp--theme-8 .ssbp-skype:hover:before,
419
+ .ssbp--theme-8 .ssbp-skype:focus:before,
420
+ .ssbp--theme-8 .ssbp-skype:active:before {
421
+ content: url("../images/skype.svg");
422
+ }
423
+ .ssbp--theme-1 .ssbp-skype+.ssbp-each-share,
424
+ .ssbp--theme-2 .ssbp-skype+.ssbp-each-share,
425
+ .ssbp--theme-3 .ssbp-skype+.ssbp-each-share,
426
+ .ssbp--theme-4 .ssbp-skype+.ssbp-each-share,
427
+ .ssbp--theme-5 .ssbp-skype+.ssbp-each-share,
428
+ .ssbp--theme-6 .ssbp-skype+.ssbp-each-share,
429
+ .ssbp--theme-7 .ssbp-skype+.ssbp-each-share {
430
+ background-color:#00AFF0;
431
+ }
432
+
433
+ .ssbp--theme-2 .ssbp-btn.ssbp-skype:hover:before,
434
+ .ssbp--theme-2 .ssbp-btn.ssbp-skype:focus:before,
435
+ .ssbp--theme-2 .ssbp-btn.ssbp-skype:active:before,
436
+ .ssbp--theme-3 .ssbp-btn.ssbp-skype:hover:before,
437
+ .ssbp--theme-3 .ssbp-btn.ssbp-skype:focus:before,
438
+ .ssbp--theme-3 .ssbp-btn.ssbp-skype:active:before,
439
+ .ssbp--theme-4 .ssbp-btn.ssbp-skype:hover:before,
440
+ .ssbp--theme-4 .ssbp-btn.ssbp-skype:focus:before,
441
+ .ssbp--theme-4 .ssbp-btn.ssbp-skype:active:before,
442
+ .ssbp--theme-5 .ssbp-btn.ssbp-skype:hover:before,
443
+ .ssbp--theme-5 .ssbp-btn.ssbp-skype:focus:before,
444
+ .ssbp--theme-5 .ssbp-btn.ssbp-skype:active:before,
445
+ .ssbp--theme-6 .ssbp-btn.ssbp-skype:hover:before,
446
+ .ssbp--theme-6 .ssbp-btn.ssbp-skype:focus:before,
447
+ .ssbp--theme-6 .ssbp-btn.ssbp-skype:active:before,
448
+ .ssbp--theme-7 .ssbp-btn.ssbp-skype:hover:before,
449
+ .ssbp--theme-7 .ssbp-btn.ssbp-skype:focus:before,
450
+ .ssbp--theme-7 .ssbp-btn.ssbp-skype:active:before {
451
+ transform: translate(-50%, -37%)!important;
452
+ left: 50%;
453
+ position: absolute;
454
+ top: 50%;
455
+ padding-top: 0;
456
+ width: 100%;
457
+ height: 100%;
458
+ }
459
+ .ssbp--theme-5 .ssbp-skype{
460
+ background-color:#00AFF0;
461
+ box-shadow:0 8px 0 #0081b1,0 10px 12px rgba(0,0,0,0.33)
462
+ }
463
+ .ssbp--theme-5 .ssbp-skype:active{
464
+ box-shadow:0 4px 0 #0081b1,0 5px 6px rgba(0,0,0,0.33)
465
+ }
466
+
467
+ .ssbp--theme-3 .ssbp-text,
468
+ .ssbp--theme-7 .ssbp-text {
469
+ display:inskype-block;
470
+ vertical-align:middle;
471
+ font-size:12.1px;
472
+ margin-left:0;
473
+ text-shadow:-1px -1px rgba(0,0,0,0.2);
474
+ position: absolute;
475
+ bottom: -20px;
476
+ left: 50%;
477
+ transform: translate(-50%);
478
+ }
479
+
480
+ .ssbp--theme-7 .ssbp-li--skype .ssbp-text {
481
+ color: #00AFF0;
482
+ }
483
+
484
+ .ssbp--theme-7 .ssbp-li--skype:hover .ssbp-text {
485
+ color: #fff;
486
+ }
487
+
488
+ .ssbp--theme-9 .ssbp-li--skype {
489
+ border-bottom: 5px solid #00AFF0;
490
+ }
491
+ .ssbp--theme-9 .ssbp-skype {
492
+ height: 43px !important;
493
+ }
494
+
495
+ .ssbp--theme-9 .ssbp-li--skype:hover {
496
+ border-bottom:5px solid rgba(0, 175, 240, 0.59);
497
+ }
498
+
499
+ .ssbp--theme-9 .ssbp-li--skype .ssbp-skype:before {
500
+ padding: 9px 14px 0;
501
+ }
502
+
503
+ .ssbp--theme-10 .ssbp-skype {
504
+ width: 40px!important;
505
+ }
506
+
507
+ .ssbp--theme-10 .ssbp-skype:before {
508
+ padding: 11px 8px 8px;
509
+ }
510
+
511
+ /* Weibo */
512
+ .ssbp-weibo:before {
513
+ content: url("../images/weibo.svg");
514
+ left: 0;
515
+ padding: 5px 8px 0;
516
+ position: absolute;
517
+ top: 0;
518
+ width: 100%;
519
+ }
520
+
521
+ .ssbp--theme-8 .ssbp-weibo:before {
522
+ content: url("../images/weibo-black.svg");
523
+ }
524
+
525
+ .ssbp--theme-1 .ssbp-weibo,
526
+ .ssbp--theme-2 .ssbp-weibo,
527
+ .ssbp--theme-3 .ssbp-weibo,
528
+ .ssbp--theme-4 .ssbp-weibo,
529
+ .ssbp--theme-5 .ssbp-weibo,
530
+ .ssbp--theme-10 .ssbp-weibo:before,
531
+ .ssbp--theme-11 .ssbp-weibo {
532
+ transition: background-color, .5s;
533
+ background-color:#df2029;
534
+ display: block;
535
+ }
536
+ .ssbp--theme-6 .ssbp-weibo,
537
+ .ssbp--theme-7 .ssbp-weibo {
538
+ border-color:#df2029;
539
+ display: block;
540
+ }
541
+
542
+ .ssbp--theme-8 .ssbp-weibo,
543
+ .ssbp--theme-9 .ssbp-weibo {
544
+ display: block;
545
+ }
546
+
547
+ .ssbp--theme-6 .ssbp-weibo:before,
548
+ .ssbp--theme-7 .ssbp-weibo:before,
549
+ .ssbp--theme-9 .ssbp-weibo:before {
550
+ content: url("../images/weibo-hover.svg");
551
+ }
552
+
553
+ .ssbp--theme-1 .ssbp-weibo:before,
554
+ .ssbp--theme-2 .ssbp-weibo:before,
555
+ .ssbp--theme-3 .ssbp-weibo:before,
556
+ .ssbp--theme-4 .ssbp-weibo:before,
557
+ .ssbp--theme-5 .ssbp-weibo:before,
558
+ .ssbp--theme-6 .ssbp-weibo:before,
559
+ .ssbp--theme-7 .ssbp-weibo:before {
560
+ left: 50%;
561
+ position: absolute;
562
+ top: 50%;
563
+ padding-top: 0;
564
+ width: 100%;
565
+ height: 100%;
566
+ transform: translate(-50%, -37%);
567
+ }
568
+ .ssbp--theme-1 .ssbp-weibo:hover,
569
+ .ssbp--theme-1 .ssbp-weibo:focus,
570
+ .ssbp--theme-1 .ssbp-weibo:active {
571
+ color:#df2029;
572
+ border-color:#df2029;
573
+ }
574
+
575
+ .ssbp--theme-6 .ssbp-weibo:hover,
576
+ .ssbp--theme-6 .ssbp-weibo:focus,
577
+ .ssbp--theme-6 .ssbp-weibo:active,
578
+ .ssbp--theme-7 .ssbp-weibo:hover,
579
+ .ssbp--theme-7 .ssbp-weibo:focus,
580
+ .ssbp--theme-7 .ssbp-weibo:active {
581
+ background-color: #df2029;
582
+ }
583
+
584
+ .ssbp--theme-2 .ssbp-weibo:hover,
585
+ .ssbp--theme-2 .ssbp-weibo:focus,
586
+ .ssbp--theme-2 .ssbp-weibo:active,
587
+ .ssbp--theme-3 .ssbp-weibo:hover,
588
+ .ssbp--theme-3 .ssbp-weibo:focus,
589
+ .ssbp--theme-3 .ssbp-weibo:active,
590
+ .ssbp--theme-10 .ssbp-weibo:hover:before,
591
+ .ssbp--theme-10 .ssbp-weibo:focus:before,
592
+ .ssbp--theme-10 .ssbp-weibo:active:before,
593
+ .ssbp--theme-11 .ssbp-weibo:hover,
594
+ .ssbp--theme-11 .ssbp-weibo:focus,
595
+ .ssbp--theme-11 .ssbp-weibo:active {
596
+ border-color: #ad191f;
597
+ background-color: #ad191f;
598
+ }
599
+
600
+ .ssbp--theme-1 .ssbp-weibo:hover:before,
601
+ .ssbp--theme-1 .ssbp-weibo:focus:before,
602
+ .ssbp--theme-1 .ssbp-weibo:active:before {
603
+ content: url("../images/weibo-hover.svg");
604
+ left: 50%;
605
+ position: absolute;
606
+ top: 50%;
607
+ padding-top: 0;
608
+ width: 100%;
609
+ height: 100%;
610
+ transform: translate(-50%, -37%);
611
+ }
612
+ .ssbp--theme-6 .ssbp-weibo:hover:before,
613
+ .ssbp--theme-6 .ssbp-weibo:focus:before,
614
+ .ssbp--theme-6 .ssbp-weibo:active:before,
615
+ .ssbp--theme-7 .ssbp-weibo:hover:before,
616
+ .ssbp--theme-7 .ssbp-weibo:focus:before,
617
+ .ssbp--theme-7 .ssbp-weibo:active:before,
618
+ .ssbp--theme-8 .ssbp-weibo:hover:before,
619
+ .ssbp--theme-8 .ssbp-weibo:focus:before,
620
+ .ssbp--theme-8 .ssbp-weibo:active:before {
621
+ content: url("../images/weibo.svg");
622
+ }
623
+ .ssbp--theme-1 .ssbp-weibo+.ssbp-each-share,
624
+ .ssbp--theme-2 .ssbp-weibo+.ssbp-each-share,
625
+ .ssbp--theme-3 .ssbp-weibo+.ssbp-each-share,
626
+ .ssbp--theme-4 .ssbp-weibo+.ssbp-each-share,
627
+ .ssbp--theme-5 .ssbp-weibo+.ssbp-each-share,
628
+ .ssbp--theme-6 .ssbp-weibo+.ssbp-each-share,
629
+ .ssbp--theme-7 .ssbp-weibo+.ssbp-each-share {
630
+ background-color:#df2029;
631
+ }
632
+
633
+ .ssbp--theme-2 .ssbp-btn.ssbp-weibo:hover:before,
634
+ .ssbp--theme-2 .ssbp-btn.ssbp-weibo:focus:before,
635
+ .ssbp--theme-2 .ssbp-btn.ssbp-weibo:active:before,
636
+ .ssbp--theme-3 .ssbp-btn.ssbp-weibo:hover:before,
637
+ .ssbp--theme-3 .ssbp-btn.ssbp-weibo:focus:before,
638
+ .ssbp--theme-3 .ssbp-btn.ssbp-weibo:active:before,
639
+ .ssbp--theme-4 .ssbp-btn.ssbp-weibo:hover:before,
640
+ .ssbp--theme-4 .ssbp-btn.ssbp-weibo:focus:before,
641
+ .ssbp--theme-4 .ssbp-btn.ssbp-weibo:active:before,
642
+ .ssbp--theme-5 .ssbp-btn.ssbp-weibo:hover:before,
643
+ .ssbp--theme-5 .ssbp-btn.ssbp-weibo:focus:before,
644
+ .ssbp--theme-5 .ssbp-btn.ssbp-weibo:active:before,
645
+ .ssbp--theme-6 .ssbp-btn.ssbp-weibo:hover:before,
646
+ .ssbp--theme-6 .ssbp-btn.ssbp-weibo:focus:before,
647
+ .ssbp--theme-6 .ssbp-btn.ssbp-weibo:active:before,
648
+ .ssbp--theme-7 .ssbp-btn.ssbp-weibo:hover:before,
649
+ .ssbp--theme-7 .ssbp-btn.ssbp-weibo:focus:before,
650
+ .ssbp--theme-7 .ssbp-btn.ssbp-weibo:active:before {
651
+ transform: translate(-50%, -37%)!important;
652
+ left: 50%;
653
+ position: absolute;
654
+ top: 50%;
655
+ padding-top: 0;
656
+ width: 100%;
657
+ height: 100%;
658
+ }
659
+ .ssbp--theme-5 .ssbp-weibo{
660
+ background-color:#df2029;
661
+ box-shadow:0 8px 0 #ad191f,0 10px 12px rgba(0,0,0,0.33)
662
+ }
663
+ .ssbp--theme-5 .ssbp-weibo:active{
664
+ box-shadow:0 4px 0 #ad191f,0 5px 6px rgba(0,0,0,0.33)
665
+ }
666
+
667
+ .ssbp--theme-3 .ssbp-text,
668
+ .ssbp--theme-7 .ssbp-text {
669
+ display:inline-block;
670
+ vertical-align:middle;
671
+ font-size:12.1px;
672
+ margin-left:0;
673
+ text-shadow:-1px -1px rgba(0,0,0,0.2);
674
+ position: absolute;
675
+ bottom: -20px;
676
+ left: 50%;
677
+ transform: translate(-50%);
678
+ }
679
+
680
+ .ssbp--theme-7 .ssbp-li--weibo .ssbp-text {
681
+ color: #df2029;
682
+ }
683
+
684
+ .ssbp--theme-7 .ssbp-li--weibo:hover .ssbp-text {
685
+ color: #fff;
686
+ }
687
+
688
+ .ssbp--theme-9 .ssbp-li--weibo {
689
+ border-bottom: 5px solid #df2029;
690
+ }
691
+ .ssbp--theme-9 .ssbp-weibo {
692
+ height: 43px !important;
693
+ }
694
+
695
+ .ssbp--theme-9 .ssbp-li--weibo:hover {
696
+ border-bottom:5px solid rgba(223, 32, 41, 0.61);
697
+ }
698
+
699
+ .ssbp--theme-9 .ssbp-li--weibo .ssbp-weibo:before {
700
+ padding: 9px 14px 0;
701
+ }
702
+
703
+ .ssbp--theme-10 .ssbp-weibo {
704
+ width: 40px!important;
705
+ }
706
+
707
+ .ssbp--theme-10 .ssbp-weibo:before {
708
+ padding: 11px 8px 8px;
709
+ }
instance.php CHANGED
@@ -9,7 +9,7 @@ namespace SimpleShareButtonsAdder;
9
 
10
  define( 'SSBA_FILE', __FILE__ );
11
  define( 'SSBA_ROOT', dirname( __FILE__ ) );
12
- define( 'SSBA_VERSION', '7.6.21' );
13
 
14
  global $simple_share_buttons_adder_plugin;
15
 
9
 
10
  define( 'SSBA_FILE', __FILE__ );
11
  define( 'SSBA_ROOT', dirname( __FILE__ ) );
12
+ define( 'SSBA_VERSION', '7.7.0' );
13
 
14
  global $simple_share_buttons_adder_plugin;
15
 
js/admin.js CHANGED
@@ -53,6 +53,15 @@ var SimpleShareButtonsAdder = ( function( $, wp ) {
53
  listen: function() {
54
  var self = this;
55
 
 
 
 
 
 
 
 
 
 
56
  // If selecting a tab.
57
  $( 'body' ).on( 'click', '.ssba-classic-tab, .ssba-modern-tab, .ssba-bar-tab', function() {
58
  var selection = 'classic';
53
  listen: function() {
54
  var self = this;
55
 
56
+ // Close review us.
57
+ $('body').on('click', '#close-review-us', function() {
58
+ wp.ajax.post( 'ssba_ajax_hide_review', {
59
+ nonce: self.data.nonce
60
+ } ).always( function( results ) {
61
+ $('.ssba-review-us').fadeOut();
62
+ });
63
+ });
64
+
65
  // If selecting a tab.
66
  $( 'body' ).on( 'click', '.ssba-classic-tab, .ssba-modern-tab, .ssba-bar-tab', function() {
67
  var selection = 'classic';
php/class-admin-bits.php CHANGED
@@ -12,435 +12,472 @@ namespace SimpleShareButtonsAdder;
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
- class Admin_Bits {
16
-
17
- /**
18
- * Plugin instance.
19
- *
20
- * @var object
21
- */
22
- public $plugin;
23
-
24
- /**
25
- * Simple_Share_Buttons_Adder instance.
26
- *
27
- * @var object
28
- */
29
- public $class_ssba;
30
-
31
- /**
32
- * Database instance.
33
- *
34
- * @var object
35
- */
36
- public $database;
37
-
38
- /**
39
- * Admin Panel instance.
40
- *
41
- * @var object
42
- */
43
- public $admin_panel;
44
-
45
- /**
46
- * Class constructor.
47
- *
48
- * @param object $plugin Plugin class.
49
- * @param object $class_ssba Simple Share Buttons Adder class.
50
- * @param object $database Database class.
51
- * @param object $admin_panel Admin Panel class.
52
- */
53
- public function __construct( $plugin, $class_ssba, $database, $admin_panel ) {
54
- $this->plugin = $plugin;
55
- $this->class_ssba = $class_ssba;
56
- $this->database = $database;
57
- $this->admin_panel = $admin_panel;
58
- }
59
-
60
- /**
61
- * ShareThis terms notice detector.
62
- *
63
- * @action admin_notices
64
- */
65
- public function sharethis_terms_notice() {
66
- // If the sharethis terms have not yet been accepted.
67
- if ( isset( $arr_settings['accepted_sharethis_terms'], $arr_settings['hide_share_this_terms'] ) && 'Y' !== $arr_settings['accepted_sharethis_terms'] && true !== $arr_settings['hide_sharethis_terms'] ) {
68
- ?>
69
- <div id="sharethis_terms_notice" class="update-nag notice is-dismissible">
70
- <p>
71
- <?php echo esc_html__( 'There are some', 'simple-share-buttons-adder' ); ?> <strong><?php echo esc_html__( 'great new features', 'simple-share-buttons-adder' ); ?></strong> <?php echo esc_html__( 'available with Simple Share Buttons Adder 6.3', 'simple-share-buttons-adder' ); ?>,
72
- <?php echo esc_html__( 'such as an improved mobile Facebook sharing experience and Facebook analytics.
73
- We\'ve updated our' ); ?> <a href="http://simplesharebuttons.com/privacy" target="_blank"><?php echo esc_html__( 'privacy policy and terms of use', 'simple-share-buttons-adder' ); ?></a> <?php echo esc_html__( 'with important changes you should review. To take advantage of the new features, please review and accept the new', 'simple-share-buttons-adder' ); ?> <a href="http://simplesharebuttons.com/privacy" target="_blank">terms and privacy policy</a>.
74
- <a href="options-general.php?page=simple-share-buttons-adder&accept-terms=Y">
 
 
 
 
 
 
 
 
 
 
75
  <span class="button button-primary">
76
- <?php echo esc_html__( 'I accept', 'simple-share-buttons-adder' ); ?>
77
  </span>
78
- </a>
79
- </p>
80
- </div>
81
- <script type="text/javascript">
82
- jQuery( '#sharethis_terms_notice' ).on( 'click', '.notice-dismiss', function ( event ) {
83
- jQuery.post( ajaxurl, { action: 'ssba_hide_terms' } );
84
- } );
85
- </script>
86
- <?php
87
- }
88
- }
89
-
90
- /**
91
- * Add settings link on plugin page.
92
- *
93
- * @filter plugin_action_links_simple-share-buttons-adder
94
- *
95
- * @param array $links The supplied links.
96
- * @return mixed
97
- */
98
- public function ssba_settings_link( $links ) {
99
- // Add to plugins links.
100
- array_unshift( $links, '<a href="options-general.php?page=simple-share-buttons-adder">' . esc_html__( 'Settings' ) . '</a>' );
101
-
102
- return $links;
103
- }
104
-
105
- /**
106
- * Hides the terms agreement at user's request.
107
- *
108
- * @action wp_ajax_ssba_hide_term
109
- */
110
- public function ssba_admin_hide_callback() {
111
- $this->class_ssba->ssba_update_options( array(
112
- 'hide_sharethis_terms' => true,
113
- ) );
114
- wp_die();
115
- }
116
-
117
- /**
118
- * Includes js/css files and upload script.
119
- *
120
- * @param string $hook_suffix The current admin page hook suffix.
121
- * @action admin_enqueue_scripts
122
- */
123
- public function enqueue_admin_assets( $hook_suffix ) {
124
- $current_url = $this->plugin->dir_url . 'buttons/';
125
-
126
- if ( $this->hook_suffix === $hook_suffix ) {
127
- // All extra scripts needed.
128
- wp_enqueue_media();
129
- wp_enqueue_script( 'media-upload' );
130
- wp_enqueue_script( 'jquery-ui-sortable' );
131
- wp_enqueue_script( 'jquery-ui' );
132
- wp_enqueue_script( "{$this->plugin->assets_prefix}-bootstrap-js" );
133
- wp_enqueue_script( "{$this->plugin->assets_prefix}-colorpicker" );
134
- wp_enqueue_script( "{$this->plugin->assets_prefix}-switch" );
135
- wp_enqueue_script( "{$this->plugin->assets_prefix}-admin" );
136
- wp_add_inline_script( "{$this->plugin->assets_prefix}-admin", sprintf( '%s.boot( %s );',
137
- __NAMESPACE__,
138
- wp_json_encode( array(
139
- 'site' => $current_url,
140
- 'nonce' => wp_create_nonce( $this->plugin->meta_prefix ),
141
- ) )
142
- ) );
143
-
144
- // Get sbba settings.
145
- $arr_settings = $this->class_ssba->get_ssba_settings();
146
-
147
- $custom_css = ! empty( $arr_settings['ssba_additional_css'] ) ? $arr_settings['ssba_additional_css'] : '';
148
- $custom_css .= ! empty( $arr_settings['ssba_plus_additional_css'] ) ? $arr_settings['ssba_plus_additional_css'] : '';
149
- $custom_css .= ! empty( $arr_settings['ssba_bar_additional_css'] ) ? $arr_settings['ssba_bar_additional_css'] : '';
150
-
151
- wp_add_inline_style( "{$this->plugin->assets_prefix}-admin-theme", $custom_css );
152
-
153
- // Admin styles.
154
- wp_enqueue_style( "{$this->plugin->assets_prefix}-readable" );
155
- wp_enqueue_style( "{$this->plugin->assets_prefix}-colorpicker" );
156
- wp_enqueue_style( "{$this->plugin->assets_prefix}-switch" );
157
- wp_enqueue_style( "{$this->plugin->assets_prefix}-font-awesome" );
158
- wp_enqueue_style( "{$this->plugin->assets_prefix}-admin-theme" );
159
- wp_enqueue_style( "{$this->plugin->assets_prefix}-styles" );
160
- }
161
- }
162
-
163
- /**
164
- * Save dismiss notice status.
165
- *
166
- * @action wp_ajax_dismiss_notice
167
- */
168
- public function dismiss_notice() {
169
- check_ajax_referer( $this->plugin->meta_prefix, 'nonce' );
170
-
171
- if ( ! isset( $_POST['type'] ) || '' === $_POST['type'] ) { // WPCS: input var okay.
172
- wp_send_json_error( 'dismiss notice failed' );
173
- }
174
-
175
- $type = sanitize_text_field( wp_unslash( $_POST['type'] ) );
176
- $current_notices = get_option( 'ssba_dismiss_notice' );
177
- $current_notices = null !== $current_notices && false !== $current_notices && '' !== $current_notices ? $current_notices : '';
178
-
179
- if ( '' !== $current_notices ) {
180
- $new_notice = array_merge( $current_notices, array(
181
- $type => false,
182
- ) );
183
- } else {
184
- $new_notice = array(
185
- $type => false,
186
- );
187
- }
188
-
189
- update_option( 'ssba_dismiss_notice', $new_notice );
190
- }
191
-
192
-
193
- /**
194
- * Register the new simple share button adder menu dashboard link.
195
- *
196
- * @action admin_menu
197
- */
198
- public function add_ssba_menu() {
199
- $icon = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMjcyLjAwMDAwMHB0IiBoZWlnaHQ9IjIzNi4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDI3Mi4wMDAwMDAgMjM2LjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsMjM2LjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzAwMDAwMCIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTk3NSAyMjkzIGMtMTQwIC0xNiAtMjQ2IC00OCAtMzY5IC0xMTEgLTI3NSAtMTQxIC00NjEgLTM5MCAtNTI3Ci03MDcgLTE2IC03NyAtMTYgLTI4MyAwIC0zNjAgODIgLTM5NCAzNTkgLTY5MSA3MzcgLTc5MCAxNjQgLTQzIDM1MSAtNDEgNTI2CjYgMTE0IDMxIDExNSAzMiA4NyAxMTAgLTEyIDM1IC0yMyA2NSAtMjQgNjYgLTEgMiAtMjUgLTYgLTUzIC0xNyAtMTE1IC00NAotMjkxIC02MCAtNDIyIC00MCAtMjg3IDQ2IC01MjUgMjI2IC02NDkgNDkyIC01MyAxMTEgLTcwIDE4MyAtNzggMzA4IC0xNCAyNDgKNjYgNDY1IDIzNSA2NDIgMTc5IDE4OCA0MDMgMjc3IDY2MSAyNjUgNjQgLTMgMTQxIC0xMiAxNzEgLTIwIDI1MyAtNzAgNDQxCi0yMTkgNTU4IC00NDUgNDcgLTg5IDkyIC0yNDcgOTIgLTMyMCBsMCAtNDUgNTMgNyBjMjggMyA2MyA2IDc2IDYgMjMgMCAyMyAxCjE3IDYzIC0xNyAxNTIgLTkzIDM1MyAtMTgwIDQ3MiAtOTQgMTMwIC0yNTcgMjY0IC00MDAgMzMwIC0xNTIgNzEgLTM1OSAxMDYKLTUxMSA4OHoiLz4KPHBhdGggZD0iTTg3MCAyMDcwIGMtMjIxIC01OSAtNDA5IC0yMDYgLTUwOSAtNDAwIC02MiAtMTE5IC04MiAtMTk4IC04OCAtMzM1Ci01IC0xMzMgOCAtMjIwIDUwIC0zMjUgNzkgLTE5NCAyNTAgLTM2NyA0NDAgLTQ0MyAxNjcgLTY3IDM3NiAtNzUgNTM3IC0yMQpsODUgMjkgNiAxMTAgYzE2IDI2NiAxNDYgNDY4IDM3NiA1ODIgbDkyIDQ2IC01IDUxIGMtMzMgMzI1IC0yNDIgNTg5IC01NDkKNjkyIC02OCAyMiAtMTAxIDI3IC0yMjAgMzAgLTExNyAzIC0xNTMgMSAtMjE1IC0xNnogbTU4IC01MjUgYzM4IC0zMiA0OCAtNzIKMjggLTExOCAtNDUgLTEwOCAtMTk1IC03NiAtMTk2IDQxIDAgOTAgOTkgMTM1IDE2OCA3N3ogbTM3MiAxMCBjMzcgLTE5IDUwCi00MyA1MCAtOTUgMCAtNTcgLTQyIC0xMDAgLTk3IC0xMDAgLTEwMSAwIC0xNDggMTIwIC03MiAxODQgMzUgMzAgNzYgMzMgMTE5CjExeiBtLTM2MCAtNDEyIGM0MiAtMzkgNDkgLTg3IDE4IC0xMzMgLTM5IC01OCAtMTE0IC02NSAtMTY0IC0xNSAtMTggMTkgLTI0CjM1IC0yNCA3MCAwIDk1IDEwMCAxNDAgMTcwIDc4eiBtMzY5IDEzIGM1OCAtMzAgNjkgLTExOSAyMiAtMTY3IC0yMyAtMjMgLTM4Ci0yOSAtNzEgLTI5IC0zNSAwIC00OCA2IC03NyAzNSAtMzIgMzIgLTM1IDQwIC0zMCA3NiAxMSA4MSA4NSAxMjEgMTU2IDg1eiIvPgo8cGF0aCBkPSJNMTkxMiAxMjUwIGMtMTEwIC0yOSAtMTg3IC03NSAtMjczIC0xNjAgLTEyMiAtMTIwIC0xNzkgLTI1NiAtMTc5Ci00MjUgMCAtMTcwIDU3IC0zMDMgMTgxIC00MjYgMzQwIC0zNDAgOTA5IC0xNjggMTAxNCAzMDUgNjUgMjkyIC0xMDggNTkyCi0zOTcgNjkzIC0xMDIgMzUgLTI0NSA0MSAtMzQ2IDEzeiBtMTk4IC0zNjkgYzUgLTExIDEwIC00OSAxMCAtODUgbDAgLTY2IDc3CjAgYzg5IDAgMTEzIC0xNCAxMTMgLTY2IDAgLTQ4IC0yOCAtNjQgLTExNyAtNjQgbC03MyAwIDAgLTgyIGMwIC05MCAtMTQgLTExOAotNTcgLTExOCAtNTUgMCAtNjMgMTMgLTYzIDExMCBsMCA5MCAtNzMgMCBjLTg5IDAgLTExNyAxNSAtMTE3IDY1IDAgNTMgMjAgNjUKMTExIDY1IGw3OSAwIDAgNzMgYzAgNDMgNSA3OCAxMiA4NSAyMCAyMCA4NiAxNSA5OCAtN3oiLz4KPC9nPgo8L3N2Zz4K';
200
-
201
- add_menu_page(
202
- 'Simple Share Buttons Adder',
203
- 'Simple Share Buttons',
204
- 'manage_options',
205
- 'simple-share-buttons-adder',
206
- array( $this, 'ssba_settings' ),
207
- $icon,
208
- 26
209
- );
210
- }
211
-
212
- /**
213
- * Menu settings.
214
- *
215
- * @action admin_menu
216
- */
217
- public function ssba_menu() {
218
- // Add menu page.
219
- $this->hook_suffix = add_options_page(
220
- esc_html__( 'Simple Share Buttons Adder', 'simple-share-buttons-adder' ),
221
- esc_html__( 'Simple Share Buttons', 'simple-share-buttons-adder' ),
222
- 'manage_options',
223
- $this->plugin->assets_prefix,
224
- array( $this, 'ssba_settings' )
225
- );
226
-
227
- // Query the db for current ssba settings.
228
- $arr_settings = $this->class_ssba->get_ssba_settings();
229
-
230
- // Get the current version.
231
- $version = get_option( 'ssba_version' );
232
-
233
- // There was a version set.
234
- if ( false !== $version ) {
235
- // Check if not updated to current version.
236
- if ( $version < SSBA_VERSION ) {
237
- // Run the upgrade function.
238
- $this->database->upgrade_ssba( $arr_settings, $version );
239
- }
240
- }
241
- }
242
-
243
- /**
244
- * Answer form.
245
- *
246
- * @return bool
247
- */
248
- public function ssba_settings() {
249
- // Check if user has the rights to manage options.
250
- if ( ! current_user_can( 'manage_options' ) ) {
251
- // Permissions message.
252
- wp_die( esc_html__( 'You do not have sufficient permissions to access this page.', 'simple-share-buttons-adder' ) );
253
- }
254
-
255
- // If a post has been made.
256
- if ( isset( $_POST['ssbaData'] ) ) { // WPCS: CSRF ok.
257
- // Get posted data.
258
- $ssba_post = $_POST['ssbaData']; // WPCS: CSRF ok.
259
- $selected_tab = isset( $_POST['ssba_selected_tab'] ) ? sanitize_text_field( wp_unslash( $_POST['ssba_selected_tab'] ) ) : ''; // WPCS: CSRF ok.
260
-
261
- parse_str( $ssba_post, $ssba_post );
262
-
263
- // If the nonce doesn't check out.
264
- if ( ! isset( $ssba_post['ssba_save_nonce'] ) || ! wp_verify_nonce( $ssba_post['ssba_save_nonce'], 'ssba_save_settings' ) ) {
265
- die( esc_html__( 'There was no nonce provided, or the one provided did not verify.', 'simple-share-buttons-adder' ) );
266
- }
267
-
268
- // Prepare array.
269
- $arr_options = array(
270
- 'ssba_image_set' => $ssba_post['ssba_image_set'],
271
- 'ssba_size' => $ssba_post['ssba_size'],
272
- 'ssba_omit_pages' => ( isset( $ssba_post['ssba_omit_pages'] ) ? $ssba_post['ssba_omit_pages'] : '' ),
273
- 'ssba_omit_pages_plus' => ( isset( $ssba_post['ssba_omit_pages_plus'] ) ? $ssba_post['ssba_omit_pages_plus'] : '' ),
274
- 'ssba_omit_pages_bar' => ( isset( $ssba_post['ssba_omit_pages_bar'] ) ? $ssba_post['ssba_omit_pages_bar'] : '' ),
275
- 'ssba_pages' => ( isset( $ssba_post['ssba_pages'] ) ? $ssba_post['ssba_pages'] : 'N' ),
276
- 'ssba_posts' => ( isset( $ssba_post['ssba_posts'] ) ? $ssba_post['ssba_posts'] : 'N' ),
277
- 'ssba_cats_archs' => ( isset( $ssba_post['ssba_cats_archs'] ) ? $ssba_post['ssba_cats_archs'] : 'N' ),
278
- 'ssba_homepage' => ( isset( $ssba_post['ssba_homepage'] ) ? $ssba_post['ssba_homepage'] : 'N' ),
279
- 'ssba_excerpts' => ( isset( $ssba_post['ssba_excerpts'] ) ? $ssba_post['ssba_excerpts'] : 'N' ),
280
- 'ssba_plus_pages' => ( isset( $ssba_post['ssba_plus_pages'] ) ? $ssba_post['ssba_plus_pages'] : 'N' ),
281
- 'ssba_plus_posts' => ( isset( $ssba_post['ssba_plus_posts'] ) ? $ssba_post['ssba_plus_posts'] : 'N' ),
282
- 'ssba_plus_cats_archs' => ( isset( $ssba_post['ssba_plus_cats_archs'] ) ? $ssba_post['ssba_plus_cats_archs'] : 'N' ),
283
- 'ssba_plus_homepage' => ( isset( $ssba_post['ssba_plus_homepage'] ) ? $ssba_post['ssba_plus_homepage'] : 'N' ),
284
- 'ssba_plus_excerpts' => ( isset( $ssba_post['ssba_plus_excerpts'] ) ? $ssba_post['ssba_plus_excerpts'] : 'N' ),
285
- 'ssba_bar_pages' => ( isset( $ssba_post['ssba_bar_pages'] ) ? $ssba_post['ssba_bar_pages'] : 'N' ),
286
- 'ssba_bar_posts' => ( isset( $ssba_post['ssba_bar_posts'] ) ? $ssba_post['ssba_bar_posts'] : 'N' ),
287
- 'ssba_bar_cats_archs' => ( isset( $ssba_post['ssba_bar_cats_archs'] ) ? $ssba_post['ssba_bar_cats_archs'] : 'N' ),
288
- 'ssba_bar_homepage' => ( isset( $ssba_post['ssba_bar_homepage'] ) ? $ssba_post['ssba_bar_homepage'] : 'N' ),
289
- 'ssba_bar_excerpts' => ( isset( $ssba_post['ssba_bar_excerpts'] ) ? $ssba_post['ssba_bar_excerpts'] : 'N' ),
290
- 'ssba_align' => ( isset( $ssba_post['ssba_align'] ) ? $ssba_post['ssba_align'] : 'N' ),
291
- 'ssba_plus_align' => ( isset( $ssba_post['ssba_plus_align'] ) ? $ssba_post['ssba_plus_align'] : 'N' ),
292
- 'ssba_padding' => $ssba_post['ssba_padding'],
293
- 'ssba_before_or_after' => $ssba_post['ssba_before_or_after'],
294
- 'ssba_before_or_after_plus' => $ssba_post['ssba_before_or_after_plus'],
295
- 'ssba_additional_css' => $ssba_post['ssba_additional_css'],
296
- 'ssba_custom_styles' => $ssba_post['ssba_custom_styles'],
297
- 'ssba_custom_styles_enabled' => $ssba_post['ssba_custom_styles_enabled'],
298
- 'ssba_email_message' => stripslashes_deep( $ssba_post['ssba_email_message'] ),
299
- 'ssba_twitter_text' => stripslashes_deep( $ssba_post['ssba_twitter_text'] ),
300
- 'ssba_buffer_text' => stripslashes_deep( $ssba_post['ssba_buffer_text'] ),
301
- 'ssba_flattr_user_id' => stripslashes_deep( $ssba_post['ssba_flattr_user_id'] ),
302
- 'ssba_flattr_url' => stripslashes_deep( $ssba_post['ssba_flattr_url'] ),
303
- 'ssba_share_new_window' => ( isset( $ssba_post['ssba_share_new_window'] ) ? $ssba_post['ssba_share_new_window'] : 'N' ),
304
- 'ssba_link_to_ssb' => ( isset( $ssba_post['ssba_link_to_ssb'] ) ? $ssba_post['ssba_link_to_ssb'] : 'N' ),
305
- 'ssba_show_share_count' => ( isset( $ssba_post['ssba_show_share_count'] ) ? $ssba_post['ssba_show_share_count'] : 'N' ),
306
- 'ssba_share_count_style' => $ssba_post['ssba_share_count_style'],
307
- 'ssba_share_count_css' => $ssba_post['ssba_share_count_css'],
308
- 'ssba_share_count_once' => ( isset( $ssba_post['ssba_share_count_once'] ) ? $ssba_post['ssba_share_count_once'] : 'N' ),
309
- 'ssba_widget_text' => $ssba_post['ssba_widget_text'],
310
- 'ssba_rel_nofollow' => ( isset( $ssba_post['ssba_rel_nofollow'] ) ? $ssba_post['ssba_rel_nofollow'] : 'N' ),
311
- 'ssba_default_pinterest' => ( isset( $ssba_post['ssba_default_pinterest'] ) ? $ssba_post['ssba_default_pinterest'] : 'N' ),
312
- 'ssba_pinterest_featured' => ( isset( $ssba_post['ssba_pinterest_featured'] ) ? $ssba_post['ssba_pinterest_featured'] : 'N' ),
313
- 'ssba_content_priority' => ( isset( $ssba_post['ssba_content_priority'] ) ? $ssba_post['ssba_content_priority'] : 'N' ),
314
- 'ssba_plus_additional_css' => $ssba_post['ssba_plus_additional_css'],
315
- 'ssba_plus_email_message' => stripslashes_deep( $ssba_post['ssba_plus_email_message'] ),
316
- 'ssba_plus_twitter_text' => stripslashes_deep( $ssba_post['ssba_plus_twitter_text'] ),
317
- 'ssba_plus_buffer_text' => stripslashes_deep( $ssba_post['ssba_plus_buffer_text'] ),
318
- 'ssba_plus_flattr_user_id' => stripslashes_deep( $ssba_post['ssba_plus_flattr_user_id'] ),
319
- 'ssba_plus_flattr_url' => stripslashes_deep( $ssba_post['ssba_plus_flattr_url'] ),
320
- 'ssba_plus_share_new_window' => ( isset( $ssba_post['ssba_plus_share_new_window'] ) ? $ssba_post['ssba_plus_share_new_window'] : 'N' ),
321
- 'ssba_plus_link_to_ssb' => ( isset( $ssba_post['ssba_plus_link_to_ssb'] ) ? $ssba_post['ssba_plus_link_to_ssb'] : 'N' ),
322
- 'ssba_plus_show_share_count' => ( isset( $ssba_post['ssba_plus_show_share_count'] ) ? $ssba_post['ssba_plus_show_share_count'] : 'N' ),
323
- 'ssba_plus_share_count_style' => $ssba_post['ssba_plus_share_count_style'],
324
- 'ssba_plus_share_count_css' => $ssba_post['ssba_plus_share_count_css'],
325
- 'ssba_plus_share_count_once' => ( isset( $ssba_post['ssba_plus_share_count_once'] ) ? $ssba_post['ssba_plus_share_count_once'] : 'N' ),
326
- 'ssba_plus_widget_text' => $ssba_post['ssba_plus_widget_text'],
327
- 'ssba_plus_rel_nofollow' => ( isset( $ssba_post['ssba_plus_rel_nofollow'] ) ? $ssba_post['ssba_plus_rel_nofollow'] : 'N' ),
328
- 'ssba_plus_default_pinterest' => ( isset( $ssba_post['ssba_plus_default_pinterest'] ) ? $ssba_post['ssba_plus_default_pinterest'] : 'N' ),
329
- 'ssba_plus_pinterest_featured' => ( isset( $ssba_post['ssba_plus_pinterest_featured'] ) ? $ssba_post['ssba_plus_pinterest_featured'] : 'N' ),
330
- 'ssba_bar_additional_css' => $ssba_post['ssba_bar_additional_css'],
331
- 'ssba_bar_email_message' => stripslashes_deep( $ssba_post['ssba_bar_email_message'] ),
332
- 'ssba_bar_twitter_text' => stripslashes_deep( $ssba_post['ssba_bar_twitter_text'] ),
333
- 'ssba_bar_buffer_text' => stripslashes_deep( $ssba_post['ssba_bar_buffer_text'] ),
334
- 'ssba_bar_flattr_user_id' => stripslashes_deep( $ssba_post['ssba_bar_flattr_user_id'] ),
335
- 'ssba_bar_flattr_url' => stripslashes_deep( $ssba_post['ssba_bar_flattr_url'] ),
336
- 'ssba_bar_share_new_window' => ( isset( $ssba_post['ssba_bar_share_new_window'] ) ? $ssba_post['ssba_bar_share_new_window'] : 'N' ),
337
- 'ssba_bar_link_to_ssb' => ( isset( $ssba_post['ssba_bar_link_to_ssb'] ) ? $ssba_post['ssba_bar_link_to_ssb'] : 'N' ),
338
- 'ssba_bar_show_share_count' => ( isset( $ssba_post['ssba_bar_show_share_count'] ) ? $ssba_post['ssba_bar_show_share_count'] : 'N' ),
339
- 'ssba_bar_share_count_style' => $ssba_post['ssba_bar_share_count_style'],
340
- 'ssba_bar_share_count_css' => $ssba_post['ssba_bar_share_count_css'],
341
- 'ssba_bar_share_count_once' => ( isset( $ssba_post['ssba_bar_share_count_once'] ) ? $ssba_post['ssba_bar_share_count_once'] : 'N' ),
342
- 'ssba_bar_widget_text' => $ssba_post['ssba_bar_widget_text'],
343
- 'ssba_bar_rel_nofollow' => ( isset( $ssba_post['ssba_bar_rel_nofollow'] ) ? $ssba_post['ssba_bar_rel_nofollow'] : 'N' ),
344
- 'ssba_bar_default_pinterest' => ( isset( $ssba_post['ssba_bar_default_pinterest'] ) ? $ssba_post['ssba_bar_default_pinterest'] : 'N' ),
345
- 'ssba_bar_pinterest_featured' => ( isset( $ssba_post['ssba_bar_pinterest_featured'] ) ? $ssba_post['ssba_bar_pinterest_featured'] : 'N' ),
346
-
347
- // Share container.
348
- 'ssba_div_padding' => $ssba_post['ssba_div_padding'],
349
- 'ssba_div_rounded_corners' => ( isset( $ssba_post['ssba_div_rounded_corners'] ) ? $ssba_post['ssba_div_rounded_corners'] : 'N' ),
350
- 'ssba_border_width' => $ssba_post['ssba_border_width'],
351
- 'ssba_div_border' => $ssba_post['ssba_div_border'],
352
- 'ssba_div_background' => $ssba_post['ssba_div_background'],
353
-
354
- // Text.
355
- 'ssba_share_text' => stripslashes_deep( $ssba_post['ssba_share_text'] ),
356
- 'ssba_text_placement' => $ssba_post['ssba_text_placement'],
357
- 'ssba_font_family' => $ssba_post['ssba_font_family'],
358
- 'ssba_font_color' => $ssba_post['ssba_font_color'],
359
- 'ssba_font_size' => $ssba_post['ssba_font_size'],
360
- 'ssba_font_weight' => $ssba_post['ssba_font_weight'],
361
- 'ssba_plus_share_text' => stripslashes_deep( $ssba_post['ssba_plus_share_text'] ),
362
- 'ssba_plus_text_placement' => $ssba_post['ssba_plus_text_placement'],
363
- 'ssba_plus_font_family' => $ssba_post['ssba_plus_font_family'],
364
- 'ssba_plus_font_color' => $ssba_post['ssba_plus_font_color'],
365
- 'ssba_plus_font_size' => $ssba_post['ssba_plus_font_size'],
366
- 'ssba_plus_font_weight' => $ssba_post['ssba_plus_font_weight'],
367
-
368
- // Included buttons.
369
- 'ssba_selected_buttons' => $ssba_post['ssba_selected_buttons'],
370
- 'ssba_selected_bar_buttons' => $ssba_post['ssba_selected_bar_buttons'],
371
- 'ssba_selected_plus_buttons' => $ssba_post['ssba_selected_plus_buttons'],
372
- 'ssba_plus_button_style' => $ssba_post['ssba_plus_button_style'],
373
- 'ssba_bar_style' => $ssba_post['ssba_bar_style'],
374
- 'ssba_new_buttons' => $ssba_post['ssba_new_buttons'],
375
- 'ssba_bar_enabled' => $ssba_post['ssba_bar_enabled'],
376
- 'ssba_bar_position' => $ssba_post['ssba_bar_position'],
377
- 'ssba_plus_height' => $ssba_post['ssba_plus_height'],
378
- 'ssba_plus_width' => $ssba_post['ssba_plus_width'],
379
- 'ssba_plus_margin' => $ssba_post['ssba_plus_margin'],
380
- 'ssba_plus_button_color' => $ssba_post['ssba_plus_button_color'],
381
- 'ssba_plus_button_hover_color' => $ssba_post['ssba_plus_button_hover_color'],
382
- 'ssba_plus_icon_size' => $ssba_post['ssba_plus_icon_size'],
383
- 'ssba_plus_icon_color' => $ssba_post['ssba_plus_icon_color'],
384
- 'ssba_plus_icon_hover_color' => $ssba_post['ssba_plus_icon_hover_color'],
385
- 'ssba_bar_height' => $ssba_post['ssba_bar_height'],
386
- 'ssba_bar_width' => $ssba_post['ssba_bar_width'],
387
- 'ssba_bar_button_color' => $ssba_post['ssba_bar_button_color'],
388
- 'ssba_bar_button_hover_color' => $ssba_post['ssba_bar_button_hover_color'],
389
- 'ssba_bar_icon_size' => $ssba_post['ssba_bar_icon_size'],
390
- 'ssba_bar_icon_color' => $ssba_post['ssba_bar_icon_color'],
391
- 'ssba_bar_icon_hover_color' => $ssba_post['ssba_bar_icon_hover_color'],
392
- 'ssba_bar_desktop' => isset( $ssba_post['ssba_bar_desktop'] ) ? $ssba_post['ssba_bar_desktop'] : 'N',
393
- 'ssba_bar_margin' => $ssba_post['ssba_bar_margin'],
394
- 'ssba_bar_mobile' => isset( $ssba_post['ssba_bar_mobile'] ) ? $ssba_post['ssba_bar_mobile'] : 'N',
395
- 'ssba_mobile_breakpoint' => $ssba_post['ssba_mobile_breakpoint'],
396
- 'ssba_custom_facebook' => $ssba_post['ssba_custom_facebook'],
397
- 'ssba_custom_twitter' => $ssba_post['ssba_custom_twitter'],
398
- 'ssba_custom_linkedin' => $ssba_post['ssba_custom_linkedin'],
399
- 'ssba_custom_flattr' => $ssba_post['ssba_custom_flattr'],
400
- 'ssba_custom_pinterest' => $ssba_post['ssba_custom_pinterest'],
401
- 'ssba_custom_print' => $ssba_post['ssba_custom_print'],
402
- 'ssba_custom_reddit' => $ssba_post['ssba_custom_reddit'],
403
- 'ssba_custom_stumbleupon' => $ssba_post['ssba_custom_stumbleupon'],
404
- 'ssba_custom_tumblr' => $ssba_post['ssba_custom_tumblr'],
405
- 'ssba_custom_vk' => $ssba_post['ssba_custom_vk'],
406
- 'ssba_custom_whatsapp' => $ssba_post['ssba_custom_whatsapp'],
407
- 'ssba_custom_xing' => $ssba_post['ssba_custom_xing'],
408
- 'ssba_custom_yummly' => $ssba_post['ssba_custom_yummly'],
409
- 'ssba_custom_email' => $ssba_post['ssba_custom_email'],
410
- 'ssba_custom_buffer' => $ssba_post['ssba_custom_buffer'],
411
- 'ssba_custom_diggit' => $ssba_post['ssba_custom_diggit'],
412
- 'ssba_custom_facebook_save' => $ssba_post['ssba_custom_facebook_save'],
413
-
414
- // Shared count.
415
- 'sharedcount_enabled' => isset( $ssba_post['sharedcount_enabled'] ) ? $ssba_post['sharedcount_enabled'] : 'N',
416
- 'sharedcount_api_key' => $ssba_post['sharedcount_api_key'],
417
- 'sharedcount_plan' => $ssba_post['sharedcount_plan'],
418
-
419
- // Facebook.
420
- 'facebook_insights' => $ssba_post['facebook_insights'],
421
- 'facebook_app_id' => $ssba_post['facebook_app_id'],
422
- 'ignore_facebook_sdk' => $ssba_post['ignore_facebook_sdk'],
423
- 'plus_facebook_insights' => $ssba_post['plus_facebook_insights'],
424
- 'plus_facebook_app_id' => $ssba_post['plus_facebook_app_id'],
425
- 'plus_ignore_facebook_sdk' => $ssba_post['plus_ignore_facebook_sdk'],
426
- 'bar_facebook_insights' => $ssba_post['bar_facebook_insights'],
427
- 'bar_facebook_app_id' => $ssba_post['bar_facebook_app_id'],
428
- );
429
-
430
- // Save the settings.
431
- $this->class_ssba->ssba_update_options( $arr_options );
432
-
433
- // Save selected tab.
434
- update_option( 'ssba_selected_tab', $selected_tab );
435
-
436
- // Return success.
437
- return true;
438
- } // End if().
439
-
440
- // Query the db for current ssba settings.
441
- $arr_settings = $this->class_ssba->get_ssba_settings();
442
-
443
- // Admin panel.
444
- $this->admin_panel->admin_panel( $arr_settings );
445
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
446
  }
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
+ class Admin_Bits
16
+ {
17
+
18
+ /**
19
+ * Plugin instance.
20
+ *
21
+ * @var object
22
+ */
23
+ public $plugin;
24
+
25
+ /**
26
+ * Simple_Share_Buttons_Adder instance.
27
+ *
28
+ * @var object
29
+ */
30
+ public $class_ssba;
31
+
32
+ /**
33
+ * Database instance.
34
+ *
35
+ * @var object
36
+ */
37
+ public $database;
38
+
39
+ /**
40
+ * Admin Panel instance.
41
+ *
42
+ * @var object
43
+ */
44
+ public $admin_panel;
45
+
46
+ /**
47
+ * Class constructor.
48
+ *
49
+ * @param object $plugin Plugin class.
50
+ * @param object $class_ssba Simple Share Buttons Adder class.
51
+ * @param object $database Database class.
52
+ * @param object $admin_panel Admin Panel class.
53
+ */
54
+ public function __construct($plugin, $class_ssba, $database, $admin_panel)
55
+ {
56
+ $this->plugin = $plugin;
57
+ $this->class_ssba = $class_ssba;
58
+ $this->database = $database;
59
+ $this->admin_panel = $admin_panel;
60
+ }
61
+
62
+ /**
63
+ * ShareThis terms notice detector.
64
+ *
65
+ * @action admin_notices
66
+ */
67
+ public function sharethisTermsNotice()
68
+ {
69
+ // If the sharethis terms have not yet been accepted.
70
+ if (isset($arr_settings['accepted_sharethis_terms'], $arr_settings['hide_share_this_terms']) && 'Y' !== $arr_settings['accepted_sharethis_terms'] && true !== $arr_settings['hide_sharethis_terms']) {
71
+ ?>
72
+ <div id="sharethis_terms_notice" class="update-nag notice is-dismissible">
73
+ <p>
74
+ <?php echo esc_html__('There are some', 'simple-share-buttons-adder'); ?>
75
+ <strong><?php echo esc_html__('great new features',
76
+ 'simple-share-buttons-adder'); ?></strong> <?php echo esc_html__('available with Simple Share Buttons Adder 6.3',
77
+ 'simple-share-buttons-adder'); ?>,
78
+ <?php echo esc_html__('such as an improved mobile Facebook sharing experience and Facebook analytics.
79
+ We\'ve updated our'); ?> <a href="http://simplesharebuttons.com/privacy"
80
+ target="_blank"><?php echo esc_html__('privacy policy and terms of use',
81
+ 'simple-share-buttons-adder'); ?></a> <?php echo esc_html__('with important changes you should review. To take advantage of the new features, please review and accept the new',
82
+ 'simple-share-buttons-adder'); ?> <a href="http://simplesharebuttons.com/privacy"
83
+ target="_blank">terms and privacy policy</a>.
84
+ <a href="options-general.php?page=simple-share-buttons-adder&accept-terms=Y">
85
  <span class="button button-primary">
86
+ <?php echo esc_html__('I accept', 'simple-share-buttons-adder'); ?>
87
  </span>
88
+ </a>
89
+ </p>
90
+ </div>
91
+ <script type="text/javascript">
92
+ jQuery( '#sharethis_terms_notice' ).on( 'click', '.notice-dismiss', function ( event ) {
93
+ jQuery.post( ajaxurl, { action: 'ssba_hide_terms' } );
94
+ } );
95
+ </script>
96
+ <?php
97
+ }
98
+ }
99
+
100
+ /**
101
+ * Add settings link on plugin page.
102
+ *
103
+ * @filter plugin_action_links_simple-share-buttons-adder
104
+ *
105
+ * @param array $links The supplied links.
106
+ *
107
+ * @return mixed
108
+ */
109
+ public function ssbaSettingsLink($links)
110
+ {
111
+ // Add to plugins links.
112
+ array_unshift($links,
113
+ '<a href="options-general.php?page=simple-share-buttons-adder">' . esc_html__('Settings') . '</a>');
114
+
115
+ return $links;
116
+ }
117
+
118
+ /**
119
+ * Hides the terms agreement at user's request.
120
+ *
121
+ * @action wp_ajax_ssba_hide_term
122
+ */
123
+ public function ssbaAdminHideCallback()
124
+ {
125
+ $this->class_ssba->ssba_update_options(array(
126
+ 'hide_sharethis_terms' => true,
127
+ ));
128
+ wp_die();
129
+ }
130
+
131
+ /**
132
+ * AJAX Call for adding hide option to review popup.
133
+ *
134
+ * @action wp_ajax_ssba_ajax_hide_review
135
+ *
136
+ * @param $post
137
+ */
138
+ public function ssbaAjaxHideReview($post)
139
+ {
140
+ update_option('ssba-hide-review', true);
141
+
142
+ wp_send_json_success('hidden');
143
+ }
144
+
145
+ /**
146
+ * Includes js/css files and upload script.
147
+ *
148
+ * @param string $hook_suffix The current admin page hook suffix.
149
+ *
150
+ * @action admin_enqueue_scripts
151
+ */
152
+ public function enqueueAdminAssets($hook_suffix)
153
+ {
154
+ $current_url = $this->plugin->dir_url . 'buttons/';
155
+
156
+ if ($this->hook_suffix === $hook_suffix) {
157
+ // All extra scripts needed.
158
+ wp_enqueue_media();
159
+ wp_enqueue_script('media-upload');
160
+ wp_enqueue_script('jquery-ui-sortable');
161
+ wp_enqueue_script('jquery-ui');
162
+ wp_enqueue_script("{$this->plugin->assets_prefix}-bootstrap-js");
163
+ wp_enqueue_script("{$this->plugin->assets_prefix}-colorpicker");
164
+ wp_enqueue_script("{$this->plugin->assets_prefix}-switch");
165
+ wp_enqueue_script("{$this->plugin->assets_prefix}-admin");
166
+ wp_add_inline_script("{$this->plugin->assets_prefix}-admin", sprintf('%s.boot( %s );',
167
+ __NAMESPACE__,
168
+ wp_json_encode(array(
169
+ 'site' => $current_url,
170
+ 'nonce' => wp_create_nonce($this->plugin->meta_prefix),
171
+ ))
172
+ ));
173
+
174
+ // Get sbba settings.
175
+ $arr_settings = $this->class_ssba->get_ssba_settings();
176
+
177
+ $custom_css = ! empty($arr_settings['ssba_additional_css']) ? $arr_settings['ssba_additional_css'] : '';
178
+ $custom_css .= ! empty($arr_settings['ssba_plus_additional_css']) ? $arr_settings['ssba_plus_additional_css'] : '';
179
+ $custom_css .= ! empty($arr_settings['ssba_bar_additional_css']) ? $arr_settings['ssba_bar_additional_css'] : '';
180
+
181
+ wp_add_inline_style("{$this->plugin->assets_prefix}-admin-theme", $custom_css);
182
+
183
+ // Admin styles.
184
+ wp_enqueue_style("{$this->plugin->assets_prefix}-readable");
185
+ wp_enqueue_style("{$this->plugin->assets_prefix}-colorpicker");
186
+ wp_enqueue_style("{$this->plugin->assets_prefix}-switch");
187
+ wp_enqueue_style("{$this->plugin->assets_prefix}-font-awesome");
188
+ wp_enqueue_style("{$this->plugin->assets_prefix}-admin-theme");
189
+ wp_enqueue_style("{$this->plugin->assets_prefix}-styles");
190
+ }
191
+ }
192
+
193
+ /**
194
+ * Save dismiss notice status.
195
+ *
196
+ * @action wp_ajax_dismiss_notice
197
+ */
198
+ public function dismissNotice()
199
+ {
200
+ check_ajax_referer($this->plugin->meta_prefix, 'nonce');
201
+
202
+ if (! isset($_POST['type']) || '' === $_POST['type']) { // WPCS: input var okay.
203
+ wp_send_json_error('dismiss notice failed');
204
+ }
205
+
206
+ $type = sanitize_text_field(wp_unslash($_POST['type']));
207
+ $current_notices = get_option('ssba_dismiss_notice');
208
+ $current_notices = null !== $current_notices && false !== $current_notices && '' !== $current_notices ? $current_notices : '';
209
+
210
+ if ('' !== $current_notices) {
211
+ $new_notice = array_merge($current_notices, array(
212
+ $type => false,
213
+ ));
214
+ } else {
215
+ $new_notice = array(
216
+ $type => false,
217
+ );
218
+ }
219
+
220
+ update_option('ssba_dismiss_notice', $new_notice);
221
+ }
222
+
223
+
224
+ /**
225
+ * Register the new simple share button adder menu dashboard link.
226
+ *
227
+ * @action admin_menu
228
+ */
229
+ public function addSsbaMenu()
230
+ {
231
+ $icon = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMjcyLjAwMDAwMHB0IiBoZWlnaHQ9IjIzNi4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDI3Mi4wMDAwMDAgMjM2LjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsMjM2LjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzAwMDAwMCIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTk3NSAyMjkzIGMtMTQwIC0xNiAtMjQ2IC00OCAtMzY5IC0xMTEgLTI3NSAtMTQxIC00NjEgLTM5MCAtNTI3Ci03MDcgLTE2IC03NyAtMTYgLTI4MyAwIC0zNjAgODIgLTM5NCAzNTkgLTY5MSA3MzcgLTc5MCAxNjQgLTQzIDM1MSAtNDEgNTI2CjYgMTE0IDMxIDExNSAzMiA4NyAxMTAgLTEyIDM1IC0yMyA2NSAtMjQgNjYgLTEgMiAtMjUgLTYgLTUzIC0xNyAtMTE1IC00NAotMjkxIC02MCAtNDIyIC00MCAtMjg3IDQ2IC01MjUgMjI2IC02NDkgNDkyIC01MyAxMTEgLTcwIDE4MyAtNzggMzA4IC0xNCAyNDgKNjYgNDY1IDIzNSA2NDIgMTc5IDE4OCA0MDMgMjc3IDY2MSAyNjUgNjQgLTMgMTQxIC0xMiAxNzEgLTIwIDI1MyAtNzAgNDQxCi0yMTkgNTU4IC00NDUgNDcgLTg5IDkyIC0yNDcgOTIgLTMyMCBsMCAtNDUgNTMgNyBjMjggMyA2MyA2IDc2IDYgMjMgMCAyMyAxCjE3IDYzIC0xNyAxNTIgLTkzIDM1MyAtMTgwIDQ3MiAtOTQgMTMwIC0yNTcgMjY0IC00MDAgMzMwIC0xNTIgNzEgLTM1OSAxMDYKLTUxMSA4OHoiLz4KPHBhdGggZD0iTTg3MCAyMDcwIGMtMjIxIC01OSAtNDA5IC0yMDYgLTUwOSAtNDAwIC02MiAtMTE5IC04MiAtMTk4IC04OCAtMzM1Ci01IC0xMzMgOCAtMjIwIDUwIC0zMjUgNzkgLTE5NCAyNTAgLTM2NyA0NDAgLTQ0MyAxNjcgLTY3IDM3NiAtNzUgNTM3IC0yMQpsODUgMjkgNiAxMTAgYzE2IDI2NiAxNDYgNDY4IDM3NiA1ODIgbDkyIDQ2IC01IDUxIGMtMzMgMzI1IC0yNDIgNTg5IC01NDkKNjkyIC02OCAyMiAtMTAxIDI3IC0yMjAgMzAgLTExNyAzIC0xNTMgMSAtMjE1IC0xNnogbTU4IC01MjUgYzM4IC0zMiA0OCAtNzIKMjggLTExOCAtNDUgLTEwOCAtMTk1IC03NiAtMTk2IDQxIDAgOTAgOTkgMTM1IDE2OCA3N3ogbTM3MiAxMCBjMzcgLTE5IDUwCi00MyA1MCAtOTUgMCAtNTcgLTQyIC0xMDAgLTk3IC0xMDAgLTEwMSAwIC0xNDggMTIwIC03MiAxODQgMzUgMzAgNzYgMzMgMTE5CjExeiBtLTM2MCAtNDEyIGM0MiAtMzkgNDkgLTg3IDE4IC0xMzMgLTM5IC01OCAtMTE0IC02NSAtMTY0IC0xNSAtMTggMTkgLTI0CjM1IC0yNCA3MCAwIDk1IDEwMCAxNDAgMTcwIDc4eiBtMzY5IDEzIGM1OCAtMzAgNjkgLTExOSAyMiAtMTY3IC0yMyAtMjMgLTM4Ci0yOSAtNzEgLTI5IC0zNSAwIC00OCA2IC03NyAzNSAtMzIgMzIgLTM1IDQwIC0zMCA3NiAxMSA4MSA4NSAxMjEgMTU2IDg1eiIvPgo8cGF0aCBkPSJNMTkxMiAxMjUwIGMtMTEwIC0yOSAtMTg3IC03NSAtMjczIC0xNjAgLTEyMiAtMTIwIC0xNzkgLTI1NiAtMTc5Ci00MjUgMCAtMTcwIDU3IC0zMDMgMTgxIC00MjYgMzQwIC0zNDAgOTA5IC0xNjggMTAxNCAzMDUgNjUgMjkyIC0xMDggNTkyCi0zOTcgNjkzIC0xMDIgMzUgLTI0NSA0MSAtMzQ2IDEzeiBtMTk4IC0zNjkgYzUgLTExIDEwIC00OSAxMCAtODUgbDAgLTY2IDc3CjAgYzg5IDAgMTEzIC0xNCAxMTMgLTY2IDAgLTQ4IC0yOCAtNjQgLTExNyAtNjQgbC03MyAwIDAgLTgyIGMwIC05MCAtMTQgLTExOAotNTcgLTExOCAtNTUgMCAtNjMgMTMgLTYzIDExMCBsMCA5MCAtNzMgMCBjLTg5IDAgLTExNyAxNSAtMTE3IDY1IDAgNTMgMjAgNjUKMTExIDY1IGw3OSAwIDAgNzMgYzAgNDMgNSA3OCAxMiA4NSAyMCAyMCA4NiAxNSA5OCAtN3oiLz4KPC9nPgo8L3N2Zz4K';
232
+
233
+ add_menu_page(
234
+ 'Simple Share Buttons Adder',
235
+ 'Simple Share Buttons',
236
+ 'manage_options',
237
+ 'simple-share-buttons-adder',
238
+ array($this, 'ssbaSettings'),
239
+ $icon,
240
+ 26
241
+ );
242
+ }
243
+
244
+ /**
245
+ * Menu settings.
246
+ *
247
+ * @action admin_menu
248
+ */
249
+ public function ssbaMenu()
250
+ {
251
+ // Add menu page.
252
+ $this->hook_suffix = add_options_page(
253
+ esc_html__('Simple Share Buttons Adder', 'simple-share-buttons-adder'),
254
+ esc_html__('Simple Share Buttons', 'simple-share-buttons-adder'),
255
+ 'manage_options',
256
+ $this->plugin->assets_prefix,
257
+ array($this, 'ssbaSettings')
258
+ );
259
+
260
+ // Query the db for current ssba settings.
261
+ $arr_settings = $this->class_ssba->get_ssba_settings();
262
+
263
+ // Get the current version.
264
+ $version = get_option('ssba_version');
265
+
266
+ // There was a version set.
267
+ if (false !== $version) {
268
+ // Check if not updated to current version.
269
+ if ($version < SSBA_VERSION) {
270
+ // Run the upgrade function.
271
+ $this->database->upgrade_ssba($arr_settings, $version);
272
+ }
273
+ }
274
+ }
275
+
276
+ /**
277
+ * Answer form.
278
+ *
279
+ * @return bool
280
+ */
281
+ public function ssbaSettings()
282
+ {
283
+ // Check if user has the rights to manage options.
284
+ if ( ! current_user_can('manage_options')) {
285
+ // Permissions message.
286
+ wp_die(esc_html__('You do not have sufficient permissions to access this page.',
287
+ 'simple-share-buttons-adder'));
288
+ }
289
+
290
+ // If a post has been made.
291
+ if (isset($_POST['ssbaData'])) { // WPCS: CSRF ok.
292
+ // Get posted data.
293
+ $ssba_post = $_POST['ssbaData']; // WPCS: CSRF ok.
294
+ $selected_tab = isset($_POST['ssba_selected_tab']) ? sanitize_text_field(wp_unslash($_POST['ssba_selected_tab'])) : ''; // WPCS: CSRF ok.
295
+
296
+ parse_str($ssba_post, $ssba_post);
297
+
298
+ // If the nonce doesn't check out.
299
+ if ( ! isset($ssba_post['ssba_save_nonce']) || ! wp_verify_nonce($ssba_post['ssba_save_nonce'],
300
+ 'ssba_save_settings')) {
301
+ die(esc_html__('There was no nonce provided, or the one provided did not verify.',
302
+ 'simple-share-buttons-adder'));
303
+ }
304
+
305
+ // Prepare array.
306
+ $arr_options = array(
307
+ 'ssba_image_set' => $ssba_post['ssba_image_set'],
308
+ 'ssba_size' => $ssba_post['ssba_size'],
309
+ 'ssba_omit_pages' => (isset($ssba_post['ssba_omit_pages']) ? $ssba_post['ssba_omit_pages'] : ''),
310
+ 'ssba_omit_pages_plus' => (isset($ssba_post['ssba_omit_pages_plus']) ? $ssba_post['ssba_omit_pages_plus'] : ''),
311
+ 'ssba_omit_pages_bar' => (isset($ssba_post['ssba_omit_pages_bar']) ? $ssba_post['ssba_omit_pages_bar'] : ''),
312
+ 'ssba_pages' => (isset($ssba_post['ssba_pages']) ? $ssba_post['ssba_pages'] : 'N'),
313
+ 'ssba_posts' => (isset($ssba_post['ssba_posts']) ? $ssba_post['ssba_posts'] : 'N'),
314
+ 'ssba_cats_archs' => (isset($ssba_post['ssba_cats_archs']) ? $ssba_post['ssba_cats_archs'] : 'N'),
315
+ 'ssba_homepage' => (isset($ssba_post['ssba_homepage']) ? $ssba_post['ssba_homepage'] : 'N'),
316
+ 'ssba_excerpts' => (isset($ssba_post['ssba_excerpts']) ? $ssba_post['ssba_excerpts'] : 'N'),
317
+ 'ssba_plus_pages' => (isset($ssba_post['ssba_plus_pages']) ? $ssba_post['ssba_plus_pages'] : 'N'),
318
+ 'ssba_plus_posts' => (isset($ssba_post['ssba_plus_posts']) ? $ssba_post['ssba_plus_posts'] : 'N'),
319
+ 'ssba_plus_cats_archs' => (isset($ssba_post['ssba_plus_cats_archs']) ? $ssba_post['ssba_plus_cats_archs'] : 'N'),
320
+ 'ssba_plus_homepage' => (isset($ssba_post['ssba_plus_homepage']) ? $ssba_post['ssba_plus_homepage'] : 'N'),
321
+ 'ssba_plus_excerpts' => (isset($ssba_post['ssba_plus_excerpts']) ? $ssba_post['ssba_plus_excerpts'] : 'N'),
322
+ 'ssba_bar_pages' => (isset($ssba_post['ssba_bar_pages']) ? $ssba_post['ssba_bar_pages'] : 'N'),
323
+ 'ssba_bar_posts' => (isset($ssba_post['ssba_bar_posts']) ? $ssba_post['ssba_bar_posts'] : 'N'),
324
+ 'ssba_bar_cats_archs' => (isset($ssba_post['ssba_bar_cats_archs']) ? $ssba_post['ssba_bar_cats_archs'] : 'N'),
325
+ 'ssba_bar_homepage' => (isset($ssba_post['ssba_bar_homepage']) ? $ssba_post['ssba_bar_homepage'] : 'N'),
326
+ 'ssba_bar_excerpts' => (isset($ssba_post['ssba_bar_excerpts']) ? $ssba_post['ssba_bar_excerpts'] : 'N'),
327
+ 'ssba_align' => (isset($ssba_post['ssba_align']) ? $ssba_post['ssba_align'] : 'N'),
328
+ 'ssba_plus_align' => (isset($ssba_post['ssba_plus_align']) ? $ssba_post['ssba_plus_align'] : 'N'),
329
+ 'ssba_padding' => $ssba_post['ssba_padding'],
330
+ 'ssba_before_or_after' => $ssba_post['ssba_before_or_after'],
331
+ 'ssba_before_or_after_plus' => $ssba_post['ssba_before_or_after_plus'],
332
+ 'ssba_additional_css' => $ssba_post['ssba_additional_css'],
333
+ 'ssba_custom_styles' => $ssba_post['ssba_custom_styles'],
334
+ 'ssba_custom_styles_enabled' => $ssba_post['ssba_custom_styles_enabled'],
335
+ 'ssba_email_message' => stripslashes_deep($ssba_post['ssba_email_message']),
336
+ 'ssba_twitter_text' => stripslashes_deep($ssba_post['ssba_twitter_text']),
337
+ 'ssba_buffer_text' => stripslashes_deep($ssba_post['ssba_buffer_text']),
338
+ 'ssba_flattr_user_id' => stripslashes_deep($ssba_post['ssba_flattr_user_id']),
339
+ 'ssba_flattr_url' => stripslashes_deep($ssba_post['ssba_flattr_url']),
340
+ 'ssba_share_new_window' => (isset($ssba_post['ssba_share_new_window']) ? $ssba_post['ssba_share_new_window'] : 'N'),
341
+ 'ssba_link_to_ssb' => (isset($ssba_post['ssba_link_to_ssb']) ? $ssba_post['ssba_link_to_ssb'] : 'N'),
342
+ 'ssba_show_share_count' => (isset($ssba_post['ssba_show_share_count']) ? $ssba_post['ssba_show_share_count'] : 'N'),
343
+ 'ssba_share_count_style' => $ssba_post['ssba_share_count_style'],
344
+ 'ssba_share_count_css' => $ssba_post['ssba_share_count_css'],
345
+ 'ssba_share_count_once' => (isset($ssba_post['ssba_share_count_once']) ? $ssba_post['ssba_share_count_once'] : 'N'),
346
+ 'ssba_widget_text' => $ssba_post['ssba_widget_text'],
347
+ 'ssba_rel_nofollow' => (isset($ssba_post['ssba_rel_nofollow']) ? $ssba_post['ssba_rel_nofollow'] : 'N'),
348
+ 'ssba_default_pinterest' => (isset($ssba_post['ssba_default_pinterest']) ? $ssba_post['ssba_default_pinterest'] : 'N'),
349
+ 'ssba_pinterest_featured' => (isset($ssba_post['ssba_pinterest_featured']) ? $ssba_post['ssba_pinterest_featured'] : 'N'),
350
+ 'ssba_content_priority' => (isset($ssba_post['ssba_content_priority']) ? $ssba_post['ssba_content_priority'] : 'N'),
351
+ 'ssba_plus_additional_css' => $ssba_post['ssba_plus_additional_css'],
352
+ 'ssba_plus_email_message' => stripslashes_deep($ssba_post['ssba_plus_email_message']),
353
+ 'ssba_plus_twitter_text' => stripslashes_deep($ssba_post['ssba_plus_twitter_text']),
354
+ 'ssba_plus_buffer_text' => stripslashes_deep($ssba_post['ssba_plus_buffer_text']),
355
+ 'ssba_plus_flattr_user_id' => stripslashes_deep($ssba_post['ssba_plus_flattr_user_id']),
356
+ 'ssba_plus_flattr_url' => stripslashes_deep($ssba_post['ssba_plus_flattr_url']),
357
+ 'ssba_plus_share_new_window' => (isset($ssba_post['ssba_plus_share_new_window']) ? $ssba_post['ssba_plus_share_new_window'] : 'N'),
358
+ 'ssba_plus_link_to_ssb' => (isset($ssba_post['ssba_plus_link_to_ssb']) ? $ssba_post['ssba_plus_link_to_ssb'] : 'N'),
359
+ 'ssba_plus_show_share_count' => (isset($ssba_post['ssba_plus_show_share_count']) ? $ssba_post['ssba_plus_show_share_count'] : 'N'),
360
+ 'ssba_plus_share_count_style' => $ssba_post['ssba_plus_share_count_style'],
361
+ 'ssba_plus_share_count_css' => $ssba_post['ssba_plus_share_count_css'],
362
+ 'ssba_plus_share_count_once' => (isset($ssba_post['ssba_plus_share_count_once']) ? $ssba_post['ssba_plus_share_count_once'] : 'N'),
363
+ 'ssba_plus_widget_text' => $ssba_post['ssba_plus_widget_text'],
364
+ 'ssba_plus_rel_nofollow' => (isset($ssba_post['ssba_plus_rel_nofollow']) ? $ssba_post['ssba_plus_rel_nofollow'] : 'N'),
365
+ 'ssba_plus_default_pinterest' => (isset($ssba_post['ssba_plus_default_pinterest']) ? $ssba_post['ssba_plus_default_pinterest'] : 'N'),
366
+ 'ssba_plus_pinterest_featured' => (isset($ssba_post['ssba_plus_pinterest_featured']) ? $ssba_post['ssba_plus_pinterest_featured'] : 'N'),
367
+ 'ssba_bar_additional_css' => $ssba_post['ssba_bar_additional_css'],
368
+ 'ssba_bar_email_message' => stripslashes_deep($ssba_post['ssba_bar_email_message']),
369
+ 'ssba_bar_twitter_text' => stripslashes_deep($ssba_post['ssba_bar_twitter_text']),
370
+ 'ssba_bar_buffer_text' => stripslashes_deep($ssba_post['ssba_bar_buffer_text']),
371
+ 'ssba_bar_flattr_user_id' => stripslashes_deep($ssba_post['ssba_bar_flattr_user_id']),
372
+ 'ssba_bar_flattr_url' => stripslashes_deep($ssba_post['ssba_bar_flattr_url']),
373
+ 'ssba_bar_share_new_window' => (isset($ssba_post['ssba_bar_share_new_window']) ? $ssba_post['ssba_bar_share_new_window'] : 'N'),
374
+ 'ssba_bar_link_to_ssb' => (isset($ssba_post['ssba_bar_link_to_ssb']) ? $ssba_post['ssba_bar_link_to_ssb'] : 'N'),
375
+ 'ssba_bar_show_share_count' => (isset($ssba_post['ssba_bar_show_share_count']) ? $ssba_post['ssba_bar_show_share_count'] : 'N'),
376
+ 'ssba_bar_share_count_style' => $ssba_post['ssba_bar_share_count_style'],
377
+ 'ssba_bar_share_count_css' => $ssba_post['ssba_bar_share_count_css'],
378
+ 'ssba_bar_share_count_once' => (isset($ssba_post['ssba_bar_share_count_once']) ? $ssba_post['ssba_bar_share_count_once'] : 'N'),
379
+ 'ssba_bar_widget_text' => $ssba_post['ssba_bar_widget_text'],
380
+ 'ssba_bar_rel_nofollow' => (isset($ssba_post['ssba_bar_rel_nofollow']) ? $ssba_post['ssba_bar_rel_nofollow'] : 'N'),
381
+ 'ssba_bar_default_pinterest' => (isset($ssba_post['ssba_bar_default_pinterest']) ? $ssba_post['ssba_bar_default_pinterest'] : 'N'),
382
+ 'ssba_bar_pinterest_featured' => (isset($ssba_post['ssba_bar_pinterest_featured']) ? $ssba_post['ssba_bar_pinterest_featured'] : 'N'),
383
+
384
+ // Share container.
385
+ 'ssba_div_padding' => $ssba_post['ssba_div_padding'],
386
+ 'ssba_div_rounded_corners' => (isset($ssba_post['ssba_div_rounded_corners']) ? $ssba_post['ssba_div_rounded_corners'] : 'N'),
387
+ 'ssba_border_width' => $ssba_post['ssba_border_width'],
388
+ 'ssba_div_border' => $ssba_post['ssba_div_border'],
389
+ 'ssba_div_background' => $ssba_post['ssba_div_background'],
390
+
391
+ // Text.
392
+ 'ssba_share_text' => stripslashes_deep($ssba_post['ssba_share_text']),
393
+ 'ssba_text_placement' => $ssba_post['ssba_text_placement'],
394
+ 'ssba_font_family' => $ssba_post['ssba_font_family'],
395
+ 'ssba_font_color' => $ssba_post['ssba_font_color'],
396
+ 'ssba_font_size' => $ssba_post['ssba_font_size'],
397
+ 'ssba_font_weight' => $ssba_post['ssba_font_weight'],
398
+ 'ssba_plus_share_text' => stripslashes_deep($ssba_post['ssba_plus_share_text']),
399
+ 'ssba_plus_text_placement' => $ssba_post['ssba_plus_text_placement'],
400
+ 'ssba_plus_font_family' => $ssba_post['ssba_plus_font_family'],
401
+ 'ssba_plus_font_color' => $ssba_post['ssba_plus_font_color'],
402
+ 'ssba_plus_font_size' => $ssba_post['ssba_plus_font_size'],
403
+ 'ssba_plus_font_weight' => $ssba_post['ssba_plus_font_weight'],
404
+
405
+ // Included buttons.
406
+ 'ssba_selected_buttons' => $ssba_post['ssba_selected_buttons'],
407
+ 'ssba_selected_bar_buttons' => $ssba_post['ssba_selected_bar_buttons'],
408
+ 'ssba_selected_plus_buttons' => $ssba_post['ssba_selected_plus_buttons'],
409
+ 'ssba_plus_button_style' => $ssba_post['ssba_plus_button_style'],
410
+ 'ssba_bar_style' => $ssba_post['ssba_bar_style'],
411
+ 'ssba_new_buttons' => $ssba_post['ssba_new_buttons'],
412
+ 'ssba_bar_enabled' => $ssba_post['ssba_bar_enabled'],
413
+ 'ssba_bar_position' => $ssba_post['ssba_bar_position'],
414
+ 'ssba_plus_height' => $ssba_post['ssba_plus_height'],
415
+ 'ssba_plus_width' => $ssba_post['ssba_plus_width'],
416
+ 'ssba_plus_margin' => $ssba_post['ssba_plus_margin'],
417
+ 'ssba_plus_button_color' => $ssba_post['ssba_plus_button_color'],
418
+ 'ssba_plus_button_hover_color' => $ssba_post['ssba_plus_button_hover_color'],
419
+ 'ssba_plus_icon_size' => $ssba_post['ssba_plus_icon_size'],
420
+ 'ssba_plus_icon_color' => $ssba_post['ssba_plus_icon_color'],
421
+ 'ssba_plus_icon_hover_color' => $ssba_post['ssba_plus_icon_hover_color'],
422
+ 'ssba_bar_height' => $ssba_post['ssba_bar_height'],
423
+ 'ssba_bar_width' => $ssba_post['ssba_bar_width'],
424
+ 'ssba_bar_button_color' => $ssba_post['ssba_bar_button_color'],
425
+ 'ssba_bar_button_hover_color' => $ssba_post['ssba_bar_button_hover_color'],
426
+ 'ssba_bar_icon_size' => $ssba_post['ssba_bar_icon_size'],
427
+ 'ssba_bar_icon_color' => $ssba_post['ssba_bar_icon_color'],
428
+ 'ssba_bar_icon_hover_color' => $ssba_post['ssba_bar_icon_hover_color'],
429
+ 'ssba_bar_desktop' => isset($ssba_post['ssba_bar_desktop']) ? $ssba_post['ssba_bar_desktop'] : 'N',
430
+ 'ssba_bar_margin' => $ssba_post['ssba_bar_margin'],
431
+ 'ssba_bar_mobile' => isset($ssba_post['ssba_bar_mobile']) ? $ssba_post['ssba_bar_mobile'] : 'N',
432
+ 'ssba_mobile_breakpoint' => $ssba_post['ssba_mobile_breakpoint'],
433
+ 'ssba_custom_facebook' => $ssba_post['ssba_custom_facebook'],
434
+ 'ssba_custom_twitter' => $ssba_post['ssba_custom_twitter'],
435
+ 'ssba_custom_linkedin' => $ssba_post['ssba_custom_linkedin'],
436
+ 'ssba_custom_flattr' => $ssba_post['ssba_custom_flattr'],
437
+ 'ssba_custom_pinterest' => $ssba_post['ssba_custom_pinterest'],
438
+ 'ssba_custom_print' => $ssba_post['ssba_custom_print'],
439
+ 'ssba_custom_reddit' => $ssba_post['ssba_custom_reddit'],
440
+ 'ssba_custom_stumbleupon' => $ssba_post['ssba_custom_stumbleupon'],
441
+ 'ssba_custom_tumblr' => $ssba_post['ssba_custom_tumblr'],
442
+ 'ssba_custom_vk' => $ssba_post['ssba_custom_vk'],
443
+ 'ssba_custom_whatsapp' => $ssba_post['ssba_custom_whatsapp'],
444
+ 'ssba_custom_xing' => $ssba_post['ssba_custom_xing'],
445
+ 'ssba_custom_yummly' => $ssba_post['ssba_custom_yummly'],
446
+ 'ssba_custom_email' => $ssba_post['ssba_custom_email'],
447
+ 'ssba_custom_buffer' => $ssba_post['ssba_custom_buffer'],
448
+ 'ssba_custom_diggit' => $ssba_post['ssba_custom_diggit'],
449
+ 'ssba_custom_facebook_save' => $ssba_post['ssba_custom_facebook_save'],
450
+
451
+ // Shared count.
452
+ 'sharedcount_enabled' => isset($ssba_post['sharedcount_enabled']) ? $ssba_post['sharedcount_enabled'] : 'N',
453
+ 'sharedcount_api_key' => $ssba_post['sharedcount_api_key'],
454
+ 'sharedcount_plan' => $ssba_post['sharedcount_plan'],
455
+
456
+ // Facebook.
457
+ 'facebook_insights' => $ssba_post['facebook_insights'],
458
+ 'facebook_app_id' => $ssba_post['facebook_app_id'],
459
+ 'ignore_facebook_sdk' => $ssba_post['ignore_facebook_sdk'],
460
+ 'plus_facebook_insights' => $ssba_post['plus_facebook_insights'],
461
+ 'plus_facebook_app_id' => $ssba_post['plus_facebook_app_id'],
462
+ 'plus_ignore_facebook_sdk' => $ssba_post['plus_ignore_facebook_sdk'],
463
+ 'bar_facebook_insights' => $ssba_post['bar_facebook_insights'],
464
+ 'bar_facebook_app_id' => $ssba_post['bar_facebook_app_id'],
465
+ );
466
+
467
+ // Save the settings.
468
+ $this->class_ssba->ssba_update_options($arr_options);
469
+
470
+ // Save selected tab.
471
+ update_option('ssba_selected_tab', $selected_tab);
472
+
473
+ // Return success.
474
+ return true;
475
+ } // End if().
476
+
477
+ // Query the db for current ssba settings.
478
+ $arr_settings = $this->class_ssba->get_ssba_settings();
479
+
480
+ // Admin panel.
481
+ $this->admin_panel->admin_panel($arr_settings);
482
+ }
483
  }
php/class-admin-panel.php CHANGED
@@ -12,1732 +12,1765 @@ namespace SimpleShareButtonsAdder;
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
- class Admin_Panel {
16
-
17
- /**
18
- * Plugin instance.
19
- *
20
- * @var object
21
- */
22
- public $plugin;
23
-
24
- /**
25
- * Simple Share Buttons Adder instance.
26
- *
27
- * @var object
28
- */
29
- public $class_ssba;
30
-
31
- /**
32
- * Widget Class instance.
33
- *
34
- * @var object
35
- */
36
- public $widget_class;
37
-
38
- /**
39
- * Forms instance.
40
- *
41
- * @var object
42
- */
43
- public $forms;
44
-
45
- /**
46
- * Admin_Panel constructor.
47
- *
48
- * @param object $plugin Plugin instance.
49
- * @param object $class_ssba Simple Share Buttons Adder instance.
50
- * @param object $forms Forms instance.
51
- */
52
- public function __construct( $plugin, $class_ssba, $forms, $widget_class ) {
53
- $this->plugin = $plugin;
54
- $this->class_ssba = $class_ssba;
55
- $this->forms = $forms;
56
- $this->widget_class = $widget_class;
57
- }
58
-
59
- /**
60
- * Display the admin header.
61
- */
62
- public function admin_header() {
63
- include_once( "{$this->plugin->dir_path}/templates/admin-header.php" );
64
- }
65
-
66
- /**
67
- * Display the admin footer.
68
- */
69
- public function admin_footer() {
70
- include_once( "{$this->plugin->dir_path}/templates/admin-footer.php" );
71
- }
72
-
73
- /**
74
- * Enqueue the custom gutenberg block script.
75
- *
76
- * @action enqueue_block_editor_assets
77
- */
78
- public function enqueue_custom_blocks() {
79
- wp_enqueue_script( "{$this->plugin->assets_prefix}-blocks", "{$this->plugin->dir_url}js/blocks.js", array( 'wp-blocks', 'wp-editor', 'wp-element', 'wp-components' ), time(), true );
80
- }
81
-
82
- /**
83
- * Register new block category for share buttons.
84
- *
85
- * @param array $categories The current block categories.
86
- *
87
- * @filter block_categories 999
88
- */
89
- public function simpleshare_block_category( $categories, $post ) {
90
- return array_merge(
91
- $categories,
92
- [
93
- [
94
- 'slug' => 'simpleshare-blocks',
95
- 'title' => __( 'SimpleShare Blocks', 'simple-share-buttons-adder' ),
96
- ],
97
- ]
98
- );
99
- }
100
-
101
-
102
- /**
103
- * Build the Admin Panel html variables and include template.
104
- *
105
- * @param array $arr_settings The current ssba settings.
106
- */
107
- public function admin_panel( $arr_settings ) {
108
- // Locations array.
109
- $locs = array(
110
- 'Homepage' => array(
111
- 'value' => 'ssba_homepage',
112
- 'checked' => isset( $arr_settings['ssba_homepage'] ) && 'Y' === $arr_settings['ssba_homepage'] ? true : false,
113
- ),
114
- 'Pages' => array(
115
- 'value' => 'ssba_pages',
116
- 'checked' => isset( $arr_settings['ssba_pages'] ) && 'Y' === $arr_settings['ssba_pages'] ? true : false,
117
- ),
118
- 'Posts' => array(
119
- 'value' => 'ssba_posts',
120
- 'checked' => isset( $arr_settings['ssba_posts'] ) && 'Y' === $arr_settings['ssba_posts'] ? true : false,
121
- ),
122
- 'Excerpts' => array(
123
- 'value' => 'ssba_excerpts',
124
- 'checked' => isset( $arr_settings['ssba_excerpts'] ) && 'Y' === $arr_settings['ssba_excerpts'] ? true : false,
125
- ),
126
- 'Categories/Archives' => array(
127
- 'value' => 'ssba_cats_archs',
128
- 'checked' => isset( $arr_settings['ssba_cats_archs'] ) && 'Y' === $arr_settings['ssba_cats_archs'] ? true : false,
129
- ),
130
- );
131
-
132
- // Locations array.
133
- $locs2 = array(
134
- 'Homepage' => array(
135
- 'value' => 'ssba_bar_homepage',
136
- 'checked' => isset( $arr_settings['ssba_bar_homepage'] ) && 'Y' === $arr_settings['ssba_bar_homepage'] ? true : false,
137
- ),
138
- 'Pages' => array(
139
- 'value' => 'ssba_bar_pages',
140
- 'checked' => isset( $arr_settings['ssba_bar_pages'] ) && 'Y' === $arr_settings['ssba_bar_pages'] ? true : false,
141
- ),
142
- 'Posts' => array(
143
- 'value' => 'ssba_bar_posts',
144
- 'checked' => isset( $arr_settings['ssba_bar_posts'] ) && 'Y' === $arr_settings['ssba_bar_posts'] ? true : false,
145
- ),
146
- 'Categories/Archives' => array(
147
- 'value' => 'ssba_bar_cats_archs',
148
- 'checked' => isset( $arr_settings['ssba_bar_cats_archs'] ) && 'Y' === $arr_settings['ssba_bar_cats_archs'] ? true : false,
149
- ),
150
- );
151
-
152
- // Locations array for plus.
153
- $locs3 = array(
154
- 'Homepage' => array(
155
- 'value' => 'ssba_plus_homepage',
156
- 'checked' => isset( $arr_settings['ssba_plus_homepage'] ) && 'Y' === $arr_settings['ssba_plus_homepage'] ? true : false,
157
- ),
158
- 'Pages' => array(
159
- 'value' => 'ssba_plus_pages',
160
- 'checked' => isset( $arr_settings['ssba_plus_pages'] ) && 'Y' === $arr_settings['ssba_plus_pages'] ? true : false,
161
- ),
162
- 'Posts' => array(
163
- 'value' => 'ssba_plus_posts',
164
- 'checked' => isset( $arr_settings['ssba_plus_posts'] ) && 'Y' === $arr_settings['ssba_plus_posts'] ? true : false,
165
- ),
166
- 'Excerpts' => array(
167
- 'value' => 'ssba_plus_excerpts',
168
- 'checked' => isset( $arr_settings['ssba_plus_excerpts'] ) && 'Y' === $arr_settings['ssba_plus_excerpts'] ? true : false,
169
- ),
170
- 'Categories/Archives' => array(
171
- 'value' => 'ssba_plus_cats_archs',
172
- 'checked' => isset( $arr_settings['ssba_plus_cats_archs'] ) && 'Y' === $arr_settings['ssba_plus_cats_archs'] ? true : false,
173
- ),
174
- );
175
-
176
- // Display options.
177
- $display_loc = array(
178
- 'Desktop' => array(
179
- 'value' => 'ssba_bar_desktop',
180
- 'checked' => isset( $arr_settings['ssba_bar_desktop'] ) && 'Y' === $arr_settings['ssba_bar_desktop'] ? true : false,
181
- ),
182
- 'Mobile' => array(
183
- 'value' => 'ssba_bar_mobile',
184
- 'checked' => isset( $arr_settings['ssba_bar_mobile'] ) && 'Y' === $arr_settings['ssba_bar_mobile'] ? true : false,
185
- ),
186
- );
187
-
188
- // Prepare array of buttons.
189
- $arr_buttons = json_decode( get_option( 'ssba_buttons' ), true );
190
-
191
- // Locations.
192
- $opts1 = array(
193
- 'form_group' => false,
194
- 'label' => 'Locations',
195
- 'tooltip' => 'Enable the locations you wish for share buttons to appear',
196
- 'value' => 'Y',
197
- 'checkboxes' => $locs,
198
- );
199
-
200
- // Placement.
201
- $opts2 = array(
202
- 'form_group' => false,
203
- 'type' => 'select',
204
- 'name' => 'ssba_before_or_after',
205
- 'label' => 'Placement',
206
- 'tooltip' => 'Place share buttons before or after your content',
207
- 'selected' => isset( $arr_settings['ssba_before_or_after'] ) ? $arr_settings['ssba_before_or_after'] : '',
208
- 'options' => array(
209
- 'After' => 'after',
210
- 'Before' => 'before',
211
- 'Both' => 'both',
212
- ),
213
- );
214
-
215
- // Share text.
216
- $opts3 = array(
217
- 'form_group' => false,
218
- 'type' => 'text',
219
- 'placeholder' => 'Share this...',
220
- 'name' => 'ssba_share_text',
221
- 'label' => 'Call To Action',
222
- 'tooltip' => 'Add some custom text by your share buttons',
223
- 'value' => isset( $arr_settings['ssba_share_text'] ) ? $arr_settings['ssba_share_text'] : '',
224
- );
225
-
226
- // Share text for plus.
227
- $opts3p = array(
228
- 'form_group' => false,
229
- 'type' => 'text',
230
- 'placeholder' => 'Share this...',
231
- 'name' => 'ssba_plus_share_text',
232
- 'label' => 'Call To Action',
233
- 'tooltip' => 'Add some custom text by your share buttons',
234
- 'value' => isset( $arr_settings['ssba_plus_share_text'] ) ? $arr_settings['ssba_plus_share_text'] : '',
235
- );
236
-
237
- // Placement.
238
- $opts4 = array(
239
- 'form_group' => false,
240
- 'type' => 'select',
241
- 'name' => 'ssba_image_set',
242
- 'label' => 'Theme',
243
- 'tooltip' => 'Choose your favourite set of buttons, or set to custom to choose your own',
244
- 'selected' => isset( $arr_settings['ssba_image_set'] ) ? $arr_settings['ssba_image_set'] : '',
245
- 'options' => array(
246
- 'Arbenta' => 'arbenta',
247
- 'Custom' => 'custom',
248
- 'Metal' => 'metal',
249
- 'Pagepeel' => 'pagepeel',
250
- 'Plain' => 'plain',
251
- 'Retro' => 'retro',
252
- 'Ribbons' => 'ribbons',
253
- 'Simple' => 'simple',
254
- 'Somacro' => 'somacro',
255
- ),
256
- );
257
-
258
- // Button size.
259
- $opts6 = array(
260
- 'form_group' => false,
261
- 'type' => 'number_addon',
262
- 'addon' => 'px',
263
- 'placeholder' => '35',
264
- 'name' => 'ssba_size',
265
- 'label' => 'Button Size',
266
- 'tooltip' => 'Set the size of your buttons in pixels',
267
- 'value' => isset( $arr_settings['ssba_size'] ) ? $arr_settings['ssba_size'] : '',
268
- );
269
-
270
- // Alignment.
271
- $opts7 = array(
272
- 'form_group' => false,
273
- 'type' => 'select',
274
- 'name' => 'ssba_align',
275
- 'label' => 'Alignment',
276
- 'tooltip' => 'Align your buttons the way you wish',
277
- 'selected' => isset( $arr_settings['ssba_align'] ) ? $arr_settings['ssba_align'] : '',
278
- 'options' => array(
279
- 'Left' => 'left',
280
- 'Center' => 'center',
281
- 'Right' => 'right',
282
- ),
283
- );
284
-
285
- // Alignment for Plus.
286
- $opts7p = array(
287
- 'form_group' => false,
288
- 'type' => 'select',
289
- 'name' => 'ssba_plus_align',
290
- 'label' => 'Alignment',
291
- 'tooltip' => 'Align your plus buttons the way you wish',
292
- 'selected' => isset( $arr_settings['ssba_plus_align'] ) ? $arr_settings['ssba_plus_align'] : '',
293
- 'options' => array(
294
- 'Left' => 'left',
295
- 'Center' => 'center',
296
- 'Right' => 'right',
297
- ),
298
- );
299
-
300
- // Padding.
301
- $opts8 = array(
302
- 'form_group' => false,
303
- 'type' => 'number_addon',
304
- 'addon' => 'px',
305
- 'placeholder' => '10',
306
- 'max' => '50',
307
- 'name' => 'ssba_padding',
308
- 'label' => 'Padding',
309
- 'tooltip' => 'Apply some space around your images',
310
- 'value' => isset( $arr_settings['ssba_padding'] ) ? $arr_settings['ssba_padding'] : '',
311
- );
312
-
313
- // Font color.
314
- $opts9 = array(
315
- 'form_group' => false,
316
- 'type' => 'colorpicker',
317
- 'name' => 'ssba_font_color',
318
- 'label' => 'Font Color',
319
- 'tooltip' => 'Choose the color of your share text',
320
- 'value' => isset( $arr_settings['ssba_font_color'] ) ? $arr_settings['ssba_font_color'] : '',
321
- );
322
-
323
- // Font color for plus.
324
- $opts9p = array(
325
- 'form_group' => false,
326
- 'type' => 'colorpicker',
327
- 'name' => 'ssba_plus_font_color',
328
- 'label' => 'Font Color',
329
- 'tooltip' => 'Choose the color of your share text',
330
- 'value' => isset( $arr_settings['ssba_plus_font_color'] ) ? $arr_settings['ssba_plus_font_color'] : '',
331
- );
332
-
333
- // Font family.
334
- $opts10 = array(
335
- 'form_group' => false,
336
- 'type' => 'select',
337
- 'name' => 'ssba_font_family',
338
- 'label' => 'Font Family',
339
- 'tooltip' => 'Choose a font available or inherit the font from your website',
340
- 'selected' => isset( $arr_settings['ssba_font_family'] ) ? $arr_settings['ssba_font_family'] : '',
341
- 'options' => array(
342
- 'Reenie Beanie' => 'Reenie Beanie',
343
- 'Indie Flower' => 'Indie Flower',
344
- 'Inherit from my website' => '',
345
- ),
346
- );
347
-
348
- // Font family for plus.
349
- $opts10p = array(
350
- 'form_group' => false,
351
- 'type' => 'select',
352
- 'name' => 'ssba_plus_font_family',
353
- 'label' => 'Font Family',
354
- 'tooltip' => 'Choose a font available or inherit the font from your website',
355
- 'selected' => isset( $arr_settings['ssba_plus_font_family'] ) ? $arr_settings['ssba_plus_font_family'] : '',
356
- 'options' => array(
357
- 'Reenie Beanie' => 'Reenie Beanie',
358
- 'Indie Flower' => 'Indie Flower',
359
- 'Inherit from my website' => '',
360
- ),
361
- );
362
-
363
- // Enqueue the styles so preview can update.
364
- wp_enqueue_style( "{$this->plugin->assets_prefix}-reenie" );
365
- wp_enqueue_style( "{$this->plugin->assets_prefix}-indie" );
366
-
367
- // Font size.
368
- $opts11 = array(
369
- 'form_group' => false,
370
- 'type' => 'number_addon',
371
- 'addon' => 'px',
372
- 'placeholder' => '20',
373
- 'name' => 'ssba_font_size',
374
- 'label' => 'Font Size',
375
- 'tooltip' => 'Set the size of the share text in pixels',
376
- 'value' => isset( $arr_settings['ssba_font_size'] ) ? $arr_settings['ssba_font_size'] : '',
377
- );
378
-
379
- // Font size for plus.
380
- $opts11p = array(
381
- 'form_group' => false,
382
- 'type' => 'number_addon',
383
- 'addon' => 'px',
384
- 'placeholder' => '20',
385
- 'name' => 'ssba_plus_font_size',
386
- 'label' => 'Font Size',
387
- 'tooltip' => 'Set the size of the share text in pixels',
388
- 'value' => isset( $arr_settings['ssba_plus_font_size'] ) ? $arr_settings['ssba_plus_font_size'] : '',
389
- );
390
-
391
- // Font weight.
392
- $opts12 = array(
393
- 'form_group' => false,
394
- 'type' => 'select',
395
- 'name' => 'ssba_font_weight',
396
- 'label' => 'Font Weight',
397
- 'tooltip' => 'Set the weight of the share text',
398
- 'selected' => isset( $arr_settings['ssba_font_weight'] ) ? $arr_settings['ssba_font_weight'] : '',
399
- 'options' => array(
400
- 'Normal' => 'normal',
401
- 'Bold' => 'bold',
402
- 'Light' => 'light',
403
- ),
404
- );
405
-
406
- // Font weight for plus.
407
- $opts12p = array(
408
- 'form_group' => false,
409
- 'type' => 'select',
410
- 'name' => 'ssba_plus_font_weight',
411
- 'label' => 'Font Weight',
412
- 'tooltip' => 'Set the weight of the share text',
413
- 'selected' => isset( $arr_settings['ssba_plus_font_weight'] ) ? $arr_settings['ssba_plus_font_weight'] : '',
414
- 'options' => array(
415
- 'Normal' => 'normal',
416
- 'Bold' => 'bold',
417
- 'Light' => 'light',
418
- ),
419
- );
420
-
421
- // Text placement.
422
- $opts13 = array(
423
- 'form_group' => false,
424
- 'type' => 'select',
425
- 'name' => 'ssba_text_placement',
426
- 'label' => 'Text placement',
427
- 'tooltip' => 'Choose where you want your text to be displayed, in relation to the buttons',
428
- 'selected' => isset( $arr_settings['ssba_text_placement'] ) ? $arr_settings['ssba_text_placement'] : '',
429
- 'options' => array(
430
- 'Above' => 'above',
431
- 'Left' => 'left',
432
- 'Right' => 'right',
433
- 'Below' => 'below',
434
- ),
435
- );
436
-
437
- // Text placement for plus.
438
- $opts13p = array(
439
- 'form_group' => false,
440
- 'type' => 'select',
441
- 'name' => 'ssba_plus_text_placement',
442
- 'label' => 'Text placement',
443
- 'tooltip' => 'Choose where you want your text to be displayed, in relation to the buttons',
444
- 'selected' => isset( $arr_settings['ssba_plus_text_placement'] ) ? $arr_settings['ssba_plus_text_placement'] : '',
445
- 'options' => array(
446
- 'Above' => 'above',
447
- 'Left' => 'left',
448
- 'Right' => 'right',
449
- 'Below' => 'below',
450
- ),
451
- );
452
-
453
- // Container padding.
454
- $opts14 = array(
455
- 'form_group' => false,
456
- 'type' => 'number_addon',
457
- 'addon' => 'px',
458
- 'placeholder' => '10',
459
- 'name' => 'ssba_div_padding',
460
- 'label' => 'Container Padding',
461
- 'tooltip' => 'Add some padding to your share container',
462
- 'value' => isset( $arr_settings['ssba_div_padding'] ) ? $arr_settings['ssba_div_padding'] : '',
463
- );
464
-
465
- // Div background color.
466
- $opts15 = array(
467
- 'form_group' => false,
468
- 'type' => 'colorpicker',
469
- 'name' => 'ssba_div_background',
470
- 'label' => 'Container Background Color',
471
- 'tooltip' => 'Choose the color of your share container',
472
- 'value' => isset( $arr_settings['ssba_div_background'] ) ? $arr_settings['ssba_div_background'] : '',
473
- );
474
-
475
- // Div border color.
476
- $opts16 = array(
477
- 'form_group' => false,
478
- 'type' => 'colorpicker',
479
- 'name' => 'ssba_div_border',
480
- 'label' => 'Container Border Color',
481
- 'tooltip' => 'Choose the color of your share container border',
482
- 'value' => isset( $arr_settings['ssba_div_border'] ) ? $arr_settings['ssba_div_border'] : '',
483
- );
484
-
485
- // Container border width.
486
- $opts17 = array(
487
- 'form_group' => false,
488
- 'type' => 'number_addon',
489
- 'addon' => 'px',
490
- 'placeholder' => '1',
491
- 'name' => 'ssba_border_width',
492
- 'label' => 'Container Border Width',
493
- 'tooltip' => 'Set the width of the share container border',
494
- 'value' => isset( $arr_settings['ssba_border_width'] ) ? $arr_settings['ssba_border_width'] : '',
495
- );
496
-
497
- // Rounded container corners.
498
- $opts18 = array(
499
- 'form_group' => false,
500
- 'type' => 'checkbox',
501
- 'name' => 'ssba_div_rounded_corners',
502
- 'label' => 'Rounded Container Corners',
503
- 'tooltip' => 'Switch on to enable rounded corners for your share container',
504
- 'value' => 'Y',
505
- 'checked' => isset( $arr_settings['ssba_div_rounded_corners'] ) && 'Y' === $arr_settings['ssba_div_rounded_corners'] ? esc_attr( 'checked' ) : '',
506
- );
507
-
508
- // Share count.
509
- $opts19 = array(
510
- 'form_group' => false,
511
- 'type' => 'checkbox',
512
- 'name' => 'ssba_show_share_count',
513
- 'label' => 'Share Count',
514
- 'tooltip' => 'Check the box if you wish to enable share counts. Enabling this option will slow down the loading of any pages that use share buttons',
515
- 'value' => 'Y',
516
- 'checked' => isset( $arr_settings['ssba_show_share_count'] ) && 'Y' === $arr_settings['ssba_show_share_count'] ? esc_attr( 'checked' ) : null,
517
- );
518
-
519
- // Share count for plus.
520
- $opts19p = array(
521
- 'form_group' => false,
522
- 'type' => 'checkbox',
523
- 'name' => 'ssba_plus_show_share_count',
524
- 'label' => 'Share Count',
525
- 'tooltip' => 'Check the box if you wish to enable share counts. Enabling this option will slow down the loading of any pages that use share buttons',
526
- 'value' => 'Y',
527
- 'checked' => isset( $arr_settings['ssba_plus_show_share_count'] ) && 'Y' === $arr_settings['ssba_plus_show_share_count'] ? esc_attr( 'checked' ) : null,
528
- );
529
-
530
- // Share count for share bar.
531
- $opts19s = array(
532
- 'form_group' => false,
533
- 'type' => 'checkbox',
534
- 'name' => 'ssba_bar_show_share_count',
535
- 'label' => 'Share Count',
536
- 'tooltip' => 'Check the box if you wish to enable share counts. Enabling this option will slow down the loading of any pages that use share buttons',
537
- 'value' => 'Y',
538
- 'checked' => isset( $arr_settings['ssba_bar_show_share_count'] ) && 'Y' === $arr_settings['ssba_bar_show_share_count'] ? esc_attr( 'checked' ) : null,
539
- );
540
-
541
- // Show count once.
542
- $opts20 = array(
543
- 'form_group' => false,
544
- 'type' => 'checkbox',
545
- 'name' => 'ssba_share_count_once',
546
- 'label' => 'Show Once',
547
- 'tooltip' => 'This option is recommended, it deactivates share counts for categories and archives allowing them to load more quickly',
548
- 'value' => 'Y',
549
- 'checked' => isset( $arr_settings['ssba_share_count_once'] ) && 'Y' === $arr_settings['ssba_share_count_once'] ? esc_attr( 'checked' ) : null,
550
- );
551
-
552
- // Show count once for plus.
553
- $opts20p = array(
554
- 'form_group' => false,
555
- 'type' => 'checkbox',
556
- 'name' => 'ssba_plus_share_count_once',
557
- 'label' => 'Show Once',
558
- 'tooltip' => 'This option is recommended, it deactivates share counts for categories and archives allowing them to load more quickly',
559
- 'value' => 'Y',
560
- 'checked' => isset( $arr_settings['ssba_plus_share_count_once'] ) && 'Y' === $arr_settings['ssba_plus_share_count_once'] ? esc_attr( 'checked' ) : null,
561
- );
562
-
563
- // Show count once for share bar.
564
- $opts20s = array(
565
- 'form_group' => false,
566
- 'type' => 'checkbox',
567
- 'name' => 'ssba_bar_share_count_once',
568
- 'label' => 'Show Once',
569
- 'tooltip' => 'This option is recommended, it deactivates share counts for categories and archives allowing them to load more quickly',
570
- 'value' => 'Y',
571
- 'checked' => isset( $arr_settings['ssba_bar_share_count_once'] ) && 'Y' === $arr_settings['ssba_bar_share_count_once'] ? esc_attr( 'checked' ) : null,
572
- );
573
-
574
- // Share counters style.
575
- $opts21 = array(
576
- 'form_group' => false,
577
- 'type' => 'select',
578
- 'name' => 'ssba_share_count_style',
579
- 'label' => 'Counters Style',
580
- 'tooltip' => 'Pick a setting to style the share counters',
581
- 'selected' => isset( $arr_settings['ssba_share_count_style'] ) ? $arr_settings['ssba_share_count_style'] : '',
582
- 'options' => array(
583
- 'Default' => 'default',
584
- 'White' => 'white',
585
- 'Blue' => 'blue',
586
- ),
587
- );
588
-
589
- // Sharedcount enable.
590
- $opts23 = array(
591
- 'form_group' => false,
592
- 'type' => 'checkbox',
593
- 'name' => 'sharedcount_enabled',
594
- 'label' => 'Enable sharedcount.com API',
595
- 'tooltip' => 'Enable if you wish to enable the use of the sharedcount.com API',
596
- 'value' => 'Y',
597
- 'checked' => isset( $arr_settings['sharedcount_enabled'] ) && 'Y' === $arr_settings['sharedcount_enabled'] ? esc_attr( 'checked' ) : null,
598
- );
599
-
600
- // Sharedcount plan.
601
- $opts24 = array(
602
- 'form_group' => false,
603
- 'type' => 'select',
604
- 'name' => 'sharedcount_plan',
605
- 'label' => 'sharedcount.com plan',
606
- 'tooltip' => 'Select your sharedcount.com plan',
607
- 'selected' => isset( $arr_settings['sharedcount_plan'] ) ? $arr_settings['sharedcount_plan'] : '',
608
- 'options' => array(
609
- 'Free' => 'free',
610
- 'Plus' => 'plus',
611
- 'Business' => 'business',
612
- ),
613
- );
614
-
615
- // Sharedcount api key.
616
- $opts25 = array(
617
- 'form_group' => false,
618
- 'type' => 'text',
619
- 'placeholder' => '9b17c12712c691491ef95f46c51ce3917118fdf9',
620
- 'name' => 'sharedcount_api_key',
621
- 'label' => 'sharedcount.com API Key',
622
- 'tooltip' => 'Add some text included in an email when people share that way',
623
- 'value' => isset( $arr_settings['sharedcount_api_key'] ) ? $arr_settings['sharedcount_api_key'] : '',
624
- );
625
-
626
- // Sharedcount enable.
627
- $opts23p = array(
628
- 'form_group' => false,
629
- 'type' => 'checkbox',
630
- 'name' => 'plus_sharedcount_enabled',
631
- 'label' => 'Enable sharedcount.com API',
632
- 'tooltip' => 'Enable if you wish to enable the use of the sharedcount.com API',
633
- 'value' => 'Y',
634
- 'checked' => isset( $arr_settings['plus_sharedcount_enabled'] ) && 'Y' === $arr_settings['plus_sharedcount_enabled'] ? esc_attr( 'checked' ) : null,
635
- );
636
-
637
- // Sharedcount plan.
638
- $opts24p = array(
639
- 'form_group' => false,
640
- 'type' => 'select',
641
- 'name' => 'plus_sharedcount_plan',
642
- 'label' => 'sharedcount.com plan',
643
- 'tooltip' => 'Select your sharedcount.com plan',
644
- 'selected' => isset( $arr_settings['plus_sharedcount_plan'] ) ? $arr_settings['plus_sharedcount_plan'] : '',
645
- 'options' => array(
646
- 'Free' => 'free',
647
- 'Plus' => 'plus',
648
- 'Business' => 'business',
649
- ),
650
- );
651
-
652
- // Sharedcount api key.
653
- $opts25p = array(
654
- 'form_group' => false,
655
- 'type' => 'text',
656
- 'placeholder' => '9b17c12712c691491ef95f46c51ce3917118fdf9',
657
- 'name' => 'plus_sharedcount_api_key',
658
- 'label' => 'sharedcount.com API Key',
659
- 'tooltip' => 'Add some text included in an email when people share that way',
660
- 'value' => isset( $arr_settings['plus_sharedcount_api_key'] ) ? $arr_settings['plus_sharedcount_api_key'] : '',
661
- );
662
-
663
- // Sharedcount enable.
664
- $opts23b = array(
665
- 'form_group' => false,
666
- 'type' => 'checkbox',
667
- 'name' => 'bar_sharedcount_enabled',
668
- 'label' => 'Enable sharedcount.com API',
669
- 'tooltip' => 'Enable if you wish to enable the use of the sharedcount.com API',
670
- 'value' => 'Y',
671
- 'checked' => isset( $arr_settings['bar_sharedcount_enabled'] ) && 'Y' === $arr_settings['bar_sharedcount_enabled'] ? esc_attr( 'checked' ) : null,
672
- );
673
-
674
- // Sharedcount plan.
675
- $opts24b = array(
676
- 'form_group' => false,
677
- 'type' => 'select',
678
- 'name' => 'bar_sharedcount_plan',
679
- 'label' => 'sharedcount.com plan',
680
- 'tooltip' => 'Select your sharedcount.com plan',
681
- 'selected' => isset( $arr_settings['bar_sharedcount_plan'] ) ? $arr_settings['bar_sharedcount_plan'] : '',
682
- 'options' => array(
683
- 'Free' => 'free',
684
- 'Plus' => 'plus',
685
- 'Business' => 'business',
686
- ),
687
- );
688
-
689
- // Sharedcount api key.
690
- $opts25b = array(
691
- 'form_group' => false,
692
- 'type' => 'text',
693
- 'placeholder' => '9b17c12712c691491ef95f46c51ce3917118fdf9',
694
- 'name' => 'bar_sharedcount_api_key',
695
- 'label' => 'sharedcount.com API Key',
696
- 'tooltip' => 'Add some text included in an email when people share that way',
697
- 'value' => isset( $arr_settings['bar_sharedcount_api_key'] ) ? $arr_settings['bar_sharedcount_api_key'] : '',
698
- );
699
-
700
- // Link to ssb.
701
- $opts26 = array(
702
- 'form_group' => false,
703
- 'type' => 'checkbox',
704
- 'name' => 'ssba_link_to_ssb',
705
- 'label' => 'Share Text Link',
706
- 'tooltip' => 'Enabling this will set your share text as a link to simplesharebuttons.com to help others learn of the plugin',
707
- 'value' => 'Y',
708
- 'checked' => isset( $arr_settings['ssba_link_to_ssb'] ) && 'Y' === $arr_settings['ssba_link_to_ssb'] ? esc_attr( 'checked' ) : null,
709
- );
710
-
711
- // Link to ssb for plus.
712
- $opts26p = array(
713
- 'form_group' => false,
714
- 'type' => 'checkbox',
715
- 'name' => 'ssba_plus_link_to_ssb',
716
- 'label' => 'Share Text Link',
717
- 'tooltip' => 'Enabling this will set your share text as a link to simplesharebuttons.com to help others learn of the plugin',
718
- 'value' => 'Y',
719
- 'checked' => isset( $arr_settings['ssba_plus_link_to_ssb'] ) && 'Y' === $arr_settings['ssba_plus_link_to_ssb'] ? esc_attr( 'checked' ) : null,
720
- );
721
-
722
- // Content priority.
723
- $opts27 = array(
724
- 'form_group' => false,
725
- 'type' => 'number',
726
- 'placeholder' => '10',
727
- 'name' => 'ssba_content_priority',
728
- 'label' => 'Content Priority',
729
- 'tooltip' => 'Set the priority for your share buttons within your content. 1-10, default is 10',
730
- 'value' => isset( $arr_settings['ssba_content_priority'] ) ? $arr_settings['ssba_content_priority'] : '',
731
- );
732
-
733
- // Share in new window.
734
- $opts28 = array(
735
- 'form_group' => false,
736
- 'type' => 'checkbox',
737
- 'name' => 'ssba_share_new_window',
738
- 'label' => 'Open links in a new window',
739
- 'tooltip' => 'Disabling this will make links open in the same window',
740
- 'value' => 'Y',
741
- 'checked' => isset( $arr_settings['ssba_share_new_window'] ) && 'Y' === $arr_settings['ssba_share_new_window'] ? esc_attr( 'checked' ) : null,
742
- );
743
-
744
- // Share in new window for plus.
745
- $opts28p = array(
746
- 'form_group' => false,
747
- 'type' => 'checkbox',
748
- 'name' => 'ssba_plus_share_new_window',
749
- 'label' => 'Open links in a new window',
750
- 'tooltip' => 'Disabling this will make links open in the same window',
751
- 'value' => 'Y',
752
- 'checked' => isset( $arr_settings['ssba_plus_share_new_window'] ) && 'Y' === $arr_settings['ssba_plus_share_new_window'] ? esc_attr( 'checked' ) : null,
753
- );
754
-
755
- // Share in new window for share bar.
756
- $opts28s = array(
757
- 'form_group' => false,
758
- 'type' => 'checkbox',
759
- 'name' => 'ssba_bar_share_new_window',
760
- 'label' => 'Open links in a new window',
761
- 'tooltip' => 'Disabling this will make links open in the same window',
762
- 'value' => 'Y',
763
- 'checked' => isset( $arr_settings['ssba_bar_share_new_window'] ) && 'Y' === $arr_settings['ssba_bar_share_new_window'] ? esc_attr( 'checked' ) : null,
764
- );
765
-
766
- // Nofollow.
767
- $opts29 = array(
768
- 'form_group' => false,
769
- 'type' => 'checkbox',
770
- 'name' => 'ssba_rel_nofollow',
771
- 'label' => 'Add rel="nofollow"',
772
- 'tooltip' => 'Enable this to add nofollow to all share links',
773
- 'value' => 'Y',
774
- 'checked' => isset( $arr_settings['ssba_rel_nofollow'] ) && 'Y' === $arr_settings['ssba_rel_nofollow'] ? esc_attr( 'checked' ) : null,
775
- );
776
-
777
- // Nofollow for plus.
778
- $opts29p = array(
779
- 'form_group' => false,
780
- 'type' => 'checkbox',
781
- 'name' => 'ssba_plus_rel_nofollow',
782
- 'label' => 'Add rel="nofollow"',
783
- 'tooltip' => 'Enable this to add nofollow to all share links',
784
- 'value' => 'Y',
785
- 'checked' => isset( $arr_settings['ssba_plus_rel_nofollow'] ) && 'Y' === $arr_settings['ssba_plus_rel_nofollow'] ? esc_attr( 'checked' ) : null,
786
- );
787
-
788
- // Nofollow for share bar.
789
- $opts29s = array(
790
- 'form_group' => false,
791
- 'type' => 'checkbox',
792
- 'name' => 'ssba_bar_rel_nofollow',
793
- 'label' => 'Add rel="nofollow"',
794
- 'tooltip' => 'Enable this to add nofollow to all share links',
795
- 'value' => 'Y',
796
- 'checked' => isset( $arr_settings['ssba_bar_rel_nofollow'] ) && 'Y' === $arr_settings['ssba_bar_rel_nofollow'] ? esc_attr( 'checked' ) : null,
797
- );
798
-
799
- // Widget share text.
800
- $opts30 = array(
801
- 'form_group' => false,
802
- 'type' => 'text',
803
- 'placeholder' => 'Keeping sharing simple...',
804
- 'name' => 'ssba_widget_text',
805
- 'label' => 'Widget Share Text',
806
- 'tooltip' => 'Add custom share text when used as a widget',
807
- 'value' => isset( $arr_settings['ssba_widget_text'] ) ? $arr_settings['ssba_widget_text'] : '',
808
- );
809
-
810
- // Widget share text for plus.
811
- $opts30p = array(
812
- 'form_group' => false,
813
- 'type' => 'text',
814
- 'placeholder' => 'Keeping sharing simple...',
815
- 'name' => 'ssba_plus_widget_text',
816
- 'label' => 'Widget Share Text',
817
- 'tooltip' => 'Add custom share text when used as a widget',
818
- 'value' => isset( $arr_settings['ssba_plus_widget_text'] ) ? $arr_settings['ssba_plus_widget_text'] : '',
819
- );
820
-
821
- // Email share text.
822
- $opts31 = array(
823
- 'form_group' => false,
824
- 'type' => 'text',
825
- 'placeholder' => 'Share by email...',
826
- 'name' => 'ssba_email_message',
827
- 'label' => 'Email Text',
828
- 'tooltip' => 'Add some text included in an email when people share that way',
829
- 'value' => isset( $arr_settings['ssba_email_message'] ) ? $arr_settings['ssba_email_message'] : '',
830
- );
831
-
832
- // Email share text for plus.
833
- $opts31p = array(
834
- 'form_group' => false,
835
- 'type' => 'text',
836
- 'placeholder' => 'Share by email...',
837
- 'name' => 'ssba_plus_email_message',
838
- 'label' => 'Email Text',
839
- 'tooltip' => 'Add some text included in an email when people share that way',
840
- 'value' => isset( $arr_settings['ssba_plus_email_message'] ) ? $arr_settings['ssba_plus_email_message'] : '',
841
- );
842
-
843
- // Email share text for share bar.
844
- $opts31s = array(
845
- 'form_group' => false,
846
- 'type' => 'text',
847
- 'placeholder' => 'Share by email...',
848
- 'name' => 'ssba_bar_email_message',
849
- 'label' => 'Email Text',
850
- 'tooltip' => 'Add some text included in an email when people share that way',
851
- 'value' => isset( $arr_settings['ssba_bar_email_message'] ) ? $arr_settings['ssba_bar_email_message'] : '',
852
- );
853
-
854
- // Facebook app id.
855
- $opts32 = array(
856
- 'form_group' => false,
857
- 'type' => 'text',
858
- 'placeholder' => '123456789123',
859
- 'name' => 'facebook_app_id',
860
- 'label' => 'Facebook App ID',
861
- 'tooltip' => 'Enter your Facebook App ID, e.g. 123456789123',
862
- 'value' => isset( $arr_settings['facebook_app_id'] ) ? $arr_settings['facebook_app_id'] : '',
863
- 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? esc_attr( 'disabled' ) : null,
864
- );
865
-
866
- // Facebook app id for plus.
867
- $opts32p = array(
868
- 'form_group' => false,
869
- 'type' => 'text',
870
- 'placeholder' => '123456789123',
871
- 'name' => 'plus_facebook_app_id',
872
- 'label' => 'Facebook App ID',
873
- 'tooltip' => 'Enter your Facebook App ID, e.g. 123456789123',
874
- 'value' => isset( $arr_settings['plus_facebook_app_id'] ) ? $arr_settings['plus_facebook_app_id'] : '',
875
- 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? esc_attr( 'disabled' ) : null,
876
- );
877
-
878
- // Facebook app id for share bar.
879
- $opts32s = array(
880
- 'form_group' => false,
881
- 'type' => 'text',
882
- 'placeholder' => '123456789123',
883
- 'name' => 'share_facebook_app_id',
884
- 'label' => 'Facebook App ID',
885
- 'tooltip' => 'Enter your Facebook App ID, e.g. 123456789123',
886
- 'value' => isset( $arr_settings['bar_facebook_app_id'] ) ? $arr_settings['bar_facebook_app_id'] : '',
887
- 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? esc_attr( 'disabled' ) : null,
888
- );
889
-
890
- // Facebook insights.
891
- $opts33 = array(
892
- 'form_group' => false,
893
- 'type' => 'checkbox',
894
- 'name' => 'facebook_insights',
895
- 'label' => 'Facebook Insights',
896
- 'tooltip' => 'Enable this feature to enable Facebook Insights',
897
- 'value' => 'Y',
898
- 'checked' => isset( $arr_settings['facebook_insights'] ) && 'Y' === $arr_settings['facebook_insights'] ? 'checked' : null,
899
- 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? 'disabled' : null,
900
- );
901
-
902
- // Ignore sdk.
903
- $ignore_sdk = array(
904
- 'form_group' => false,
905
- 'type' => 'checkbox',
906
- 'name' => 'ignore_facebook_sdk',
907
- 'label' => 'Ignore FB SDK',
908
- 'tooltip' => 'Using you\'re own Facebook SDK? Ignore ours.',
909
- 'value' => 'Y',
910
- 'checked' => isset( $arr_settings['ignore_facebook_sdk'] ) && 'Y' === $arr_settings['ignore_facebook_sdk'] ? esc_attr( 'checked' ) : '',
911
- );
912
-
913
- // Facebook insights for plus.
914
- $opts33p = array(
915
- 'form_group' => false,
916
- 'type' => 'checkbox',
917
- 'name' => 'plus_facebook_insights',
918
- 'label' => 'Facebook Insights',
919
- 'tooltip' => 'Enable this feature to enable Facebook Insights',
920
- 'value' => 'Y',
921
- 'checked' => isset( $arr_settings['plus_facebook_insights'] ) && 'Y' === $arr_settings['plus_facebook_insights'] ? 'checked' : null,
922
- 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? 'disabled' : null,
923
- );
924
-
925
- // Plus ignore sdk.
926
- $plus_ignore_sdk = array(
927
- 'form_group' => false,
928
- 'type' => 'checkbox',
929
- 'name' => 'plus_ignore_facebook_sdk',
930
- 'label' => 'Ignore FB SDK',
931
- 'tooltip' => 'Using you\'re own Facebook SDK? Ignore ours.',
932
- 'value' => 'Y',
933
- 'checked' => isset( $arr_settings['plus_ignore_facebook_sdk'] ) && 'Y' === $arr_settings['plus_ignore_facebook_sdk'] ? esc_attr( 'checked' ) : '',
934
- );
935
-
936
- // Facebook insights for share bar.
937
- $opts33s = array(
938
- 'form_group' => false,
939
- 'type' => 'checkbox',
940
- 'name' => 'share_facebook_insights',
941
- 'label' => 'Facebook Insights',
942
- 'tooltip' => 'Enable this feature to enable Facebook Insights',
943
- 'value' => 'Y',
944
- 'checked' => isset( $arr_settings['bar_facebook_insights'] ) && 'Y' === $arr_settings['bar_facebook_insights'] ? 'checked' : null,
945
- 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? 'disabled' : null,
946
- );
947
-
948
- // Twitter share text.
949
- $opts34 = array(
950
- 'form_group' => false,
951
- 'type' => 'text',
952
- 'placeholder' => 'Shared by Twitter...',
953
- 'name' => 'ssba_twitter_text',
954
- 'label' => 'Twitter Text',
955
- 'tooltip' => 'Add some custom text for when people share via Twitter',
956
- 'value' => isset( $arr_settings['ssba_twitter_text'] ) ? $arr_settings['ssba_twitter_text'] : '',
957
- );
958
-
959
- // Twitter share text for plus.
960
- $opts34p = array(
961
- 'form_group' => false,
962
- 'type' => 'text',
963
- 'placeholder' => 'Shared by Twitter...',
964
- 'name' => 'ssba_plus_twitter_text',
965
- 'label' => 'Twitter Text',
966
- 'tooltip' => 'Add some custom text for when people share via Twitter',
967
- 'value' => isset( $arr_settings['ssba_plus_twitter_text'] ) ? $arr_settings['ssba_plus_twitter_text'] : '',
968
- );
969
-
970
- // Twitter share text for share bar.
971
- $opts34s = array(
972
- 'form_group' => false,
973
- 'type' => 'text',
974
- 'placeholder' => 'Shared by Twitter...',
975
- 'name' => 'ssba_bar_twitter_text',
976
- 'label' => 'Twitter Text',
977
- 'tooltip' => 'Add some custom text for when people share via Twitter',
978
- 'value' => isset( $arr_settings['ssba_bar_twitter_text'] ) ? $arr_settings['ssba_bar_twitter_text'] : '',
979
- );
980
-
981
- // Flattr user id.
982
- $opts35 = array(
983
- 'form_group' => false,
984
- 'type' => 'text',
985
- 'placeholder' => 'davidsneal',
986
- 'name' => 'ssba_flattr_user_id',
987
- 'label' => 'Flattr User ID',
988
- 'tooltip' => 'Enter your Flattr ID, e.g. davidsneal',
989
- 'value' => isset( $arr_settings['ssba_flattr_user_id'] ) ? $arr_settings['ssba_flattr_user_id'] : '',
990
- );
991
-
992
- // Flattr user id for plus.
993
- $opts35p = array(
994
- 'form_group' => false,
995
- 'type' => 'text',
996
- 'placeholder' => 'davidsneal',
997
- 'name' => 'ssba_plus_flattr_user_id',
998
- 'label' => 'Flattr User ID',
999
- 'tooltip' => 'Enter your Flattr ID, e.g. davidsneal',
1000
- 'value' => isset( $arr_settings['ssba_plus_flattr_user_id'] ) ? $arr_settings['ssba_plus_flattr_user_id'] : '',
1001
- );
1002
-
1003
- // Flattr user id for share bar.
1004
- $opts35s = array(
1005
- 'form_group' => false,
1006
- 'type' => 'text',
1007
- 'placeholder' => 'davidsneal',
1008
- 'name' => 'ssba_bar_flattr_user_id',
1009
- 'label' => 'Flattr User ID',
1010
- 'tooltip' => 'Enter your Flattr ID, e.g. davidsneal',
1011
- 'value' => isset( $arr_settings['ssba_bar_flattr_user_id'] ) ? $arr_settings['ssba_bar_flattr_user_id'] : '',
1012
- );
1013
-
1014
- // Flattr url.
1015
- $opts36 = array(
1016
- 'form_group' => false,
1017
- 'type' => 'text',
1018
- 'placeholder' => 'flattr.com/@username',
1019
- 'name' => 'ssba_flattr_url',
1020
- 'label' => 'Flattr URL',
1021
- 'tooltip' => 'This option is perfect for dedicated sites, e.g. https://simplesharebuttons.com',
1022
- 'value' => isset( $arr_settings['ssba_flattr_url'] ) ? $arr_settings['ssba_flattr_url'] : '',
1023
- );
1024
-
1025
- // Flattr url for plus.
1026
- $opts36p = array(
1027
- 'form_group' => false,
1028
- 'type' => 'text',
1029
- 'placeholder' => 'flattr.com/@username',
1030
- 'name' => 'ssba_plus_flattr_url',
1031
- 'label' => 'Flattr URL',
1032
- 'tooltip' => 'This option is perfect for dedicated sites, e.g. https://simplesharebuttons.com',
1033
- 'value' => isset( $arr_settings['ssba_plus_flattr_url'] ) ? $arr_settings['ssba_plus_flattr_url'] : '',
1034
- );
1035
-
1036
- // Flattr url for share bar.
1037
- $opts36s = array(
1038
- 'form_group' => false,
1039
- 'type' => 'text',
1040
- 'placeholder' => 'flattr.com/@username',
1041
- 'name' => 'ssba_bar_flattr_url',
1042
- 'label' => 'Flattr URL',
1043
- 'tooltip' => 'This option is perfect for dedicated sites, e.g. https://simplesharebuttons.com',
1044
- 'value' => isset( $arr_settings['ssba_bar_flattr_url'] ) ? $arr_settings['ssba_bar_flattr_url'] : '',
1045
- );
1046
-
1047
- // Buffer text.
1048
- $opts37 = array(
1049
- 'form_group' => false,
1050
- 'type' => 'text',
1051
- 'placeholder' => 'Shared by Buffer...',
1052
- 'name' => 'ssba_buffer_text',
1053
- 'label' => 'Custom Buffer Text',
1054
- 'tooltip' => 'Add some custom text for when people share via Buffer',
1055
- 'value' => isset( $arr_settings['ssba_buffer_text'] ) ? $arr_settings['ssba_buffer_text'] : '',
1056
- );
1057
-
1058
- // Buffer text for plus.
1059
- $opts37p = array(
1060
- 'form_group' => false,
1061
- 'type' => 'text',
1062
- 'placeholder' => 'Shared by Buffer...',
1063
- 'name' => 'ssba_plus_buffer_text',
1064
- 'label' => 'Custom Buffer Text',
1065
- 'tooltip' => 'Add some custom text for when people share via Buffer',
1066
- 'value' => isset( $arr_settings['ssba_plus_buffer_text'] ) ? $arr_settings['ssba_plus_buffer_text'] : '',
1067
- );
1068
-
1069
- // Buffer text for share bar.
1070
- $opts37s = array(
1071
- 'form_group' => false,
1072
- 'type' => 'text',
1073
- 'placeholder' => 'Shared by Buffer...',
1074
- 'name' => 'ssba_bar_buffer_text',
1075
- 'label' => 'Custom Buffer Text',
1076
- 'tooltip' => 'Add some custom text for when people share via Buffer',
1077
- 'value' => isset( $arr_settings['ssba_bar_buffer_text'] ) ? $arr_settings['ssba_bar_buffer_text'] : '',
1078
- );
1079
-
1080
- // Pin featured images.
1081
- $opts38 = array(
1082
- 'form_group' => false,
1083
- 'type' => 'checkbox',
1084
- 'name' => 'ssba_pinterest_featured',
1085
- 'label' => 'Pin Featured Images',
1086
- 'tooltip' => 'Force the use of featured images for posts/pages when pinning',
1087
- 'value' => 'Y',
1088
- 'checked' => isset( $arr_settings['ssba_pinterest_featured'] ) && 'Y' === $arr_settings['ssba_pinterest_featured'] ? 'checked' : null,
1089
- );
1090
-
1091
- // Pin featured images for plus.
1092
- $opts38p = array(
1093
- 'form_group' => false,
1094
- 'type' => 'checkbox',
1095
- 'name' => 'ssba_plus_pinterest_featured',
1096
- 'label' => 'Pin Featured Images',
1097
- 'tooltip' => 'Force the use of featured images for posts/pages when pinning',
1098
- 'value' => 'Y',
1099
- 'checked' => isset( $arr_settings['ssba_plus_pinterest_featured'] ) && 'Y' === $arr_settings['ssba_plus_pinterest_featured'] ? 'checked' : null,
1100
- );
1101
-
1102
- // Pin featured images for share bar.
1103
- $opts38s = array(
1104
- 'form_group' => false,
1105
- 'type' => 'checkbox',
1106
- 'name' => 'ssba_bar_pinterest_featured',
1107
- 'label' => 'Pin Featured Images',
1108
- 'tooltip' => 'Force the use of featured images for posts/pages when pinning',
1109
- 'value' => 'Y',
1110
- 'checked' => isset( $arr_settings['ssba_bar_pinterest_featured'] ) && 'Y' === $arr_settings['ssba_bar_pinterest_featured'] ? 'checked' : null,
1111
- );
1112
-
1113
- // Default pinterest image.
1114
- $opts39 = array(
1115
- 'form_group' => false,
1116
- 'type' => 'image_upload',
1117
- 'name' => 'ssba_default_pinterest',
1118
- 'label' => 'Default Pinterest Image',
1119
- 'tooltip' => 'Upload a default Pinterest image',
1120
- 'value' => isset( $arr_settings['ssba_default_pinterest'] ) ? $arr_settings['ssba_default_pinterest'] : '',
1121
- );
1122
-
1123
- // Default pinterest image for plus.
1124
- $opts39p = array(
1125
- 'form_group' => false,
1126
- 'type' => 'image_upload',
1127
- 'name' => 'ssba_plus_default_pinterest',
1128
- 'label' => 'Default Pinterest Image',
1129
- 'tooltip' => 'Upload a default Pinterest image',
1130
- 'value' => isset( $arr_settings['ssba_plus_default_pinterest'] ) ? $arr_settings['ssba_plus_default_pinterest'] : '',
1131
- );
1132
-
1133
- // Default pinterest image for share bar.
1134
- $opts39s = array(
1135
- 'form_group' => false,
1136
- 'type' => 'image_upload',
1137
- 'name' => 'ssba_bar_default_pinterest',
1138
- 'label' => 'Default Pinterest Image',
1139
- 'tooltip' => 'Upload a default Pinterest image',
1140
- 'value' => isset( $arr_settings['ssba_bar_default_pinterest'] ) ? $arr_settings['ssba_bar_default_pinterest'] : '',
1141
- );
1142
-
1143
- // Additional css.
1144
- $opts40 = array(
1145
- 'form_group' => false,
1146
- 'type' => 'textarea',
1147
- 'rows' => '15',
1148
- 'class' => 'code-font',
1149
- 'name' => 'ssba_additional_css',
1150
- 'label' => 'Additional CSS',
1151
- 'tooltip' => 'Add your own additional CSS if you wish',
1152
- 'value' => isset( $arr_settings['ssba_additional_css'] ) ? $arr_settings['ssba_additional_css'] : '',
1153
- );
1154
-
1155
- // Additional css for plus.
1156
- $opts40p = array(
1157
- 'form_group' => false,
1158
- 'type' => 'textarea',
1159
- 'rows' => '15',
1160
- 'class' => 'code-font',
1161
- 'name' => 'ssba_plus_additional_css',
1162
- 'label' => 'Additional CSS',
1163
- 'tooltip' => 'Add your own additional CSS if you wish',
1164
- 'value' => isset( $arr_settings['ssba_plus_additional_css'] ) ? $arr_settings['ssba_plus_additional_css'] : '',
1165
- );
1166
-
1167
- // Additional css for share.
1168
- $opts40s = array(
1169
- 'form_group' => false,
1170
- 'type' => 'textarea',
1171
- 'rows' => '15',
1172
- 'class' => 'code-font',
1173
- 'name' => 'ssba_bar_additional_css',
1174
- 'label' => 'Additional CSS',
1175
- 'tooltip' => 'Add your own additional CSS if you wish',
1176
- 'value' => isset( $arr_settings['ssba_bar_additional_css'] ) ? $arr_settings['ssba_bar_additional_css'] : '',
1177
- );
1178
-
1179
- // Enable custom css.
1180
- $opts41 = array(
1181
- 'form_group' => false,
1182
- 'type' => 'checkbox',
1183
- 'name' => 'ssba_custom_styles_enabled',
1184
- 'label' => 'Enable Custom CSS',
1185
- 'tooltip' => 'Switch on to disable all SSBA styles and use your own custom CSS',
1186
- 'value' => 'Y',
1187
- 'checked' => isset( $arr_settings['ssba_custom_styles_enabled'] ) && 'Y' === $arr_settings['ssba_custom_styles_enabled'] ? 'checked' : null,
1188
- );
1189
-
1190
- // Custom css.
1191
- $opts42 = array(
1192
- 'form_group' => false,
1193
- 'type' => 'textarea',
1194
- 'rows' => '15',
1195
- 'class' => 'code-font',
1196
- 'name' => 'ssba_custom_styles',
1197
- 'label' => 'Custom CSS',
1198
- 'tooltip' => 'Enter in your own custom CSS for your share buttons',
1199
- 'value' => isset( $arr_settings['ssba_custom_styles'] ) ? $arr_settings['ssba_custom_styles'] : '',
1200
- );
1201
-
1202
- // Switch to new buttons.
1203
- $opts43 = array(
1204
- 'form_group' => false,
1205
- 'type' => 'checkbox',
1206
- 'name' => 'ssba_new_buttons',
1207
- 'label' => 'Plus Share Buttons',
1208
- 'tooltip' => 'If "On" new buttons replace the old on your site.',
1209
- 'value' => 'Y',
1210
- 'checked' => isset( $arr_settings['ssba_new_buttons'] ) && 'Y' === $arr_settings['ssba_new_buttons'] ? 'checked' : null,
1211
- );
1212
-
1213
- // Select style of new buttons.
1214
- $opts44 = array(
1215
- 'form_group' => false,
1216
- 'type' => 'select',
1217
- 'name' => 'ssba_plus_button_style',
1218
- 'label' => 'Theme',
1219
- 'tooltip' => 'Choose the style of the new buttons',
1220
- 'selected' => isset( $arr_settings['ssba_plus_button_style'] ) ? $arr_settings['ssba_plus_button_style'] : '',
1221
- 'options' => array(
1222
- 'Round' => 1,
1223
- 'Square' => 2,
1224
- 'Logo Name' => 3,
1225
- 'Rounded' => 4,
1226
- '3D' => 5,
1227
- 'Border Round' => 6,
1228
- 'Border Logo Name' => 7,
1229
- 'Black Border' => 8,
1230
- 'Underline' => 9,
1231
- 'Auto Square' => 10,
1232
- 'Name' => 11,
1233
- ),
1234
- );
1235
-
1236
- // Locations.
1237
- $opts48 = array(
1238
- 'form_group' => false,
1239
- 'label' => 'Locations',
1240
- 'tooltip' => 'Enable the locations you wish for plus buttons to appear',
1241
- 'value' => 'Y',
1242
- 'checkboxes' => $locs3,
1243
- );
1244
-
1245
- // Placement.
1246
- $opts49 = array(
1247
- 'form_group' => false,
1248
- 'type' => 'select',
1249
- 'name' => 'ssba_before_or_after_plus',
1250
- 'label' => 'Placement',
1251
- 'tooltip' => 'Place share buttons before or after your content',
1252
- 'selected' => isset( $arr_settings['ssba_before_or_after_plus'] ) ? $arr_settings['ssba_before_or_after_plus'] : '',
1253
- 'options' => array(
1254
- 'After' => 'after',
1255
- 'Before' => 'before',
1256
- 'Both' => 'both',
1257
- ),
1258
- );
1259
-
1260
- // Locations.
1261
- $opts45 = array(
1262
- 'form_group' => false,
1263
- 'label' => 'Locations',
1264
- 'tooltip' => 'Enable the locations you wish for share buttons to appear',
1265
- 'value' => 'Y',
1266
- 'checkboxes' => $locs2,
1267
- );
1268
-
1269
- // Select style of share bar.
1270
- $opts46 = array(
1271
- 'form_group' => false,
1272
- 'type' => 'select',
1273
- 'name' => 'ssba_bar_style',
1274
- 'label' => 'Style',
1275
- 'tooltip' => 'Choose the style of the share bar buttons',
1276
- 'selected' => isset( $arr_settings['ssba_bar_style'] ) ? $arr_settings['ssba_bar_style'] : '',
1277
- 'options' => array(
1278
- 'Round' => 1,
1279
- 'Square' => 2,
1280
- 'Rounded' => 4,
1281
- '3D' => 5,
1282
- 'Border Round' => 6,
1283
- 'Black Border' => 8,
1284
- 'Underline' => 9,
1285
- ),
1286
- );
1287
-
1288
- // Select position of share bar.
1289
- $opts47 = array(
1290
- 'form_group' => false,
1291
- 'type' => 'select',
1292
- 'name' => 'ssba_bar_position',
1293
- 'label' => 'Alignment',
1294
- 'tooltip' => 'Choose the share bar position',
1295
- 'selected' => isset( $arr_settings['ssba_bar_position'] ) ? $arr_settings['ssba_bar_position'] : '',
1296
- 'options' => array(
1297
- 'Sticky Left' => 'left',
1298
- 'Sticky Right' => 'right',
1299
- ),
1300
- );
1301
-
1302
- // Plus buttons height.
1303
- $plus_height = array(
1304
- 'form_group' => false,
1305
- 'type' => 'number_addon',
1306
- 'addon' => 'px',
1307
- 'placeholder' => '48',
1308
- 'name' => 'ssba_plus_height',
1309
- 'label' => 'Height',
1310
- 'tooltip' => 'Set the height of the plus buttons',
1311
- 'value' => isset( $arr_settings['ssba_plus_height'] ) ? $arr_settings['ssba_plus_height'] : '',
1312
- );
1313
-
1314
- // Plus buttons width.
1315
- $plus_width = array(
1316
- 'form_group' => false,
1317
- 'type' => 'number_addon',
1318
- 'addon' => 'px',
1319
- 'placeholder' => '48',
1320
- 'name' => 'ssba_plus_width',
1321
- 'label' => 'Width',
1322
- 'tooltip' => 'Set the width of the plus buttons',
1323
- 'value' => isset( $arr_settings['ssba_plus_width'] ) ? $arr_settings['ssba_plus_width'] : '',
1324
- );
1325
-
1326
- // Plus icon size.
1327
- $plus_icon_size = array(
1328
- 'form_group' => false,
1329
- 'type' => 'number_addon',
1330
- 'addon' => 'px',
1331
- 'placeholder' => '24',
1332
- 'name' => 'ssba_plus_icon_size',
1333
- 'label' => 'Icon Size',
1334
- 'tooltip' => 'Set the icon size of the plus buttons',
1335
- 'value' => isset( $arr_settings['ssba_plus_icon_size'] ) ? $arr_settings['ssba_plus_icon_size'] : '',
1336
- );
1337
-
1338
- // Plus button margin.
1339
- $plus_margin = array(
1340
- 'form_group' => false,
1341
- 'type' => 'number_addon',
1342
- 'addon' => 'px',
1343
- 'placeholder' => '12',
1344
- 'name' => 'ssba_plus_margin',
1345
- 'label' => 'Margin',
1346
- 'tooltip' => 'Set the margin of the plus buttons',
1347
- 'value' => isset( $arr_settings['ssba_plus_margin'] ) ? $arr_settings['ssba_plus_margin'] : '',
1348
- );
1349
-
1350
- // Plus button color override.
1351
- $plus_button_color = array(
1352
- 'form_group' => false,
1353
- 'type' => 'colorpicker',
1354
- 'name' => 'ssba_plus_button_color',
1355
- 'label' => 'Button Color',
1356
- 'tooltip' => 'Choose the color for all plus buttons',
1357
- 'value' => isset( $arr_settings['ssba_plus_button_color'] ) ? $arr_settings['ssba_plus_button_color'] : '',
1358
- );
1359
-
1360
- // Plus button hover color override.
1361
- $plus_hover_color = array(
1362
- 'form_group' => false,
1363
- 'type' => 'colorpicker',
1364
- 'name' => 'ssba_plus_button_hover_color',
1365
- 'label' => 'Hover Color',
1366
- 'tooltip' => 'Choose the color for all plus buttons hover',
1367
- 'value' => isset( $arr_settings['ssba_plus_button_hover_color'] ) ? $arr_settings['ssba_plus_button_hover_color'] : '',
1368
- );
1369
-
1370
- // Plus icon color override.
1371
- $plus_icon_color = array(
1372
- 'form_group' => false,
1373
- 'type' => 'colorpicker',
1374
- 'name' => 'ssba_plus_icon_color',
1375
- 'label' => 'Icon Color',
1376
- 'tooltip' => 'Choose the color for all plus button icons',
1377
- 'value' => isset( $arr_settings['ssba_plus_icon_color'] ) ? $arr_settings['ssba_plus_icon_color'] : '',
1378
- );
1379
-
1380
- // Plus button color override.
1381
- $plus_icon_hover_color = array(
1382
- 'form_group' => false,
1383
- 'type' => 'colorpicker',
1384
- 'name' => 'ssba_plus_icon_hover_color',
1385
- 'label' => 'Icon Hover Color',
1386
- 'tooltip' => 'Choose the color for all plus button icons hover',
1387
- 'value' => isset( $arr_settings['ssba_plus_icon_hover_color'] ) ? $arr_settings['ssba_plus_icon_hover_color'] : '',
1388
- );
1389
-
1390
- // share buttons height.
1391
- $share_height = array(
1392
- 'form_group' => false,
1393
- 'type' => 'number_addon',
1394
- 'addon' => 'px',
1395
- 'placeholder' => '48',
1396
- 'name' => 'ssba_bar_height',
1397
- 'label' => 'Height',
1398
- 'tooltip' => 'Set the height of the share bar buttons',
1399
- 'value' => isset( $arr_settings['ssba_bar_height'] ) ? $arr_settings['ssba_bar_height'] : '',
1400
- );
1401
-
1402
- // share buttons width.
1403
- $share_width = array(
1404
- 'form_group' => false,
1405
- 'type' => 'number_addon',
1406
- 'addon' => 'px',
1407
- 'placeholder' => '48',
1408
- 'name' => 'ssba_bar_width',
1409
- 'label' => 'Width',
1410
- 'tooltip' => 'Set the width of the share bar buttons',
1411
- 'value' => isset( $arr_settings['ssba_bar_width'] ) ? $arr_settings['ssba_bar_width'] : '',
1412
- );
1413
-
1414
- // share icon size.
1415
- $share_icon_size = array(
1416
- 'form_group' => false,
1417
- 'type' => 'number_addon',
1418
- 'addon' => 'px',
1419
- 'placeholder' => '24',
1420
- 'name' => 'ssba_bar_icon_size',
1421
- 'label' => 'Icon Size',
1422
- 'tooltip' => 'Set the icon size of the share bar buttons',
1423
- 'value' => isset( $arr_settings['ssba_bar_icon_size'] ) ? $arr_settings['ssba_bar_icon_size'] : '',
1424
- );
1425
-
1426
- // share button margin.
1427
- $share_margin = array(
1428
- 'form_group' => false,
1429
- 'type' => 'number_addon',
1430
- 'addon' => 'px',
1431
- 'placeholder' => '12',
1432
- 'name' => 'ssba_bar_margin',
1433
- 'label' => 'Margin',
1434
- 'tooltip' => 'Set the margin of the share bar buttons',
1435
- 'value' => isset( $arr_settings['ssba_bar_margin'] ) ? $arr_settings['ssba_bar_margin'] : '',
1436
- );
1437
-
1438
- // share button color override.
1439
- $share_button_color = array(
1440
- 'form_group' => false,
1441
- 'type' => 'colorpicker',
1442
- 'name' => 'ssba_bar_button_color',
1443
- 'label' => 'Button Color',
1444
- 'tooltip' => 'Choose the color for all share bar buttons',
1445
- 'value' => isset( $arr_settings['ssba_bar_button_color'] ) ? $arr_settings['ssba_bar_button_color'] : '',
1446
- );
1447
-
1448
- // share button hover color override.
1449
- $share_hover_color = array(
1450
- 'form_group' => false,
1451
- 'type' => 'colorpicker',
1452
- 'name' => 'ssba_bar_button_hover_color',
1453
- 'label' => 'Hover Color',
1454
- 'tooltip' => 'Choose the color for all share bar buttons hover',
1455
- 'value' => isset( $arr_settings['ssba_bar_button_hover_color'] ) ? $arr_settings['ssba_bar_button_hover_color'] : '',
1456
- );
1457
-
1458
- // share icon color override.
1459
- $share_icon_color = array(
1460
- 'form_group' => false,
1461
- 'type' => 'colorpicker',
1462
- 'name' => 'ssba_bar_icon_color',
1463
- 'label' => 'Icon Color',
1464
- 'tooltip' => 'Choose the color for all share bar button icons',
1465
- 'value' => isset( $arr_settings['ssba_bar_icon_color'] ) ? $arr_settings['ssba_bar_icon_color'] : '',
1466
- );
1467
-
1468
- // share button color override.
1469
- $share_icon_hover_color = array(
1470
- 'form_group' => false,
1471
- 'type' => 'colorpicker',
1472
- 'name' => 'ssba_bar_icon_hover_color',
1473
- 'label' => 'Icon Hover Color',
1474
- 'tooltip' => 'Choose the color for all share bar button icons hover',
1475
- 'value' => isset( $arr_settings['ssba_bar_icon_hover_color'] ) ? $arr_settings['ssba_bar_icon_hover_color'] : '',
1476
- );
1477
-
1478
- // Enable share bar.
1479
- $share_bar = array(
1480
- 'form_group' => false,
1481
- 'type' => 'checkbox',
1482
- 'type' => 'checkbox',
1483
- 'name' => 'ssba_bar_enabled',
1484
- 'label' => 'Share Bar',
1485
- 'tooltip' => 'If "On" share bar will appear on your site.',
1486
- 'value' => 'Y',
1487
- 'checked' => isset( $arr_settings['ssba_bar_enabled'] ) && 'Y' === $arr_settings['ssba_bar_enabled'] ? 'checked' : null,
1488
- );
1489
-
1490
- // Share bar display.
1491
- $share_bar_display = array(
1492
- 'form_group' => false,
1493
- 'label' => 'Display on',
1494
- 'tooltip' => 'Disable to hide on desktop or mobile views',
1495
- 'value' => 'Y',
1496
- 'checkboxes' => $display_loc,
1497
- );
1498
-
1499
- // share button mobile breakpoint.
1500
- $mobile_breakpoint = array(
1501
- 'form_group' => false,
1502
- 'type' => 'number_addon',
1503
- 'addon' => 'px',
1504
- 'placeholder' => '780',
1505
- 'name' => 'ssba_mobile_breakpoint',
1506
- 'label' => 'Mobile Breakpoint',
1507
- 'tooltip' => 'Set the share bar mobile breakpoint when it centers on screen',
1508
- 'value' => isset( $arr_settings['ssba_mobile_breakpoint'] ) ? $arr_settings['ssba_mobile_breakpoint'] : '',
1509
- );
1510
-
1511
- // Sharedcount api key.
1512
- $page_omit = array(
1513
- 'form_group' => false,
1514
- 'type' => 'text',
1515
- 'placeholder' => 'Enter page titles separated by commas...',
1516
- 'name' => 'ssba_omit_pages',
1517
- 'label' => 'Hide On These Pages',
1518
- 'tooltip' => 'Add one or more page titles separated by commas of pages you wish to hide these buttons on.',
1519
- 'value' => isset( $arr_settings['ssba_omit_pages'] ) ? $arr_settings['ssba_omit_pages'] : '',
1520
- );
1521
-
1522
- // Sharedcount api key.
1523
- $page_omit_plus = array(
1524
- 'form_group' => false,
1525
- 'type' => 'text',
1526
- 'placeholder' => 'Enter page titles separated by commas...',
1527
- 'name' => 'ssba_omit_pages_plus',
1528
- 'label' => 'Hide On These Pages',
1529
- 'tooltip' => 'Add one or more page titles separated by commas of pages you wish to hide these buttons on.',
1530
- 'value' => isset( $arr_settings['ssba_omit_pages_plus'] ) ? $arr_settings['ssba_omit_pages_plus'] : '',
1531
- );
1532
-
1533
- // Sharedcount api key.
1534
- $page_omit_bar = array(
1535
- 'form_group' => false,
1536
- 'type' => 'text',
1537
- 'placeholder' => 'Enter page titles separated by commas...',
1538
- 'name' => 'ssba_omit_pages_bar',
1539
- 'label' => 'Hide On These Pages',
1540
- 'tooltip' => 'Add one or more page titles separated by commas of pages you wish to hide these buttons on.',
1541
- 'value' => isset( $arr_settings['ssba_omit_pages_bar'] ) ? $arr_settings['ssba_omit_pages_bar'] : '',
1542
- );
1543
-
1544
- // Notices.
1545
- $notice = get_option( 'ssba_dismiss_notice' );
1546
-
1547
- // All buttons.
1548
- $arr_buttons = array_values( json_decode( get_option( 'ssba_buttons' ), true ) );
1549
- $selected_buttons = explode( ',', $arr_settings['ssba_selected_buttons'] );
1550
- $selected_plus_buttons = explode( ',', $arr_settings['ssba_selected_plus_buttons'] );
1551
- $selected_bar_buttons = explode( ',', $arr_settings['ssba_selected_bar_buttons'] );
1552
- $non_selected_buttons = array();
1553
-
1554
- // Custom button key.
1555
- $custom_buttons = $this->get_custom_button_key( $arr_settings );
1556
-
1557
- foreach ( $arr_buttons as $button_name ) {
1558
- $new_name = str_replace( '+', '', str_replace( ' ', '_', strtolower( $button_name['full_name'] ) ) );
1559
- $new_arr_buttons[ $new_name ] = $button_name;
1560
- }
1561
-
1562
- foreach ( $selected_buttons as $button ) {
1563
- if ( isset( $new_arr_buttons[ $button ] ) ) {
1564
- $selected_button_array[] = $new_arr_buttons[ $button ];
1565
- }
1566
- }
1567
-
1568
- // Plus buttons.
1569
- foreach ( $selected_plus_buttons as $plus_button ) {
1570
- if ( isset( $new_arr_buttons[ $plus_button ] ) ) {
1571
- $selected_plus_button_array[] = $new_arr_buttons[ $plus_button ];
1572
- }
1573
- }
1574
-
1575
- // Bar buttons.
1576
- foreach ( $selected_bar_buttons as $bar_button ) {
1577
- if ( isset( $new_arr_buttons[ $bar_button ] ) ) {
1578
- $selected_bar_button_array[] = $new_arr_buttons[ $bar_button ];
1579
- }
1580
- }
1581
-
1582
- foreach ( $arr_buttons as $non_buttons ) {
1583
- if ( is_array( $selected_button_array ) && ! in_array( $non_buttons, $selected_button_array, true ) ) {
1584
- $non_selected_buttons[] = $non_buttons;
1585
- }
1586
- }
1587
-
1588
- // Plus buttons.
1589
- foreach ( $arr_buttons as $non_plus_buttons ) {
1590
- if ( is_array( $selected_plus_button_array ) && ! in_array( $non_plus_buttons, $selected_plus_button_array, true ) ) {
1591
- $non_plus_selected_buttons[] = $non_plus_buttons;
1592
- }
1593
- }
1594
-
1595
- // Bar Buttons.
1596
- foreach ( $arr_buttons as $non_bar_buttons ) {
1597
- if ( is_array( $selected_bar_button_array ) && ! in_array( $non_bar_buttons, $selected_bar_button_array, true ) ) {
1598
- $non_bar_selected_buttons[] = $non_bar_buttons;
1599
- }
1600
- }
1601
-
1602
- if ( ! is_array( $selected_button_array ) && is_array( $non_selected_buttons ) ) {
1603
- $arr_buttons = $non_selected_buttons;
1604
- } elseif ( ! is_array( $non_selected_buttons ) && is_array( $selected_button_array ) ) {
1605
- $arr_buttons = $selected_button_array;
1606
- } elseif ( is_array( $selected_button_array ) && is_array( $non_selected_buttons ) ) {
1607
- $arr_buttons = array_merge( $selected_button_array, $non_selected_buttons );
1608
- }
1609
-
1610
- // Plus buttons.
1611
- if ( ! is_array( $selected_plus_button_array ) && is_array( $non_plus_selected_buttons ) ) {
1612
- $arr_plus_buttons = $non_plus_selected_buttons;
1613
- } elseif ( ! is_array( $non_plus_selected_buttons ) && is_array( $selected_plus_button_array ) ) {
1614
- $arr_plus_buttons = $selected_plus_button_array;
1615
- } elseif ( is_array( $selected_plus_button_array ) && is_array( $non_plus_selected_buttons ) ) {
1616
- $arr_plus_buttons = array_merge( $selected_plus_button_array, $non_plus_selected_buttons );
1617
- }
1618
-
1619
- // Bar buttons.
1620
- if ( ! is_array( $selected_bar_button_array ) && is_array( $non_bar_selected_buttons ) ) {
1621
- $arr_bar_buttons = $non_bar_selected_buttons;
1622
- } elseif ( ! is_array( $non_bar_selected_buttons ) && is_array( $selected_bar_button_array ) ) {
1623
- $arr_bar_buttons = $selected_bar_button_array;
1624
- } elseif ( is_array( $selected_bar_button_array ) && is_array( $non_bar_selected_buttons ) ) {
1625
- $arr_bar_buttons = array_merge( $selected_bar_button_array, $non_bar_selected_buttons );
1626
- }
1627
-
1628
- include_once "{$this->plugin->dir_path}/templates/admin-panel.php";
1629
- }
1630
-
1631
- /**
1632
- * Get an html formatted of currently selected and ordered buttons.
1633
- *
1634
- * @param array $str_selected_ssba The selected buttons.
1635
- * @param array $arr_settings The current ssba settings.
1636
- *
1637
- * @return string
1638
- */
1639
- public function get_selected_ssba( $str_selected_ssba, $arr_settings ) {
1640
- // Variables.
1641
- $html_selected_list = '';
1642
-
1643
- // Prepare array of buttons.
1644
- $arr_buttons = json_decode( get_option( 'ssba_buttons' ), true );
1645
-
1646
- // If there are some selected buttons.
1647
- if ( '' !== $str_selected_ssba && null !== $str_selected_ssba && false !== $str_selected_ssba ) {
1648
- // Explode saved include list and add to a new array.
1649
- $arr_selected_ssba = explode( ',', $str_selected_ssba );
1650
-
1651
- // Check if array is not empty.
1652
- if ( '' !== $arr_selected_ssba ) {
1653
- // For each included button.
1654
- foreach ( $arr_selected_ssba as $str_selected ) {
1655
- // If share this terms haven't been accepted and it's the facebook save button then make the button look disabled.
1656
- $disabled = 'Y' !== $arr_settings['accepted_sharethis_terms'] && 'facebook_save' === $str_selected ? 'style="background-color:#eaeaea;"' : null;
1657
-
1658
- // Add a list item for each selected option.
1659
- $html_selected_list .= '<li class="ssbp-option-item" id="' . esc_attr( $str_selected ) . '"><a title="' . esc_attr( $arr_buttons[ $str_selected ]['full_name'] ) . '" class="ssbp-btn ssbp-' . esc_attr( $str_selected ) . '" ' . esc_attr( $disabled ) . '></a></li>';
1660
- }
1661
- }
1662
- }
1663
-
1664
- // Return html list options.
1665
- return $html_selected_list;
1666
- }
1667
-
1668
- /**
1669
- * Custom button key.
1670
- *
1671
- * @param array $arr_settings The current site settings.
1672
- */
1673
- public function get_custom_button_key( $arr_settings ) {
1674
- $custom_array = array(
1675
- 'facebook' => isset( $arr_settings['ssba_custom_facebook'] ) ? $arr_settings['ssba_custom_facebook'] : '',
1676
- 'twitter' => isset( $arr_settings['ssba_custom_twitter'] ) ? $arr_settings['ssba_custom_twitter'] : '',
1677
- 'linkedin' => isset( $arr_settings['ssba_custom_linkedin'] ) ? $arr_settings['ssba_custom_linkedin'] : '',
1678
- 'flattr' => isset( $arr_settings['ssba_custom_flattr'] ) ? $arr_settings['ssba_custom_flattr'] : '',
1679
- 'pinterest' => isset( $arr_settings['ssba_custom_pinterest'] ) ? $arr_settings['ssba_custom_pinterest'] : '',
1680
- 'print' => isset( $arr_settings['ssba_custom_print'] ) ? $arr_settings['ssba_custom_print'] : '',
1681
- 'reddit' => isset( $arr_settings['ssba_custom_reddit'] ) ? $arr_settings['ssba_custom_reddit'] : '',
1682
- 'stumbleupon' => isset( $arr_settings['ssba_custom_stumbleupon'] ) ? $arr_settings['ssba_custom_stumbleupon'] : '',
1683
- 'tumblr' => isset( $arr_settings['ssba_custom_tumblr'] ) ? $arr_settings['ssba_custom_tumblr'] : '',
1684
- 'vk' => isset( $arr_settings['ssba_custom_vk'] ) ? $arr_settings['ssba_custom_vk'] : '',
1685
- 'whatsapp' => isset( $arr_settings['ssba_custom_whatsapp'] ) ? $arr_settings['ssba_custom_whatsapp'] : '',
1686
- 'xing' => isset( $arr_settings['ssba_custom_xing'] ) ? $arr_settings['ssba_custom_xing'] : '',
1687
- 'yummly' => isset( $arr_settings['ssba_custom_yummly'] ) ? $arr_settings['ssba_custom_yummly'] : '',
1688
- );
1689
-
1690
- return $custom_array;
1691
- }
1692
-
1693
- /**
1694
- * Get available share buttons.
1695
- *
1696
- * @param array $str_selected_ssba The selected buttons.
1697
- * @param array $arr_settings The current ssba settings.
1698
- *
1699
- * @return string
1700
- */
1701
- public function get_available_ssba( $str_selected_ssba, $arr_settings ) {
1702
- // Variables.
1703
- $html_available_list = '';
1704
-
1705
- // Prepare array of buttons.
1706
- $arr_buttons = json_decode( get_option( 'ssba_buttons' ), true );
1707
-
1708
- // Explode saved include list and add to a new array.
1709
- $arr_selected_ssba = explode( ',', $str_selected_ssba );
1710
-
1711
- // Extract the available buttons.
1712
- $arr_available_ssba = array_diff( array_keys( $arr_buttons ), $arr_selected_ssba );
1713
-
1714
- // Check if array is not empty.
1715
- if ( '' !== $arr_selected_ssba ) {
1716
- // For each included button.
1717
- foreach ( $arr_available_ssba as $str_available ) {
1718
- // If share this terms haven't been accepted and it's the facebook save button then make the button look disabled.
1719
- $disabled = 'Y' !== $arr_settings['accepted_sharethis_terms'] && 'facebook_save' === $str_available ? 'style="background-color:#eaeaea;"' : null;
1720
-
1721
- if ( 'facebook_save' === $str_available && isset( $arr_settings['bar_call'] ) ) {
1722
- $html_available_list .= ''; // Do nothing.
1723
- } else {
1724
- // Add a list item for each available option.
1725
- $html_available_list .= '<li class="ssbp-option-item" id="' . esc_attr( $str_available ) . '"><a title="' . esc_attr( $arr_buttons[ $str_available ]['full_name'] ) . '" class="ssbp-btn ssbp-' . esc_attr( $str_available ) . '" ' . esc_attr( $disabled ) . '></a></li>';
1726
- }
1727
- }
1728
- }
1729
-
1730
- // Return html list options.
1731
- return $html_available_list;
1732
- }
1733
-
1734
- /**
1735
- * Get ssbp font family.
1736
- *
1737
- * @return string
1738
- */
1739
- public function get_font_family() {
1740
- return "@font-face {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1741
  font-family: 'ssbp';
1742
  src:url('{$this->plugin->dir_url}fonts/ssbp.eot?xj3ol1');
1743
  src:url('{$this->plugin->dir_url}fonts/ssbp.eot?#iefixxj3ol1') format('embedded-opentype'),
@@ -1751,50 +1784,52 @@ class Admin_Panel {
1751
  -webkit-font-smoothing: antialiased;
1752
  -moz-osx-font-smoothing: grayscale;
1753
  }";
1754
- }
1755
-
1756
- /**
1757
- * Add additional admin styles
1758
- *
1759
- * @action admin_enqueue_scripts
1760
- */
1761
- public function additional_styles() {
1762
- $html_share_buttons_form = '';
1763
-
1764
- // Get settings.
1765
- $arr_settings = $this->class_ssba->get_ssba_settings();
1766
-
1767
- // If user is accepting terms.
1768
- if ( isset( $_GET['accept-terms'] ) && 'Y' === $_GET['accept-terms'] ) { // WPCS: CSRF ok.
1769
- // Save acceptance.
1770
- $this->class_ssba->ssba_update_options( array(
1771
- 'accepted_sharethis_terms' => 'Y',
1772
- ) );
1773
-
1774
- // Hide the notice for now, it will disappear upon reload.
1775
- $html_share_buttons_form .= '#sharethis_terms_notice { display: none }.ssbp-facebook_save { background-color: #365397 !important; }';
1776
- }
1777
-
1778
- // Get the font family needed.
1779
- $html_share_buttons_form .= $this->get_font_family();
1780
-
1781
- // If left to right.
1782
- if ( is_rtl() ) {
1783
- // Move save button.
1784
- $html_share_buttons_form .= '.ssba-btn-save{ left: 0!important;
 
1785
  right: auto !important;
1786
  border-radius: 0 5px 5px 0; }';
1787
- }
1788
-
1789
- wp_add_inline_style( "{$this->plugin->assets_prefix}-admin-theme", $html_share_buttons_form );
1790
- }
1791
-
1792
- /**
1793
- * Register button widget.
1794
- *
1795
- * @action widgets_init
1796
- */
1797
- public function register_widget() {
1798
- register_widget( $this->widget_class );
1799
- }
 
1800
  }
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
+ class Admin_Panel
16
+ {
17
+
18
+ /**
19
+ * Plugin instance.
20
+ *
21
+ * @var object
22
+ */
23
+ public $plugin;
24
+
25
+ /**
26
+ * Simple Share Buttons Adder instance.
27
+ *
28
+ * @var object
29
+ */
30
+ public $class_ssba;
31
+
32
+ /**
33
+ * Widget Class instance.
34
+ *
35
+ * @var object
36
+ */
37
+ public $widget_class;
38
+
39
+ /**
40
+ * Forms instance.
41
+ *
42
+ * @var object
43
+ */
44
+ public $forms;
45
+
46
+ /**
47
+ * Admin_Panel constructor.
48
+ *
49
+ * @param object $plugin Plugin instance.
50
+ * @param object $class_ssba Simple Share Buttons Adder instance.
51
+ * @param object $forms Forms instance.
52
+ */
53
+ public function __construct($plugin, $class_ssba, $forms, $widget_class)
54
+ {
55
+ $this->plugin = $plugin;
56
+ $this->class_ssba = $class_ssba;
57
+ $this->forms = $forms;
58
+ $this->widget_class = $widget_class;
59
+ }
60
+
61
+ /**
62
+ * Display the admin header.
63
+ */
64
+ public function admin_header()
65
+ {
66
+ include_once("{$this->plugin->dir_path}/templates/admin-header.php");
67
+ }
68
+
69
+ /**
70
+ * Display the admin footer.
71
+ */
72
+ public function admin_footer()
73
+ {
74
+ include_once("{$this->plugin->dir_path}/templates/admin-footer.php");
75
+ }
76
+
77
+ /**
78
+ * Enqueue the custom gutenberg block script.
79
+ *
80
+ * @action enqueue_block_editor_assets
81
+ */
82
+ public function enqueue_custom_blocks()
83
+ {
84
+ wp_enqueue_script("{$this->plugin->assets_prefix}-blocks", "{$this->plugin->dir_url}js/blocks.js",
85
+ array('wp-blocks', 'wp-editor', 'wp-element', 'wp-components'), time(), true);
86
+ }
87
+
88
+ /**
89
+ * Register new block category for share buttons.
90
+ *
91
+ * @param array $categories The current block categories.
92
+ *
93
+ * @filter block_categories 999
94
+ */
95
+ public function simpleshare_block_category($categories, $post)
96
+ {
97
+ return array_merge(
98
+ $categories,
99
+ [
100
+ [
101
+ 'slug' => 'simpleshare-blocks',
102
+ 'title' => __('SimpleShare Blocks', 'simple-share-buttons-adder'),
103
+ ],
104
+ ]
105
+ );
106
+ }
107
+
108
+
109
+ /**
110
+ * Build the Admin Panel html variables and include template.
111
+ *
112
+ * @param array $arr_settings The current ssba settings.
113
+ */
114
+ public function admin_panel($arr_settings)
115
+ {
116
+ // Locations array.
117
+ $locs = array(
118
+ 'Homepage' => array(
119
+ 'value' => 'ssba_homepage',
120
+ 'checked' => isset($arr_settings['ssba_homepage']) && 'Y' === $arr_settings['ssba_homepage'] ? true : false,
121
+ ),
122
+ 'Pages' => array(
123
+ 'value' => 'ssba_pages',
124
+ 'checked' => isset($arr_settings['ssba_pages']) && 'Y' === $arr_settings['ssba_pages'] ? true : false,
125
+ ),
126
+ 'Posts' => array(
127
+ 'value' => 'ssba_posts',
128
+ 'checked' => isset($arr_settings['ssba_posts']) && 'Y' === $arr_settings['ssba_posts'] ? true : false,
129
+ ),
130
+ 'Excerpts' => array(
131
+ 'value' => 'ssba_excerpts',
132
+ 'checked' => isset($arr_settings['ssba_excerpts']) && 'Y' === $arr_settings['ssba_excerpts'] ? true : false,
133
+ ),
134
+ 'Categories/Archives' => array(
135
+ 'value' => 'ssba_cats_archs',
136
+ 'checked' => isset($arr_settings['ssba_cats_archs']) && 'Y' === $arr_settings['ssba_cats_archs'] ? true : false,
137
+ ),
138
+ );
139
+
140
+ // Locations array.
141
+ $locs2 = array(
142
+ 'Homepage' => array(
143
+ 'value' => 'ssba_bar_homepage',
144
+ 'checked' => isset($arr_settings['ssba_bar_homepage']) && 'Y' === $arr_settings['ssba_bar_homepage'] ? true : false,
145
+ ),
146
+ 'Pages' => array(
147
+ 'value' => 'ssba_bar_pages',
148
+ 'checked' => isset($arr_settings['ssba_bar_pages']) && 'Y' === $arr_settings['ssba_bar_pages'] ? true : false,
149
+ ),
150
+ 'Posts' => array(
151
+ 'value' => 'ssba_bar_posts',
152
+ 'checked' => isset($arr_settings['ssba_bar_posts']) && 'Y' === $arr_settings['ssba_bar_posts'] ? true : false,
153
+ ),
154
+ 'Categories/Archives' => array(
155
+ 'value' => 'ssba_bar_cats_archs',
156
+ 'checked' => isset($arr_settings['ssba_bar_cats_archs']) && 'Y' === $arr_settings['ssba_bar_cats_archs'] ? true : false,
157
+ ),
158
+ );
159
+
160
+ // Locations array for plus.
161
+ $locs3 = array(
162
+ 'Homepage' => array(
163
+ 'value' => 'ssba_plus_homepage',
164
+ 'checked' => isset($arr_settings['ssba_plus_homepage']) && 'Y' === $arr_settings['ssba_plus_homepage'] ? true : false,
165
+ ),
166
+ 'Pages' => array(
167
+ 'value' => 'ssba_plus_pages',
168
+ 'checked' => isset($arr_settings['ssba_plus_pages']) && 'Y' === $arr_settings['ssba_plus_pages'] ? true : false,
169
+ ),
170
+ 'Posts' => array(
171
+ 'value' => 'ssba_plus_posts',
172
+ 'checked' => isset($arr_settings['ssba_plus_posts']) && 'Y' === $arr_settings['ssba_plus_posts'] ? true : false,
173
+ ),
174
+ 'Excerpts' => array(
175
+ 'value' => 'ssba_plus_excerpts',
176
+ 'checked' => isset($arr_settings['ssba_plus_excerpts']) && 'Y' === $arr_settings['ssba_plus_excerpts'] ? true : false,
177
+ ),
178
+ 'Categories/Archives' => array(
179
+ 'value' => 'ssba_plus_cats_archs',
180
+ 'checked' => isset($arr_settings['ssba_plus_cats_archs']) && 'Y' === $arr_settings['ssba_plus_cats_archs'] ? true : false,
181
+ ),
182
+ );
183
+
184
+ // Display options.
185
+ $display_loc = array(
186
+ 'Desktop' => array(
187
+ 'value' => 'ssba_bar_desktop',
188
+ 'checked' => isset($arr_settings['ssba_bar_desktop']) && 'Y' === $arr_settings['ssba_bar_desktop'] ? true : false,
189
+ ),
190
+ 'Mobile' => array(
191
+ 'value' => 'ssba_bar_mobile',
192
+ 'checked' => isset($arr_settings['ssba_bar_mobile']) && 'Y' === $arr_settings['ssba_bar_mobile'] ? true : false,
193
+ ),
194
+ );
195
+
196
+ // Prepare array of buttons.
197
+ $arr_buttons = get_option('ssba_buttons', true);
198
+
199
+ // Locations.
200
+ $opts1 = array(
201
+ 'form_group' => false,
202
+ 'label' => 'Locations',
203
+ 'tooltip' => 'Enable the locations you wish for share buttons to appear',
204
+ 'value' => 'Y',
205
+ 'checkboxes' => $locs,
206
+ );
207
+
208
+ // Placement.
209
+ $opts2 = array(
210
+ 'form_group' => false,
211
+ 'type' => 'select',
212
+ 'name' => 'ssba_before_or_after',
213
+ 'label' => 'Placement',
214
+ 'tooltip' => 'Place share buttons before or after your content',
215
+ 'selected' => isset($arr_settings['ssba_before_or_after']) ? $arr_settings['ssba_before_or_after'] : '',
216
+ 'options' => array(
217
+ 'After' => 'after',
218
+ 'Before' => 'before',
219
+ 'Both' => 'both',
220
+ ),
221
+ );
222
+
223
+ // Share text.
224
+ $opts3 = array(
225
+ 'form_group' => false,
226
+ 'type' => 'text',
227
+ 'placeholder' => 'Share this...',
228
+ 'name' => 'ssba_share_text',
229
+ 'label' => 'Call To Action',
230
+ 'tooltip' => 'Add some custom text by your share buttons',
231
+ 'value' => isset($arr_settings['ssba_share_text']) ? $arr_settings['ssba_share_text'] : '',
232
+ );
233
+
234
+ // Share text for plus.
235
+ $opts3p = array(
236
+ 'form_group' => false,
237
+ 'type' => 'text',
238
+ 'placeholder' => 'Share this...',
239
+ 'name' => 'ssba_plus_share_text',
240
+ 'label' => 'Call To Action',
241
+ 'tooltip' => 'Add some custom text by your share buttons',
242
+ 'value' => isset($arr_settings['ssba_plus_share_text']) ? $arr_settings['ssba_plus_share_text'] : '',
243
+ );
244
+
245
+ // Placement.
246
+ $opts4 = array(
247
+ 'form_group' => false,
248
+ 'type' => 'select',
249
+ 'name' => 'ssba_image_set',
250
+ 'label' => 'Theme',
251
+ 'tooltip' => 'Choose your favourite set of buttons, or set to custom to choose your own',
252
+ 'selected' => isset($arr_settings['ssba_image_set']) ? $arr_settings['ssba_image_set'] : '',
253
+ 'options' => array(
254
+ 'Arbenta' => 'arbenta',
255
+ 'Custom' => 'custom',
256
+ 'Metal' => 'metal',
257
+ 'Pagepeel' => 'pagepeel',
258
+ 'Plain' => 'plain',
259
+ 'Retro' => 'retro',
260
+ 'Ribbons' => 'ribbons',
261
+ 'Simple' => 'simple',
262
+ 'Somacro' => 'somacro',
263
+ ),
264
+ );
265
+
266
+ // Button size.
267
+ $opts6 = array(
268
+ 'form_group' => false,
269
+ 'type' => 'number_addon',
270
+ 'addon' => 'px',
271
+ 'placeholder' => '35',
272
+ 'name' => 'ssba_size',
273
+ 'label' => 'Button Size',
274
+ 'tooltip' => 'Set the size of your buttons in pixels',
275
+ 'value' => isset($arr_settings['ssba_size']) ? $arr_settings['ssba_size'] : '',
276
+ );
277
+
278
+ // Alignment.
279
+ $opts7 = array(
280
+ 'form_group' => false,
281
+ 'type' => 'select',
282
+ 'name' => 'ssba_align',
283
+ 'label' => 'Alignment',
284
+ 'tooltip' => 'Align your buttons the way you wish',
285
+ 'selected' => isset($arr_settings['ssba_align']) ? $arr_settings['ssba_align'] : '',
286
+ 'options' => array(
287
+ 'Left' => 'left',
288
+ 'Center' => 'center',
289
+ 'Right' => 'right',
290
+ ),
291
+ );
292
+
293
+ // Alignment for Plus.
294
+ $opts7p = array(
295
+ 'form_group' => false,
296
+ 'type' => 'select',
297
+ 'name' => 'ssba_plus_align',
298
+ 'label' => 'Alignment',
299
+ 'tooltip' => 'Align your plus buttons the way you wish',
300
+ 'selected' => isset($arr_settings['ssba_plus_align']) ? $arr_settings['ssba_plus_align'] : '',
301
+ 'options' => array(
302
+ 'Left' => 'left',
303
+ 'Center' => 'center',
304
+ 'Right' => 'right',
305
+ ),
306
+ );
307
+
308
+ // Padding.
309
+ $opts8 = array(
310
+ 'form_group' => false,
311
+ 'type' => 'number_addon',
312
+ 'addon' => 'px',
313
+ 'placeholder' => '10',
314
+ 'max' => '50',
315
+ 'name' => 'ssba_padding',
316
+ 'label' => 'Padding',
317
+ 'tooltip' => 'Apply some space around your images',
318
+ 'value' => isset($arr_settings['ssba_padding']) ? $arr_settings['ssba_padding'] : '',
319
+ );
320
+
321
+ // Font color.
322
+ $opts9 = array(
323
+ 'form_group' => false,
324
+ 'type' => 'colorpicker',
325
+ 'name' => 'ssba_font_color',
326
+ 'label' => 'Font Color',
327
+ 'tooltip' => 'Choose the color of your share text',
328
+ 'value' => isset($arr_settings['ssba_font_color']) ? $arr_settings['ssba_font_color'] : '',
329
+ );
330
+
331
+ // Font color for plus.
332
+ $opts9p = array(
333
+ 'form_group' => false,
334
+ 'type' => 'colorpicker',
335
+ 'name' => 'ssba_plus_font_color',
336
+ 'label' => 'Font Color',
337
+ 'tooltip' => 'Choose the color of your share text',
338
+ 'value' => isset($arr_settings['ssba_plus_font_color']) ? $arr_settings['ssba_plus_font_color'] : '',
339
+ );
340
+
341
+ // Font family.
342
+ $opts10 = array(
343
+ 'form_group' => false,
344
+ 'type' => 'select',
345
+ 'name' => 'ssba_font_family',
346
+ 'label' => 'Font Family',
347
+ 'tooltip' => 'Choose a font available or inherit the font from your website',
348
+ 'selected' => isset($arr_settings['ssba_font_family']) ? $arr_settings['ssba_font_family'] : '',
349
+ 'options' => array(
350
+ 'Reenie Beanie' => 'Reenie Beanie',
351
+ 'Indie Flower' => 'Indie Flower',
352
+ 'Inherit from my website' => '',
353
+ ),
354
+ );
355
+
356
+ // Font family for plus.
357
+ $opts10p = array(
358
+ 'form_group' => false,
359
+ 'type' => 'select',
360
+ 'name' => 'ssba_plus_font_family',
361
+ 'label' => 'Font Family',
362
+ 'tooltip' => 'Choose a font available or inherit the font from your website',
363
+ 'selected' => isset($arr_settings['ssba_plus_font_family']) ? $arr_settings['ssba_plus_font_family'] : '',
364
+ 'options' => array(
365
+ 'Reenie Beanie' => 'Reenie Beanie',
366
+ 'Indie Flower' => 'Indie Flower',
367
+ 'Inherit from my website' => '',
368
+ ),
369
+ );
370
+
371
+ // Enqueue the styles so preview can update.
372
+ wp_enqueue_style("{$this->plugin->assets_prefix}-reenie");
373
+ wp_enqueue_style("{$this->plugin->assets_prefix}-indie");
374
+
375
+ // Font size.
376
+ $opts11 = array(
377
+ 'form_group' => false,
378
+ 'type' => 'number_addon',
379
+ 'addon' => 'px',
380
+ 'placeholder' => '20',
381
+ 'name' => 'ssba_font_size',
382
+ 'label' => 'Font Size',
383
+ 'tooltip' => 'Set the size of the share text in pixels',
384
+ 'value' => isset($arr_settings['ssba_font_size']) ? $arr_settings['ssba_font_size'] : '',
385
+ );
386
+
387
+ // Font size for plus.
388
+ $opts11p = array(
389
+ 'form_group' => false,
390
+ 'type' => 'number_addon',
391
+ 'addon' => 'px',
392
+ 'placeholder' => '20',
393
+ 'name' => 'ssba_plus_font_size',
394
+ 'label' => 'Font Size',
395
+ 'tooltip' => 'Set the size of the share text in pixels',
396
+ 'value' => isset($arr_settings['ssba_plus_font_size']) ? $arr_settings['ssba_plus_font_size'] : '',
397
+ );
398
+
399
+ // Font weight.
400
+ $opts12 = array(
401
+ 'form_group' => false,
402
+ 'type' => 'select',
403
+ 'name' => 'ssba_font_weight',
404
+ 'label' => 'Font Weight',
405
+ 'tooltip' => 'Set the weight of the share text',
406
+ 'selected' => isset($arr_settings['ssba_font_weight']) ? $arr_settings['ssba_font_weight'] : '',
407
+ 'options' => array(
408
+ 'Normal' => 'normal',
409
+ 'Bold' => 'bold',
410
+ 'Light' => 'light',
411
+ ),
412
+ );
413
+
414
+ // Font weight for plus.
415
+ $opts12p = array(
416
+ 'form_group' => false,
417
+ 'type' => 'select',
418
+ 'name' => 'ssba_plus_font_weight',
419
+ 'label' => 'Font Weight',
420
+ 'tooltip' => 'Set the weight of the share text',
421
+ 'selected' => isset($arr_settings['ssba_plus_font_weight']) ? $arr_settings['ssba_plus_font_weight'] : '',
422
+ 'options' => array(
423
+ 'Normal' => 'normal',
424
+ 'Bold' => 'bold',
425
+ 'Light' => 'light',
426
+ ),
427
+ );
428
+
429
+ // Text placement.
430
+ $opts13 = array(
431
+ 'form_group' => false,
432
+ 'type' => 'select',
433
+ 'name' => 'ssba_text_placement',
434
+ 'label' => 'Text placement',
435
+ 'tooltip' => 'Choose where you want your text to be displayed, in relation to the buttons',
436
+ 'selected' => isset($arr_settings['ssba_text_placement']) ? $arr_settings['ssba_text_placement'] : '',
437
+ 'options' => array(
438
+ 'Above' => 'above',
439
+ 'Left' => 'left',
440
+ 'Right' => 'right',
441
+ 'Below' => 'below',
442
+ ),
443
+ );
444
+
445
+ // Text placement for plus.
446
+ $opts13p = array(
447
+ 'form_group' => false,
448
+ 'type' => 'select',
449
+ 'name' => 'ssba_plus_text_placement',
450
+ 'label' => 'Text placement',
451
+ 'tooltip' => 'Choose where you want your text to be displayed, in relation to the buttons',
452
+ 'selected' => isset($arr_settings['ssba_plus_text_placement']) ? $arr_settings['ssba_plus_text_placement'] : '',
453
+ 'options' => array(
454
+ 'Above' => 'above',
455
+ 'Left' => 'left',
456
+ 'Right' => 'right',
457
+ 'Below' => 'below',
458
+ ),
459
+ );
460
+
461
+ // Container padding.
462
+ $opts14 = array(
463
+ 'form_group' => false,
464
+ 'type' => 'number_addon',
465
+ 'addon' => 'px',
466
+ 'placeholder' => '10',
467
+ 'name' => 'ssba_div_padding',
468
+ 'label' => 'Container Padding',
469
+ 'tooltip' => 'Add some padding to your share container',
470
+ 'value' => isset($arr_settings['ssba_div_padding']) ? $arr_settings['ssba_div_padding'] : '',
471
+ );
472
+
473
+ // Div background color.
474
+ $opts15 = array(
475
+ 'form_group' => false,
476
+ 'type' => 'colorpicker',
477
+ 'name' => 'ssba_div_background',
478
+ 'label' => 'Container Background Color',
479
+ 'tooltip' => 'Choose the color of your share container',
480
+ 'value' => isset($arr_settings['ssba_div_background']) ? $arr_settings['ssba_div_background'] : '',
481
+ );
482
+
483
+ // Div border color.
484
+ $opts16 = array(
485
+ 'form_group' => false,
486
+ 'type' => 'colorpicker',
487
+ 'name' => 'ssba_div_border',
488
+ 'label' => 'Container Border Color',
489
+ 'tooltip' => 'Choose the color of your share container border',
490
+ 'value' => isset($arr_settings['ssba_div_border']) ? $arr_settings['ssba_div_border'] : '',
491
+ );
492
+
493
+ // Container border width.
494
+ $opts17 = array(
495
+ 'form_group' => false,
496
+ 'type' => 'number_addon',
497
+ 'addon' => 'px',
498
+ 'placeholder' => '1',
499
+ 'name' => 'ssba_border_width',
500
+ 'label' => 'Container Border Width',
501
+ 'tooltip' => 'Set the width of the share container border',
502
+ 'value' => isset($arr_settings['ssba_border_width']) ? $arr_settings['ssba_border_width'] : '',
503
+ );
504
+
505
+ // Rounded container corners.
506
+ $opts18 = array(
507
+ 'form_group' => false,
508
+ 'type' => 'checkbox',
509
+ 'name' => 'ssba_div_rounded_corners',
510
+ 'label' => 'Rounded Container Corners',
511
+ 'tooltip' => 'Switch on to enable rounded corners for your share container',
512
+ 'value' => 'Y',
513
+ 'checked' => isset($arr_settings['ssba_div_rounded_corners']) && 'Y' === $arr_settings['ssba_div_rounded_corners'] ? esc_attr('checked') : '',
514
+ );
515
+
516
+ // Share count.
517
+ $opts19 = array(
518
+ 'form_group' => false,
519
+ 'type' => 'checkbox',
520
+ 'name' => 'ssba_show_share_count',
521
+ 'label' => 'Share Count',
522
+ 'tooltip' => 'Check the box if you wish to enable share counts. Enabling this option will slow down the loading of any pages that use share buttons',
523
+ 'value' => 'Y',
524
+ 'checked' => isset($arr_settings['ssba_show_share_count']) && 'Y' === $arr_settings['ssba_show_share_count'] ? esc_attr('checked') : null,
525
+ );
526
+
527
+ // Share count for plus.
528
+ $opts19p = array(
529
+ 'form_group' => false,
530
+ 'type' => 'checkbox',
531
+ 'name' => 'ssba_plus_show_share_count',
532
+ 'label' => 'Share Count',
533
+ 'tooltip' => 'Check the box if you wish to enable share counts. Enabling this option will slow down the loading of any pages that use share buttons',
534
+ 'value' => 'Y',
535
+ 'checked' => isset($arr_settings['ssba_plus_show_share_count']) && 'Y' === $arr_settings['ssba_plus_show_share_count'] ? esc_attr('checked') : null,
536
+ );
537
+
538
+ // Share count for share bar.
539
+ $opts19s = array(
540
+ 'form_group' => false,
541
+ 'type' => 'checkbox',
542
+ 'name' => 'ssba_bar_show_share_count',
543
+ 'label' => 'Share Count',
544
+ 'tooltip' => 'Check the box if you wish to enable share counts. Enabling this option will slow down the loading of any pages that use share buttons',
545
+ 'value' => 'Y',
546
+ 'checked' => isset($arr_settings['ssba_bar_show_share_count']) && 'Y' === $arr_settings['ssba_bar_show_share_count'] ? esc_attr('checked') : null,
547
+ );
548
+
549
+ // Show count once.
550
+ $opts20 = array(
551
+ 'form_group' => false,
552
+ 'type' => 'checkbox',
553
+ 'name' => 'ssba_share_count_once',
554
+ 'label' => 'Show Once',
555
+ 'tooltip' => 'This option is recommended, it deactivates share counts for categories and archives allowing them to load more quickly',
556
+ 'value' => 'Y',
557
+ 'checked' => isset($arr_settings['ssba_share_count_once']) && 'Y' === $arr_settings['ssba_share_count_once'] ? esc_attr('checked') : null,
558
+ );
559
+
560
+ // Show count once for plus.
561
+ $opts20p = array(
562
+ 'form_group' => false,
563
+ 'type' => 'checkbox',
564
+ 'name' => 'ssba_plus_share_count_once',
565
+ 'label' => 'Show Once',
566
+ 'tooltip' => 'This option is recommended, it deactivates share counts for categories and archives allowing them to load more quickly',
567
+ 'value' => 'Y',
568
+ 'checked' => isset($arr_settings['ssba_plus_share_count_once']) && 'Y' === $arr_settings['ssba_plus_share_count_once'] ? esc_attr('checked') : null,
569
+ );
570
+
571
+ // Show count once for share bar.
572
+ $opts20s = array(
573
+ 'form_group' => false,
574
+ 'type' => 'checkbox',
575
+ 'name' => 'ssba_bar_share_count_once',
576
+ 'label' => 'Show Once',
577
+ 'tooltip' => 'This option is recommended, it deactivates share counts for categories and archives allowing them to load more quickly',
578
+ 'value' => 'Y',
579
+ 'checked' => isset($arr_settings['ssba_bar_share_count_once']) && 'Y' === $arr_settings['ssba_bar_share_count_once'] ? esc_attr('checked') : null,
580
+ );
581
+
582
+ // Share counters style.
583
+ $opts21 = array(
584
+ 'form_group' => false,
585
+ 'type' => 'select',
586
+ 'name' => 'ssba_share_count_style',
587
+ 'label' => 'Counters Style',
588
+ 'tooltip' => 'Pick a setting to style the share counters',
589
+ 'selected' => isset($arr_settings['ssba_share_count_style']) ? $arr_settings['ssba_share_count_style'] : '',
590
+ 'options' => array(
591
+ 'Default' => 'default',
592
+ 'White' => 'white',
593
+ 'Blue' => 'blue',
594
+ ),
595
+ );
596
+
597
+ // Sharedcount enable.
598
+ $opts23 = array(
599
+ 'form_group' => false,
600
+ 'type' => 'checkbox',
601
+ 'name' => 'sharedcount_enabled',
602
+ 'label' => 'Enable sharedcount.com API',
603
+ 'tooltip' => 'Enable if you wish to enable the use of the sharedcount.com API',
604
+ 'value' => 'Y',
605
+ 'checked' => isset($arr_settings['sharedcount_enabled']) && 'Y' === $arr_settings['sharedcount_enabled'] ? esc_attr('checked') : null,
606
+ );
607
+
608
+ // Sharedcount plan.
609
+ $opts24 = array(
610
+ 'form_group' => false,
611
+ 'type' => 'select',
612
+ 'name' => 'sharedcount_plan',
613
+ 'label' => 'sharedcount.com plan',
614
+ 'tooltip' => 'Select your sharedcount.com plan',
615
+ 'selected' => isset($arr_settings['sharedcount_plan']) ? $arr_settings['sharedcount_plan'] : '',
616
+ 'options' => array(
617
+ 'Free' => 'free',
618
+ 'Plus' => 'plus',
619
+ 'Business' => 'business',
620
+ ),
621
+ );
622
+
623
+ // Sharedcount api key.
624
+ $opts25 = array(
625
+ 'form_group' => false,
626
+ 'type' => 'text',
627
+ 'placeholder' => '9b17c12712c691491ef95f46c51ce3917118fdf9',
628
+ 'name' => 'sharedcount_api_key',
629
+ 'label' => 'sharedcount.com API Key',
630
+ 'tooltip' => 'Add some text included in an email when people share that way',
631
+ 'value' => isset($arr_settings['sharedcount_api_key']) ? $arr_settings['sharedcount_api_key'] : '',
632
+ );
633
+
634
+ // Sharedcount enable.
635
+ $opts23p = array(
636
+ 'form_group' => false,
637
+ 'type' => 'checkbox',
638
+ 'name' => 'plus_sharedcount_enabled',
639
+ 'label' => 'Enable sharedcount.com API',
640
+ 'tooltip' => 'Enable if you wish to enable the use of the sharedcount.com API',
641
+ 'value' => 'Y',
642
+ 'checked' => isset($arr_settings['plus_sharedcount_enabled']) && 'Y' === $arr_settings['plus_sharedcount_enabled'] ? esc_attr('checked') : null,
643
+ );
644
+
645
+ // Sharedcount plan.
646
+ $opts24p = array(
647
+ 'form_group' => false,
648
+ 'type' => 'select',
649
+ 'name' => 'plus_sharedcount_plan',
650
+ 'label' => 'sharedcount.com plan',
651
+ 'tooltip' => 'Select your sharedcount.com plan',
652
+ 'selected' => isset($arr_settings['plus_sharedcount_plan']) ? $arr_settings['plus_sharedcount_plan'] : '',
653
+ 'options' => array(
654
+ 'Free' => 'free',
655
+ 'Plus' => 'plus',
656
+ 'Business' => 'business',
657
+ ),
658
+ );
659
+
660
+ // Sharedcount api key.
661
+ $opts25p = array(
662
+ 'form_group' => false,
663
+ 'type' => 'text',
664
+ 'placeholder' => '9b17c12712c691491ef95f46c51ce3917118fdf9',
665
+ 'name' => 'plus_sharedcount_api_key',
666
+ 'label' => 'sharedcount.com API Key',
667
+ 'tooltip' => 'Add some text included in an email when people share that way',
668
+ 'value' => isset($arr_settings['plus_sharedcount_api_key']) ? $arr_settings['plus_sharedcount_api_key'] : '',
669
+ );
670
+
671
+ // Sharedcount enable.
672
+ $opts23b = array(
673
+ 'form_group' => false,
674
+ 'type' => 'checkbox',
675
+ 'name' => 'bar_sharedcount_enabled',
676
+ 'label' => 'Enable sharedcount.com API',
677
+ 'tooltip' => 'Enable if you wish to enable the use of the sharedcount.com API',
678
+ 'value' => 'Y',
679
+ 'checked' => isset($arr_settings['bar_sharedcount_enabled']) && 'Y' === $arr_settings['bar_sharedcount_enabled'] ? esc_attr('checked') : null,
680
+ );
681
+
682
+ // Sharedcount plan.
683
+ $opts24b = array(
684
+ 'form_group' => false,
685
+ 'type' => 'select',
686
+ 'name' => 'bar_sharedcount_plan',
687
+ 'label' => 'sharedcount.com plan',
688
+ 'tooltip' => 'Select your sharedcount.com plan',
689
+ 'selected' => isset($arr_settings['bar_sharedcount_plan']) ? $arr_settings['bar_sharedcount_plan'] : '',
690
+ 'options' => array(
691
+ 'Free' => 'free',
692
+ 'Plus' => 'plus',
693
+ 'Business' => 'business',
694
+ ),
695
+ );
696
+
697
+ // Sharedcount api key.
698
+ $opts25b = array(
699
+ 'form_group' => false,
700
+ 'type' => 'text',
701
+ 'placeholder' => '9b17c12712c691491ef95f46c51ce3917118fdf9',
702
+ 'name' => 'bar_sharedcount_api_key',
703
+ 'label' => 'sharedcount.com API Key',
704
+ 'tooltip' => 'Add some text included in an email when people share that way',
705
+ 'value' => isset($arr_settings['bar_sharedcount_api_key']) ? $arr_settings['bar_sharedcount_api_key'] : '',
706
+ );
707
+
708
+ // Link to ssb.
709
+ $opts26 = array(
710
+ 'form_group' => false,
711
+ 'type' => 'checkbox',
712
+ 'name' => 'ssba_link_to_ssb',
713
+ 'label' => 'Share Text Link',
714
+ 'tooltip' => 'Enabling this will set your share text as a link to simplesharebuttons.com to help others learn of the plugin',
715
+ 'value' => 'Y',
716
+ 'checked' => isset($arr_settings['ssba_link_to_ssb']) && 'Y' === $arr_settings['ssba_link_to_ssb'] ? esc_attr('checked') : null,
717
+ );
718
+
719
+ // Link to ssb for plus.
720
+ $opts26p = array(
721
+ 'form_group' => false,
722
+ 'type' => 'checkbox',
723
+ 'name' => 'ssba_plus_link_to_ssb',
724
+ 'label' => 'Share Text Link',
725
+ 'tooltip' => 'Enabling this will set your share text as a link to simplesharebuttons.com to help others learn of the plugin',
726
+ 'value' => 'Y',
727
+ 'checked' => isset($arr_settings['ssba_plus_link_to_ssb']) && 'Y' === $arr_settings['ssba_plus_link_to_ssb'] ? esc_attr('checked') : null,
728
+ );
729
+
730
+ // Content priority.
731
+ $opts27 = array(
732
+ 'form_group' => false,
733
+ 'type' => 'number',
734
+ 'placeholder' => '10',
735
+ 'name' => 'ssba_content_priority',
736
+ 'label' => 'Content Priority',
737
+ 'tooltip' => 'Set the priority for your share buttons within your content. 1-10, default is 10',
738
+ 'value' => isset($arr_settings['ssba_content_priority']) ? $arr_settings['ssba_content_priority'] : '',
739
+ );
740
+
741
+ // Share in new window.
742
+ $opts28 = array(
743
+ 'form_group' => false,
744
+ 'type' => 'checkbox',
745
+ 'name' => 'ssba_share_new_window',
746
+ 'label' => 'Open links in a new window',
747
+ 'tooltip' => 'Disabling this will make links open in the same window',
748
+ 'value' => 'Y',
749
+ 'checked' => isset($arr_settings['ssba_share_new_window']) && 'Y' === $arr_settings['ssba_share_new_window'] ? esc_attr('checked') : null,
750
+ );
751
+
752
+ // Share in new window for plus.
753
+ $opts28p = array(
754
+ 'form_group' => false,
755
+ 'type' => 'checkbox',
756
+ 'name' => 'ssba_plus_share_new_window',
757
+ 'label' => 'Open links in a new window',
758
+ 'tooltip' => 'Disabling this will make links open in the same window',
759
+ 'value' => 'Y',
760
+ 'checked' => isset($arr_settings['ssba_plus_share_new_window']) && 'Y' === $arr_settings['ssba_plus_share_new_window'] ? esc_attr('checked') : null,
761
+ );
762
+
763
+ // Share in new window for share bar.
764
+ $opts28s = array(
765
+ 'form_group' => false,
766
+ 'type' => 'checkbox',
767
+ 'name' => 'ssba_bar_share_new_window',
768
+ 'label' => 'Open links in a new window',
769
+ 'tooltip' => 'Disabling this will make links open in the same window',
770
+ 'value' => 'Y',
771
+ 'checked' => isset($arr_settings['ssba_bar_share_new_window']) && 'Y' === $arr_settings['ssba_bar_share_new_window'] ? esc_attr('checked') : null,
772
+ );
773
+
774
+ // Nofollow.
775
+ $opts29 = array(
776
+ 'form_group' => false,
777
+ 'type' => 'checkbox',
778
+ 'name' => 'ssba_rel_nofollow',
779
+ 'label' => 'Add rel="nofollow"',
780
+ 'tooltip' => 'Enable this to add nofollow to all share links',
781
+ 'value' => 'Y',
782
+ 'checked' => isset($arr_settings['ssba_rel_nofollow']) && 'Y' === $arr_settings['ssba_rel_nofollow'] ? esc_attr('checked') : null,
783
+ );
784
+
785
+ // Nofollow for plus.
786
+ $opts29p = array(
787
+ 'form_group' => false,
788
+ 'type' => 'checkbox',
789
+ 'name' => 'ssba_plus_rel_nofollow',
790
+ 'label' => 'Add rel="nofollow"',
791
+ 'tooltip' => 'Enable this to add nofollow to all share links',
792
+ 'value' => 'Y',
793
+ 'checked' => isset($arr_settings['ssba_plus_rel_nofollow']) && 'Y' === $arr_settings['ssba_plus_rel_nofollow'] ? esc_attr('checked') : null,
794
+ );
795
+
796
+ // Nofollow for share bar.
797
+ $opts29s = array(
798
+ 'form_group' => false,
799
+ 'type' => 'checkbox',
800
+ 'name' => 'ssba_bar_rel_nofollow',
801
+ 'label' => 'Add rel="nofollow"',
802
+ 'tooltip' => 'Enable this to add nofollow to all share links',
803
+ 'value' => 'Y',
804
+ 'checked' => isset($arr_settings['ssba_bar_rel_nofollow']) && 'Y' === $arr_settings['ssba_bar_rel_nofollow'] ? esc_attr('checked') : null,
805
+ );
806
+
807
+ // Widget share text.
808
+ $opts30 = array(
809
+ 'form_group' => false,
810
+ 'type' => 'text',
811
+ 'placeholder' => 'Keeping sharing simple...',
812
+ 'name' => 'ssba_widget_text',
813
+ 'label' => 'Widget Share Text',
814
+ 'tooltip' => 'Add custom share text when used as a widget',
815
+ 'value' => isset($arr_settings['ssba_widget_text']) ? $arr_settings['ssba_widget_text'] : '',
816
+ );
817
+
818
+ // Widget share text for plus.
819
+ $opts30p = array(
820
+ 'form_group' => false,
821
+ 'type' => 'text',
822
+ 'placeholder' => 'Keeping sharing simple...',
823
+ 'name' => 'ssba_plus_widget_text',
824
+ 'label' => 'Widget Share Text',
825
+ 'tooltip' => 'Add custom share text when used as a widget',
826
+ 'value' => isset($arr_settings['ssba_plus_widget_text']) ? $arr_settings['ssba_plus_widget_text'] : '',
827
+ );
828
+
829
+ // Email share text.
830
+ $opts31 = array(
831
+ 'form_group' => false,
832
+ 'type' => 'text',
833
+ 'placeholder' => 'Share by email...',
834
+ 'name' => 'ssba_email_message',
835
+ 'label' => 'Email Text',
836
+ 'tooltip' => 'Add some text included in an email when people share that way',
837
+ 'value' => isset($arr_settings['ssba_email_message']) ? $arr_settings['ssba_email_message'] : '',
838
+ );
839
+
840
+ // Email share text for plus.
841
+ $opts31p = array(
842
+ 'form_group' => false,
843
+ 'type' => 'text',
844
+ 'placeholder' => 'Share by email...',
845
+ 'name' => 'ssba_plus_email_message',
846
+ 'label' => 'Email Text',
847
+ 'tooltip' => 'Add some text included in an email when people share that way',
848
+ 'value' => isset($arr_settings['ssba_plus_email_message']) ? $arr_settings['ssba_plus_email_message'] : '',
849
+ );
850
+
851
+ // Email share text for share bar.
852
+ $opts31s = array(
853
+ 'form_group' => false,
854
+ 'type' => 'text',
855
+ 'placeholder' => 'Share by email...',
856
+ 'name' => 'ssba_bar_email_message',
857
+ 'label' => 'Email Text',
858
+ 'tooltip' => 'Add some text included in an email when people share that way',
859
+ 'value' => isset($arr_settings['ssba_bar_email_message']) ? $arr_settings['ssba_bar_email_message'] : '',
860
+ );
861
+
862
+ // Facebook app id.
863
+ $opts32 = array(
864
+ 'form_group' => false,
865
+ 'type' => 'text',
866
+ 'placeholder' => '123456789123',
867
+ 'name' => 'facebook_app_id',
868
+ 'label' => 'Facebook App ID',
869
+ 'tooltip' => 'Enter your Facebook App ID, e.g. 123456789123',
870
+ 'value' => isset($arr_settings['facebook_app_id']) ? $arr_settings['facebook_app_id'] : '',
871
+ 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? esc_attr('disabled') : null,
872
+ );
873
+
874
+ // Facebook app id for plus.
875
+ $opts32p = array(
876
+ 'form_group' => false,
877
+ 'type' => 'text',
878
+ 'placeholder' => '123456789123',
879
+ 'name' => 'plus_facebook_app_id',
880
+ 'label' => 'Facebook App ID',
881
+ 'tooltip' => 'Enter your Facebook App ID, e.g. 123456789123',
882
+ 'value' => isset($arr_settings['plus_facebook_app_id']) ? $arr_settings['plus_facebook_app_id'] : '',
883
+ 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? esc_attr('disabled') : null,
884
+ );
885
+
886
+ // Facebook app id for share bar.
887
+ $opts32s = array(
888
+ 'form_group' => false,
889
+ 'type' => 'text',
890
+ 'placeholder' => '123456789123',
891
+ 'name' => 'share_facebook_app_id',
892
+ 'label' => 'Facebook App ID',
893
+ 'tooltip' => 'Enter your Facebook App ID, e.g. 123456789123',
894
+ 'value' => isset($arr_settings['bar_facebook_app_id']) ? $arr_settings['bar_facebook_app_id'] : '',
895
+ 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? esc_attr('disabled') : null,
896
+ );
897
+
898
+ // Facebook insights.
899
+ $opts33 = array(
900
+ 'form_group' => false,
901
+ 'type' => 'checkbox',
902
+ 'name' => 'facebook_insights',
903
+ 'label' => 'Facebook Insights',
904
+ 'tooltip' => 'Enable this feature to enable Facebook Insights',
905
+ 'value' => 'Y',
906
+ 'checked' => isset($arr_settings['facebook_insights']) && 'Y' === $arr_settings['facebook_insights'] ? 'checked' : null,
907
+ 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? 'disabled' : null,
908
+ );
909
+
910
+ // Ignore sdk.
911
+ $ignore_sdk = array(
912
+ 'form_group' => false,
913
+ 'type' => 'checkbox',
914
+ 'name' => 'ignore_facebook_sdk',
915
+ 'label' => 'Ignore FB SDK',
916
+ 'tooltip' => 'Using you\'re own Facebook SDK? Ignore ours.',
917
+ 'value' => 'Y',
918
+ 'checked' => isset($arr_settings['ignore_facebook_sdk']) && 'Y' === $arr_settings['ignore_facebook_sdk'] ? esc_attr('checked') : '',
919
+ );
920
+
921
+ // Facebook insights for plus.
922
+ $opts33p = array(
923
+ 'form_group' => false,
924
+ 'type' => 'checkbox',
925
+ 'name' => 'plus_facebook_insights',
926
+ 'label' => 'Facebook Insights',
927
+ 'tooltip' => 'Enable this feature to enable Facebook Insights',
928
+ 'value' => 'Y',
929
+ 'checked' => isset($arr_settings['plus_facebook_insights']) && 'Y' === $arr_settings['plus_facebook_insights'] ? 'checked' : null,
930
+ 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? 'disabled' : null,
931
+ );
932
+
933
+ // Plus ignore sdk.
934
+ $plus_ignore_sdk = array(
935
+ 'form_group' => false,
936
+ 'type' => 'checkbox',
937
+ 'name' => 'plus_ignore_facebook_sdk',
938
+ 'label' => 'Ignore FB SDK',
939
+ 'tooltip' => 'Using you\'re own Facebook SDK? Ignore ours.',
940
+ 'value' => 'Y',
941
+ 'checked' => isset($arr_settings['plus_ignore_facebook_sdk']) && 'Y' === $arr_settings['plus_ignore_facebook_sdk'] ? esc_attr('checked') : '',
942
+ );
943
+
944
+ // Facebook insights for share bar.
945
+ $opts33s = array(
946
+ 'form_group' => false,
947
+ 'type' => 'checkbox',
948
+ 'name' => 'share_facebook_insights',
949
+ 'label' => 'Facebook Insights',
950
+ 'tooltip' => 'Enable this feature to enable Facebook Insights',
951
+ 'value' => 'Y',
952
+ 'checked' => isset($arr_settings['bar_facebook_insights']) && 'Y' === $arr_settings['bar_facebook_insights'] ? 'checked' : null,
953
+ 'disabled' => 'Y' !== $arr_settings['accepted_sharethis_terms'] ? 'disabled' : null,
954
+ );
955
+
956
+ // Twitter share text.
957
+ $opts34 = array(
958
+ 'form_group' => false,
959
+ 'type' => 'text',
960
+ 'placeholder' => 'Shared by Twitter...',
961
+ 'name' => 'ssba_twitter_text',
962
+ 'label' => 'Twitter Text',
963
+ 'tooltip' => 'Add some custom text for when people share via Twitter',
964
+ 'value' => isset($arr_settings['ssba_twitter_text']) ? $arr_settings['ssba_twitter_text'] : '',
965
+ );
966
+
967
+ // Twitter share text for plus.
968
+ $opts34p = array(
969
+ 'form_group' => false,
970
+ 'type' => 'text',
971
+ 'placeholder' => 'Shared by Twitter...',
972
+ 'name' => 'ssba_plus_twitter_text',
973
+ 'label' => 'Twitter Text',
974
+ 'tooltip' => 'Add some custom text for when people share via Twitter',
975
+ 'value' => isset($arr_settings['ssba_plus_twitter_text']) ? $arr_settings['ssba_plus_twitter_text'] : '',
976
+ );
977
+
978
+ // Twitter share text for share bar.
979
+ $opts34s = array(
980
+ 'form_group' => false,
981
+ 'type' => 'text',
982
+ 'placeholder' => 'Shared by Twitter...',
983
+ 'name' => 'ssba_bar_twitter_text',
984
+ 'label' => 'Twitter Text',
985
+ 'tooltip' => 'Add some custom text for when people share via Twitter',
986
+ 'value' => isset($arr_settings['ssba_bar_twitter_text']) ? $arr_settings['ssba_bar_twitter_text'] : '',
987
+ );
988
+
989
+ // Flattr user id.
990
+ $opts35 = array(
991
+ 'form_group' => false,
992
+ 'type' => 'text',
993
+ 'placeholder' => 'davidsneal',
994
+ 'name' => 'ssba_flattr_user_id',
995
+ 'label' => 'Flattr User ID',
996
+ 'tooltip' => 'Enter your Flattr ID, e.g. davidsneal',
997
+ 'value' => isset($arr_settings['ssba_flattr_user_id']) ? $arr_settings['ssba_flattr_user_id'] : '',
998
+ );
999
+
1000
+ // Flattr user id for plus.
1001
+ $opts35p = array(
1002
+ 'form_group' => false,
1003
+ 'type' => 'text',
1004
+ 'placeholder' => 'davidsneal',
1005
+ 'name' => 'ssba_plus_flattr_user_id',
1006
+ 'label' => 'Flattr User ID',
1007
+ 'tooltip' => 'Enter your Flattr ID, e.g. davidsneal',
1008
+ 'value' => isset($arr_settings['ssba_plus_flattr_user_id']) ? $arr_settings['ssba_plus_flattr_user_id'] : '',
1009
+ );
1010
+
1011
+ // Flattr user id for share bar.
1012
+ $opts35s = array(
1013
+ 'form_group' => false,
1014
+ 'type' => 'text',
1015
+ 'placeholder' => 'davidsneal',
1016
+ 'name' => 'ssba_bar_flattr_user_id',
1017
+ 'label' => 'Flattr User ID',
1018
+ 'tooltip' => 'Enter your Flattr ID, e.g. davidsneal',
1019
+ 'value' => isset($arr_settings['ssba_bar_flattr_user_id']) ? $arr_settings['ssba_bar_flattr_user_id'] : '',
1020
+ );
1021
+
1022
+ // Flattr url.
1023
+ $opts36 = array(
1024
+ 'form_group' => false,
1025
+ 'type' => 'text',
1026
+ 'placeholder' => 'flattr.com/@username',
1027
+ 'name' => 'ssba_flattr_url',
1028
+ 'label' => 'Flattr URL',
1029
+ 'tooltip' => 'This option is perfect for dedicated sites, e.g. https://simplesharebuttons.com',
1030
+ 'value' => isset($arr_settings['ssba_flattr_url']) ? $arr_settings['ssba_flattr_url'] : '',
1031
+ );
1032
+
1033
+ // Flattr url for plus.
1034
+ $opts36p = array(
1035
+ 'form_group' => false,
1036
+ 'type' => 'text',
1037
+ 'placeholder' => 'flattr.com/@username',
1038
+ 'name' => 'ssba_plus_flattr_url',
1039
+ 'label' => 'Flattr URL',
1040
+ 'tooltip' => 'This option is perfect for dedicated sites, e.g. https://simplesharebuttons.com',
1041
+ 'value' => isset($arr_settings['ssba_plus_flattr_url']) ? $arr_settings['ssba_plus_flattr_url'] : '',
1042
+ );
1043
+
1044
+ // Flattr url for share bar.
1045
+ $opts36s = array(
1046
+ 'form_group' => false,
1047
+ 'type' => 'text',
1048
+ 'placeholder' => 'flattr.com/@username',
1049
+ 'name' => 'ssba_bar_flattr_url',
1050
+ 'label' => 'Flattr URL',
1051
+ 'tooltip' => 'This option is perfect for dedicated sites, e.g. https://simplesharebuttons.com',
1052
+ 'value' => isset($arr_settings['ssba_bar_flattr_url']) ? $arr_settings['ssba_bar_flattr_url'] : '',
1053
+ );
1054
+
1055
+ // Buffer text.
1056
+ $opts37 = array(
1057
+ 'form_group' => false,
1058
+ 'type' => 'text',
1059
+ 'placeholder' => 'Shared by Buffer...',
1060
+ 'name' => 'ssba_buffer_text',
1061
+ 'label' => 'Custom Buffer Text',
1062
+ 'tooltip' => 'Add some custom text for when people share via Buffer',
1063
+ 'value' => isset($arr_settings['ssba_buffer_text']) ? $arr_settings['ssba_buffer_text'] : '',
1064
+ );
1065
+
1066
+ // Buffer text for plus.
1067
+ $opts37p = array(
1068
+ 'form_group' => false,
1069
+ 'type' => 'text',
1070
+ 'placeholder' => 'Shared by Buffer...',
1071
+ 'name' => 'ssba_plus_buffer_text',
1072
+ 'label' => 'Custom Buffer Text',
1073
+ 'tooltip' => 'Add some custom text for when people share via Buffer',
1074
+ 'value' => isset($arr_settings['ssba_plus_buffer_text']) ? $arr_settings['ssba_plus_buffer_text'] : '',
1075
+ );
1076
+
1077
+ // Buffer text for share bar.
1078
+ $opts37s = array(
1079
+ 'form_group' => false,
1080
+ 'type' => 'text',
1081
+ 'placeholder' => 'Shared by Buffer...',
1082
+ 'name' => 'ssba_bar_buffer_text',
1083
+ 'label' => 'Custom Buffer Text',
1084
+ 'tooltip' => 'Add some custom text for when people share via Buffer',
1085
+ 'value' => isset($arr_settings['ssba_bar_buffer_text']) ? $arr_settings['ssba_bar_buffer_text'] : '',
1086
+ );
1087
+
1088
+ // Pin featured images.
1089
+ $opts38 = array(
1090
+ 'form_group' => false,
1091
+ 'type' => 'checkbox',
1092
+ 'name' => 'ssba_pinterest_featured',
1093
+ 'label' => 'Pin Featured Images',
1094
+ 'tooltip' => 'Force the use of featured images for posts/pages when pinning',
1095
+ 'value' => 'Y',
1096
+ 'checked' => isset($arr_settings['ssba_pinterest_featured']) && 'Y' === $arr_settings['ssba_pinterest_featured'] ? 'checked' : null,
1097
+ );
1098
+
1099
+ // Pin featured images for plus.
1100
+ $opts38p = array(
1101
+ 'form_group' => false,
1102
+ 'type' => 'checkbox',
1103
+ 'name' => 'ssba_plus_pinterest_featured',
1104
+ 'label' => 'Pin Featured Images',
1105
+ 'tooltip' => 'Force the use of featured images for posts/pages when pinning',
1106
+ 'value' => 'Y',
1107
+ 'checked' => isset($arr_settings['ssba_plus_pinterest_featured']) && 'Y' === $arr_settings['ssba_plus_pinterest_featured'] ? 'checked' : null,
1108
+ );
1109
+
1110
+ // Pin featured images for share bar.
1111
+ $opts38s = array(
1112
+ 'form_group' => false,
1113
+ 'type' => 'checkbox',
1114
+ 'name' => 'ssba_bar_pinterest_featured',
1115
+ 'label' => 'Pin Featured Images',
1116
+ 'tooltip' => 'Force the use of featured images for posts/pages when pinning',
1117
+ 'value' => 'Y',
1118
+ 'checked' => isset($arr_settings['ssba_bar_pinterest_featured']) && 'Y' === $arr_settings['ssba_bar_pinterest_featured'] ? 'checked' : null,
1119
+ );
1120
+
1121
+ // Default pinterest image.
1122
+ $opts39 = array(
1123
+ 'form_group' => false,
1124
+ 'type' => 'image_upload',
1125
+ 'name' => 'ssba_default_pinterest',
1126
+ 'label' => 'Default Pinterest Image',
1127
+ 'tooltip' => 'Upload a default Pinterest image',
1128
+ 'value' => isset($arr_settings['ssba_default_pinterest']) ? $arr_settings['ssba_default_pinterest'] : '',
1129
+ );
1130
+
1131
+ // Default pinterest image for plus.
1132
+ $opts39p = array(
1133
+ 'form_group' => false,
1134
+ 'type' => 'image_upload',
1135
+ 'name' => 'ssba_plus_default_pinterest',
1136
+ 'label' => 'Default Pinterest Image',
1137
+ 'tooltip' => 'Upload a default Pinterest image',
1138
+ 'value' => isset($arr_settings['ssba_plus_default_pinterest']) ? $arr_settings['ssba_plus_default_pinterest'] : '',
1139
+ );
1140
+
1141
+ // Default pinterest image for share bar.
1142
+ $opts39s = array(
1143
+ 'form_group' => false,
1144
+ 'type' => 'image_upload',
1145
+ 'name' => 'ssba_bar_default_pinterest',
1146
+ 'label' => 'Default Pinterest Image',
1147
+ 'tooltip' => 'Upload a default Pinterest image',
1148
+ 'value' => isset($arr_settings['ssba_bar_default_pinterest']) ? $arr_settings['ssba_bar_default_pinterest'] : '',
1149
+ );
1150
+
1151
+ // Additional css.
1152
+ $opts40 = array(
1153
+ 'form_group' => false,
1154
+ 'type' => 'textarea',
1155
+ 'rows' => '15',
1156
+ 'class' => 'code-font',
1157
+ 'name' => 'ssba_additional_css',
1158
+ 'label' => 'Additional CSS',
1159
+ 'tooltip' => 'Add your own additional CSS if you wish',
1160
+ 'value' => isset($arr_settings['ssba_additional_css']) ? $arr_settings['ssba_additional_css'] : '',
1161
+ );
1162
+
1163
+ // Additional css for plus.
1164
+ $opts40p = array(
1165
+ 'form_group' => false,
1166
+ 'type' => 'textarea',
1167
+ 'rows' => '15',
1168
+ 'class' => 'code-font',
1169
+ 'name' => 'ssba_plus_additional_css',
1170
+ 'label' => 'Additional CSS',
1171
+ 'tooltip' => 'Add your own additional CSS if you wish',
1172
+ 'value' => isset($arr_settings['ssba_plus_additional_css']) ? $arr_settings['ssba_plus_additional_css'] : '',
1173
+ );
1174
+
1175
+ // Additional css for share.
1176
+ $opts40s = array(
1177
+ 'form_group' => false,
1178
+ 'type' => 'textarea',
1179
+ 'rows' => '15',
1180
+ 'class' => 'code-font',
1181
+ 'name' => 'ssba_bar_additional_css',
1182
+ 'label' => 'Additional CSS',
1183
+ 'tooltip' => 'Add your own additional CSS if you wish',
1184
+ 'value' => isset($arr_settings['ssba_bar_additional_css']) ? $arr_settings['ssba_bar_additional_css'] : '',
1185
+ );
1186
+
1187
+ // Enable custom css.
1188
+ $opts41 = array(
1189
+ 'form_group' => false,
1190
+ 'type' => 'checkbox',
1191
+ 'name' => 'ssba_custom_styles_enabled',
1192
+ 'label' => 'Enable Custom CSS',
1193
+ 'tooltip' => 'Switch on to disable all SSBA styles and use your own custom CSS',
1194
+ 'value' => 'Y',
1195
+ 'checked' => isset($arr_settings['ssba_custom_styles_enabled']) && 'Y' === $arr_settings['ssba_custom_styles_enabled'] ? 'checked' : null,
1196
+ );
1197
+
1198
+ // Custom css.
1199
+ $opts42 = array(
1200
+ 'form_group' => false,
1201
+ 'type' => 'textarea',
1202
+ 'rows' => '15',
1203
+ 'class' => 'code-font',
1204
+ 'name' => 'ssba_custom_styles',
1205
+ 'label' => 'Custom CSS',
1206
+ 'tooltip' => 'Enter in your own custom CSS for your share buttons',
1207
+ 'value' => isset($arr_settings['ssba_custom_styles']) ? $arr_settings['ssba_custom_styles'] : '',
1208
+ );
1209
+
1210
+ // Switch to new buttons.
1211
+ $opts43 = array(
1212
+ 'form_group' => false,
1213
+ 'type' => 'checkbox',
1214
+ 'name' => 'ssba_new_buttons',
1215
+ 'label' => 'Plus Share Buttons',
1216
+ 'tooltip' => 'If "On" new buttons replace the old on your site.',
1217
+ 'value' => 'Y',
1218
+ 'checked' => isset($arr_settings['ssba_new_buttons']) && 'Y' === $arr_settings['ssba_new_buttons'] ? 'checked' : null,
1219
+ );
1220
+
1221
+ // Select style of new buttons.
1222
+ $opts44 = array(
1223
+ 'form_group' => false,
1224
+ 'type' => 'select',
1225
+ 'name' => 'ssba_plus_button_style',
1226
+ 'label' => 'Theme',
1227
+ 'tooltip' => 'Choose the style of the new buttons',
1228
+ 'selected' => isset($arr_settings['ssba_plus_button_style']) ? $arr_settings['ssba_plus_button_style'] : '',
1229
+ 'options' => array(
1230
+ 'Round' => 1,
1231
+ 'Square' => 2,
1232
+ 'Logo Name' => 3,
1233
+ 'Rounded' => 4,
1234
+ '3D' => 5,
1235
+ 'Border Round' => 6,
1236
+ 'Border Logo Name' => 7,
1237
+ 'Black Border' => 8,
1238
+ 'Underline' => 9,
1239
+ 'Auto Square' => 10,
1240
+ 'Name' => 11,
1241
+ ),
1242
+ );
1243
+
1244
+ // Locations.
1245
+ $opts48 = array(
1246
+ 'form_group' => false,
1247
+ 'label' => 'Locations',
1248
+ 'tooltip' => 'Enable the locations you wish for plus buttons to appear',
1249
+ 'value' => 'Y',
1250
+ 'checkboxes' => $locs3,
1251
+ );
1252
+
1253
+ // Placement.
1254
+ $opts49 = array(
1255
+ 'form_group' => false,
1256
+ 'type' => 'select',
1257
+ 'name' => 'ssba_before_or_after_plus',
1258
+ 'label' => 'Placement',
1259
+ 'tooltip' => 'Place share buttons before or after your content',
1260
+ 'selected' => isset($arr_settings['ssba_before_or_after_plus']) ? $arr_settings['ssba_before_or_after_plus'] : '',
1261
+ 'options' => array(
1262
+ 'After' => 'after',
1263
+ 'Before' => 'before',
1264
+ 'Both' => 'both',
1265
+ ),
1266
+ );
1267
+
1268
+ // Locations.
1269
+ $opts45 = array(
1270
+ 'form_group' => false,
1271
+ 'label' => 'Locations',
1272
+ 'tooltip' => 'Enable the locations you wish for share buttons to appear',
1273
+ 'value' => 'Y',
1274
+ 'checkboxes' => $locs2,
1275
+ );
1276
+
1277
+ // Select style of share bar.
1278
+ $opts46 = array(
1279
+ 'form_group' => false,
1280
+ 'type' => 'select',
1281
+ 'name' => 'ssba_bar_style',
1282
+ 'label' => 'Style',
1283
+ 'tooltip' => 'Choose the style of the share bar buttons',
1284
+ 'selected' => isset($arr_settings['ssba_bar_style']) ? $arr_settings['ssba_bar_style'] : '',
1285
+ 'options' => array(
1286
+ 'Round' => 1,
1287
+ 'Square' => 2,
1288
+ 'Rounded' => 4,
1289
+ '3D' => 5,
1290
+ 'Border Round' => 6,
1291
+ 'Black Border' => 8,
1292
+ 'Underline' => 9,
1293
+ ),
1294
+ );
1295
+
1296
+ // Select position of share bar.
1297
+ $opts47 = array(
1298
+ 'form_group' => false,
1299
+ 'type' => 'select',
1300
+ 'name' => 'ssba_bar_position',
1301
+ 'label' => 'Alignment',
1302
+ 'tooltip' => 'Choose the share bar position',
1303
+ 'selected' => isset($arr_settings['ssba_bar_position']) ? $arr_settings['ssba_bar_position'] : '',
1304
+ 'options' => array(
1305
+ 'Sticky Left' => 'left',
1306
+ 'Sticky Right' => 'right',
1307
+ ),
1308
+ );
1309
+
1310
+ // Plus buttons height.
1311
+ $plus_height = array(
1312
+ 'form_group' => false,
1313
+ 'type' => 'number_addon',
1314
+ 'addon' => 'px',
1315
+ 'placeholder' => '48',
1316
+ 'name' => 'ssba_plus_height',
1317
+ 'label' => 'Height',
1318
+ 'tooltip' => 'Set the height of the plus buttons',
1319
+ 'value' => isset($arr_settings['ssba_plus_height']) ? $arr_settings['ssba_plus_height'] : '',
1320
+ );
1321
+
1322
+ // Plus buttons width.
1323
+ $plus_width = array(
1324
+ 'form_group' => false,
1325
+ 'type' => 'number_addon',
1326
+ 'addon' => 'px',
1327
+ 'placeholder' => '48',
1328
+ 'name' => 'ssba_plus_width',
1329
+ 'label' => 'Width',
1330
+ 'tooltip' => 'Set the width of the plus buttons',
1331
+ 'value' => isset($arr_settings['ssba_plus_width']) ? $arr_settings['ssba_plus_width'] : '',
1332
+ );
1333
+
1334
+ // Plus icon size.
1335
+ $plus_icon_size = array(
1336
+ 'form_group' => false,
1337
+ 'type' => 'number_addon',
1338
+ 'addon' => 'px',
1339
+ 'placeholder' => '24',
1340
+ 'name' => 'ssba_plus_icon_size',
1341
+ 'label' => 'Icon Size',
1342
+ 'tooltip' => 'Set the icon size of the plus buttons',
1343
+ 'value' => isset($arr_settings['ssba_plus_icon_size']) ? $arr_settings['ssba_plus_icon_size'] : '',
1344
+ );
1345
+
1346
+ // Plus button margin.
1347
+ $plus_margin = array(
1348
+ 'form_group' => false,
1349
+ 'type' => 'number_addon',
1350
+ 'addon' => 'px',
1351
+ 'placeholder' => '12',
1352
+ 'name' => 'ssba_plus_margin',
1353
+ 'label' => 'Margin',
1354
+ 'tooltip' => 'Set the margin of the plus buttons',
1355
+ 'value' => isset($arr_settings['ssba_plus_margin']) ? $arr_settings['ssba_plus_margin'] : '',
1356
+ );
1357
+
1358
+ // Plus button color override.
1359
+ $plus_button_color = array(
1360
+ 'form_group' => false,
1361
+ 'type' => 'colorpicker',
1362
+ 'name' => 'ssba_plus_button_color',
1363
+ 'label' => 'Button Color',
1364
+ 'tooltip' => 'Choose the color for all plus buttons',
1365
+ 'value' => isset($arr_settings['ssba_plus_button_color']) ? $arr_settings['ssba_plus_button_color'] : '',
1366
+ );
1367
+
1368
+ // Plus button hover color override.
1369
+ $plus_hover_color = array(
1370
+ 'form_group' => false,
1371
+ 'type' => 'colorpicker',
1372
+ 'name' => 'ssba_plus_button_hover_color',
1373
+ 'label' => 'Hover Color',
1374
+ 'tooltip' => 'Choose the color for all plus buttons hover',
1375
+ 'value' => isset($arr_settings['ssba_plus_button_hover_color']) ? $arr_settings['ssba_plus_button_hover_color'] : '',
1376
+ );
1377
+
1378
+ // Plus icon color override.
1379
+ $plus_icon_color = array(
1380
+ 'form_group' => false,
1381
+ 'type' => 'colorpicker',
1382
+ 'name' => 'ssba_plus_icon_color',
1383
+ 'label' => 'Icon Color',
1384
+ 'tooltip' => 'Choose the color for all plus button icons',
1385
+ 'value' => isset($arr_settings['ssba_plus_icon_color']) ? $arr_settings['ssba_plus_icon_color'] : '',
1386
+ );
1387
+
1388
+ // Plus button color override.
1389
+ $plus_icon_hover_color = array(
1390
+ 'form_group' => false,
1391
+ 'type' => 'colorpicker',
1392
+ 'name' => 'ssba_plus_icon_hover_color',
1393
+ 'label' => 'Icon Hover Color',
1394
+ 'tooltip' => 'Choose the color for all plus button icons hover',
1395
+ 'value' => isset($arr_settings['ssba_plus_icon_hover_color']) ? $arr_settings['ssba_plus_icon_hover_color'] : '',
1396
+ );
1397
+
1398
+ // share buttons height.
1399
+ $share_height = array(
1400
+ 'form_group' => false,
1401
+ 'type' => 'number_addon',
1402
+ 'addon' => 'px',
1403
+ 'placeholder' => '48',
1404
+ 'name' => 'ssba_bar_height',
1405
+ 'label' => 'Height',
1406
+ 'tooltip' => 'Set the height of the share bar buttons',
1407
+ 'value' => isset($arr_settings['ssba_bar_height']) ? $arr_settings['ssba_bar_height'] : '',
1408
+ );
1409
+
1410
+ // share buttons width.
1411
+ $share_width = array(
1412
+ 'form_group' => false,
1413
+ 'type' => 'number_addon',
1414
+ 'addon' => 'px',
1415
+ 'placeholder' => '48',
1416
+ 'name' => 'ssba_bar_width',
1417
+ 'label' => 'Width',
1418
+ 'tooltip' => 'Set the width of the share bar buttons',
1419
+ 'value' => isset($arr_settings['ssba_bar_width']) ? $arr_settings['ssba_bar_width'] : '',
1420
+ );
1421
+
1422
+ // share icon size.
1423
+ $share_icon_size = array(
1424
+ 'form_group' => false,
1425
+ 'type' => 'number_addon',
1426
+ 'addon' => 'px',
1427
+ 'placeholder' => '24',
1428
+ 'name' => 'ssba_bar_icon_size',
1429
+ 'label' => 'Icon Size',
1430
+ 'tooltip' => 'Set the icon size of the share bar buttons',
1431
+ 'value' => isset($arr_settings['ssba_bar_icon_size']) ? $arr_settings['ssba_bar_icon_size'] : '',
1432
+ );
1433
+
1434
+ // share button margin.
1435
+ $share_margin = array(
1436
+ 'form_group' => false,
1437
+ 'type' => 'number_addon',
1438
+ 'addon' => 'px',
1439
+ 'placeholder' => '12',
1440
+ 'name' => 'ssba_bar_margin',
1441
+ 'label' => 'Margin',
1442
+ 'tooltip' => 'Set the margin of the share bar buttons',
1443
+ 'value' => isset($arr_settings['ssba_bar_margin']) ? $arr_settings['ssba_bar_margin'] : '',
1444
+ );
1445
+
1446
+ // share button color override.
1447
+ $share_button_color = array(
1448
+ 'form_group' => false,
1449
+ 'type' => 'colorpicker',
1450
+ 'name' => 'ssba_bar_button_color',
1451
+ 'label' => 'Button Color',
1452
+ 'tooltip' => 'Choose the color for all share bar buttons',
1453
+ 'value' => isset($arr_settings['ssba_bar_button_color']) ? $arr_settings['ssba_bar_button_color'] : '',
1454
+ );
1455
+
1456
+ // share button hover color override.
1457
+ $share_hover_color = array(
1458
+ 'form_group' => false,
1459
+ 'type' => 'colorpicker',
1460
+ 'name' => 'ssba_bar_button_hover_color',
1461
+ 'label' => 'Hover Color',
1462
+ 'tooltip' => 'Choose the color for all share bar buttons hover',
1463
+ 'value' => isset($arr_settings['ssba_bar_button_hover_color']) ? $arr_settings['ssba_bar_button_hover_color'] : '',
1464
+ );
1465
+
1466
+ // share icon color override.
1467
+ $share_icon_color = array(
1468
+ 'form_group' => false,
1469
+ 'type' => 'colorpicker',
1470
+ 'name' => 'ssba_bar_icon_color',
1471
+ 'label' => 'Icon Color',
1472
+ 'tooltip' => 'Choose the color for all share bar button icons',
1473
+ 'value' => isset($arr_settings['ssba_bar_icon_color']) ? $arr_settings['ssba_bar_icon_color'] : '',
1474
+ );
1475
+
1476
+ // share button color override.
1477
+ $share_icon_hover_color = array(
1478
+ 'form_group' => false,
1479
+ 'type' => 'colorpicker',
1480
+ 'name' => 'ssba_bar_icon_hover_color',
1481
+ 'label' => 'Icon Hover Color',
1482
+ 'tooltip' => 'Choose the color for all share bar button icons hover',
1483
+ 'value' => isset($arr_settings['ssba_bar_icon_hover_color']) ? $arr_settings['ssba_bar_icon_hover_color'] : '',
1484
+ );
1485
+
1486
+ // Enable share bar.
1487
+ $share_bar = array(
1488
+ 'form_group' => false,
1489
+ 'type' => 'checkbox',
1490
+ 'type' => 'checkbox',
1491
+ 'name' => 'ssba_bar_enabled',
1492
+ 'label' => 'Share Bar',
1493
+ 'tooltip' => 'If "On" share bar will appear on your site.',
1494
+ 'value' => 'Y',
1495
+ 'checked' => isset($arr_settings['ssba_bar_enabled']) && 'Y' === $arr_settings['ssba_bar_enabled'] ? 'checked' : null,
1496
+ );
1497
+
1498
+ // Share bar display.
1499
+ $share_bar_display = array(
1500
+ 'form_group' => false,
1501
+ 'label' => 'Display on',
1502
+ 'tooltip' => 'Disable to hide on desktop or mobile views',
1503
+ 'value' => 'Y',
1504
+ 'checkboxes' => $display_loc,
1505
+ );
1506
+
1507
+ // share button mobile breakpoint.
1508
+ $mobile_breakpoint = array(
1509
+ 'form_group' => false,
1510
+ 'type' => 'number_addon',
1511
+ 'addon' => 'px',
1512
+ 'placeholder' => '780',
1513
+ 'name' => 'ssba_mobile_breakpoint',
1514
+ 'label' => 'Mobile Breakpoint',
1515
+ 'tooltip' => 'Set the share bar mobile breakpoint when it centers on screen',
1516
+ 'value' => isset($arr_settings['ssba_mobile_breakpoint']) ? $arr_settings['ssba_mobile_breakpoint'] : '',
1517
+ );
1518
+
1519
+ // Sharedcount api key.
1520
+ $page_omit = array(
1521
+ 'form_group' => false,
1522
+ 'type' => 'text',
1523
+ 'placeholder' => 'Enter page titles separated by commas...',
1524
+ 'name' => 'ssba_omit_pages',
1525
+ 'label' => 'Hide On These Pages',
1526
+ 'tooltip' => 'Add one or more page titles separated by commas of pages you wish to hide these buttons on.',
1527
+ 'value' => isset($arr_settings['ssba_omit_pages']) ? $arr_settings['ssba_omit_pages'] : '',
1528
+ );
1529
+
1530
+ // Sharedcount api key.
1531
+ $page_omit_plus = array(
1532
+ 'form_group' => false,
1533
+ 'type' => 'text',
1534
+ 'placeholder' => 'Enter page titles separated by commas...',
1535
+ 'name' => 'ssba_omit_pages_plus',
1536
+ 'label' => 'Hide On These Pages',
1537
+ 'tooltip' => 'Add one or more page titles separated by commas of pages you wish to hide these buttons on.',
1538
+ 'value' => isset($arr_settings['ssba_omit_pages_plus']) ? $arr_settings['ssba_omit_pages_plus'] : '',
1539
+ );
1540
+
1541
+ // Sharedcount api key.
1542
+ $page_omit_bar = array(
1543
+ 'form_group' => false,
1544
+ 'type' => 'text',
1545
+ 'placeholder' => 'Enter page titles separated by commas...',
1546
+ 'name' => 'ssba_omit_pages_bar',
1547
+ 'label' => 'Hide On These Pages',
1548
+ 'tooltip' => 'Add one or more page titles separated by commas of pages you wish to hide these buttons on.',
1549
+ 'value' => isset($arr_settings['ssba_omit_pages_bar']) ? $arr_settings['ssba_omit_pages_bar'] : '',
1550
+ );
1551
+
1552
+ // Notices.
1553
+ $notice = get_option('ssba_dismiss_notice');
1554
+
1555
+ // All buttons.
1556
+ $arr_buttons = array_values(get_option('ssba_buttons', true));
1557
+ $selected_buttons = explode(',', $arr_settings['ssba_selected_buttons']);
1558
+ $selected_plus_buttons = explode(',', $arr_settings['ssba_selected_plus_buttons']);
1559
+ $selected_bar_buttons = explode(',', $arr_settings['ssba_selected_bar_buttons']);
1560
+ $non_selected_buttons = array();
1561
+
1562
+ // Custom button key.
1563
+ $custom_buttons = $this->get_custom_button_key($arr_settings);
1564
+
1565
+ foreach ($arr_buttons as $button_name) {
1566
+ $new_name = str_replace('+', '',
1567
+ str_replace(' ', '_', strtolower($button_name['full_name'])));
1568
+ $new_arr_buttons[$new_name] = $button_name;
1569
+ }
1570
+
1571
+ foreach ($selected_buttons as $button) {
1572
+ if (isset($new_arr_buttons[$button])) {
1573
+ $selected_button_array[] = $new_arr_buttons[$button];
1574
+ }
1575
+ }
1576
+
1577
+ // Plus buttons.
1578
+ foreach ($selected_plus_buttons as $plus_button) {
1579
+ if (isset($new_arr_buttons[$plus_button])) {
1580
+ $selected_plus_button_array[] = $new_arr_buttons[$plus_button];
1581
+ }
1582
+ }
1583
+
1584
+ // Bar buttons.
1585
+ foreach ($selected_bar_buttons as $bar_button) {
1586
+ if (isset($new_arr_buttons[$bar_button])) {
1587
+ $selected_bar_button_array[] = $new_arr_buttons[$bar_button];
1588
+ }
1589
+ }
1590
+
1591
+ foreach ($arr_buttons as $non_buttons) {
1592
+ if (is_array($selected_button_array) && ! in_array($non_buttons, $selected_button_array, true)) {
1593
+ $non_selected_buttons[] = $non_buttons;
1594
+ }
1595
+ }
1596
+
1597
+ // Plus buttons.
1598
+ foreach ($arr_buttons as $non_plus_buttons) {
1599
+ if (is_array($selected_plus_button_array) && ! in_array($non_plus_buttons, $selected_plus_button_array,
1600
+ true)) {
1601
+ $non_plus_selected_buttons[] = $non_plus_buttons;
1602
+ }
1603
+ }
1604
+
1605
+ // Bar Buttons.
1606
+ foreach ($arr_buttons as $non_bar_buttons) {
1607
+ if (is_array($selected_bar_button_array) && ! in_array($non_bar_buttons, $selected_bar_button_array,
1608
+ true)) {
1609
+ $non_bar_selected_buttons[] = $non_bar_buttons;
1610
+ }
1611
+ }
1612
+
1613
+ if ( ! is_array($selected_button_array) && is_array($non_selected_buttons)) {
1614
+ $arr_buttons = $non_selected_buttons;
1615
+ } elseif ( ! is_array($non_selected_buttons) && is_array($selected_button_array)) {
1616
+ $arr_buttons = $selected_button_array;
1617
+ } elseif (is_array($selected_button_array) && is_array($non_selected_buttons)) {
1618
+ $arr_buttons = array_merge($selected_button_array, $non_selected_buttons);
1619
+ }
1620
+
1621
+ // Plus buttons.
1622
+ if ( ! is_array($selected_plus_button_array) && is_array($non_plus_selected_buttons)) {
1623
+ $arr_plus_buttons = $non_plus_selected_buttons;
1624
+ } elseif ( ! is_array($non_plus_selected_buttons) && is_array($selected_plus_button_array)) {
1625
+ $arr_plus_buttons = $selected_plus_button_array;
1626
+ } elseif (is_array($selected_plus_button_array) && is_array($non_plus_selected_buttons)) {
1627
+ $arr_plus_buttons = array_merge($selected_plus_button_array, $non_plus_selected_buttons);
1628
+ }
1629
+
1630
+ // Bar buttons.
1631
+ if ( ! is_array($selected_bar_button_array) && is_array($non_bar_selected_buttons)) {
1632
+ $arr_bar_buttons = $non_bar_selected_buttons;
1633
+ } elseif ( ! is_array($non_bar_selected_buttons) && is_array($selected_bar_button_array)) {
1634
+ $arr_bar_buttons = $selected_bar_button_array;
1635
+ } elseif (is_array($selected_bar_button_array) && is_array($non_bar_selected_buttons)) {
1636
+ $arr_bar_buttons = array_merge($selected_bar_button_array, $non_bar_selected_buttons);
1637
+ }
1638
+
1639
+ include_once "{$this->plugin->dir_path}/templates/admin-panel.php";
1640
+ }
1641
+
1642
+ /**
1643
+ * Get an html formatted of currently selected and ordered buttons.
1644
+ *
1645
+ * @param array $str_selected_ssba The selected buttons.
1646
+ * @param array $arr_settings The current ssba settings.
1647
+ *
1648
+ * @return string
1649
+ */
1650
+ public function get_selected_ssba($str_selected_ssba, $arr_settings)
1651
+ {
1652
+ // Variables.
1653
+ $html_selected_list = '';
1654
+
1655
+ // Prepare array of buttons.
1656
+ $arr_buttons = get_option('ssba_buttons', true);
1657
+
1658
+ // If there are some selected buttons.
1659
+ if ('' !== $str_selected_ssba && null !== $str_selected_ssba && false !== $str_selected_ssba) {
1660
+ // Explode saved include list and add to a new array.
1661
+ $arr_selected_ssba = explode(',', $str_selected_ssba);
1662
+
1663
+ // Check if array is not empty.
1664
+ if ('' !== $arr_selected_ssba) {
1665
+ // For each included button.
1666
+ foreach ($arr_selected_ssba as $str_selected) {
1667
+ // If share this terms haven't been accepted and it's the
1668
+ // facebook save button then make the button look disabled.
1669
+ $disabled = 'Y' !== $arr_settings['accepted_sharethis_terms'] && 'facebook_save' === $str_selected ? 'style="background-color:#eaeaea;"' : null;
1670
+
1671
+ // Add a list item for each selected option.
1672
+ $html_selected_list .= '<li class="ssbp-option-item" id="' . esc_attr($str_selected) . '"><a title="' . esc_attr($arr_buttons[$str_selected]['full_name']) . '" class="ssbp-btn ssbp-' . esc_attr($str_selected) . '" ' . esc_attr($disabled) . '></a></li>';
1673
+ }
1674
+ }
1675
+ }
1676
+
1677
+ // Return html list options.
1678
+ return $html_selected_list;
1679
+ }
1680
+
1681
+ /**
1682
+ * Custom button key.
1683
+ *
1684
+ * @param array $arr_settings The current site settings.
1685
+ */
1686
+ public function get_custom_button_key($arr_settings)
1687
+ {
1688
+ $custom_array = array(
1689
+ 'facebook' => isset($arr_settings['ssba_custom_facebook']) ? $arr_settings['ssba_custom_facebook'] : '',
1690
+ 'twitter' => isset($arr_settings['ssba_custom_twitter']) ? $arr_settings['ssba_custom_twitter'] : '',
1691
+ 'linkedin' => isset($arr_settings['ssba_custom_linkedin']) ? $arr_settings['ssba_custom_linkedin'] : '',
1692
+ 'flattr' => isset($arr_settings['ssba_custom_flattr']) ? $arr_settings['ssba_custom_flattr'] : '',
1693
+ 'pinterest' => isset($arr_settings['ssba_custom_pinterest']) ? $arr_settings['ssba_custom_pinterest'] : '',
1694
+ 'print' => isset($arr_settings['ssba_custom_print']) ? $arr_settings['ssba_custom_print'] : '',
1695
+ 'reddit' => isset($arr_settings['ssba_custom_reddit']) ? $arr_settings['ssba_custom_reddit'] : '',
1696
+ 'stumbleupon' => isset($arr_settings['ssba_custom_stumbleupon']) ? $arr_settings['ssba_custom_stumbleupon'] : '',
1697
+ 'tumblr' => isset($arr_settings['ssba_custom_tumblr']) ? $arr_settings['ssba_custom_tumblr'] : '',
1698
+ 'vk' => isset($arr_settings['ssba_custom_vk']) ? $arr_settings['ssba_custom_vk'] : '',
1699
+ 'whatsapp' => isset($arr_settings['ssba_custom_whatsapp']) ? $arr_settings['ssba_custom_whatsapp'] : '',
1700
+ 'xing' => isset($arr_settings['ssba_custom_xing']) ? $arr_settings['ssba_custom_xing'] : '',
1701
+ 'yummly' => isset($arr_settings['ssba_custom_yummly']) ? $arr_settings['ssba_custom_yummly'] : '',
1702
+ );
1703
+
1704
+ return $custom_array;
1705
+ }
1706
+
1707
+ /**
1708
+ * Get available share buttons.
1709
+ *
1710
+ * @param array $str_selected_ssba The selected buttons.
1711
+ * @param array $arr_settings The current ssba settings.
1712
+ *
1713
+ * @return string
1714
+ */
1715
+ public function get_available_ssba($str_selected_ssba, $arr_settings, $page = '')
1716
+ {
1717
+ // Variables.
1718
+ $html_available_list = '';
1719
+
1720
+ // Prepare array of buttons.
1721
+ $arr_buttons = get_option('ssba_buttons', true);
1722
+
1723
+ // Explode saved include list and add to a new array.
1724
+ $arr_selected_ssba = explode(',', $str_selected_ssba);
1725
+
1726
+ // Extract the available buttons.
1727
+ $arr_available_ssba = array_diff(array_keys($arr_buttons), $arr_selected_ssba);
1728
+
1729
+ // Check if array is not empty.
1730
+ if ('' !== $arr_selected_ssba) {
1731
+ // For each included button.
1732
+ foreach ($arr_available_ssba as $str_available) {
1733
+ // If share this terms haven't been accepted and it's the facebook save button then make the button look disabled.
1734
+ $disabled = 'Y' !== $arr_settings['accepted_sharethis_terms'] && 'facebook_save' === $str_available ? 'style="background-color:#eaeaea;"' : null;
1735
+
1736
+ if ('facebook_save' === $str_available && isset($arr_settings['bar_call'])) {
1737
+ $html_available_list .= ''; // Do nothing.
1738
+ } else {
1739
+ if ($this->showInClassic($page, $arr_buttons[$str_available]['full_name'])) {
1740
+ // Add a list item for each available option.
1741
+ $html_available_list .= '<li class="ssbp-option-item" id="' . esc_attr($str_available) . '"><a title="' . esc_attr($arr_buttons[$str_available]['full_name']) . '" class="ssbp-btn ssbp-' . esc_attr($str_available) . '" ' . esc_attr($disabled) . '></a></li>';
1742
+ }
1743
+ }
1744
+ }
1745
+ }
1746
+
1747
+ // Return html list options.
1748
+ return $html_available_list;
1749
+ }
1750
+
1751
+ /**
1752
+ * Show in classic button list or not.
1753
+ */
1754
+ private function showInClassic ($page, $buttonName) {
1755
+ if ('classic' !== $page) {
1756
+ return true;
1757
+ }
1758
+
1759
+ if (!in_array($buttonName, ['Line', 'Skype', 'Weibo'])) {
1760
+ return true;
1761
+ }
1762
+
1763
+ return false;
1764
+ }
1765
+
1766
+ /**
1767
+ * Get ssbp font family.
1768
+ *
1769
+ * @return string
1770
+ */
1771
+ public function get_font_family()
1772
+ {
1773
+ return "@font-face {
1774
  font-family: 'ssbp';
1775
  src:url('{$this->plugin->dir_url}fonts/ssbp.eot?xj3ol1');
1776
  src:url('{$this->plugin->dir_url}fonts/ssbp.eot?#iefixxj3ol1') format('embedded-opentype'),
1784
  -webkit-font-smoothing: antialiased;
1785
  -moz-osx-font-smoothing: grayscale;
1786
  }";
1787
+ }
1788
+
1789
+ /**
1790
+ * Add additional admin styles
1791
+ *
1792
+ * @action admin_enqueue_scripts
1793
+ */
1794
+ public function additional_styles()
1795
+ {
1796
+ $html_share_buttons_form = '';
1797
+
1798
+ // Get settings.
1799
+ $arr_settings = $this->class_ssba->get_ssba_settings();
1800
+
1801
+ // If user is accepting terms.
1802
+ if (isset($_GET['accept-terms']) && 'Y' === $_GET['accept-terms']) { // WPCS: CSRF ok.
1803
+ // Save acceptance.
1804
+ $this->class_ssba->ssba_update_options(array(
1805
+ 'accepted_sharethis_terms' => 'Y',
1806
+ ));
1807
+
1808
+ // Hide the notice for now, it will disappear upon reload.
1809
+ $html_share_buttons_form .= '#sharethis_terms_notice { display: none }.ssbp-facebook_save { background-color: #365397 !important; }';
1810
+ }
1811
+
1812
+ // Get the font family needed.
1813
+ $html_share_buttons_form .= $this->get_font_family();
1814
+
1815
+ // If left to right.
1816
+ if (is_rtl()) {
1817
+ // Move save button.
1818
+ $html_share_buttons_form .= '.ssba-btn-save{ left: 0!important;
1819
  right: auto !important;
1820
  border-radius: 0 5px 5px 0; }';
1821
+ }
1822
+
1823
+ wp_add_inline_style("{$this->plugin->assets_prefix}-admin-theme", $html_share_buttons_form);
1824
+ }
1825
+
1826
+ /**
1827
+ * Register button widget.
1828
+ *
1829
+ * @action widgets_init
1830
+ */
1831
+ public function register_widget()
1832
+ {
1833
+ register_widget($this->widget_class);
1834
+ }
1835
  }
php/class-buttons.php CHANGED
@@ -12,1935 +12,2159 @@ namespace SimpleShareButtonsAdder;
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
- class Buttons {
16
-
17
- /**
18
- * Plugin instance.
19
- *
20
- * @var object
21
- */
22
- public $plugin;
23
-
24
- /**
25
- * Simple Share Buttons Adder instance.
26
- *
27
- * @var object
28
- */
29
- public $class_ssba;
30
-
31
- /**
32
- * Admin Panel Class.
33
- *
34
- * @var object
35
- */
36
- public $admin_panel;
37
-
38
- /**
39
- * Class constructor.
40
- *
41
- * @param object $plugin Plugin class.
42
- * @param object $class_ssba Simple Share Buttons Adder class.
43
- */
44
- public function __construct( $plugin, $class_ssba, $admin_panel ) {
45
- $this->plugin = $plugin;
46
- $this->class_ssba = $class_ssba;
47
- $this->admin_panel = $admin_panel;
48
- }
49
-
50
- /**
51
- * Enqueue font awesome.
52
- *
53
- * @action wp_enqueue_scripts
54
- */
55
- public function font_awesome() {
56
- wp_enqueue_style( "{$this->plugin->assets_prefix}-font-awesome" );
57
-
58
- $html_share_buttons_form = '';
59
-
60
- // Get settings.
61
- $arr_settings = $this->class_ssba->get_ssba_settings();
62
-
63
- // If user is accepting terms.
64
- if ( isset( $_GET['accept-terms'] ) && 'Y' === $_GET['accept-terms'] ) { // WPCS: CSRF ok.
65
- // Save acceptance.
66
- $this->class_ssba->ssba_update_options( array(
67
- 'accepted_sharethis_terms' => 'Y',
68
- ) );
69
-
70
- // Hide the notice for now, it will disappear upon reload.
71
- $html_share_buttons_form .= '#sharethis_terms_notice { display: none }.ssbp-facebook_save { background-color: #365397 !important; }';
72
- }
73
-
74
- // Get the font family needed.
75
- $html_share_buttons_form .= $this->admin_panel->get_font_family();
76
-
77
- // If left to right.
78
- if ( is_rtl() ) {
79
- // Move save button.
80
- $html_share_buttons_form .= '.ssba-btn-save{ left: 0!important;
 
 
 
81
  right: auto !important;
82
  border-radius: 0 5px 5px 0; }';
83
- }
84
-
85
- wp_add_inline_style( "{$this->plugin->assets_prefix}-ssba", $html_share_buttons_form );
86
- }
87
-
88
- /**
89
- * Format the returned number.
90
- *
91
- * @param integer $int_number The number to format.
92
- *
93
- * @return string
94
- */
95
- public function ssba_format_number( $int_number ) {
96
- // If the number is greater than or equal to 1000.
97
- if ( $int_number >= 1000 ) {
98
- // Divide by 1000 and add k.
99
- $int_number = round( ( $int_number / 1000 ), 1 ) . 'k';
100
- }
101
-
102
- // Return the number.
103
- return $int_number;
104
- }
105
-
106
- /**
107
- * Adds a filter around the content.
108
- *
109
- * @action wp_head, 99
110
- */
111
- public function ssba_add_button_filter() {
112
- $arr_settings = $this->class_ssba->get_ssba_settings();
113
-
114
- add_filter( 'the_content', array( $this, 'show_share_buttons' ), (int) $arr_settings['ssba_content_priority'] );
115
-
116
- // If we wish to add to excerpts.
117
- if ( isset( $arr_settings['ssba_excerpts'] ) && 'Y' !== $arr_settings['ssba_excerpts'] ) {
118
- add_filter( 'the_excerpt', array( $this, 'show_share_buttons' ) );
119
- }
120
- }
121
-
122
- /**
123
- * Call back for showing share buttons.
124
- *
125
- * @param string $content The current page or post content.
126
- * @param bool $boo_shortcode Whether to use shortcode or not.
127
- * @param array $atts Manual replacements for page url/title.
128
- *
129
- * @return string
130
- */
131
- public function show_share_buttons( $content, $boo_shortcode = false, $atts = '' ) {
132
- global $post;
133
-
134
- // Variables.
135
- $html_content = $content;
136
- $str_share_text = '';
137
- $pattern = get_shortcode_regex();
138
-
139
- // Ssba_hide shortcode is in the post content and instance is not called by shortcode ssba.
140
- if ( isset( $post->post_content )
141
- &&
142
- preg_match_all( '/' . $pattern . '/s', $post->post_content, $matches )
143
- &&
144
- array_key_exists( 2, $matches )
145
- &&
146
- in_array( 'ssba_hide', $matches[2], true )
147
- &&
148
- ! $boo_shortcode
149
- ) {
150
- // Exit the function returning the content without the buttons.
151
- return $content;
152
- }
153
-
154
- // Get sbba settings.
155
- $arr_settings = $this->class_ssba->get_ssba_settings();
156
-
157
- $page_title = $post->post_title;
158
- $plus_omit_pages = ! empty( $arr_settings['ssba_omit_pages_plus'] ) ? explode( ',', $arr_settings['ssba_omit_pages_plus'] ) : '';
159
- $plus_omitted = is_array( $plus_omit_pages ) ? in_array( $page_title, array_map( 'trim', $plus_omit_pages ), true ) : false;
160
- $omit_pages = ! empty( $arr_settings['ssba_omit_pages'] ) ? explode( ',', $arr_settings['ssba_omit_pages'] ) : '';
161
- $omitted = is_array( $omit_pages ) ? in_array( $page_title, array_map( 'trim', $omit_pages ), true ) : false;
162
-
163
- if ( ( 'Y' === $arr_settings['ssba_new_buttons'] && $plus_omitted ) || ( 'Y' !== $arr_settings['ssba_new_buttons'] && $omitted ) ) {
164
- return $content;
165
- }
166
-
167
- // Placement on pages/posts/categories/archives/homepage.
168
- if (
169
- ( ! is_home() && ! is_front_page() && is_page() && ( 'Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_pages'] || ( 'Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_pages'] ) ) )
170
- ||
171
- ( is_single() && ( 'Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_posts'] || ( 'Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_posts'] ) ) )
172
- ||
173
- ( is_category() && ( 'Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_cats_archs'] || ( 'Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_cats_archs'] ) ) )
174
- ||
175
- ( is_archive() && ( 'Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_cats_archs'] || ( 'Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_cats_archs'] ) ) )
176
- ||
177
- ( ( is_home() || is_front_page() ) && ( 'Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_homepage'] || ( 'Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_homepage'] ) ) )
178
- ||
179
- $boo_shortcode
180
- ) {
181
- wp_enqueue_style( "{$this->plugin->assets_prefix}-ssba" );
182
-
183
- // If not shortcode.
184
- if ( isset( $atts['widget'] ) && 'Y' === $atts['widget'] && '' === $arr_settings['ssba_widget_text'] ) { // Use widget share text.
185
- $str_share_text = $arr_settings['ssba_widget_text'];
186
- } else { // Use normal share text.
187
- $str_share_text = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_share_text'] : $arr_settings['ssba_plus_share_text'];
188
- }
189
-
190
- // Text placement.
191
- $text_placement = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_text_placement'] : $arr_settings['ssba_plus_text_placement'];
192
-
193
- // Link or no.
194
- $text_link = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_link_to_ssb'] : $arr_settings['ssba_plus_link_to_ssb'];
195
-
196
- // Post id.
197
- $int_post_id = $post->ID;
198
-
199
- // Button Position.
200
- $button_position = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_before_or_after'] : $arr_settings['ssba_before_or_after_plus'];
201
-
202
- // Button alignment
203
- $alignment = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_align'] : $arr_settings['ssba_plus_align'];
204
-
205
- // Wrap id
206
- $wrap_id = 'Y' !== $arr_settings['ssba_new_buttons'] ? 'ssba-classic-2' : 'ssba-modern-2';
207
-
208
- // Ssba div.
209
- $html_share_buttons = '<!-- Simple Share Buttons Adder (' . esc_html( SSBA_VERSION ) . ') simplesharebuttons.com --><div class="' . esc_attr( $wrap_id ) . ' ssba ssbp-wrap' . esc_attr( ' ' . $arr_settings['ssba_plus_align'] ) . ' ssbp--theme-' . esc_attr( $arr_settings['ssba_plus_button_style'] ) . '">';
210
-
211
- // Center if set so.
212
- $html_share_buttons .= '<div style="text-align:' . esc_attr( $alignment ) . '">';
213
-
214
- // Add custom text if set and set to placement above or left.
215
- if ( '' !== $str_share_text && ( 'above' === $text_placement || 'left' === $text_placement ) ) {
216
- // Check if user has left share link box checked.
217
- if ( 'Y' === $text_link ) {
218
- // Share text with link.
219
- $html_share_buttons .= '<a href="https://simplesharebuttons.com" target="_blank" class="ssba-share-text">' . esc_html( $str_share_text ) . '</a>';
220
- } else {
221
- // Share text.
222
- $html_share_buttons .= '<span class="ssba-share-text">' . esc_html( $str_share_text ) . '</span>';
223
- }
224
- // Add a line break if set to above.
225
- $html_share_buttons .= 'above' === $text_placement ? '<br/>' : '';
226
- }
227
-
228
- // If running standard.
229
- if ( ! $boo_shortcode ) {
230
- // Use WordPress functions for page/post details.
231
- $url_current_page = get_permalink( $post->ID );
232
- $str_page_title = get_the_title( $post->ID );
233
- } else { // Using shortcode.
234
- // Set page URL and title as set by user or get if needed.
235
- $url_current_page = isset( $atts['url'] ) ? esc_url( $atts['url'] ) : $this->ssba_current_url( $atts );
236
- $str_page_title = ( isset( $atts['title'] ) ? $atts['title'] : get_the_title() );
237
- }
238
-
239
- // Strip any unwanted tags from the page title.
240
- $str_page_title = esc_attr( strip_tags( $str_page_title ) );
241
-
242
- // The buttons.
243
- $html_share_buttons .= $this->get_share_buttons( $arr_settings, $url_current_page, $str_page_title, $int_post_id );
244
-
245
- // Add custom text if set and set to placement right or below.
246
- if ( '' !== $str_share_text && ( 'right' === $text_placement || 'below' === $text_placement ) ) {
247
- // Add a line break if set to above.
248
- $html_share_buttons .= 'below' === $text_placement ? '<br/>' : '';
249
-
250
- // Check if user has checked share link option.
251
- if ( 'Y' === $text_link ) {
252
- // Share text with link.
253
- $html_share_buttons .= '<a href="https://simplesharebuttons.com" target="_blank" class="ssba-share-text">' . esc_html( $str_share_text ) . '</a>';
254
- } else { // Just display the share text.
255
- // Share text.
256
- $html_share_buttons .= '<span class="ssba-share-text">' . esc_html( $str_share_text ) . '</span>';
257
- }
258
- }
259
-
260
- // Close center if set.
261
- $html_share_buttons .= '</div></div>';
262
-
263
- // If not using shortcode.
264
- if ( ! $boo_shortcode ) {
265
- // Switch for placement of ssba.
266
- switch ( $button_position ) {
267
- case 'before': // Before the content.
268
- $html_content = $html_share_buttons . $content;
269
- break;
270
- case 'after': // After the content.
271
- $html_content = $content . $html_share_buttons;
272
- break;
273
- case 'both': // Before and after the content.
274
- $html_content = $html_share_buttons . $content . $html_share_buttons;
275
- break;
276
- }
277
- } else { // If using shortcode.
278
- // Just return buttons.
279
- $html_content = $html_share_buttons;
280
- }
281
- }
282
-
283
- // Return content and share buttons.
284
- return $html_content;
285
- }
286
-
287
- /**
288
- * Function that shows the share bar if enabled.
289
- *
290
- * @action wp_head, 99
291
- */
292
- public function show_share_bar() {
293
- global $post, $wp;
294
-
295
- // Get sbba settings.
296
- $arr_settings = $this->class_ssba->get_ssba_settings();
297
- $page_title = $post->post_title;
298
- $omit_pages = ! empty( $arr_settings['ssba_omit_pages_bar'] ) ? explode( ',', $arr_settings['ssba_omit_pages_bar'] ) : '';
299
- $omitted = is_array( $omit_pages ) ? in_array( $page_title, array_map( 'trim', $omit_pages ), true ) : false;
300
-
301
- if ( ( 'Y' !== $arr_settings['ssba_bar_desktop'] && ! wp_is_mobile() ) || ( 'Y' !== $arr_settings['ssba_bar_mobile'] && wp_is_mobile() ) || 'Y' !== $arr_settings['ssba_bar_enabled'] || $omitted ) {
302
- return;
303
- }
304
-
305
- // Get current url.
306
- $url_current_page = home_url( add_query_arg( array(), $wp->request ) );
307
-
308
- // Placement on pages/posts/categories/archives/homepage.
309
- if (
310
- ( ! is_home() && ! is_front_page() && is_page() && isset( $arr_settings['ssba_bar_pages'] ) && 'Y' === $arr_settings['ssba_bar_pages'] )
311
- ||
312
- ( is_single() && isset( $arr_settings['ssba_bar_posts'] ) && 'Y' === $arr_settings['ssba_bar_posts'] )
313
- ||
314
- ( is_category() && isset( $arr_settings['ssba_bar_cats_archs'] ) && 'Y' === $arr_settings['ssba_bar_cats_archs'] )
315
- ||
316
- ( is_archive() && isset( $arr_settings['ssba_bar_cats_archs'] ) && 'Y' === $arr_settings['ssba_bar_cats_archs'] )
317
- ||
318
- ( ( is_home() || is_front_page() ) && isset( $arr_settings['ssba_bar_homepage'] ) && 'Y' === $arr_settings['ssba_bar_homepage'] )
319
- ) {
320
-
321
- if ( ! wp_style_is( "{$this->plugin->assets_prefix}-ssba", 'enqueued' ) ) {
322
- wp_enqueue_style( "{$this->plugin->assets_prefix}-ssba" );
323
- }
324
-
325
- $html_share_buttons = '<div id="ssba-bar-2" class="' . esc_attr( $arr_settings['ssba_bar_position'] ) . ' ssbp-wrap ssbp--theme-' . esc_attr( $arr_settings['ssba_bar_style'] ) . '" >';
326
- $html_share_buttons .= '<div class="ssbp-container">';
327
- $html_share_buttons .= '<ul class="ssbp-bar-list">';
328
-
329
- // The buttons.
330
- $html_share_buttons .= $this->get_share_bar( $arr_settings, $url_current_page, $post->post_title, $post->ID );
331
- $html_share_buttons .= '</div></ul>';
332
- $html_share_buttons .= '</div>';
333
-
334
- echo $html_share_buttons; // WPCS: XSS ok. Pinterest contains javascript cannot sanitize output.
335
- }
336
- }
337
-
338
- /**
339
- * Shortcode for adding buttons.
340
- *
341
- * @param array $atts The current shortcodes attributes.
342
- *
343
- * @shortcode ssba-buttons
344
- *
345
- * @return string
346
- */
347
- public function ssba_buttons( $atts ) {
348
- // Get buttons - NULL for $content, TRUE for shortcode flag.
349
- $html_share_buttons = $this->show_share_buttons( null, true, $atts );
350
-
351
- // Return buttons.
352
- return $html_share_buttons;
353
- }
354
-
355
- /**
356
- * Shortcode for adding buttons.
357
- *
358
- * @param array $atts The current shortcodes attributes.
359
- *
360
- * @shortcode ssba
361
- *
362
- * @return string
363
- */
364
- public function ssba_orig_buttons( $atts ) {
365
- // Get buttons - NULL for $content, TRUE for shortcode flag.
366
- $html_share_buttons = $this->show_share_buttons( null, true, $atts );
367
-
368
- // Return buttons.
369
- return $html_share_buttons;
370
- }
371
-
372
- /**
373
- * Shortcode for hiding buttons
374
- *
375
- * @param string $content The current page or posts content.
376
- *
377
- * @shortcode ssba_hide
378
- */
379
- public function ssba_hide( $content ) {
380
- // No need to do anything here!
381
- }
382
-
383
- /**
384
- * Get URL function.
385
- *
386
- * @param array $atts The supplied attributes.
387
- *
388
- * @return string
389
- */
390
- public function ssba_current_url( $atts ) {
391
- global $post;
392
-
393
- if ( ! isset( $_SERVER['SERVER_NAME'] ) || ! isset( $_SERVER['REQUEST_URI'] ) ) {
394
- return;
395
- }
396
-
397
- // If multisite has been set to true.
398
- if ( isset( $atts['multisite'] ) && isset( $_SERVER['QUERY_STRING'] ) ) {
399
- global $wp;
400
-
401
- $url = add_query_arg( sanitize_text_field( wp_unslash( $_SERVER['QUERY_STRING'] ) ), '', home_url( $wp->request ) ); // WPCS: CSRF ok.
402
-
403
- return esc_url( $url );
404
- }
405
-
406
- // Add http.
407
- $url_current_page = 'http';
408
-
409
- // Add s to http if required.
410
- if ( isset( $_SERVER['HTTPS'] ) && 'on' === $_SERVER['HTTPS'] ) {
411
- $url_current_page .= 's';
412
- }
413
-
414
- // Add colon and forward slashes.
415
- $url_current_page .= '://' . sanitize_text_field( wp_unslash( $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ) );
416
-
417
- $url_current_page = '_' === $_SERVER['SERVER_NAME'] ? get_permalink( $post->ID ) : $url_current_page;
418
-
419
- // Return url.
420
- return esc_url( $url_current_page );
421
- }
422
-
423
- /**
424
- * Get set share buttons.
425
- *
426
- * @param array $arr_settings The current ssba settings.
427
- * @param string $url_current_page The current pages url.
428
- * @param string $str_page_title The page title.
429
- * @param integer $int_post_id The post id.
430
- *
431
- * @return string
432
- */
433
- public function get_share_buttons( $arr_settings, $url_current_page, $str_page_title, $int_post_id ) {
434
- // Variables.
435
- $html_share_buttons = '';
436
-
437
- // Explode saved include list and add to a new array.
438
- $arr_selected_ssba = 'Y' === $arr_settings['ssba_new_buttons'] ? explode( ',', $arr_settings['ssba_selected_plus_buttons'] ) : explode( ',', $arr_settings['ssba_selected_buttons'] );
439
-
440
- // Check if array is not empty.
441
- if ( is_array( $arr_selected_ssba ) && '' !== $arr_selected_ssba[0] ) {
442
-
443
- // Add post ID to settings array.
444
- $arr_settings['post_id'] = $int_post_id;
445
-
446
- // If show counters option is selected.
447
- if ( 'Y' === $arr_settings['ssba_show_share_count'] ) {
448
- // Set show flag to true.
449
- $boo_show_share_count = true;
450
-
451
- // If show counters once option is selected.
452
- if ( 'Y' === $arr_settings['ssba_share_count_once'] ) {
453
- // If not a page or post.
454
- if ( ! is_page() && ! is_single() ) {
455
- // Let show flag to false.
456
- $boo_show_share_count = false;
457
- }
458
- }
459
- } else {
460
- // Set show flag to false.
461
- $boo_show_share_count = false;
462
- }
463
-
464
- if ( 'Y' === $arr_settings['ssba_new_buttons'] ) {
465
- $html_share_buttons .= '<ul class="ssbp-list">';
466
- }
467
-
468
- // For each included button.
469
- foreach ( $arr_selected_ssba as $str_selected ) {
470
- $str_get_button = 'ssba_' . $str_selected;
471
-
472
- // Add a list item for each selected option.
473
- $html_share_buttons .= $this->$str_get_button( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count );
474
- }
475
-
476
- if ( 'Y' === $arr_settings['ssba_new_buttons'] ) {
477
- $html_share_buttons .= '</ul>';
478
- }
479
- } // End if().
480
-
481
- // Return share buttons.
482
- return $html_share_buttons;
483
- }
484
-
485
- /**
486
- * Get facebook button.
487
- *
488
- * @param array $arr_settings The current ssba settings.
489
- * @param string $url_current_page The current page url.
490
- * @param string $str_page_title The page title.
491
- * @param bool $boo_show_share_count Show share count or not.
492
- *
493
- * @return string
494
- */
495
- public function ssba_facebook( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
496
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
497
- $network = 'Facebook';
498
- $target =
499
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
500
- && 'Y' === $arr_settings['ssba_new_buttons']
501
- && ! isset( $arr_settings['bar_call']
502
- ) )
503
- ||
504
- ( 'Y' === $arr_settings['ssba_share_new_window']
505
- && 'Y' !== $arr_settings['ssba_new_buttons']
506
- && ! isset( $arr_settings['bar_call']
507
- ) )
508
- ||
509
- ( 'Y' === $arr_settings['ssba_bar_share_new_window'] && isset( $arr_settings['bar_call']
510
- ) ) ? ' target="_blank" ' : '';
511
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-facebook ssbp-btn' : '';
512
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
513
- $html_share_buttons = '';
514
-
515
- // Add li if plus.
516
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
517
- $html_share_buttons .= '<li class="ssbp-li--facebook">';
518
- }
519
-
520
- // If the sharethis terms have been accepted.
521
- if ( 'Y' === $arr_settings['accepted_sharethis_terms'] && '' !== $arr_settings['facebook_app_id'] ) {
522
- // Facebook share link.
523
- $html_share_buttons .= '<a data-site="" data-facebook="mobile" class="ssba_facebook_share' . esc_attr( $plus_class ) . '" data-href="' . esc_attr( $url_current_page ) . '" href="https://www.facebook.com/dialog/share?app_id=' . esc_attr( $arr_settings['facebook_app_id'] ) . '&display=popup&href=' . esc_attr( $url_current_page ) . '&redirect_uri=' . esc_url( $url_current_page ) . '" ' . esc_attr( $target . $nofollow ) . '>';
524
- } else {
525
- // Facebook share link.
526
- $html_share_buttons .= '<a data-site="" class="ssba_facebook_share' . esc_attr( $plus_class ) . '" href="http://www.facebook.com/sharer.php?u=' . esc_attr( $url_current_page ) . '" ' . $target . $nofollow . '>';
527
- }
528
-
529
- // If not using custom.
530
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
531
- // Show selected ssba image.
532
- $html_share_buttons .= '<img src="' . esc_url( plugins_url() ) . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/facebook.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Facebook" class="ssba ssba-img" alt="Share on Facebook" />';
533
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
534
- // Show custom image.
535
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_facebook'] ) . '" title="Facebook" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" class="ssba ssba-img" alt="Share on Facebook" />';
536
- }
537
-
538
- // Close href.
539
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
540
-
541
- // Close href.
542
- $html_share_buttons .= '</a>';
543
-
544
- // If show share count is set to Y.
545
- if ( ( ( 'Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'] )
546
- ||
547
- ( 'Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'] )
548
- ||
549
- ( 'Y' === $arr_settings['ssba_bar_show_share_count'] && isset( $arr_settings['bar_call'] )
550
- )
551
- && $boo_show_share_count
552
- ) ) {
553
- // Get and add facebook share count.
554
- $html_share_buttons .= '<span class="' . esc_attr( $count_class ) . '">' . esc_html( $this->get_facebook_share_count( $url_current_page, $arr_settings ) ) . '</span>';
555
- }
556
-
557
- // Add closing li if plus.
558
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
559
- $html_share_buttons .= '</li>';
560
- }
561
-
562
- // Return share buttons.
563
- return $html_share_buttons;
564
- }
565
-
566
- /**
567
- * Get set share buttons.
568
- *
569
- * @param array $arr_settings The current ssba settings.
570
- * @param string $url_current_page The current pages url.
571
- * @param string $str_page_title The page title.
572
- * @param integer $int_post_id The post id.
573
- *
574
- * @return string
575
- */
576
- public function get_share_bar( $arr_settings, $url_current_page, $str_page_title, $int_post_id ) {
577
- // Variables.
578
- $html_share_buttons = '';
579
-
580
- // Set bar call.
581
- $arr_settings = array_merge( $arr_settings, array(
582
- 'bar_call' => 'Y',
583
- )
584
- );
585
-
586
- // Explode saved include list and add to a new array.
587
- $arr_selected_ssba = explode( ',', $arr_settings['ssba_selected_bar_buttons'] );
588
-
589
- // Check if array is not empty.
590
- if ( '' !== $arr_settings['ssba_selected_bar_buttons'] ) {
591
-
592
- // Add post ID to settings array.
593
- $arr_settings['post_id'] = $int_post_id;
594
-
595
- // If show counters option is selected.
596
- if ( 'Y' === $arr_settings['ssba_bar_show_share_count'] ) {
597
- // Set show flag to true.
598
- $boo_show_share_count = true;
599
-
600
- // If show counters once option is selected.
601
- if ( isset( $arr_settings['ssba_bar_count_once'] ) && 'Y' === $arr_settings['ssba_bar_count_once'] ) {
602
- // If not a page or post.
603
- if ( ! is_page() && ! is_single() ) {
604
- // Let show flag to false.
605
- $boo_show_share_count = false;
606
- }
607
- }
608
- } else {
609
- // Set show flag to false.
610
- $boo_show_share_count = false;
611
- }
612
-
613
- // For each included button.
614
- foreach ( $arr_selected_ssba as $str_selected ) {
615
- if ( '' !== $str_selected ) {
616
- $str_get_button = 'ssba_' . $str_selected;
617
-
618
- // Add a list item for each selected option.
619
- $html_share_buttons .= $this->$str_get_button( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count );
620
- }
621
- }
622
- }
623
-
624
- // Return share buttons.
625
- return $html_share_buttons;
626
- }
627
-
628
- /**
629
- * Get facebook button.
630
- *
631
- * @param array $arr_settings The current ssba settings.
632
- * @param string $url_current_page The current page url.
633
- * @param string $str_page_title The page title.
634
- * @param bool $boo_show_share_count Show share count or not.
635
- *
636
- * @return string
637
- */
638
- public function ssba_facebook_save( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
639
- $html_share_buttons = '';
640
-
641
- // If the sharethis terms have been accepted.
642
- if ( 'Y' === $arr_settings['accepted_sharethis_terms'] && ! isset( $arr_settings['bar_call'] ) ) {
643
- // Add li if plus.
644
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
645
- $html_share_buttons .= '<li class="ssbp-li--fb-save">';
646
- }
647
-
648
- // Add facebook save button.
649
- $html_share_buttons .= '<span class="fb-save" style="display:inline-block" data-uri="' . esc_attr( $url_current_page ) . '"></span>';
650
-
651
- // Add li if plus.
652
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || $arr_settings['bar_call'] ) {
653
- $html_share_buttons .= '</li>';
654
- }
655
- }
656
-
657
- return $html_share_buttons;
658
- }
659
-
660
- /**
661
- * Get facebook share count.
662
- *
663
- * @param string $url_current_page Current url.
664
- * @param array $arr_settings Current ssba settings.
665
- *
666
- * @return string
667
- */
668
- public function get_facebook_share_count( $url_current_page, $arr_settings ) {
669
- $cache_key = sprintf(
670
- 'facebook_sharecount_%s',
671
- wp_hash( $url_current_page )
672
- );
673
-
674
- // Get the longer cached value from the Transient API.
675
- $long_cached_count = get_transient( "ssba_{$cache_key}" );
676
- if ( false === $long_cached_count ) {
677
- $long_cached_count = 0;
678
- }
679
-
680
- // If sharedcount.com is enabled.
681
- if ( ( ( 'Y' === $arr_settings['sharedcount_enabled'] && 'Y' !== $arr_settings['ssba_new_buttons'] )
682
- ||
683
- ( isset( $arr_settings['plus_sharedcount_enabled'] ) && 'Y' === $arr_settings['plus_sharedcount_enabled'] && 'Y' === $arr_settings['ssba_new_buttons'] )
684
- ||
685
- ( isset( $arr_settings['bar_sharedcount_enabled'] ) && 'Y' === $arr_settings['bar_sharedcount_enabled'] && isset( $arr_settings['bar_call'] )
686
- )
687
- ) ) {
688
-
689
- $shared_plan = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['sharedcount_plan'] : '';
690
- $shared_plan = '' === $shared_plan && 'Y' === $arr_settings['ssba_new_buttons'] ? $arr_settings['plus_sharedcount_plan'] : '';
691
- $shared_plan = isset( $arr_settings['bar_call'] ) ? $arr_settings['bar_sharedcount_plan'] : '';
692
-
693
- // Request from sharedcount.com.
694
- $sharedcount = wp_safe_remote_get( 'https://' . $shared_plan . '.sharedcount.com/url?url=' . $url_current_page . '&apikey=' . $arr_settings['sharedcount_api_key'], array(
695
- 'timeout' => 6,
696
- ) );
697
-
698
- // If no error.
699
- if ( is_wp_error( $sharedcount ) ) {
700
- return $this->ssba_format_number( $long_cached_count );
701
- }
702
-
703
- // Decode and return count.
704
- $shared_resp = json_decode( $sharedcount['body'], true );
705
- $sharedcount = $long_cached_count;
706
-
707
- if ( isset( $shared_resp['Facebook']['share_count'] ) ) {
708
- $sharedcount = (int) $shared_resp['Facebook']['share_count'];
709
- wp_cache_set( $cache_key, $sharedcount, 'ssba', MINUTE_IN_SECONDS * 2 );
710
- set_transient( "ssba_{$cache_key}", $sharedcount, DAY_IN_SECONDS );
711
- }
712
-
713
- return $this->ssba_format_number( $sharedcount );
714
- } else {
715
- // Get results from facebook.
716
- $html_facebook_share_details = wp_safe_remote_get( 'http://graph.facebook.com/' . $url_current_page, array(
717
- 'timeout' => 6,
718
- ) );
719
-
720
- // If no error.
721
- if ( is_wp_error( $html_facebook_share_details ) ) {
722
- return $this->ssba_format_number( $long_cached_count );
723
- }
724
-
725
- // Decode and return count.
726
- $arr_facebook_share_details = json_decode( $html_facebook_share_details['body'], true );
727
- $int_facebook_share_count = $long_cached_count;
728
-
729
- if ( isset( $arr_facebook_share_details['share']['share_count'] ) ) {
730
- $int_facebook_share_count = (int) $arr_facebook_share_details['share']['share_count'];
731
-
732
- wp_cache_set( $cache_key, $int_facebook_share_count, 'ssba', MINUTE_IN_SECONDS * 2 );
733
- set_transient( "ssba_{$cache_key}", $int_facebook_share_count, DAY_IN_SECONDS );
734
- }
735
-
736
- return $this->ssba_format_number( $int_facebook_share_count );
737
- } // End if().
738
- }
739
-
740
- /**
741
- * Get twitter button.
742
- *
743
- * @param array $arr_settings The current ssba settings.
744
- * @param string $url_current_page The current page url.
745
- * @param string $str_page_title The page title.
746
- * @param bool $boo_show_share_count Show share count or not.
747
- *
748
- * @return string
749
- */
750
- public function ssba_twitter( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
751
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
752
- $network = 'Twitter';
753
- $target =
754
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
755
- && 'Y' === $arr_settings['ssba_new_buttons']
756
- && ! isset( $arr_settings['bar_call']
757
- ) )
758
- ||
759
- ( 'Y' === $arr_settings['ssba_share_new_window']
760
- && 'Y' !== $arr_settings['ssba_new_buttons']
761
- && ! isset( $arr_settings['bar_call']
762
- ) )
763
- ||
764
- ( 'Y' === $arr_settings['ssba_bar_share_new_window'] && isset( $arr_settings['bar_call']
765
- ) ) ? ' target="_blank" ' : '';
766
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-twitter ssbp-btn' : '';
767
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
768
- $html_share_buttons = '';
769
-
770
- // Format the URL into friendly code.
771
- $twitter_share_text = rawurlencode( html_entity_decode( $str_page_title . ' ' . $arr_settings['ssba_twitter_text'], ENT_COMPAT, 'UTF-8' ) );
772
-
773
- // Add li if plus.
774
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
775
- $html_share_buttons .= '<li class="ssbp-li--twitter">';
776
- }
777
-
778
- if ( 'Y' === $arr_settings['ssba_new_buttons'] && ! empty( $arr_settings['ssba_plus_twitter_text'] ) ) {
779
- $twitter_share_text = rawurlencode( html_entity_decode( $str_page_title . ' ' . $arr_settings['ssba_plus_twitter_text'], ENT_COMPAT, 'UTF-8' ) );
780
- }
781
-
782
- if ( isset( $arr_settings['bar_call'] ) && ! empty( $arr_settings['ssba_bar_twitter_text'] ) ) {
783
- $twitter_share_text = rawurlencode( html_entity_decode( $str_page_title . ' ' . $arr_settings['ssba_bar_twitter_text'], ENT_COMPAT, 'UTF-8' ) );
784
- }
785
-
786
- // Twitter share link.
787
- $html_share_buttons .= '<a data-site="" class="ssba_twitter_share' . esc_attr( $plus_class ) . '" href="http://twitter.com/share?url=' . esc_attr( $url_current_page ) . '&amp;text=' . esc_attr( $twitter_share_text ) . '" ' . esc_attr( $target . $nofollow ) . '>';
788
-
789
- // If image set is not custom.
790
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
791
- // Show ssba image.
792
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/twitter.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Twitter" class="ssba ssba-img" alt="Tweet about this on Twitter" />';
793
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
794
- // Show custom image.
795
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_twitter'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Twitter" class="ssba ssba-img" alt="Tweet about this on Twitter" />';
796
- }
797
-
798
- // Close href.
799
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
800
-
801
- // Close href.
802
- $html_share_buttons .= '</a>';
803
-
804
- // Add closing li if plus.
805
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
806
- $html_share_buttons .= '</li>';
807
- }
808
-
809
- // Return share buttons.
810
- return $html_share_buttons;
811
- }
812
-
813
- /**
814
- * Get google+ button.
815
- *
816
- * @param array $arr_settings The current ssba settings.
817
- * @param string $url_current_page The current page url.
818
- * @param string $str_page_title The page title.
819
- * @param bool $boo_show_share_count Show share count or not.
820
- *
821
- * @return string
822
- */
823
- public function ssba_google( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
824
- return;
825
- }
826
-
827
- /**
828
- * Get google share count.
829
- *
830
- * @param string $url_current_page The current page url.
831
- *
832
- * @return string
833
- */
834
- public function get_google_share_count( $url_current_page ) {
835
- return;
836
- }
837
-
838
- /**
839
- * Get diggit button.
840
- *
841
- * @param array $arr_settings The current ssba settings.
842
- * @param string $url_current_page The current page url.
843
- * @param string $str_page_title The page title.
844
- * @param bool $boo_show_share_count Show share count or not.
845
- *
846
- * @return string
847
- */
848
- public function ssba_diggit( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
849
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
850
- $network = 'Digg';
851
- $target =
852
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
853
- && 'Y' === $arr_settings['ssba_new_buttons']
854
- && ! isset( $arr_settings['bar_call']
855
- ) )
856
- ||
857
- ( 'Y' === $arr_settings['ssba_share_new_window']
858
- && 'Y' !== $arr_settings['ssba_new_buttons']
859
- && ! isset( $arr_settings['bar_call']
860
- ) )
861
- ||
862
- ( 'Y' === $arr_settings['ssba_bar_share_new_window'] && isset( $arr_settings['bar_call']
863
- ) ) ? ' target="_blank" ' : '';
864
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-diggit ssbp-btn' : '';
865
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
866
- $html_share_buttons = '';
867
-
868
- // Add li if plus.
869
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
870
- $html_share_buttons .= '<li class="ssbp-li--diggit">';
871
- }
872
-
873
- // Diggit share link.
874
- $html_share_buttons .= '<a data-site="digg" class="ssba_diggit_share ssba_share_link' . esc_attr( $plus_class ) . '" href="http://www.digg.com/submit?url=' . esc_attr( $url_current_page ) . '" ' . esc_attr( $target . $nofollow ) . '>';
875
-
876
- // If image set is not custom.
877
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
878
- // Show ssba image.
879
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/diggit.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Digg" class="ssba ssba-img" alt="Digg this" />';
880
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
881
- // Show custom image.
882
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_diggit'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Digg" class="ssba ssba-img" alt="Digg this" />';
883
- }
884
-
885
- // Close href.
886
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
887
-
888
- // Close href.
889
- $html_share_buttons .= '</a>';
890
-
891
- // Add closing li if plus.
892
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
893
- $html_share_buttons .= '</li>';
894
- }
895
-
896
- // Return share buttons.
897
- return $html_share_buttons;
898
- }
899
-
900
- /**
901
- * Get reddit.
902
- *
903
- * @param array $arr_settings The current ssba settings.
904
- * @param string $url_current_page The current page url.
905
- * @param string $str_page_title The page title.
906
- * @param bool $boo_show_share_count Show share count or not.
907
- *
908
- * @return string
909
- */
910
- public function ssba_reddit( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
911
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
912
- $network = 'Reddit';
913
- $target =
914
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
915
- && 'Y' === $arr_settings['ssba_new_buttons']
916
- && ! isset( $arr_settings['bar_call']
917
- ) )
918
- ||
919
- ( 'Y' === $arr_settings['ssba_share_new_window']
920
- && 'Y' !== $arr_settings['ssba_new_buttons']
921
- && ! isset( $arr_settings['bar_call']
922
- ) )
923
- ||
924
- ( 'Y' === $arr_settings['ssba_bar_share_new_window'] && isset( $arr_settings['bar_call']
925
- ) ) ? ' target="_blank" ' : '';
926
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-reddit ssbp-btn' : '';
927
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
928
- $html_share_buttons = '';
929
-
930
- // Add li if plus.
931
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
932
- $html_share_buttons .= '<li class="ssbp-li--reddit">';
933
- }
934
-
935
- // Reddit share link.
936
- $html_share_buttons .= '<a data-site="reddit" class="ssba_reddit_share' . esc_attr( $plus_class ) . '" href="http://reddit.com/submit?url=' . esc_attr( $url_current_page ) . '&amp;title=' . esc_attr( $str_page_title ) . '" ' . esc_attr( $target . $nofollow ) . '>';
937
-
938
- // If image set is not custom.
939
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
940
-
941
- // Show ssba image.
942
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/reddit.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Reddit" class="ssba ssba-img" alt="Share on Reddit" />';
943
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
944
- // Show custom image.
945
- $html_share_buttons .= '<img src="' . esc_attr( $arr_settings['ssba_custom_reddit'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Reddit" class="ssba ssba-img" alt="Share on Reddit" />';
946
- }
947
-
948
- // Close href.
949
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
950
-
951
- // Close href.
952
- $html_share_buttons .= '</a>';
953
-
954
- // If show share count is set to Y.
955
- if ( ( ( 'Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'] )
956
- ||
957
- ( 'Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'] )
958
- ||
959
- ( 'Y' === $arr_settings['ssba_bar_show_share_count'] && isset( $arr_settings['bar_call'] )
960
- )
961
- && $boo_show_share_count
962
- ) ) {
963
- // Get and display share count.
964
- $html_share_buttons .= '<span class="' . esc_attr( $count_class ) . '">' . esc_html( $this->get_reddit_share_count( $url_current_page ) ) . '</span>';
965
- }
966
-
967
- // Add closing li if plus.
968
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
969
- $html_share_buttons .= '</li>';
970
- }
971
-
972
- // Return share buttons.
973
- return $html_share_buttons;
974
- }
975
-
976
- /**
977
- * Get reddit share count.
978
- *
979
- * @param string $url_current_page The current url.
980
- *
981
- * @return int|string
982
- */
983
- public function get_reddit_share_count( $url_current_page ) {
984
- // Get results from reddit and return the number of shares.
985
- $html_reddit_share_details = wp_safe_remote_get( 'http://www.reddit.com/api/info.json?url=' . $url_current_page, array(
986
- 'timeout' => 6,
987
- ) );
988
-
989
- // Check there was an error.
990
- if ( is_wp_error( $html_reddit_share_details ) ) {
991
- return 0;
992
- }
993
-
994
- // Decode and get share count.
995
- $arr_reddit_result = json_decode( $html_reddit_share_details['body'], true );
996
- $int_reddit_share_count = isset( $arr_reddit_result['data']['children']['0']['data']['score'] ) ? $arr_reddit_result['data']['children']['0']['data']['score'] : 0;
997
-
998
- return $int_reddit_share_count ? $this->ssba_format_number( $int_reddit_share_count ) : '0';
999
- }
1000
-
1001
- /**
1002
- * Get linkedin button.
1003
- *
1004
- * @param array $arr_settings The current ssba settings.
1005
- * @param string $url_current_page The current page url.
1006
- * @param string $str_page_title The page title.
1007
- * @param bool $boo_show_share_count Show share count or not.
1008
- *
1009
- * @return string
1010
- */
1011
- public function ssba_linkedin( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1012
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1013
- $network = 'Linkedin';
1014
- $target =
1015
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1016
- && 'Y' === $arr_settings['ssba_new_buttons']
1017
- && ! isset( $arr_settings['bar_call']
1018
- ) )
1019
- ||
1020
- ( 'Y' === $arr_settings['ssba_share_new_window']
1021
- && 'Y' !== $arr_settings['ssba_new_buttons']
1022
- && ! isset( $arr_settings['bar_call']
1023
- ) )
1024
- ||
1025
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1026
- && isset( $arr_settings['bar_call']
1027
- ) ) ? ' target="_blank" ' : '';
1028
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-linkedin ssbp-btn' : '';
1029
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1030
- $html_share_buttons = '';
1031
-
1032
- // Add li if plus.
1033
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1034
- $html_share_buttons .= '<li class="ssbp-li--linkedin">';
1035
- }
1036
-
1037
- // Linkedin share link.
1038
- $html_share_buttons .= '<a data-site="linkedin" class="ssba_linkedin_share ssba_share_link' . esc_attr( $plus_class ) . '" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=' . esc_attr( $url_current_page ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1039
-
1040
- // If image set is not custom.
1041
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1042
- // Show ssba image.
1043
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/linkedin.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="LinkedIn" class="ssba ssba-img" alt="Share on LinkedIn" />';
1044
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1045
- // Show custom image.
1046
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_linkedin'] ) . '" alt="Share on LinkedIn" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="LinkedIn" class="ssba ssba-img" />';
1047
- }
1048
-
1049
- // Close href.
1050
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1051
-
1052
- // Close href.
1053
- $html_share_buttons .= '</a>';
1054
-
1055
- // Add closing li if plus.
1056
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1057
- $html_share_buttons .= '</li>';
1058
- }
1059
-
1060
- // Return share buttons.
1061
- return $html_share_buttons;
1062
- }
1063
-
1064
- /**
1065
- * Get linkedin share count. DEPRECATED
1066
- *
1067
- * @param string $url_current_page The current page url.
1068
- *
1069
- * @return int|string
1070
- */
1071
- public function get_linkedin_share_count( $url_current_page ) {
1072
- // Get results from linkedin and return the number of shares.
1073
- $html_linkedin_share_details = wp_safe_remote_get( 'http://www.linkedin.com/countserv/count/share?url=' . $url_current_page, array(
1074
- 'timeout' => 6,
1075
- ) );
1076
-
1077
- // If there was an error.
1078
- if ( is_wp_error( $html_linkedin_share_details ) ) {
1079
- return 0;
1080
- }
1081
-
1082
- // Extract/decode share count.
1083
- $html_linkedin_share_details = str_replace( 'IN.Tags.Share.handleCount(', '', $html_linkedin_share_details );
1084
- $html_linkedin_share_details = str_replace( ');', '', $html_linkedin_share_details );
1085
- $arr_linkedin_share_details = json_decode( $html_linkedin_share_details['body'], true );
1086
- $int_linkedin_share_count = $arr_linkedin_share_details['count'];
1087
-
1088
- return $int_linkedin_share_count ? $this->ssba_format_number( $int_linkedin_share_count ) : '0';
1089
- }
1090
-
1091
- /**
1092
- * Get pinterest button.
1093
- *
1094
- * @param array $arr_settings The current ssba settings.
1095
- * @param string $url_current_page The current page url.
1096
- * @param string $str_page_title The page title.
1097
- * @param bool $boo_show_share_count Show share count or not.
1098
- *
1099
- * @return string
1100
- */
1101
- public function ssba_pinterest( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1102
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1103
- $network = 'Pinterest';
1104
- $target =
1105
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1106
- && 'Y' === $arr_settings['ssba_new_buttons']
1107
- && ! isset( $arr_settings['bar_call']
1108
- ) )
1109
- ||
1110
- ( 'Y' === $arr_settings['ssba_share_new_window']
1111
- && 'Y' !== $arr_settings['ssba_new_buttons']
1112
- && ! isset( $arr_settings['bar_call']
1113
- ) )
1114
- ||
1115
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1116
- && isset( $arr_settings['bar_call']
1117
- ) ) ? ' target="_blank" ' : '';
1118
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-pinterest ssbp-btn' : '';
1119
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1120
- $html_share_buttons = '';
1121
-
1122
- // Add li if plus.
1123
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1124
- $html_share_buttons .= '<li class="ssbp-li--pinterest">';
1125
- }
1126
-
1127
- // If using featured images for Pinteres.
1128
- if ( 'Y' === $arr_settings['ssba_pinterest_featured'] ) {
1129
- // If this post has a featured image.
1130
- if ( has_post_thumbnail( $arr_settings['post_id'] ) ) {
1131
- // Get the featured image.
1132
- $url_post_thumb = wp_get_attachment_image_src( get_post_thumbnail_id( $arr_settings['post_id'] ), 'full' );
1133
- $url_post_thumb = $url_post_thumb[0];
1134
- } else { // No featured image set.
1135
- // Use the pinterest default.
1136
- $url_post_thumb = $arr_settings['ssba_default_pinterest'];
1137
- }
1138
-
1139
- // Pinterest share link.
1140
- $html_share_buttons .= '<a data-site="pinterest-featured" href="http://pinterest.com/pin/create/bookmarklet/?is_video=false&url=' . esc_attr( $url_current_page ) . '&media=' . esc_attr( $url_post_thumb ) . '&description=' . esc_attr( $str_page_title ) . '" class="ssba_pinterest_share ssba_share_link' . esc_attr( $plus_class ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1141
- } else { // Not using featured images for pinterest.
1142
- // Use the choice of pinnable images approach.
1143
- $html_share_buttons .= "<a data-site='pinterest' class='ssba_pinterest_share" . esc_attr( $plus_class ) . "' href='javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;//assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());'>";
1144
- }
1145
-
1146
- // If image set is not custom.
1147
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1148
- // Show ssba image.
1149
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/pinterest.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Pinterest" class="ssba ssba-img" alt="Pin on Pinterest" />';
1150
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1151
- // Show custom image.
1152
- $html_share_buttons .= '<img style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Pinterest" class="ssba ssba-img" src="' . esc_url( $arr_settings['ssba_custom_pinterest'] ) . '" alt="Pin on Pinterest" />';
1153
- }
1154
-
1155
- // Close href.
1156
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1157
-
1158
- // Close href.
1159
- $html_share_buttons .= '</a>';
1160
-
1161
- // If show share count is set to Y.
1162
- if ( ( ( 'Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'] )
1163
- ||
1164
- ( 'Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'] )
1165
- ||
1166
- ( 'Y' === $arr_settings['ssba_bar_show_share_count'] && isset( $arr_settings['bar_call'] )
1167
- )
1168
- && $boo_show_share_count
1169
- ) ) {
1170
- $html_share_buttons .= '<span class="' . esc_attr( $count_class ) . '">' . esc_html( $this->get_pinterest_share_count( $url_current_page ) ) . '</span>';
1171
- }
1172
-
1173
- // Add closing li if plus.
1174
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1175
- $html_share_buttons .= '</li>';
1176
- }
1177
-
1178
- // Return share buttons.
1179
- return $html_share_buttons;
1180
- }
1181
-
1182
- /**
1183
- * Get pinterest share count.
1184
- *
1185
- * @param string $url_current_page The current page url.
1186
- *
1187
- * @return int|string
1188
- */
1189
- public function get_pinterest_share_count( $url_current_page ) {
1190
- // Get results from pinterest.
1191
- $html_pinterest_share_details = wp_safe_remote_get( 'http://api.pinterest.com/v1/urls/count.json?url=' . $url_current_page, array(
1192
- 'timeout' => 6,
1193
- ) );
1194
-
1195
- // Check there was an error.
1196
- if ( is_wp_error( $html_pinterest_share_details ) ) {
1197
- return 0;
1198
- }
1199
-
1200
- // Decode data.
1201
- $html_pinterest_share_details = str_replace( 'receiveCount(', '', $html_pinterest_share_details );
1202
- $html_pinterest_share_details = str_replace( ')', '', $html_pinterest_share_details );
1203
- $arr_pinterest_share_details = json_decode( $html_pinterest_share_details['body'], true );
1204
- $int_pinterest_share_count = $arr_pinterest_share_details['count'];
1205
-
1206
- return $int_pinterest_share_count ? $this->ssba_format_number( $int_pinterest_share_count ) : '0';
1207
- }
1208
-
1209
- /**
1210
- * Get stumbleupon button.
1211
- *
1212
- * @param array $arr_settings The current ssba settings.
1213
- * @param string $url_current_page The current page url.
1214
- * @param string $str_page_title The page title.
1215
- * @param bool $boo_show_share_count Show share count or not.
1216
- *
1217
- * @return string
1218
- */
1219
- public function ssba_stumbleupon( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1220
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1221
- $network = 'StumbleUpon';
1222
- $target =
1223
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1224
- && 'Y' === $arr_settings['ssba_new_buttons']
1225
- && ! isset( $arr_settings['bar_call']
1226
- ) )
1227
- ||
1228
- ( 'Y' === $arr_settings['ssba_share_new_window']
1229
- && 'Y' !== $arr_settings['ssba_new_buttons']
1230
- && ! isset( $arr_settings['bar_call']
1231
- ) )
1232
- ||
1233
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1234
- && isset( $arr_settings['bar_call']
1235
- ) ) ? ' target="_blank" ' : '';
1236
- $url = 'http://www.stumbleupon.com/submit?url=' . esc_attr( $url_current_page ) . '&amp;title=' . esc_attr( $str_page_title );
1237
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-stumbleupon ssbp-btn' : '';
1238
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1239
- $html_share_buttons = '';
1240
-
1241
- // Add li if plus.
1242
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1243
- $html_share_buttons .= '<li class="ssbp-li--stumbleupon">';
1244
- }
1245
-
1246
- // Stumbleupon share link.
1247
- $html_share_buttons .= '<a data-site="stumbleupon" class="ssba_stumbleupon_share ssba_share_link' . esc_attr( $plus_class ) . '" href="' . esc_url( $url ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1248
-
1249
- // If image set is not custom.
1250
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1251
- // Show ssba image.
1252
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/stumbleupon.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="StumbleUpon" class="ssba ssba-img" alt="Share on StumbleUpon" />';
1253
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1254
- // Show custom image.
1255
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_stumbleupon'] ) . '" alt="Share on StumbleUpon" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="StumbleUpon" class="ssba ssba-img" />';
1256
- }
1257
-
1258
- // Close href.
1259
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1260
-
1261
- // Close href.
1262
- $html_share_buttons .= '</a>';
1263
-
1264
- // If show share count is set to Y.
1265
- if ( ( ( 'Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'] )
1266
- ||
1267
- ( 'Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'] )
1268
- ||
1269
- ( 'Y' === $arr_settings['ssba_bar_show_share_count'] && isset( $arr_settings['bar_call'] )
1270
- )
1271
- && $boo_show_share_count
1272
- ) ) {
1273
- $html_share_buttons .= '<span class="' . esc_attr( $count_class ) . '">' . esc_html( $this->get_stumble_upon_share_count( $url_current_page ) ) . '</span>';
1274
- }
1275
-
1276
- // Add closing li if plus.
1277
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1278
- $html_share_buttons .= '</li>';
1279
- }
1280
-
1281
- // Return share buttons.
1282
- return $html_share_buttons;
1283
- }
1284
-
1285
- /**
1286
- * Get stumbleupon share count.
1287
- *
1288
- * @param string $url_current_page The current url.
1289
- *
1290
- * @return int|string
1291
- */
1292
- public function get_stumble_upon_share_count( $url_current_page ) {
1293
- // Get results from stumbleupon and return the number of shares.
1294
- $html_stumble_upon_share_details = wp_safe_remote_get( 'http://www.stumbleupon.com/services/1.01/badge.getinfo?url=' . $url_current_page, array(
1295
- 'timeout' => 6,
1296
- ) );
1297
-
1298
- // Check there was an error.
1299
- if ( is_wp_error( $html_stumble_upon_share_details ) ) {
1300
- return 0;
1301
- }
1302
-
1303
- // Decode data.
1304
- $arr_stumble_upon_result = json_decode( $html_stumble_upon_share_details['body'], true );
1305
- $int_stumble_upon_share_count = isset( $arr_stumble_upon_result['result']['views'] ) ? $arr_stumble_upon_result['result']['views'] : 0;
1306
-
1307
- return $int_stumble_upon_share_count ? $this->ssba_format_number( $int_stumble_upon_share_count ) : '0';
1308
- }
1309
-
1310
- /**
1311
- * Get email button.
1312
- *
1313
- * @param array $arr_settings The current ssba settings.
1314
- * @param string $url_current_page The current page url.
1315
- * @param string $str_page_title The page title.
1316
- * @param bool $boo_show_share_count Show share count or not.
1317
- *
1318
- * @return string
1319
- */
1320
- public function ssba_email( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1321
- // Replace ampersands as needed for email link.
1322
- $email_title = str_replace( '&', '%26', $str_page_title );
1323
- $network = 'email';
1324
- $url = 'mailto:?subject=' . $email_title . '&amp;body=' . $arr_settings['ssba_email_message'] . ' ' . $url_current_page;
1325
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-email ssbp-btn' : '';
1326
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1327
- $html_share_buttons = '';
1328
-
1329
- // Add li if plus.
1330
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1331
- $html_share_buttons .= '<li class="ssbp-li--email">';
1332
- }
1333
-
1334
- $url = 'Y' === $arr_settings['ssba_new_buttons'] ? 'mailto:?subject=' . $email_title . '&amp;body=' . $arr_settings['ssba_plus_email_message'] . ' ' . $url_current_page : $url;
1335
- $url = isset( $arr_settings['bar_call'] ) ? 'mailto:?subject=' . $email_title . '&amp;body=' . $arr_settings['ssba_bar_email_message'] . ' ' . $url_current_page : $url;
1336
-
1337
-
1338
- // Email share link.
1339
- $html_share_buttons .= '<a data-site="email" class="ssba_email_share' . esc_attr( $plus_class ) . '" href="' . esc_url( $url ) . '">';
1340
-
1341
- // If image set is not custom.
1342
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1343
- // Show ssba image.
1344
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/email.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Email" class="ssba ssba-img" alt="Email this to someone" />';
1345
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1346
- // Show custom image.
1347
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_email'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Email" class="ssba ssba-img" alt="Email to someone" />';
1348
- }
1349
-
1350
- // Close href.
1351
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1352
-
1353
- // Close href.
1354
- $html_share_buttons .= '</a>';
1355
-
1356
- // Add closing li if plus.
1357
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1358
- $html_share_buttons .= '</li>';
1359
- }
1360
-
1361
- // Return share buttons.
1362
- return $html_share_buttons;
1363
- }
1364
-
1365
- /**
1366
- * Get flattr button.
1367
- *
1368
- * @param array $arr_settings The current ssba settings.
1369
- * @param string $url_current_page The current page url.
1370
- * @param string $str_page_title The page title.
1371
- * @param bool $boo_show_share_count Show share count or not.
1372
- *
1373
- * @return string
1374
- */
1375
- public function ssba_flattr( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1376
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1377
- $network = 'Flattr';
1378
- $target =
1379
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1380
- && 'Y' === $arr_settings['ssba_new_buttons']
1381
- && ! isset( $arr_settings['bar_call']
1382
- ) )
1383
- ||
1384
- ( 'Y' === $arr_settings['ssba_share_new_window']
1385
- && 'Y' !== $arr_settings['ssba_new_buttons']
1386
- && ! isset( $arr_settings['bar_call']
1387
- ) )
1388
- ||
1389
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1390
- && isset( $arr_settings['bar_call']
1391
- ) ) ? ' target="_blank" ' : '';
1392
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-flattr ssbp-btn' : '';
1393
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1394
- $html_share_buttons = '';
1395
- $userid = !empty( $arr_settings['ssba_flattr_user_id'] ) ? $arr_settings['ssba_flattr_user_id'] : '';
1396
-
1397
- // Add li if plus.
1398
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1399
- $html_share_buttons .= '<li class="ssbp-li--flattr">';
1400
- }
1401
-
1402
- // Check for dedicated flattr URL.
1403
- if ( '' !== $arr_settings['ssba_flattr_url'] ) {
1404
- // Update url that will be set to specified URL.
1405
- $url_current_page = $arr_settings['ssba_flattr_url'];
1406
- }
1407
-
1408
- if ( 'Y' === $arr_settings['ssba_new_buttons'] ) {
1409
- $userid = !empty( $arr_settings['ssba_plus_flattr_user_id'] ) ? $arr_settings['ssba_plus_flattr_user_id'] : $userid;
1410
- $url_current_page = !empty( $arr_settings['ssba_plus_flattr_url'] ) ? $arr_settings['ssba_plus_flattr_url'] : $url_current_page;
1411
- }
1412
-
1413
- if ( isset( $arr_settings['bar_call'] ) ) {
1414
- $userid = !empty( $arr_settings['ssba_bar_flattr_user_id'] ) ? $arr_settings['ssba_bar_flattr_user_id'] : $userid;
1415
- $url_current_page = !empty( $arr_settings['ssba_bar_flattr_url'] ) ? $arr_settings['ssba_bar_flattr_url'] : $url_current_page;
1416
- }
1417
-
1418
- // Flattr share link.
1419
- $html_share_buttons .= '<a data-site="flattr" class="ssba_flattr_share' . esc_attr( $plus_class ) . '" href="https://flattr.com/submit/auto?user_id=' . esc_attr( $userid ) . '&amp;title=' . esc_attr( $str_page_title ) . '&amp;url=' . esc_attr( $url_current_page ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1420
-
1421
- // If image set is not custom.
1422
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1423
- // Show ssba image.
1424
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/flattr.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Flattr" class="ssba ssba-img" alt="Flattr the author" />';
1425
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1426
- // Show custom image.
1427
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_flattr'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Flattr" class="ssba ssba-img" alt="Flattr the author" />';
1428
- }
1429
-
1430
- // Close href.
1431
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1432
-
1433
- // Close href.
1434
- $html_share_buttons .= '</a>';
1435
-
1436
- // Add closing li if plus.
1437
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1438
- $html_share_buttons .= '</li>';
1439
- }
1440
-
1441
- // Return share buttons.
1442
- return $html_share_buttons;
1443
- }
1444
-
1445
- /**
1446
- * Get buffer button.
1447
- *
1448
- * @param array $arr_settings The current ssba settings.
1449
- * @param string $url_current_page The current page url.
1450
- * @param string $str_page_title The page title.
1451
- * @param bool $boo_show_share_count Show share count or not.
1452
- *
1453
- * @return string
1454
- */
1455
- public function ssba_buffer( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1456
- $buffer = '' !== $arr_settings['ssba_buffer_text'] ? $arr_settings['ssba_buffer_text'] : '';
1457
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1458
- $network = 'Buffer';
1459
- $target =
1460
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1461
- && 'Y' === $arr_settings['ssba_new_buttons']
1462
- && ! isset( $arr_settings['bar_call']
1463
- ) )
1464
- ||
1465
- ( 'Y' === $arr_settings['ssba_share_new_window']
1466
- && 'Y' !== $arr_settings['ssba_new_buttons']
1467
- && ! isset( $arr_settings['bar_call']
1468
- ) )
1469
- ||
1470
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1471
- && isset( $arr_settings['bar_call']
1472
- ) ) ? ' target="_blank" ' : '';
1473
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-buffer ssbp-btn' : '';
1474
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1475
- $html_share_buttons = '';
1476
-
1477
- // Add li if plus.
1478
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1479
- $html_share_buttons .= '<li class="ssbp-li--buffer">';
1480
- }
1481
-
1482
- // Buffer share link.
1483
- $html_share_buttons .= '<a data-site="buffer" class="ssba_buffer_share' . esc_attr( $plus_class ) . '" href="https://bufferapp.com/add?url=' . esc_attr( $url_current_page ) . '&amp;text=' . esc_attr( $buffer ) . ' ' . esc_attr( $str_page_title ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1484
-
1485
- // If image set is not custom.
1486
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1487
- // Show ssba image.
1488
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/buffer.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Buffer" class="ssba ssba-img" alt="Buffer this page" />';
1489
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1490
- // Show custom image.
1491
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_buffer'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Buffer" class="ssba ssba-img" alt="Buffer this page" />';
1492
- }
1493
-
1494
- // Close href.
1495
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1496
-
1497
- // Close href.
1498
- $html_share_buttons .= '</a>';
1499
-
1500
- // Add closing li if plus.
1501
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1502
- $html_share_buttons .= '</li>';
1503
- }
1504
-
1505
- // Return share buttons.
1506
- return $html_share_buttons;
1507
- }
1508
-
1509
- /**
1510
- * Get tumblr button.
1511
- *
1512
- * @param array $arr_settings The current ssba settings.
1513
- * @param string $url_current_page The current page url.
1514
- * @param string $str_page_title The page title.
1515
- * @param bool $boo_show_share_count Show share count or not.
1516
- *
1517
- * @return string
1518
- */
1519
- public function ssba_tumblr( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1520
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1521
- $network = 'Tumblr';
1522
- $target =
1523
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1524
- && 'Y' === $arr_settings['ssba_new_buttons']
1525
- && ! isset( $arr_settings['bar_call']
1526
- ) )
1527
- ||
1528
- ( 'Y' === $arr_settings['ssba_share_new_window']
1529
- && 'Y' !== $arr_settings['ssba_new_buttons']
1530
- && ! isset( $arr_settings['bar_call']
1531
- ) )
1532
- ||
1533
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1534
- && isset( $arr_settings['bar_call']
1535
- ) ) ? ' target="_blank" ' : '';
1536
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-tumblr ssbp-btn' : '';
1537
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1538
- $html_share_buttons = '';
1539
-
1540
- // Add li if plus.
1541
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1542
- $html_share_buttons .= '<li class="ssbp-li--tumblr">';
1543
- }
1544
-
1545
- // Tumblr share link.
1546
- $html_share_buttons .= '<a data-site="tumblr" class="ssba_tumblr_share' . esc_attr( $plus_class ) . '" href="http://www.tumblr.com/share/link?url=' . esc_attr( $url_current_page ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1547
-
1548
- // If image set is not custom.
1549
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1550
- // Show ssba image.
1551
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/tumblr.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="tumblr" class="ssba ssba-img" alt="Share on Tumblr" />';
1552
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1553
- // Show custom image.
1554
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_tumblr'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="tumblr" class="ssba ssba-img" alt="share on Tumblr" />';
1555
- }
1556
-
1557
- // Close href.
1558
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1559
-
1560
- // Close href.
1561
- $html_share_buttons .= '</a>';
1562
-
1563
- // If show share count is set to Y.
1564
- if ( ( ( 'Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'] )
1565
- ||
1566
- ( 'Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'] )
1567
- ||
1568
- ( 'Y' === $arr_settings['ssba_bar_show_share_count'] && isset( $arr_settings['bar_call'] )
1569
- )
1570
- && $boo_show_share_count
1571
- ) ) {
1572
- $html_share_buttons .= '<span class="' . $count_class . '">' . esc_html( $this->get_tumblr_share_count( $url_current_page ) ) . '</span>';
1573
- }
1574
-
1575
- // Add closing li if plus.
1576
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1577
- $html_share_buttons .= '</li>';
1578
- }
1579
-
1580
- // Return share buttons.
1581
- return $html_share_buttons;
1582
- }
1583
-
1584
- /**
1585
- * Get tumblr share count.
1586
- *
1587
- * @param string $url_current_page The current url.
1588
- *
1589
- * @return int|string
1590
- */
1591
- public function get_tumblr_share_count( $url_current_page ) {
1592
- // Get results from tumblr and return the number of shares.
1593
- $result = wp_safe_remote_get( 'http://api.tumblr.com/v2/share/stats?url=' . $url_current_page, array(
1594
- 'timeout' => 6,
1595
- ) );
1596
-
1597
- // Check there was an error.
1598
- if ( is_wp_error( $result ) ) {
1599
- return 0;
1600
- }
1601
-
1602
- // Decode data.
1603
- $array = json_decode( $result['body'], true );
1604
- $count = isset( $array['response']['note_count'] ) ? $array['response']['note_count'] : 0;
1605
-
1606
- return ( $count ) ? $count : '0';
1607
- }
1608
-
1609
- /**
1610
- * Get print button.
1611
- *
1612
- * @param array $arr_settings The current ssba settings.
1613
- * @param string $url_current_page The current page url.
1614
- * @param string $str_page_title The page title.
1615
- * @param bool $boo_show_share_count Show share count or not.
1616
- *
1617
- * @return string
1618
- */
1619
- public function ssba_print( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1620
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-print ssbp-btn' : '';
1621
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1622
- $network = 'Print';
1623
- $html_share_buttons = '';
1624
-
1625
- // Add li if plus.
1626
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1627
- $html_share_buttons .= '<li class="ssbp-li--print">';
1628
- }
1629
-
1630
- $html_share_buttons .= '<a data-site="print" class="ssba_print ssba_share_link ' . esc_attr( $plus_class ) . '" href="#" onclick="window.print()">';
1631
-
1632
- // If image set is not custom.
1633
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1634
- // Show ssba image.
1635
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/print.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Print" class="ssba ssba-img" alt="Print this page" />';
1636
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1637
- // Show custom image.
1638
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_print'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Print" class="ssba ssba-img" alt="Print this page" />';
1639
- }
1640
-
1641
- // Close href.
1642
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1643
-
1644
- // Close href.
1645
- $html_share_buttons .= '</a>';
1646
-
1647
- // Add closing li if plus.
1648
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1649
- $html_share_buttons .= '</li>';
1650
- }
1651
-
1652
- // Return share buttons.
1653
- return $html_share_buttons;
1654
- }
1655
-
1656
- /**
1657
- * Get vk button.
1658
- *
1659
- * @param array $arr_settings The current ssba settings.
1660
- * @param string $url_current_page The current page url.
1661
- * @param string $str_page_title The page title.
1662
- * @param bool $boo_show_share_count Show share count or not.
1663
- *
1664
- * @return string
1665
- */
1666
- public function ssba_vk( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1667
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1668
- $network = 'VK';
1669
- $target =
1670
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1671
- && 'Y' === $arr_settings['ssba_new_buttons']
1672
- && ! isset( $arr_settings['bar_call']
1673
- ) )
1674
- ||
1675
- ( 'Y' === $arr_settings['ssba_share_new_window']
1676
- && 'Y' !== $arr_settings['ssba_new_buttons']
1677
- && ! isset( $arr_settings['bar_call']
1678
- ) )
1679
- ||
1680
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1681
- && isset( $arr_settings['bar_call']
1682
- ) ) ? ' target="_blank" ' : '';
1683
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-vk ssbp-btn' : '';
1684
- $html_share_buttons = '';
1685
-
1686
- // Add li if plus.
1687
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1688
- $html_share_buttons .= '<li class="ssbp-li--vk">';
1689
- }
1690
-
1691
- // Vk share link.
1692
- $html_share_buttons .= '<a data-site="vk" class="ssba_vk_share ssba_share_link' . esc_attr( $plus_class ) . '" href="http://vkontakte.ru/share.php?url=' . esc_attr( $url_current_page ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1693
-
1694
- // If image set is not custom.
1695
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1696
- // Show ssba image.
1697
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/vk.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="VK" class="ssba ssba-img" alt="Share on VK" />';
1698
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1699
- // Show custom image.
1700
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_vk'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="VK" class="ssba ssba-img" alt="Share on VK" />';
1701
- }
1702
-
1703
- // Close href.
1704
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1705
-
1706
- // Close href.
1707
- $html_share_buttons .= '</a>';
1708
-
1709
- // Add closing li if plus.
1710
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1711
- $html_share_buttons .= '</li>';
1712
- }
1713
-
1714
- // Return share buttons.
1715
- return $html_share_buttons;
1716
- }
1717
-
1718
- /**
1719
- * Get yummly button.
1720
- *
1721
- * @param array $arr_settings The current ssba settings.
1722
- * @param string $url_current_page The current page url.
1723
- * @param string $str_page_title The page title.
1724
- * @param bool $boo_show_share_count Show share count or not.
1725
- *
1726
- * @return string
1727
- */
1728
- public function ssba_yummly( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1729
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1730
- $network = 'Yummly';
1731
- $target =
1732
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1733
- && 'Y' === $arr_settings['ssba_new_buttons']
1734
- && ! isset( $arr_settings['bar_call']
1735
- ) )
1736
- ||
1737
- ( 'Y' === $arr_settings['ssba_share_new_window']
1738
- && 'Y' !== $arr_settings['ssba_new_buttons']
1739
- && ! isset( $arr_settings['bar_call']
1740
- ) )
1741
- ||
1742
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1743
- && isset( $arr_settings['bar_call']
1744
- ) ) ? ' target="_blank" ' : '';
1745
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-yummly ssbp-btn' : '';
1746
- $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-each-share' : ' ssba_sharecount';
1747
- $html_share_buttons = '';
1748
-
1749
- // Add li if plus.
1750
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1751
- $html_share_buttons .= '<li class="ssbp-li--yummly">';
1752
- }
1753
-
1754
- // Yummly share link.
1755
- $html_share_buttons .= '<a data-site="yummly" class="ssba_yummly_share ssba_share_link' . esc_attr( $plus_class ) . '" href="http://www.yummly.com/urb/verify?url=' . esc_attr( $url_current_page ) . '&title=' . esc_attr( rawurlencode( html_entity_decode( $str_page_title ) ) ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1756
-
1757
- // If image set is not custom.
1758
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1759
- // Show ssba image.
1760
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/yummly.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Yummly" class="ssba ssba-img" alt="Share on Yummly" />';
1761
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1762
- // Show custom image.
1763
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_yummly'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Yummly" class="ssba ssba-img" alt="Share on Yummly" />';
1764
- }
1765
-
1766
- // Close href.
1767
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1768
-
1769
- // Close href.
1770
- $html_share_buttons .= '</a>';
1771
-
1772
- // If show share count is set to Y.
1773
- if ( ( ( 'Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'] )
1774
- ||
1775
- ( 'Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'] )
1776
- ||
1777
- ( 'Y' === $arr_settings['ssba_bar_show_share_count'] && isset( $arr_settings['bar_call'] )
1778
- )
1779
- && $boo_show_share_count
1780
- ) ) {
1781
- $html_share_buttons .= '<span class="' . esc_attr( $count_class ) . '">' . esc_html( $this->get_yummly_share_count( $url_current_page ) ) . '</span>';
1782
- }
1783
-
1784
- // Add closing li if plus.
1785
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1786
- $html_share_buttons .= '</li>';
1787
- }
1788
-
1789
- // Return share buttons.
1790
- return $html_share_buttons;
1791
- }
1792
-
1793
- /**
1794
- * Get yummly share count.
1795
- *
1796
- * @param string $url_current_page the current page url.
1797
- *
1798
- * @return int|string
1799
- */
1800
- public function get_yummly_share_count( $url_current_page ) {
1801
- // Get results from yummly and return the number of shares.
1802
- $result = wp_safe_remote_get( 'http://www.yummly.com/services/yum-count?url=' . $url_current_page, array(
1803
- 'timeout' => 6,
1804
- ) );
1805
-
1806
- // Check there was an error.
1807
- if ( is_wp_error( $result ) ) {
1808
- return 0;
1809
- }
1810
-
1811
- // Decode data.
1812
- $array = json_decode( $result['body'], true );
1813
- $count = isset( $array['count'] ) ? $array['count'] : '0';
1814
-
1815
- // Return.
1816
- return $count;
1817
- }
1818
-
1819
- /**
1820
- * Get whatsapp button.
1821
- *
1822
- * @param array $arr_settings The current ssba settings.
1823
- * @param string $url_current_page The current page url.
1824
- * @param string $str_page_title The page title.
1825
- * @param bool $boo_show_share_count Show share count or not.
1826
- *
1827
- * @return string
1828
- */
1829
- public function ssba_whatsapp( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1830
- if ( ! wp_is_mobile() ) {
1831
- return;
1832
- }
1833
-
1834
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1835
- $network = 'Whatsapp';
1836
- $target =
1837
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1838
- && 'Y' === $arr_settings['ssba_new_buttons']
1839
- && ! isset( $arr_settings['bar_call']
1840
- ) )
1841
- ||
1842
- ( 'Y' === $arr_settings['ssba_share_new_window']
1843
- && 'Y' !== $arr_settings['ssba_new_buttons']
1844
- && ! isset( $arr_settings['bar_call']
1845
- ) )
1846
- ||
1847
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1848
- && isset( $arr_settings['bar_call']
1849
- ) ) ? ' target="_blank" ' : '';
1850
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-whatsapp ssbp-btn' : '';
1851
- $html_share_buttons = '';
1852
-
1853
- // Add li if plus.
1854
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1855
- $html_share_buttons .= '<li class="ssbp-li--whatsapp">';
1856
- }
1857
-
1858
- // Whatsapp share link.
1859
- $html_share_buttons .= '<a data-site="whatsapp" class="ssba_whatsapp_share ssba_share_link' . esc_attr( $plus_class ) . '" href="whatsapp://send?text=' . rawurlencode( $url_current_page . ' ' . $str_page_title ) . '" ' . esc_attr( $target . $nofollow ) . '>';
1860
-
1861
- // If image set is not custom.
1862
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1863
- // Show ssba image.
1864
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/whatsapp.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Whatsapp" class="ssba ssba-img" alt="Share on Whatsapp" />';
1865
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1866
- // Show custom image.
1867
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_whatsapp'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Whatsapp" class="ssba ssba-img" alt="Share on Whatsapp" />';
1868
- }
1869
-
1870
- // Close href.
1871
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1872
-
1873
- // Close href.
1874
- $html_share_buttons .= '</a>';
1875
-
1876
- // Add closing li if plus.
1877
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1878
- $html_share_buttons .= '</li>';
1879
- }
1880
-
1881
- // Return share buttons.
1882
- return $html_share_buttons;
1883
- }
1884
-
1885
- /**
1886
- * Get xing button.
1887
- *
1888
- * @param array $arr_settings The current ssba settings.
1889
- * @param string $url_current_page The current page url.
1890
- * @param string $str_page_title The page title.
1891
- * @param bool $boo_show_share_count Show share count or not.
1892
- *
1893
- * @return string
1894
- */
1895
- public function ssba_xing( $arr_settings, $url_current_page, $str_page_title, $boo_show_share_count ) {
1896
- $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1897
- $network = 'Xing';
1898
- $target =
1899
- ( 'Y' === $arr_settings['ssba_plus_share_new_window']
1900
- && 'Y' === $arr_settings['ssba_new_buttons']
1901
- && ! isset( $arr_settings['bar_call']
1902
- ) )
1903
- ||
1904
- ( 'Y' === $arr_settings['ssba_share_new_window']
1905
- && 'Y' !== $arr_settings['ssba_new_buttons']
1906
- && ! isset( $arr_settings['bar_call']
1907
- ) )
1908
- ||
1909
- ( 'Y' === $arr_settings['ssba_bar_share_new_window']
1910
- && isset( $arr_settings['bar_call']
1911
- ) ) ? ' target="_blank" ' : '';
1912
- $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ? ' ssbp-xing ssbp-btn' : '';
1913
- $html_share_buttons = '';
1914
-
1915
- // Add li if plus.
1916
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1917
- $html_share_buttons .= '<li class="ssbp-li--xing">';
1918
- }
1919
-
1920
- // Xing share link.
1921
- $html_share_buttons .= '<a data-site="xing" class="ssba_xing_share ssba_share_link' . esc_attr( $plus_class ) . '" href="https://www.xing.com/spi/shares/new?url=' . $url_current_page . '" ' . esc_attr( $target . $nofollow ) . '>';
1922
-
1923
- // If image set is not custom.
1924
- if ( 'custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) {
1925
- // Show ssba image.
1926
- $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr( $arr_settings['ssba_image_set'] ) . '/xing.png" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Xing" class="ssba ssba-img" alt="Share on Xing" />';
1927
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset( $arr_settings['bar_call'] ) ) { // If using custom images.
1928
- // Show custom image.
1929
- $html_share_buttons .= '<img src="' . esc_url( $arr_settings['ssba_custom_xing'] ) . '" style="width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px;" title="Xing" class="ssba ssba-img" alt="Share on Xing" />';
1930
- }
1931
-
1932
- // Close href.
1933
- $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1934
-
1935
- // Close href.
1936
- $html_share_buttons .= '</a>';
1937
-
1938
- // Add closing li if plus.
1939
- if ( 'Y' === $arr_settings['ssba_new_buttons'] || isset( $arr_settings['bar_call'] ) ) {
1940
- $html_share_buttons .= '</li>';
1941
- }
1942
-
1943
- // Return share buttons.
1944
- return $html_share_buttons;
1945
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1946
  }
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
+ class Buttons
16
+ {
17
+
18
+ /**
19
+ * Plugin instance.
20
+ *
21
+ * @var object
22
+ */
23
+ public $plugin;
24
+
25
+ /**
26
+ * Simple Share Buttons Adder instance.
27
+ *
28
+ * @var object
29
+ */
30
+ public $class_ssba;
31
+
32
+ /**
33
+ * Admin Panel Class.
34
+ *
35
+ * @var object
36
+ */
37
+ public $admin_panel;
38
+
39
+ /**
40
+ * Class constructor.
41
+ *
42
+ * @param object $plugin Plugin class.
43
+ * @param object $class_ssba Simple Share Buttons Adder class.
44
+ */
45
+ public function __construct($plugin, $class_ssba, $admin_panel)
46
+ {
47
+ $this->plugin = $plugin;
48
+ $this->class_ssba = $class_ssba;
49
+ $this->admin_panel = $admin_panel;
50
+ }
51
+
52
+ /**
53
+ * Enqueue font awesome.
54
+ *
55
+ * @action wp_enqueue_scripts
56
+ */
57
+ public function font_awesome()
58
+ {
59
+ wp_enqueue_style("{$this->plugin->assets_prefix}-font-awesome");
60
+
61
+ $html_share_buttons_form = '';
62
+
63
+ // Get settings.
64
+ $arr_settings = $this->class_ssba->get_ssba_settings();
65
+
66
+ // If user is accepting terms.
67
+ if (isset($_GET['accept-terms']) && 'Y' === $_GET['accept-terms']) { // WPCS: CSRF ok.
68
+ // Save acceptance.
69
+ $this->class_ssba->ssba_update_options(array(
70
+ 'accepted_sharethis_terms' => 'Y',
71
+ ));
72
+
73
+ // Hide the notice for now, it will disappear upon reload.
74
+ $html_share_buttons_form .= '#sharethis_terms_notice { display: none }.ssbp-facebook_save { background-color: #365397 !important; }';
75
+ }
76
+
77
+ // Get the font family needed.
78
+ $html_share_buttons_form .= $this->admin_panel->get_font_family();
79
+
80
+ // If left to right.
81
+ if (is_rtl()) {
82
+ // Move save button.
83
+ $html_share_buttons_form .= '.ssba-btn-save{ left: 0!important;
84
  right: auto !important;
85
  border-radius: 0 5px 5px 0; }';
86
+ }
87
+
88
+ wp_add_inline_style("{$this->plugin->assets_prefix}-ssba", $html_share_buttons_form);
89
+ }
90
+
91
+ /**
92
+ * Format the returned number.
93
+ *
94
+ * @param integer $int_number The number to format.
95
+ *
96
+ * @return string
97
+ */
98
+ public function ssba_format_number($int_number)
99
+ {
100
+ // If the number is greater than or equal to 1000.
101
+ if ($int_number >= 1000) {
102
+ // Divide by 1000 and add k.
103
+ $int_number = round(($int_number / 1000), 1) . 'k';
104
+ }
105
+
106
+ // Return the number.
107
+ return $int_number;
108
+ }
109
+
110
+ /**
111
+ * Adds a filter around the content.
112
+ *
113
+ * @action wp_head, 99
114
+ */
115
+ public function ssba_add_button_filter()
116
+ {
117
+ $arr_settings = $this->class_ssba->get_ssba_settings();
118
+
119
+ add_filter('the_content', array($this, 'show_share_buttons'), (int)$arr_settings['ssba_content_priority']);
120
+
121
+ // If we wish to add to excerpts.
122
+ if (isset($arr_settings['ssba_excerpts']) && 'Y' !== $arr_settings['ssba_excerpts']) {
123
+ add_filter('the_excerpt', array($this, 'show_share_buttons'));
124
+ }
125
+ }
126
+
127
+ /**
128
+ * Call back for showing share buttons.
129
+ *
130
+ * @param string $content The current page or post content.
131
+ * @param bool $boo_shortcode Whether to use shortcode or not.
132
+ * @param array $atts Manual replacements for page url/title.
133
+ *
134
+ * @return string
135
+ */
136
+ public function show_share_buttons($content, $boo_shortcode = false, $atts = '')
137
+ {
138
+ global $post;
139
+
140
+ // Variables.
141
+ $html_content = $content;
142
+ $str_share_text = '';
143
+ $pattern = get_shortcode_regex();
144
+
145
+ // Ssba_hide shortcode is in the post content and instance is not called by shortcode ssba.
146
+ if (isset($post->post_content)
147
+ &&
148
+ preg_match_all('/' . $pattern . '/s', $post->post_content, $matches)
149
+ &&
150
+ array_key_exists(2, $matches)
151
+ &&
152
+ in_array('ssba_hide', $matches[2], true)
153
+ &&
154
+ ! $boo_shortcode
155
+ ) {
156
+ // Exit the function returning the content without the buttons.
157
+ return $content;
158
+ }
159
+
160
+ // Get sbba settings.
161
+ $arr_settings = $this->class_ssba->get_ssba_settings();
162
+
163
+ $page_title = $post->post_title;
164
+ $plus_omit_pages = ! empty($arr_settings['ssba_omit_pages_plus']) ? explode(',', $arr_settings['ssba_omit_pages_plus']) : '';
165
+ $plus_omitted = is_array($plus_omit_pages) ? in_array($page_title, array_map('trim', $plus_omit_pages), true) : false;
166
+ $omit_pages = ! empty($arr_settings['ssba_omit_pages']) ? explode(',', $arr_settings['ssba_omit_pages']) : '';
167
+ $omitted = is_array($omit_pages) ? in_array($page_title, array_map('trim', $omit_pages), true) : false;
168
+
169
+ if (('Y' === $arr_settings['ssba_new_buttons'] && $plus_omitted) || ('Y' !== $arr_settings['ssba_new_buttons'] && $omitted)) {
170
+ return $content;
171
+ }
172
+
173
+ // Placement on pages/posts/categories/archives/homepage.
174
+ if (( ! is_home() && ! is_front_page() && is_page() && ('Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_pages'] || ('Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_pages'])))
175
+ ||
176
+ (is_single() && ('Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_posts'] || ('Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_posts'])))
177
+ ||
178
+ (is_category() && ('Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_cats_archs'] || ('Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_cats_archs'])))
179
+ ||
180
+ (is_archive() && ('Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_cats_archs'] || ('Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_cats_archs'])))
181
+ ||
182
+ ((is_home() || is_front_page()) && ('Y' !== $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_homepage'] || ('Y' === $arr_settings['ssba_new_buttons'] && 'Y' === $arr_settings['ssba_plus_homepage'])))
183
+ ||
184
+ $boo_shortcode
185
+ ) {
186
+ wp_enqueue_style("{$this->plugin->assets_prefix}-ssba");
187
+
188
+ // If not shortcode.
189
+ if (isset($atts['widget']) && 'Y' === $atts['widget'] && '' === $arr_settings['ssba_widget_text']) { // Use widget share text.
190
+ $str_share_text = $arr_settings['ssba_widget_text'];
191
+ } else { // Use normal share text.
192
+ $str_share_text = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_share_text'] : $arr_settings['ssba_plus_share_text'];
193
+ }
194
+
195
+ // Text placement.
196
+ $text_placement = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_text_placement'] : $arr_settings['ssba_plus_text_placement'];
197
+
198
+ // Link or no.
199
+ $text_link = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_link_to_ssb'] : $arr_settings['ssba_plus_link_to_ssb'];
200
+
201
+ // Post id.
202
+ $int_post_id = $post->ID;
203
+
204
+ // Button Position.
205
+ $button_position = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_before_or_after'] : $arr_settings['ssba_before_or_after_plus'];
206
+
207
+ // Button alignment
208
+ $alignment = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['ssba_align'] : $arr_settings['ssba_plus_align'];
209
+
210
+ // Wrap id
211
+ $wrap_id = 'Y' !== $arr_settings['ssba_new_buttons'] ? 'ssba-classic-2' : 'ssba-modern-2';
212
+
213
+ // Ssba div.
214
+ $html_share_buttons = '<!-- Simple Share Buttons Adder (' . esc_html(SSBA_VERSION) . ') simplesharebuttons.com --><div class="' . esc_attr($wrap_id) . ' ssba ssbp-wrap' . esc_attr(' ' . $arr_settings['ssba_plus_align']) . ' ssbp--theme-' . esc_attr($arr_settings['ssba_plus_button_style']) . '">';
215
+
216
+ // Center if set so.
217
+ $html_share_buttons .= '<div style="text-align:' . esc_attr($alignment) . '">';
218
+
219
+ // Add custom text if set and set to placement above or left.
220
+ if ('' !== $str_share_text && ('above' === $text_placement || 'left' === $text_placement)) {
221
+ // Check if user has left share link box checked.
222
+ if ('Y' === $text_link) {
223
+ // Share text with link.
224
+ $html_share_buttons .= '<a href="https://simplesharebuttons.com" target="_blank" class="ssba-share-text">' . esc_html($str_share_text) . '</a>';
225
+ } else {
226
+ // Share text.
227
+ $html_share_buttons .= '<span class="ssba-share-text">' . esc_html($str_share_text) . '</span>';
228
+ }
229
+ // Add a line break if set to above.
230
+ $html_share_buttons .= 'above' === $text_placement ? '<br/>' : '';
231
+ }
232
+
233
+ // If running standard.
234
+ if ( ! $boo_shortcode) {
235
+ // Use WordPress functions for page/post details.
236
+ $url_current_page = get_permalink($post->ID);
237
+ $str_page_title = get_the_title($post->ID);
238
+ } else { // Using shortcode.
239
+ // Set page URL and title as set by user or get if needed.
240
+ $url_current_page = isset($atts['url']) ? esc_url($atts['url']) : $this->ssba_current_url($atts);
241
+ $str_page_title = (isset($atts['title']) ? $atts['title'] : get_the_title());
242
+ }
243
+
244
+ // Strip any unwanted tags from the page title.
245
+ $str_page_title = esc_attr(strip_tags($str_page_title));
246
+
247
+ // The buttons.
248
+ $html_share_buttons .= $this->get_share_buttons($arr_settings, $url_current_page, $str_page_title, $int_post_id);
249
+
250
+ // Add custom text if set and set to placement right or below.
251
+ if ('' !== $str_share_text && ('right' === $text_placement || 'below' === $text_placement)) {
252
+ // Add a line break if set to above.
253
+ $html_share_buttons .= 'below' === $text_placement ? '<br/>' : '';
254
+
255
+ // Check if user has checked share link option.
256
+ if ('Y' === $text_link) {
257
+ // Share text with link.
258
+ $html_share_buttons .= '<a href="https://simplesharebuttons.com" target="_blank" class="ssba-share-text">' . esc_html($str_share_text) . '</a>';
259
+ } else { // Just display the share text.
260
+ // Share text.
261
+ $html_share_buttons .= '<span class="ssba-share-text">' . esc_html($str_share_text) . '</span>';
262
+ }
263
+ }
264
+
265
+ // Close center if set.
266
+ $html_share_buttons .= '</div></div>';
267
+
268
+ // If not using shortcode.
269
+ if ( ! $boo_shortcode) {
270
+ // Switch for placement of ssba.
271
+ switch ($button_position) {
272
+ case 'before': // Before the content.
273
+ $html_content = $html_share_buttons . $content;
274
+ break;
275
+ case 'after': // After the content.
276
+ $html_content = $content . $html_share_buttons;
277
+ break;
278
+ case 'both': // Before and after the content.
279
+ $html_content = $html_share_buttons . $content . $html_share_buttons;
280
+ break;
281
+ }
282
+ } else { // If using shortcode.
283
+ // Just return buttons.
284
+ $html_content = $html_share_buttons;
285
+ }
286
+ }
287
+
288
+ // Return content and share buttons.
289
+ return $html_content;
290
+ }
291
+
292
+ /**
293
+ * Function that shows the share bar if enabled.
294
+ *
295
+ * @action wp_head, 99
296
+ */
297
+ public function show_share_bar()
298
+ {
299
+ global $post, $wp;
300
+
301
+ // Get sbba settings.
302
+ $arr_settings = $this->class_ssba->get_ssba_settings();
303
+ $page_title = $post->post_title;
304
+ $omit_pages = ! empty($arr_settings['ssba_omit_pages_bar']) ? explode(',',
305
+ $arr_settings['ssba_omit_pages_bar']) : '';
306
+ $omitted = is_array($omit_pages) ? in_array($page_title, array_map('trim', $omit_pages), true) : false;
307
+
308
+ if (('Y' !== $arr_settings['ssba_bar_desktop'] && ! wp_is_mobile()) || ('Y' !== $arr_settings['ssba_bar_mobile'] && wp_is_mobile()) || 'Y' !== $arr_settings['ssba_bar_enabled'] || $omitted) {
309
+ return;
310
+ }
311
+
312
+ // Get current url.
313
+ $url_current_page = home_url(add_query_arg(array(), $wp->request));
314
+
315
+ // Placement on pages/posts/categories/archives/homepage.
316
+ if (
317
+ ( ! is_home() && ! is_front_page() && is_page() && isset($arr_settings['ssba_bar_pages']) && 'Y' === $arr_settings['ssba_bar_pages'])
318
+ ||
319
+ (is_single() && isset($arr_settings['ssba_bar_posts']) && 'Y' === $arr_settings['ssba_bar_posts'])
320
+ ||
321
+ (is_category() && isset($arr_settings['ssba_bar_cats_archs']) && 'Y' === $arr_settings['ssba_bar_cats_archs'])
322
+ ||
323
+ (is_archive() && isset($arr_settings['ssba_bar_cats_archs']) && 'Y' === $arr_settings['ssba_bar_cats_archs'])
324
+ ||
325
+ ((is_home() || is_front_page()) && isset($arr_settings['ssba_bar_homepage']) && 'Y' === $arr_settings['ssba_bar_homepage'])
326
+ ) {
327
+
328
+ if ( ! wp_style_is("{$this->plugin->assets_prefix}-ssba", 'enqueued')) {
329
+ wp_enqueue_style("{$this->plugin->assets_prefix}-ssba");
330
+ }
331
+
332
+ $html_share_buttons = '<div id="ssba-bar-2" class="' . esc_attr($arr_settings['ssba_bar_position']) . ' ssbp-wrap ssbp--theme-' . esc_attr($arr_settings['ssba_bar_style']) . '" >';
333
+ $html_share_buttons .= '<div class="ssbp-container">';
334
+ $html_share_buttons .= '<ul class="ssbp-bar-list">';
335
+
336
+ // The buttons.
337
+ $html_share_buttons .= $this->get_share_bar($arr_settings, $url_current_page, $post->post_title, $post->ID);
338
+ $html_share_buttons .= '</div></ul>';
339
+ $html_share_buttons .= '</div>';
340
+
341
+ echo $html_share_buttons; // WPCS: XSS ok. Pinterest contains javascript cannot sanitize output.
342
+ }
343
+ }
344
+
345
+ /**
346
+ * Shortcode for adding buttons.
347
+ *
348
+ * @param array $atts The current shortcodes attributes.
349
+ *
350
+ * @shortcode ssba-buttons
351
+ *
352
+ * @return string
353
+ */
354
+ public function ssba_buttons($atts)
355
+ {
356
+ // Get buttons - NULL for $content, TRUE for shortcode flag.
357
+ $html_share_buttons = $this->show_share_buttons(null, true, $atts);
358
+
359
+ // Return buttons.
360
+ return $html_share_buttons;
361
+ }
362
+
363
+ /**
364
+ * Shortcode for adding buttons.
365
+ *
366
+ * @param array $atts The current shortcodes attributes.
367
+ *
368
+ * @shortcode ssba
369
+ *
370
+ * @return string
371
+ */
372
+ public function ssba_orig_buttons($atts)
373
+ {
374
+ // Get buttons - NULL for $content, TRUE for shortcode flag.
375
+ $html_share_buttons = $this->show_share_buttons(null, true, $atts);
376
+
377
+ // Return buttons.
378
+ return $html_share_buttons;
379
+ }
380
+
381
+ /**
382
+ * Shortcode for hiding buttons
383
+ *
384
+ * @param string $content The current page or posts content.
385
+ *
386
+ * @shortcode ssba_hide
387
+ */
388
+ public function ssba_hide($content)
389
+ {
390
+ // No need to do anything here!
391
+ }
392
+
393
+ /**
394
+ * Get URL function.
395
+ *
396
+ * @param array $atts The supplied attributes.
397
+ *
398
+ * @return string
399
+ */
400
+ public function ssba_current_url($atts)
401
+ {
402
+ global $post;
403
+
404
+ if (! isset($_SERVER['SERVER_NAME']) || ! isset($_SERVER['REQUEST_URI'])) {
405
+ return;
406
+ }
407
+
408
+ // If multisite has been set to true.
409
+ if (isset($atts['multisite']) && isset($_SERVER['QUERY_STRING'])) {
410
+ global $wp;
411
+
412
+ $url = add_query_arg(sanitize_text_field(wp_unslash($_SERVER['QUERY_STRING'])), '', home_url($wp->request)); // WPCS: CSRF ok.
413
+
414
+ return esc_url($url);
415
+ }
416
+
417
+ // Add http.
418
+ $url_current_page = 'http';
419
+
420
+ // Add s to http if required.
421
+ if (isset($_SERVER['HTTPS']) && 'on' === $_SERVER['HTTPS']) {
422
+ $url_current_page .= 's';
423
+ }
424
+
425
+ // Add colon and forward slashes.
426
+ $url_current_page .= '://' . sanitize_text_field(wp_unslash($_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']));
427
+
428
+ $url_current_page = '_' === $_SERVER['SERVER_NAME'] ? get_permalink($post->ID) : $url_current_page;
429
+
430
+ // Return url.
431
+ return esc_url($url_current_page);
432
+ }
433
+
434
+ /**
435
+ * Get set share buttons.
436
+ *
437
+ * @param array $arr_settings The current ssba settings.
438
+ * @param string $url_current_page The current pages url.
439
+ * @param string $str_page_title The page title.
440
+ * @param integer $int_post_id The post id.
441
+ *
442
+ * @return string
443
+ */
444
+ public function get_share_buttons($arr_settings, $url_current_page, $str_page_title, $int_post_id)
445
+ {
446
+ // Variables.
447
+ $html_share_buttons = '';
448
+
449
+ // Explode saved include list and add to a new array.
450
+ $arr_selected_ssba = 'Y' === $arr_settings['ssba_new_buttons'] ? explode(',', $arr_settings['ssba_selected_plus_buttons']) : explode(',', $arr_settings['ssba_selected_buttons']);
451
+
452
+ // Check if array is not empty.
453
+ if (is_array($arr_selected_ssba) && '' !== $arr_selected_ssba[0]) {
454
+ // Add post ID to settings array.
455
+ $arr_settings['post_id'] = $int_post_id;
456
+
457
+ // If show counters option is selected.
458
+ if ('Y' === $arr_settings['ssba_show_share_count']) {
459
+ // Set show flag to true.
460
+ $boo_show_share_count = true;
461
+
462
+ // If show counters once option is selected.
463
+ if ('Y' === $arr_settings['ssba_share_count_once']) {
464
+ // If not a page or post.
465
+ if (! is_page() && ! is_single()) {
466
+ // Let show flag to false.
467
+ $boo_show_share_count = false;
468
+ }
469
+ }
470
+ } else {
471
+ // Set show flag to false.
472
+ $boo_show_share_count = false;
473
+ }
474
+
475
+ if ('Y' === $arr_settings['ssba_new_buttons']) {
476
+ $html_share_buttons .= '<ul class="ssbp-list">';
477
+ }
478
+
479
+ // For each included button.
480
+ foreach ($arr_selected_ssba as $str_selected) {
481
+ $str_get_button = 'ssba_' . $str_selected;
482
+
483
+ // Add a list item for each selected option.
484
+ $html_share_buttons .= $this->$str_get_button($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count);
485
+ }
486
+
487
+ if ('Y' === $arr_settings['ssba_new_buttons']) {
488
+ $html_share_buttons .= '</ul>';
489
+ }
490
+ } // End if().
491
+
492
+ // Return share buttons.
493
+ return $html_share_buttons;
494
+ }
495
+
496
+ /**
497
+ * Get facebook button.
498
+ *
499
+ * @param array $arr_settings The current ssba settings.
500
+ * @param string $url_current_page The current page url.
501
+ * @param string $str_page_title The page title.
502
+ * @param bool $boo_show_share_count Show share count or not.
503
+ *
504
+ * @return string
505
+ */
506
+ public function ssba_facebook($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
507
+ {
508
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
509
+ $network = 'Facebook';
510
+ $target =
511
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
512
+ && 'Y' === $arr_settings['ssba_new_buttons']
513
+ && ! isset($arr_settings['bar_call']
514
+ ))
515
+ ||
516
+ ('Y' === $arr_settings['ssba_share_new_window']
517
+ && 'Y' !== $arr_settings['ssba_new_buttons']
518
+ && ! isset($arr_settings['bar_call']
519
+ ))
520
+ ||
521
+ ('Y' === $arr_settings['ssba_bar_share_new_window'] && isset($arr_settings['bar_call'])) ? ' target="_blank" ' : '';
522
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-facebook ssbp-btn' : '';
523
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
524
+ $html_share_buttons = '';
525
+
526
+ // Add li if plus.
527
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
528
+ $html_share_buttons .= '<li class="ssbp-li--facebook">';
529
+ }
530
+
531
+ // If the sharethis terms have been accepted.
532
+ if ('Y' === $arr_settings['accepted_sharethis_terms'] && '' !== $arr_settings['facebook_app_id']) {
533
+ // Facebook share link.
534
+ $html_share_buttons .= '<a data-site="" data-facebook="mobile" class="ssba_facebook_share' . esc_attr($plus_class) . '" data-href="' . esc_attr($url_current_page) . '" href="https://www.facebook.com/dialog/share?app_id=' . esc_attr($arr_settings['facebook_app_id']) . '&display=popup&href=' . esc_attr($url_current_page) . '&redirect_uri=' . esc_url($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
535
+ } else {
536
+ // Facebook share link.
537
+ $html_share_buttons .= '<a data-site="" class="ssba_facebook_share' . esc_attr($plus_class) . '" href="http://www.facebook.com/sharer.php?u=' . esc_attr($url_current_page) . '" ' . $target . $nofollow . '>';
538
+ }
539
+
540
+ // If not using custom.
541
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
542
+ // Show selected ssba image.
543
+ $html_share_buttons .= '<img src="' . esc_url(plugins_url()) . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/facebook.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Facebook" class="ssba ssba-img" alt="Share on Facebook" />';
544
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
545
+ // Show custom image.
546
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_facebook']) . '" title="Facebook" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" class="ssba ssba-img" alt="Share on Facebook" />';
547
+ }
548
+
549
+ // Close href.
550
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
551
+
552
+ // Close href.
553
+ $html_share_buttons .= '</a>';
554
+
555
+ // If show share count is set to Y.
556
+ if ((('Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'])
557
+ ||
558
+ ('Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'])
559
+ ||
560
+ ('Y' === $arr_settings['ssba_bar_show_share_count'] && isset($arr_settings['bar_call'])
561
+ )
562
+ && $boo_show_share_count
563
+ )) {
564
+ // Get and add facebook share count.
565
+ $html_share_buttons .= '<span class="' . esc_attr($count_class) . '">' . esc_html($this->get_facebook_share_count($url_current_page, $arr_settings)) . '</span>';
566
+ }
567
+
568
+ // Add closing li if plus.
569
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
570
+ $html_share_buttons .= '</li>';
571
+ }
572
+
573
+ // Return share buttons.
574
+ return $html_share_buttons;
575
+ }
576
+
577
+ /**
578
+ * Get set share buttons.
579
+ *
580
+ * @param array $arr_settings The current ssba settings.
581
+ * @param string $url_current_page The current pages url.
582
+ * @param string $str_page_title The page title.
583
+ * @param integer $int_post_id The post id.
584
+ *
585
+ * @return string
586
+ */
587
+ public function get_share_bar($arr_settings, $url_current_page, $str_page_title, $int_post_id)
588
+ {
589
+ // Variables.
590
+ $html_share_buttons = '';
591
+
592
+ // Set bar call.
593
+ $arr_settings = array_merge($arr_settings, array(
594
+ 'bar_call' => 'Y',
595
+ )
596
+ );
597
+
598
+ // Explode saved include list and add to a new array.
599
+ $arr_selected_ssba = explode(',', $arr_settings['ssba_selected_bar_buttons']);
600
+
601
+ // Check if array is not empty.
602
+ if ('' !== $arr_settings['ssba_selected_bar_buttons']) {
603
+ // Add post ID to settings array.
604
+ $arr_settings['post_id'] = $int_post_id;
605
+
606
+ // If show counters option is selected.
607
+ if ('Y' === $arr_settings['ssba_bar_show_share_count']) {
608
+ // Set show flag to true.
609
+ $boo_show_share_count = true;
610
+
611
+ // If show counters once option is selected.
612
+ if (isset($arr_settings['ssba_bar_count_once']) && 'Y' === $arr_settings['ssba_bar_count_once']) {
613
+ // If not a page or post.
614
+ if (! is_page() && ! is_single()) {
615
+ // Let show flag to false.
616
+ $boo_show_share_count = false;
617
+ }
618
+ }
619
+ } else {
620
+ // Set show flag to false.
621
+ $boo_show_share_count = false;
622
+ }
623
+
624
+ // For each included button.
625
+ foreach ($arr_selected_ssba as $str_selected) {
626
+ if ('' !== $str_selected) {
627
+ $str_get_button = 'ssba_' . $str_selected;
628
+
629
+ // Add a list item for each selected option.
630
+ $html_share_buttons .= $this->$str_get_button($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count);
631
+ }
632
+ }
633
+ }
634
+
635
+ // Return share buttons.
636
+ return $html_share_buttons;
637
+ }
638
+
639
+ /**
640
+ * Get facebook button.
641
+ *
642
+ * @param array $arr_settings The current ssba settings.
643
+ * @param string $url_current_page The current page url.
644
+ * @param string $str_page_title The page title.
645
+ * @param bool $boo_show_share_count Show share count or not.
646
+ *
647
+ * @return string
648
+ */
649
+ public function ssba_facebook_save($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
650
+ {
651
+ $html_share_buttons = '';
652
+
653
+ // If the sharethis terms have been accepted.
654
+ if ('Y' === $arr_settings['accepted_sharethis_terms'] && ! isset($arr_settings['bar_call'])) {
655
+ // Add li if plus.
656
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
657
+ $html_share_buttons .= '<li class="ssbp-li--fb-save">';
658
+ }
659
+
660
+ // Add facebook save button.
661
+ $html_share_buttons .= '<span class="fb-save" style="display:inline-block" data-uri="' . esc_attr($url_current_page) . '"></span>';
662
+
663
+ // Add li if plus.
664
+ if ('Y' === $arr_settings['ssba_new_buttons'] || $arr_settings['bar_call']) {
665
+ $html_share_buttons .= '</li>';
666
+ }
667
+ }
668
+
669
+ return $html_share_buttons;
670
+ }
671
+
672
+ /**
673
+ * Get facebook share count.
674
+ *
675
+ * @param string $url_current_page Current url.
676
+ * @param array $arr_settings Current ssba settings.
677
+ *
678
+ * @return string
679
+ */
680
+ public function get_facebook_share_count($url_current_page, $arr_settings)
681
+ {
682
+ $cache_key = sprintf(
683
+ 'facebook_sharecount_%s',
684
+ wp_hash($url_current_page)
685
+ );
686
+
687
+ // Get the longer cached value from the Transient API.
688
+ $long_cached_count = get_transient("ssba_{$cache_key}");
689
+ if (false === $long_cached_count) {
690
+ $long_cached_count = 0;
691
+ }
692
+
693
+ // If sharedcount.com is enabled.
694
+ if ((('Y' === $arr_settings['sharedcount_enabled'] && 'Y' !== $arr_settings['ssba_new_buttons'])
695
+ ||
696
+ (isset($arr_settings['plus_sharedcount_enabled']) && 'Y' === $arr_settings['plus_sharedcount_enabled'] && 'Y' === $arr_settings['ssba_new_buttons'])
697
+ ||
698
+ (isset($arr_settings['bar_sharedcount_enabled']) && 'Y' === $arr_settings['bar_sharedcount_enabled'] && isset($arr_settings['bar_call'])
699
+ )
700
+ )) {
701
+
702
+ $shared_plan = 'Y' !== $arr_settings['ssba_new_buttons'] ? $arr_settings['sharedcount_plan'] : '';
703
+ $shared_plan = '' === $shared_plan && 'Y' === $arr_settings['ssba_new_buttons'] ? $arr_settings['plus_sharedcount_plan'] : '';
704
+ $shared_plan = isset($arr_settings['bar_call']) ? $arr_settings['bar_sharedcount_plan'] : '';
705
+
706
+ // Request from sharedcount.com.
707
+ $sharedcount = wp_safe_remote_get('https://' . $shared_plan . '.sharedcount.com/url?url=' . $url_current_page . '&apikey=' . $arr_settings['sharedcount_api_key'],
708
+ array(
709
+ 'timeout' => 6,
710
+ ));
711
+
712
+ // If no error.
713
+ if (is_wp_error($sharedcount)) {
714
+ return $this->ssba_format_number($long_cached_count);
715
+ }
716
+
717
+ // Decode and return count.
718
+ $shared_resp = json_decode($sharedcount['body'], true);
719
+ $sharedcount = $long_cached_count;
720
+
721
+ if (isset($shared_resp['Facebook']['share_count'])) {
722
+ $sharedcount = (int)$shared_resp['Facebook']['share_count'];
723
+ wp_cache_set($cache_key, $sharedcount, 'ssba', MINUTE_IN_SECONDS * 2);
724
+ set_transient("ssba_{$cache_key}", $sharedcount, DAY_IN_SECONDS);
725
+ }
726
+
727
+ return $this->ssba_format_number($sharedcount);
728
+ } else {
729
+ // Get results from facebook.
730
+ $html_facebook_share_details = wp_safe_remote_get('http://graph.facebook.com/' . $url_current_page, array(
731
+ 'timeout' => 6,
732
+ ));
733
+
734
+ // If no error.
735
+ if (is_wp_error($html_facebook_share_details)) {
736
+ return $this->ssba_format_number($long_cached_count);
737
+ }
738
+
739
+ // Decode and return count.
740
+ $arr_facebook_share_details = json_decode($html_facebook_share_details['body'], true);
741
+ $int_facebook_share_count = $long_cached_count;
742
+
743
+ if (isset($arr_facebook_share_details['share']['share_count'])) {
744
+ $int_facebook_share_count = (int)$arr_facebook_share_details['share']['share_count'];
745
+
746
+ wp_cache_set($cache_key, $int_facebook_share_count, 'ssba', MINUTE_IN_SECONDS * 2);
747
+ set_transient("ssba_{$cache_key}", $int_facebook_share_count, DAY_IN_SECONDS);
748
+ }
749
+
750
+ return $this->ssba_format_number($int_facebook_share_count);
751
+ } // End if().
752
+ }
753
+
754
+ /**
755
+ * Get twitter button.
756
+ *
757
+ * @param array $arr_settings The current ssba settings.
758
+ * @param string $url_current_page The current page url.
759
+ * @param string $str_page_title The page title.
760
+ * @param bool $boo_show_share_count Show share count or not.
761
+ *
762
+ * @return string
763
+ */
764
+ public function ssba_twitter($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
765
+ {
766
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
767
+ $network = 'Twitter';
768
+ $target =
769
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
770
+ && 'Y' === $arr_settings['ssba_new_buttons']
771
+ && ! isset($arr_settings['bar_call']
772
+ ))
773
+ ||
774
+ ('Y' === $arr_settings['ssba_share_new_window']
775
+ && 'Y' !== $arr_settings['ssba_new_buttons']
776
+ && ! isset($arr_settings['bar_call']
777
+ ))
778
+ ||
779
+ ('Y' === $arr_settings['ssba_bar_share_new_window'] && isset($arr_settings['bar_call']
780
+ )) ? ' target="_blank" ' : '';
781
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-twitter ssbp-btn' : '';
782
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
783
+ $html_share_buttons = '';
784
+
785
+ // Format the URL into friendly code.
786
+ $twitter_share_text = rawurlencode(html_entity_decode($str_page_title . ' ' . $arr_settings['ssba_twitter_text'],
787
+ ENT_COMPAT, 'UTF-8'));
788
+
789
+ // Add li if plus.
790
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
791
+ $html_share_buttons .= '<li class="ssbp-li--twitter">';
792
+ }
793
+
794
+ if ('Y' === $arr_settings['ssba_new_buttons'] && ! empty($arr_settings['ssba_plus_twitter_text'])) {
795
+ $twitter_share_text = rawurlencode(html_entity_decode($str_page_title . ' ' . $arr_settings['ssba_plus_twitter_text'],
796
+ ENT_COMPAT, 'UTF-8'));
797
+ }
798
+
799
+ if (isset($arr_settings['bar_call']) && ! empty($arr_settings['ssba_bar_twitter_text'])) {
800
+ $twitter_share_text = rawurlencode(html_entity_decode($str_page_title . ' ' . $arr_settings['ssba_bar_twitter_text'],
801
+ ENT_COMPAT, 'UTF-8'));
802
+ }
803
+
804
+ // Twitter share link.
805
+ $html_share_buttons .= '<a data-site="" class="ssba_twitter_share' . esc_attr($plus_class) . '" href="http://twitter.com/share?url=' . esc_attr($url_current_page) . '&amp;text=' . esc_attr($twitter_share_text) . '" ' . esc_attr($target . $nofollow) . '>';
806
+
807
+ // If image set is not custom.
808
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
809
+ // Show ssba image.
810
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/twitter.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Twitter" class="ssba ssba-img" alt="Tweet about this on Twitter" />';
811
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
812
+ // Show custom image.
813
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_twitter']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Twitter" class="ssba ssba-img" alt="Tweet about this on Twitter" />';
814
+ }
815
+
816
+ // Close href.
817
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
818
+
819
+ // Close href.
820
+ $html_share_buttons .= '</a>';
821
+
822
+ // Add closing li if plus.
823
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
824
+ $html_share_buttons .= '</li>';
825
+ }
826
+
827
+ // Return share buttons.
828
+ return $html_share_buttons;
829
+ }
830
+
831
+ /**
832
+ * Get google+ button.
833
+ *
834
+ * @param array $arr_settings The current ssba settings.
835
+ * @param string $url_current_page The current page url.
836
+ * @param string $str_page_title The page title.
837
+ * @param bool $boo_show_share_count Show share count or not.
838
+ *
839
+ * @return string
840
+ */
841
+ public function ssba_google($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
842
+ {
843
+ return;
844
+ }
845
+
846
+ /**
847
+ * Get google share count.
848
+ *
849
+ * @param string $url_current_page The current page url.
850
+ *
851
+ * @return string
852
+ */
853
+ public function get_google_share_count($url_current_page)
854
+ {
855
+ return;
856
+ }
857
+
858
+ /**
859
+ * Get diggit button.
860
+ *
861
+ * @param array $arr_settings The current ssba settings.
862
+ * @param string $url_current_page The current page url.
863
+ * @param string $str_page_title The page title.
864
+ * @param bool $boo_show_share_count Show share count or not.
865
+ *
866
+ * @return string
867
+ */
868
+ public function ssba_diggit($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
869
+ {
870
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
871
+ $network = 'Digg';
872
+ $target =
873
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
874
+ && 'Y' === $arr_settings['ssba_new_buttons']
875
+ && ! isset($arr_settings['bar_call']
876
+ ))
877
+ ||
878
+ ('Y' === $arr_settings['ssba_share_new_window']
879
+ && 'Y' !== $arr_settings['ssba_new_buttons']
880
+ && ! isset($arr_settings['bar_call']
881
+ ))
882
+ ||
883
+ ('Y' === $arr_settings['ssba_bar_share_new_window'] && isset($arr_settings['bar_call']
884
+ )) ? ' target="_blank" ' : '';
885
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-diggit ssbp-btn' : '';
886
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
887
+ $html_share_buttons = '';
888
+
889
+ // Add li if plus.
890
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
891
+ $html_share_buttons .= '<li class="ssbp-li--diggit">';
892
+ }
893
+
894
+ // Diggit share link.
895
+ $html_share_buttons .= '<a data-site="digg" class="ssba_diggit_share ssba_share_link' . esc_attr($plus_class) . '" href="http://www.digg.com/submit?url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
896
+
897
+ // If image set is not custom.
898
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
899
+ // Show ssba image.
900
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/diggit.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Digg" class="ssba ssba-img" alt="Digg this" />';
901
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
902
+ // Show custom image.
903
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_diggit']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Digg" class="ssba ssba-img" alt="Digg this" />';
904
+ }
905
+
906
+ // Close href.
907
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
908
+
909
+ // Close href.
910
+ $html_share_buttons .= '</a>';
911
+
912
+ // Add closing li if plus.
913
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
914
+ $html_share_buttons .= '</li>';
915
+ }
916
+
917
+ // Return share buttons.
918
+ return $html_share_buttons;
919
+ }
920
+
921
+ /**
922
+ * Get line button.
923
+ *
924
+ * @param array $arr_settings The current ssba settings.
925
+ * @param string $url_current_page The current page url.
926
+ * @param string $str_page_title The page title.
927
+ * @param bool $boo_show_share_count Show share count or not.
928
+ *
929
+ * @return string
930
+ */
931
+ public function ssba_line($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
932
+ {
933
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
934
+ $network = 'Line';
935
+ $target =
936
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
937
+ && 'Y' === $arr_settings['ssba_new_buttons']
938
+ && ! isset($arr_settings['bar_call']))
939
+ ||
940
+ ('Y' === $arr_settings['ssba_share_new_window']
941
+ && 'Y' !== $arr_settings['ssba_new_buttons']
942
+ && ! isset($arr_settings['bar_call']))
943
+ ||
944
+ ('Y' === $arr_settings['ssba_bar_share_new_window'] && isset($arr_settings['bar_call'])) ? ' target="_blank" ' : '';
945
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-line ssbp-btn' : '';
946
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
947
+ $html_share_buttons = '';
948
+
949
+ // Add li if plus.
950
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
951
+ $html_share_buttons .= '<li class="ssbp-li--line">';
952
+ }
953
+
954
+ // Line share link.
955
+ $html_share_buttons .= '<a data-site="line" class="ssba_line_share ssba_share_link' . esc_attr($plus_class) . '" href="https://lineit.line.me/share/ui?url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
956
+
957
+ // If image set is not custom.
958
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
959
+ // Show ssba image.
960
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/line.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Line" class="ssba ssba-img" alt="Line" />';
961
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
962
+ // Show custom image.
963
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_line']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Line" class="ssba ssba-img" alt="Line" />';
964
+ }
965
+
966
+ // Close href.
967
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
968
+
969
+ // Close href.
970
+ $html_share_buttons .= '</a>';
971
+
972
+ // Add closing li if plus.
973
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
974
+ $html_share_buttons .= '</li>';
975
+ }
976
+
977
+ // Return share buttons.
978
+ return $html_share_buttons;
979
+ }
980
+
981
+ /**
982
+ * Get skype button.
983
+ *
984
+ * @param array $arr_settings The current ssba settings.
985
+ * @param string $url_current_page The current page url.
986
+ * @param string $str_page_title The page title.
987
+ * @param bool $boo_show_share_count Show share count or not.
988
+ *
989
+ * @return string
990
+ */
991
+ public function ssba_skype($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
992
+ {
993
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
994
+ $network = 'Line';
995
+ $target =
996
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
997
+ && 'Y' === $arr_settings['ssba_new_buttons']
998
+ && ! isset($arr_settings['bar_call']))
999
+ ||
1000
+ ('Y' === $arr_settings['ssba_share_new_window']
1001
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1002
+ && ! isset($arr_settings['bar_call']))
1003
+ ||
1004
+ ('Y' === $arr_settings['ssba_bar_share_new_window'] && isset($arr_settings['bar_call'])) ? ' target="_blank" ' : '';
1005
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-skype ssbp-btn' : '';
1006
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1007
+ $html_share_buttons = '';
1008
+
1009
+ // Add li if plus.
1010
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1011
+ $html_share_buttons .= '<li class="ssbp-li--skype">';
1012
+ }
1013
+
1014
+ // Skype share link.
1015
+ $html_share_buttons .= '<a data-site="skype" class="ssba_skype_share ssba_share_link' . esc_attr($plus_class) . '" href="https://web.skype.com/share?url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
1016
+
1017
+ // If image set is not custom.
1018
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1019
+ // Show ssba image.
1020
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/line.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Line" class="ssba ssba-img" alt="Skype" />';
1021
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1022
+ // Show custom image.
1023
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_skype']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Skype" class="ssba ssba-img" alt="skype" />';
1024
+ }
1025
+
1026
+ // Close href.
1027
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1028
+
1029
+ // Close href.
1030
+ $html_share_buttons .= '</a>';
1031
+
1032
+ // Add closing li if plus.
1033
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1034
+ $html_share_buttons .= '</li>';
1035
+ }
1036
+
1037
+ // Return share buttons.
1038
+ return $html_share_buttons;
1039
+ }
1040
+
1041
+ /**
1042
+ * Get weibo button.
1043
+ *
1044
+ * @param array $arr_settings The current ssba settings.
1045
+ * @param string $url_current_page The current page url.
1046
+ * @param string $str_page_title The page title.
1047
+ * @param bool $boo_show_share_count Show share count or not.
1048
+ *
1049
+ * @return string
1050
+ */
1051
+ public function ssba_weibo($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1052
+ {
1053
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1054
+ $network = 'Line';
1055
+ $target =
1056
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1057
+ && 'Y' === $arr_settings['ssba_new_buttons']
1058
+ && ! isset($arr_settings['bar_call']))
1059
+ ||
1060
+ ('Y' === $arr_settings['ssba_share_new_window']
1061
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1062
+ && ! isset($arr_settings['bar_call']))
1063
+ ||
1064
+ ('Y' === $arr_settings['ssba_bar_share_new_window'] && isset($arr_settings['bar_call'])) ? ' target="_blank" ' : '';
1065
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-weibo ssbp-btn' : '';
1066
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1067
+ $html_share_buttons = '';
1068
+
1069
+ // Add li if plus.
1070
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1071
+ $html_share_buttons .= '<li class="ssbp-li--weibo">';
1072
+ }
1073
+
1074
+ // Skype share link.
1075
+ $html_share_buttons .= '<a data-site="weibo" class="ssba_weibo_share ssba_share_link' . esc_attr($plus_class) . '" href="http://v.t.sina.com.cn/share/share.php?url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
1076
+
1077
+ // If image set is not custom.
1078
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1079
+ // Show ssba image.
1080
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/weibo.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Weibo" class="ssba ssba-img" alt="Weibo" />';
1081
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1082
+ // Show custom image.
1083
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_weibo']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Weibo" class="ssba ssba-img" alt="Weibo" />';
1084
+ }
1085
+
1086
+ // Close href.
1087
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1088
+
1089
+ // Close href.
1090
+ $html_share_buttons .= '</a>';
1091
+
1092
+ // Add closing li if plus.
1093
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1094
+ $html_share_buttons .= '</li>';
1095
+ }
1096
+
1097
+ // Return share buttons.
1098
+ return $html_share_buttons;
1099
+ }
1100
+
1101
+ /**
1102
+ * Get reddit.
1103
+ *
1104
+ * @param array $arr_settings The current ssba settings.
1105
+ * @param string $url_current_page The current page url.
1106
+ * @param string $str_page_title The page title.
1107
+ * @param bool $boo_show_share_count Show share count or not.
1108
+ *
1109
+ * @return string
1110
+ */
1111
+ public function ssba_reddit($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1112
+ {
1113
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1114
+ $network = 'Reddit';
1115
+ $target =
1116
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1117
+ && 'Y' === $arr_settings['ssba_new_buttons']
1118
+ && ! isset($arr_settings['bar_call']
1119
+ ))
1120
+ ||
1121
+ ('Y' === $arr_settings['ssba_share_new_window']
1122
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1123
+ && ! isset($arr_settings['bar_call']
1124
+ ))
1125
+ ||
1126
+ ('Y' === $arr_settings['ssba_bar_share_new_window'] && isset($arr_settings['bar_call']
1127
+ )) ? ' target="_blank" ' : '';
1128
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-reddit ssbp-btn' : '';
1129
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1130
+ $html_share_buttons = '';
1131
+
1132
+ // Add li if plus.
1133
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1134
+ $html_share_buttons .= '<li class="ssbp-li--reddit">';
1135
+ }
1136
+
1137
+ // Reddit share link.
1138
+ $html_share_buttons .= '<a data-site="reddit" class="ssba_reddit_share' . esc_attr($plus_class) . '" href="http://reddit.com/submit?url=' . esc_attr($url_current_page) . '&amp;title=' . esc_attr($str_page_title) . '" ' . esc_attr($target . $nofollow) . '>';
1139
+
1140
+ // If image set is not custom.
1141
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1142
+
1143
+ // Show ssba image.
1144
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/reddit.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Reddit" class="ssba ssba-img" alt="Share on Reddit" />';
1145
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1146
+ // Show custom image.
1147
+ $html_share_buttons .= '<img src="' . esc_attr($arr_settings['ssba_custom_reddit']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Reddit" class="ssba ssba-img" alt="Share on Reddit" />';
1148
+ }
1149
+
1150
+ // Close href.
1151
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1152
+
1153
+ // Close href.
1154
+ $html_share_buttons .= '</a>';
1155
+
1156
+ // If show share count is set to Y.
1157
+ if ((('Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'])
1158
+ ||
1159
+ ('Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'])
1160
+ ||
1161
+ ('Y' === $arr_settings['ssba_bar_show_share_count'] && isset($arr_settings['bar_call'])
1162
+ )
1163
+ && $boo_show_share_count
1164
+ )) {
1165
+ // Get and display share count.
1166
+ $html_share_buttons .= '<span class="' . esc_attr($count_class) . '">' . esc_html($this->get_reddit_share_count($url_current_page)) . '</span>';
1167
+ }
1168
+
1169
+ // Add closing li if plus.
1170
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1171
+ $html_share_buttons .= '</li>';
1172
+ }
1173
+
1174
+ // Return share buttons.
1175
+ return $html_share_buttons;
1176
+ }
1177
+
1178
+ /**
1179
+ * Get reddit share count.
1180
+ *
1181
+ * @param string $url_current_page The current url.
1182
+ *
1183
+ * @return int|string
1184
+ */
1185
+ public function get_reddit_share_count($url_current_page)
1186
+ {
1187
+ // Get results from reddit and return the number of shares.
1188
+ $html_reddit_share_details = wp_safe_remote_get('http://www.reddit.com/api/info.json?url=' . $url_current_page,
1189
+ array(
1190
+ 'timeout' => 6,
1191
+ ));
1192
+
1193
+ // Check there was an error.
1194
+ if (is_wp_error($html_reddit_share_details)) {
1195
+ return 0;
1196
+ }
1197
+
1198
+ // Decode and get share count.
1199
+ $arr_reddit_result = json_decode($html_reddit_share_details['body'], true);
1200
+ $int_reddit_share_count = isset($arr_reddit_result['data']['children']['0']['data']['score']) ? $arr_reddit_result['data']['children']['0']['data']['score'] : 0;
1201
+
1202
+ return $int_reddit_share_count ? $this->ssba_format_number($int_reddit_share_count) : '0';
1203
+ }
1204
+
1205
+ /**
1206
+ * Get linkedin button.
1207
+ *
1208
+ * @param array $arr_settings The current ssba settings.
1209
+ * @param string $url_current_page The current page url.
1210
+ * @param string $str_page_title The page title.
1211
+ * @param bool $boo_show_share_count Show share count or not.
1212
+ *
1213
+ * @return string
1214
+ */
1215
+ public function ssba_linkedin($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1216
+ {
1217
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1218
+ $network = 'Linkedin';
1219
+ $target =
1220
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1221
+ && 'Y' === $arr_settings['ssba_new_buttons']
1222
+ && ! isset($arr_settings['bar_call']
1223
+ ))
1224
+ ||
1225
+ ('Y' === $arr_settings['ssba_share_new_window']
1226
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1227
+ && ! isset($arr_settings['bar_call']
1228
+ ))
1229
+ ||
1230
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1231
+ && isset($arr_settings['bar_call']
1232
+ )) ? ' target="_blank" ' : '';
1233
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-linkedin ssbp-btn' : '';
1234
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1235
+ $html_share_buttons = '';
1236
+
1237
+ // Add li if plus.
1238
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1239
+ $html_share_buttons .= '<li class="ssbp-li--linkedin">';
1240
+ }
1241
+
1242
+ // Linkedin share link.
1243
+ $html_share_buttons .= '<a data-site="linkedin" class="ssba_linkedin_share ssba_share_link' . esc_attr($plus_class) . '" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
1244
+
1245
+ // If image set is not custom.
1246
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1247
+ // Show ssba image.
1248
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/linkedin.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="LinkedIn" class="ssba ssba-img" alt="Share on LinkedIn" />';
1249
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1250
+ // Show custom image.
1251
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_linkedin']) . '" alt="Share on LinkedIn" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="LinkedIn" class="ssba ssba-img" />';
1252
+ }
1253
+
1254
+ // Close href.
1255
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1256
+
1257
+ // Close href.
1258
+ $html_share_buttons .= '</a>';
1259
+
1260
+ // Add closing li if plus.
1261
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1262
+ $html_share_buttons .= '</li>';
1263
+ }
1264
+
1265
+ // Return share buttons.
1266
+ return $html_share_buttons;
1267
+ }
1268
+
1269
+ /**
1270
+ * Get linkedin share count. DEPRECATED
1271
+ *
1272
+ * @param string $url_current_page The current page url.
1273
+ *
1274
+ * @return int|string
1275
+ */
1276
+ public function get_linkedin_share_count($url_current_page)
1277
+ {
1278
+ // Get results from linkedin and return the number of shares.
1279
+ $html_linkedin_share_details = wp_safe_remote_get('http://www.linkedin.com/countserv/count/share?url=' . $url_current_page,
1280
+ array(
1281
+ 'timeout' => 6,
1282
+ ));
1283
+
1284
+ // If there was an error.
1285
+ if (is_wp_error($html_linkedin_share_details)) {
1286
+ return 0;
1287
+ }
1288
+
1289
+ // Extract/decode share count.
1290
+ $html_linkedin_share_details = str_replace('IN.Tags.Share.handleCount(', '', $html_linkedin_share_details);
1291
+ $html_linkedin_share_details = str_replace(');', '', $html_linkedin_share_details);
1292
+ $arr_linkedin_share_details = json_decode($html_linkedin_share_details['body'], true);
1293
+ $int_linkedin_share_count = $arr_linkedin_share_details['count'];
1294
+
1295
+ return $int_linkedin_share_count ? $this->ssba_format_number($int_linkedin_share_count) : '0';
1296
+ }
1297
+
1298
+ /**
1299
+ * Get pinterest button.
1300
+ *
1301
+ * @param array $arr_settings The current ssba settings.
1302
+ * @param string $url_current_page The current page url.
1303
+ * @param string $str_page_title The page title.
1304
+ * @param bool $boo_show_share_count Show share count or not.
1305
+ *
1306
+ * @return string
1307
+ */
1308
+ public function ssba_pinterest($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1309
+ {
1310
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1311
+ $network = 'Pinterest';
1312
+ $target =
1313
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1314
+ && 'Y' === $arr_settings['ssba_new_buttons']
1315
+ && ! isset($arr_settings['bar_call']
1316
+ ))
1317
+ ||
1318
+ ('Y' === $arr_settings['ssba_share_new_window']
1319
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1320
+ && ! isset($arr_settings['bar_call']
1321
+ ))
1322
+ ||
1323
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1324
+ && isset($arr_settings['bar_call']
1325
+ )) ? ' target="_blank" ' : '';
1326
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-pinterest ssbp-btn' : '';
1327
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1328
+ $html_share_buttons = '';
1329
+
1330
+ // Add li if plus.
1331
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1332
+ $html_share_buttons .= '<li class="ssbp-li--pinterest">';
1333
+ }
1334
+
1335
+ // If using featured images for Pinteres.
1336
+ if ('Y' === $arr_settings['ssba_pinterest_featured']) {
1337
+ // If this post has a featured image.
1338
+ if (has_post_thumbnail($arr_settings['post_id'])) {
1339
+ // Get the featured image.
1340
+ $url_post_thumb = wp_get_attachment_image_src(get_post_thumbnail_id($arr_settings['post_id']), 'full');
1341
+ $url_post_thumb = $url_post_thumb[0];
1342
+ } else { // No featured image set.
1343
+ // Use the pinterest default.
1344
+ $url_post_thumb = $arr_settings['ssba_default_pinterest'];
1345
+ }
1346
+
1347
+ // Pinterest share link.
1348
+ $html_share_buttons .= '<a data-site="pinterest-featured" href="http://pinterest.com/pin/create/bookmarklet/?is_video=false&url=' . esc_attr($url_current_page) . '&media=' . esc_attr($url_post_thumb) . '&description=' . esc_attr($str_page_title) . '" class="ssba_pinterest_share ssba_share_link' . esc_attr($plus_class) . '" ' . esc_attr($target . $nofollow) . '>';
1349
+ } else { // Not using featured images for pinterest.
1350
+ // Use the choice of pinnable images approach.
1351
+ $html_share_buttons .= "<a data-site='pinterest' class='ssba_pinterest_share" . esc_attr($plus_class) . "' href='javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;//assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());'>";
1352
+ }
1353
+
1354
+ // If image set is not custom.
1355
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1356
+ // Show ssba image.
1357
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/pinterest.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Pinterest" class="ssba ssba-img" alt="Pin on Pinterest" />';
1358
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1359
+ // Show custom image.
1360
+ $html_share_buttons .= '<img style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Pinterest" class="ssba ssba-img" src="' . esc_url($arr_settings['ssba_custom_pinterest']) . '" alt="Pin on Pinterest" />';
1361
+ }
1362
+
1363
+ // Close href.
1364
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1365
+
1366
+ // Close href.
1367
+ $html_share_buttons .= '</a>';
1368
+
1369
+ // If show share count is set to Y.
1370
+ if ((('Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'])
1371
+ ||
1372
+ ('Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'])
1373
+ ||
1374
+ ('Y' === $arr_settings['ssba_bar_show_share_count'] && isset($arr_settings['bar_call'])
1375
+ )
1376
+ && $boo_show_share_count
1377
+ )) {
1378
+ $html_share_buttons .= '<span class="' . esc_attr($count_class) . '">' . esc_html($this->get_pinterest_share_count($url_current_page)) . '</span>';
1379
+ }
1380
+
1381
+ // Add closing li if plus.
1382
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1383
+ $html_share_buttons .= '</li>';
1384
+ }
1385
+
1386
+ // Return share buttons.
1387
+ return $html_share_buttons;
1388
+ }
1389
+
1390
+ /**
1391
+ * Get pinterest share count.
1392
+ *
1393
+ * @param string $url_current_page The current page url.
1394
+ *
1395
+ * @return int|string
1396
+ */
1397
+ public function get_pinterest_share_count($url_current_page)
1398
+ {
1399
+ // Get results from pinterest.
1400
+ $html_pinterest_share_details = wp_safe_remote_get('http://api.pinterest.com/v1/urls/count.json?url=' . $url_current_page,
1401
+ array(
1402
+ 'timeout' => 6,
1403
+ ));
1404
+
1405
+ // Check there was an error.
1406
+ if (is_wp_error($html_pinterest_share_details)) {
1407
+ return 0;
1408
+ }
1409
+
1410
+ // Decode data.
1411
+ $html_pinterest_share_details = str_replace('receiveCount(', '', $html_pinterest_share_details);
1412
+ $html_pinterest_share_details = str_replace(')', '', $html_pinterest_share_details);
1413
+ $arr_pinterest_share_details = json_decode($html_pinterest_share_details['body'], true);
1414
+ $int_pinterest_share_count = $arr_pinterest_share_details['count'];
1415
+
1416
+ return $int_pinterest_share_count ? $this->ssba_format_number($int_pinterest_share_count) : '0';
1417
+ }
1418
+
1419
+ /**
1420
+ * Get stumbleupon button.
1421
+ *
1422
+ * @param array $arr_settings The current ssba settings.
1423
+ * @param string $url_current_page The current page url.
1424
+ * @param string $str_page_title The page title.
1425
+ * @param bool $boo_show_share_count Show share count or not.
1426
+ *
1427
+ * @return string
1428
+ */
1429
+ public function ssba_stumbleupon($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1430
+ {
1431
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1432
+ $network = 'StumbleUpon';
1433
+ $target =
1434
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1435
+ && 'Y' === $arr_settings['ssba_new_buttons']
1436
+ && ! isset($arr_settings['bar_call']
1437
+ ))
1438
+ ||
1439
+ ('Y' === $arr_settings['ssba_share_new_window']
1440
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1441
+ && ! isset($arr_settings['bar_call']
1442
+ ))
1443
+ ||
1444
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1445
+ && isset($arr_settings['bar_call']
1446
+ )) ? ' target="_blank" ' : '';
1447
+ $url = 'http://www.stumbleupon.com/submit?url=' . esc_attr($url_current_page) . '&amp;title=' . esc_attr($str_page_title);
1448
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-stumbleupon ssbp-btn' : '';
1449
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1450
+ $html_share_buttons = '';
1451
+
1452
+ // Add li if plus.
1453
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1454
+ $html_share_buttons .= '<li class="ssbp-li--stumbleupon">';
1455
+ }
1456
+
1457
+ // Stumbleupon share link.
1458
+ $html_share_buttons .= '<a data-site="stumbleupon" class="ssba_stumbleupon_share ssba_share_link' . esc_attr($plus_class) . '" href="' . esc_url($url) . '" ' . esc_attr($target . $nofollow) . '>';
1459
+
1460
+ // If image set is not custom.
1461
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1462
+ // Show ssba image.
1463
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/stumbleupon.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="StumbleUpon" class="ssba ssba-img" alt="Share on StumbleUpon" />';
1464
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1465
+ // Show custom image.
1466
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_stumbleupon']) . '" alt="Share on StumbleUpon" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="StumbleUpon" class="ssba ssba-img" />';
1467
+ }
1468
+
1469
+ // Close href.
1470
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1471
+
1472
+ // Close href.
1473
+ $html_share_buttons .= '</a>';
1474
+
1475
+ // If show share count is set to Y.
1476
+ if ((('Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'])
1477
+ ||
1478
+ ('Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'])
1479
+ ||
1480
+ ('Y' === $arr_settings['ssba_bar_show_share_count'] && isset($arr_settings['bar_call'])
1481
+ )
1482
+ && $boo_show_share_count
1483
+ )) {
1484
+ $html_share_buttons .= '<span class="' . esc_attr($count_class) . '">' . esc_html($this->get_stumble_upon_share_count($url_current_page)) . '</span>';
1485
+ }
1486
+
1487
+ // Add closing li if plus.
1488
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1489
+ $html_share_buttons .= '</li>';
1490
+ }
1491
+
1492
+ // Return share buttons.
1493
+ return $html_share_buttons;
1494
+ }
1495
+
1496
+ /**
1497
+ * Get stumbleupon share count.
1498
+ *
1499
+ * @param string $url_current_page The current url.
1500
+ *
1501
+ * @return int|string
1502
+ */
1503
+ public function get_stumble_upon_share_count($url_current_page)
1504
+ {
1505
+ // Get results from stumbleupon and return the number of shares.
1506
+ $html_stumble_upon_share_details = wp_safe_remote_get('http://www.stumbleupon.com/services/1.01/badge.getinfo?url=' . $url_current_page,
1507
+ array(
1508
+ 'timeout' => 6,
1509
+ ));
1510
+
1511
+ // Check there was an error.
1512
+ if (is_wp_error($html_stumble_upon_share_details)) {
1513
+ return 0;
1514
+ }
1515
+
1516
+ // Decode data.
1517
+ $arr_stumble_upon_result = json_decode($html_stumble_upon_share_details['body'], true);
1518
+ $int_stumble_upon_share_count = isset($arr_stumble_upon_result['result']['views']) ? $arr_stumble_upon_result['result']['views'] : 0;
1519
+
1520
+ return $int_stumble_upon_share_count ? $this->ssba_format_number($int_stumble_upon_share_count) : '0';
1521
+ }
1522
+
1523
+ /**
1524
+ * Get email button.
1525
+ *
1526
+ * @param array $arr_settings The current ssba settings.
1527
+ * @param string $url_current_page The current page url.
1528
+ * @param string $str_page_title The page title.
1529
+ * @param bool $boo_show_share_count Show share count or not.
1530
+ *
1531
+ * @return string
1532
+ */
1533
+ public function ssba_email($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1534
+ {
1535
+ // Replace ampersands as needed for email link.
1536
+ $email_title = str_replace('&', '%26', $str_page_title);
1537
+ $network = 'email';
1538
+ $url = 'mailto:?subject=' . $email_title . '&amp;body=' . $arr_settings['ssba_email_message'] . ' ' . $url_current_page;
1539
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-email ssbp-btn' : '';
1540
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1541
+ $html_share_buttons = '';
1542
+
1543
+ // Add li if plus.
1544
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1545
+ $html_share_buttons .= '<li class="ssbp-li--email">';
1546
+ }
1547
+
1548
+ $url = 'Y' === $arr_settings['ssba_new_buttons'] ? 'mailto:?subject=' . $email_title . '&amp;body=' . $arr_settings['ssba_plus_email_message'] . ' ' . $url_current_page : $url;
1549
+ $url = isset($arr_settings['bar_call']) ? 'mailto:?subject=' . $email_title . '&amp;body=' . $arr_settings['ssba_bar_email_message'] . ' ' . $url_current_page : $url;
1550
+
1551
+
1552
+ // Email share link.
1553
+ $html_share_buttons .= '<a data-site="email" class="ssba_email_share' . esc_attr($plus_class) . '" href="' . esc_url($url) . '">';
1554
+
1555
+ // If image set is not custom.
1556
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1557
+ // Show ssba image.
1558
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/email.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Email" class="ssba ssba-img" alt="Email this to someone" />';
1559
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1560
+ // Show custom image.
1561
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_email']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Email" class="ssba ssba-img" alt="Email to someone" />';
1562
+ }
1563
+
1564
+ // Close href.
1565
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1566
+
1567
+ // Close href.
1568
+ $html_share_buttons .= '</a>';
1569
+
1570
+ // Add closing li if plus.
1571
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1572
+ $html_share_buttons .= '</li>';
1573
+ }
1574
+
1575
+ // Return share buttons.
1576
+ return $html_share_buttons;
1577
+ }
1578
+
1579
+ /**
1580
+ * Get flattr button.
1581
+ *
1582
+ * @param array $arr_settings The current ssba settings.
1583
+ * @param string $url_current_page The current page url.
1584
+ * @param string $str_page_title The page title.
1585
+ * @param bool $boo_show_share_count Show share count or not.
1586
+ *
1587
+ * @return string
1588
+ */
1589
+ public function ssba_flattr($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1590
+ {
1591
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1592
+ $network = 'Flattr';
1593
+ $target =
1594
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1595
+ && 'Y' === $arr_settings['ssba_new_buttons']
1596
+ && ! isset($arr_settings['bar_call']
1597
+ ))
1598
+ ||
1599
+ ('Y' === $arr_settings['ssba_share_new_window']
1600
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1601
+ && ! isset($arr_settings['bar_call']
1602
+ ))
1603
+ ||
1604
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1605
+ && isset($arr_settings['bar_call']
1606
+ )) ? ' target="_blank" ' : '';
1607
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-flattr ssbp-btn' : '';
1608
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1609
+ $html_share_buttons = '';
1610
+ $userid = ! empty($arr_settings['ssba_flattr_user_id']) ? $arr_settings['ssba_flattr_user_id'] : '';
1611
+
1612
+ // Add li if plus.
1613
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1614
+ $html_share_buttons .= '<li class="ssbp-li--flattr">';
1615
+ }
1616
+
1617
+ // Check for dedicated flattr URL.
1618
+ if ('' !== $arr_settings['ssba_flattr_url']) {
1619
+ // Update url that will be set to specified URL.
1620
+ $url_current_page = $arr_settings['ssba_flattr_url'];
1621
+ }
1622
+
1623
+ if ('Y' === $arr_settings['ssba_new_buttons']) {
1624
+ $userid = ! empty($arr_settings['ssba_plus_flattr_user_id']) ? $arr_settings['ssba_plus_flattr_user_id'] : $userid;
1625
+ $url_current_page = ! empty($arr_settings['ssba_plus_flattr_url']) ? $arr_settings['ssba_plus_flattr_url'] : $url_current_page;
1626
+ }
1627
+
1628
+ if (isset($arr_settings['bar_call'])) {
1629
+ $userid = ! empty($arr_settings['ssba_bar_flattr_user_id']) ? $arr_settings['ssba_bar_flattr_user_id'] : $userid;
1630
+ $url_current_page = ! empty($arr_settings['ssba_bar_flattr_url']) ? $arr_settings['ssba_bar_flattr_url'] : $url_current_page;
1631
+ }
1632
+
1633
+ // Flattr share link.
1634
+ $html_share_buttons .= '<a data-site="flattr" class="ssba_flattr_share' . esc_attr($plus_class) . '" href="https://flattr.com/submit/auto?user_id=' . esc_attr($userid) . '&amp;title=' . esc_attr($str_page_title) . '&amp;url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
1635
+
1636
+ // If image set is not custom.
1637
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1638
+ // Show ssba image.
1639
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/flattr.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Flattr" class="ssba ssba-img" alt="Flattr the author" />';
1640
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1641
+ // Show custom image.
1642
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_flattr']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Flattr" class="ssba ssba-img" alt="Flattr the author" />';
1643
+ }
1644
+
1645
+ // Close href.
1646
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1647
+
1648
+ // Close href.
1649
+ $html_share_buttons .= '</a>';
1650
+
1651
+ // Add closing li if plus.
1652
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1653
+ $html_share_buttons .= '</li>';
1654
+ }
1655
+
1656
+ // Return share buttons.
1657
+ return $html_share_buttons;
1658
+ }
1659
+
1660
+ /**
1661
+ * Get buffer button.
1662
+ *
1663
+ * @param array $arr_settings The current ssba settings.
1664
+ * @param string $url_current_page The current page url.
1665
+ * @param string $str_page_title The page title.
1666
+ * @param bool $boo_show_share_count Show share count or not.
1667
+ *
1668
+ * @return string
1669
+ */
1670
+ public function ssba_buffer($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1671
+ {
1672
+ $buffer = '' !== $arr_settings['ssba_buffer_text'] ? $arr_settings['ssba_buffer_text'] : '';
1673
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1674
+ $network = 'Buffer';
1675
+ $target =
1676
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1677
+ && 'Y' === $arr_settings['ssba_new_buttons']
1678
+ && ! isset($arr_settings['bar_call']
1679
+ ))
1680
+ ||
1681
+ ('Y' === $arr_settings['ssba_share_new_window']
1682
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1683
+ && ! isset($arr_settings['bar_call']
1684
+ ))
1685
+ ||
1686
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1687
+ && isset($arr_settings['bar_call']
1688
+ )) ? ' target="_blank" ' : '';
1689
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-buffer ssbp-btn' : '';
1690
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1691
+ $html_share_buttons = '';
1692
+
1693
+ // Add li if plus.
1694
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1695
+ $html_share_buttons .= '<li class="ssbp-li--buffer">';
1696
+ }
1697
+
1698
+ // Buffer share link.
1699
+ $html_share_buttons .= '<a data-site="buffer" class="ssba_buffer_share' . esc_attr($plus_class) . '" href="https://bufferapp.com/add?url=' . esc_attr($url_current_page) . '&amp;text=' . esc_attr($buffer) . ' ' . esc_attr($str_page_title) . '" ' . esc_attr($target . $nofollow) . '>';
1700
+
1701
+ // If image set is not custom.
1702
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1703
+ // Show ssba image.
1704
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/buffer.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Buffer" class="ssba ssba-img" alt="Buffer this page" />';
1705
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1706
+ // Show custom image.
1707
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_buffer']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Buffer" class="ssba ssba-img" alt="Buffer this page" />';
1708
+ }
1709
+
1710
+ // Close href.
1711
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1712
+
1713
+ // Close href.
1714
+ $html_share_buttons .= '</a>';
1715
+
1716
+ // Add closing li if plus.
1717
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1718
+ $html_share_buttons .= '</li>';
1719
+ }
1720
+
1721
+ // Return share buttons.
1722
+ return $html_share_buttons;
1723
+ }
1724
+
1725
+ /**
1726
+ * Get tumblr button.
1727
+ *
1728
+ * @param array $arr_settings The current ssba settings.
1729
+ * @param string $url_current_page The current page url.
1730
+ * @param string $str_page_title The page title.
1731
+ * @param bool $boo_show_share_count Show share count or not.
1732
+ *
1733
+ * @return string
1734
+ */
1735
+ public function ssba_tumblr($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1736
+ {
1737
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1738
+ $network = 'Tumblr';
1739
+ $target =
1740
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1741
+ && 'Y' === $arr_settings['ssba_new_buttons']
1742
+ && ! isset($arr_settings['bar_call']
1743
+ ))
1744
+ ||
1745
+ ('Y' === $arr_settings['ssba_share_new_window']
1746
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1747
+ && ! isset($arr_settings['bar_call']
1748
+ ))
1749
+ ||
1750
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1751
+ && isset($arr_settings['bar_call']
1752
+ )) ? ' target="_blank" ' : '';
1753
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-tumblr ssbp-btn' : '';
1754
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1755
+ $html_share_buttons = '';
1756
+
1757
+ // Add li if plus.
1758
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1759
+ $html_share_buttons .= '<li class="ssbp-li--tumblr">';
1760
+ }
1761
+
1762
+ // Tumblr share link.
1763
+ $html_share_buttons .= '<a data-site="tumblr" class="ssba_tumblr_share' . esc_attr($plus_class) . '" href="http://www.tumblr.com/share/link?url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
1764
+
1765
+ // If image set is not custom.
1766
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1767
+ // Show ssba image.
1768
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/tumblr.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="tumblr" class="ssba ssba-img" alt="Share on Tumblr" />';
1769
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1770
+ // Show custom image.
1771
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_tumblr']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="tumblr" class="ssba ssba-img" alt="share on Tumblr" />';
1772
+ }
1773
+
1774
+ // Close href.
1775
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1776
+
1777
+ // Close href.
1778
+ $html_share_buttons .= '</a>';
1779
+
1780
+ // If show share count is set to Y.
1781
+ if ((('Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'])
1782
+ ||
1783
+ ('Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'])
1784
+ ||
1785
+ ('Y' === $arr_settings['ssba_bar_show_share_count'] && isset($arr_settings['bar_call'])
1786
+ )
1787
+ && $boo_show_share_count
1788
+ )) {
1789
+ $html_share_buttons .= '<span class="' . $count_class . '">' . esc_html($this->get_tumblr_share_count($url_current_page)) . '</span>';
1790
+ }
1791
+
1792
+ // Add closing li if plus.
1793
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1794
+ $html_share_buttons .= '</li>';
1795
+ }
1796
+
1797
+ // Return share buttons.
1798
+ return $html_share_buttons;
1799
+ }
1800
+
1801
+ /**
1802
+ * Get tumblr share count.
1803
+ *
1804
+ * @param string $url_current_page The current url.
1805
+ *
1806
+ * @return int|string
1807
+ */
1808
+ public function get_tumblr_share_count($url_current_page)
1809
+ {
1810
+ // Get results from tumblr and return the number of shares.
1811
+ $result = wp_safe_remote_get('http://api.tumblr.com/v2/share/stats?url=' . $url_current_page, array(
1812
+ 'timeout' => 6,
1813
+ ));
1814
+
1815
+ // Check there was an error.
1816
+ if (is_wp_error($result)) {
1817
+ return 0;
1818
+ }
1819
+
1820
+ // Decode data.
1821
+ $array = json_decode($result['body'], true);
1822
+ $count = isset($array['response']['note_count']) ? $array['response']['note_count'] : 0;
1823
+
1824
+ return ($count) ? $count : '0';
1825
+ }
1826
+
1827
+ /**
1828
+ * Get print button.
1829
+ *
1830
+ * @param array $arr_settings The current ssba settings.
1831
+ * @param string $url_current_page The current page url.
1832
+ * @param string $str_page_title The page title.
1833
+ * @param bool $boo_show_share_count Show share count or not.
1834
+ *
1835
+ * @return string
1836
+ */
1837
+ public function ssba_print($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1838
+ {
1839
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-print ssbp-btn' : '';
1840
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1841
+ $network = 'Print';
1842
+ $html_share_buttons = '';
1843
+
1844
+ // Add li if plus.
1845
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1846
+ $html_share_buttons .= '<li class="ssbp-li--print">';
1847
+ }
1848
+
1849
+ $html_share_buttons .= '<a data-site="print" class="ssba_print ssba_share_link ' . esc_attr($plus_class) . '" href="#" onclick="window.print()">';
1850
+
1851
+ // If image set is not custom.
1852
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1853
+ // Show ssba image.
1854
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/print.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Print" class="ssba ssba-img" alt="Print this page" />';
1855
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1856
+ // Show custom image.
1857
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_print']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Print" class="ssba ssba-img" alt="Print this page" />';
1858
+ }
1859
+
1860
+ // Close href.
1861
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1862
+
1863
+ // Close href.
1864
+ $html_share_buttons .= '</a>';
1865
+
1866
+ // Add closing li if plus.
1867
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1868
+ $html_share_buttons .= '</li>';
1869
+ }
1870
+
1871
+ // Return share buttons.
1872
+ return $html_share_buttons;
1873
+ }
1874
+
1875
+ /**
1876
+ * Get vk button.
1877
+ *
1878
+ * @param array $arr_settings The current ssba settings.
1879
+ * @param string $url_current_page The current page url.
1880
+ * @param string $str_page_title The page title.
1881
+ * @param bool $boo_show_share_count Show share count or not.
1882
+ *
1883
+ * @return string
1884
+ */
1885
+ public function ssba_vk($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1886
+ {
1887
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1888
+ $network = 'VK';
1889
+ $target =
1890
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1891
+ && 'Y' === $arr_settings['ssba_new_buttons']
1892
+ && ! isset($arr_settings['bar_call']
1893
+ ))
1894
+ ||
1895
+ ('Y' === $arr_settings['ssba_share_new_window']
1896
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1897
+ && ! isset($arr_settings['bar_call']
1898
+ ))
1899
+ ||
1900
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1901
+ && isset($arr_settings['bar_call']
1902
+ )) ? ' target="_blank" ' : '';
1903
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-vk ssbp-btn' : '';
1904
+ $html_share_buttons = '';
1905
+
1906
+ // Add li if plus.
1907
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1908
+ $html_share_buttons .= '<li class="ssbp-li--vk">';
1909
+ }
1910
+
1911
+ // Vk share link.
1912
+ $html_share_buttons .= '<a data-site="vk" class="ssba_vk_share ssba_share_link' . esc_attr($plus_class) . '" href="http://vkontakte.ru/share.php?url=' . esc_attr($url_current_page) . '" ' . esc_attr($target . $nofollow) . '>';
1913
+
1914
+ // If image set is not custom.
1915
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1916
+ // Show ssba image.
1917
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/vk.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="VK" class="ssba ssba-img" alt="Share on VK" />';
1918
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1919
+ // Show custom image.
1920
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_vk']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="VK" class="ssba ssba-img" alt="Share on VK" />';
1921
+ }
1922
+
1923
+ // Close href.
1924
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1925
+
1926
+ // Close href.
1927
+ $html_share_buttons .= '</a>';
1928
+
1929
+ // Add closing li if plus.
1930
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1931
+ $html_share_buttons .= '</li>';
1932
+ }
1933
+
1934
+ // Return share buttons.
1935
+ return $html_share_buttons;
1936
+ }
1937
+
1938
+ /**
1939
+ * Get yummly button.
1940
+ *
1941
+ * @param array $arr_settings The current ssba settings.
1942
+ * @param string $url_current_page The current page url.
1943
+ * @param string $str_page_title The page title.
1944
+ * @param bool $boo_show_share_count Show share count or not.
1945
+ *
1946
+ * @return string
1947
+ */
1948
+ public function ssba_yummly($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
1949
+ {
1950
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
1951
+ $network = 'Yummly';
1952
+ $target =
1953
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
1954
+ && 'Y' === $arr_settings['ssba_new_buttons']
1955
+ && ! isset($arr_settings['bar_call']
1956
+ ))
1957
+ ||
1958
+ ('Y' === $arr_settings['ssba_share_new_window']
1959
+ && 'Y' !== $arr_settings['ssba_new_buttons']
1960
+ && ! isset($arr_settings['bar_call']
1961
+ ))
1962
+ ||
1963
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
1964
+ && isset($arr_settings['bar_call']
1965
+ )) ? ' target="_blank" ' : '';
1966
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-yummly ssbp-btn' : '';
1967
+ $count_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-each-share' : ' ssba_sharecount';
1968
+ $html_share_buttons = '';
1969
+
1970
+ // Add li if plus.
1971
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
1972
+ $html_share_buttons .= '<li class="ssbp-li--yummly">';
1973
+ }
1974
+
1975
+ // Yummly share link.
1976
+ $html_share_buttons .= '<a data-site="yummly" class="ssba_yummly_share ssba_share_link' . esc_attr($plus_class) . '" href="http://www.yummly.com/urb/verify?url=' . esc_attr($url_current_page) . '&title=' . esc_attr(rawurlencode(html_entity_decode($str_page_title))) . '" ' . esc_attr($target . $nofollow) . '>';
1977
+
1978
+ // If image set is not custom.
1979
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
1980
+ // Show ssba image.
1981
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/yummly.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Yummly" class="ssba ssba-img" alt="Share on Yummly" />';
1982
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
1983
+ // Show custom image.
1984
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_yummly']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Yummly" class="ssba ssba-img" alt="Share on Yummly" />';
1985
+ }
1986
+
1987
+ // Close href.
1988
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
1989
+
1990
+ // Close href.
1991
+ $html_share_buttons .= '</a>';
1992
+
1993
+ // If show share count is set to Y.
1994
+ if ((('Y' === $arr_settings['ssba_show_share_count'] && 'Y' !== $arr_settings['ssba_new_buttons'])
1995
+ ||
1996
+ ('Y' === $arr_settings['ssba_plus_show_share_count'] && 'Y' === $arr_settings['ssba_new_buttons'])
1997
+ ||
1998
+ ('Y' === $arr_settings['ssba_bar_show_share_count'] && isset($arr_settings['bar_call'])
1999
+ )
2000
+ && $boo_show_share_count
2001
+ )) {
2002
+ $html_share_buttons .= '<span class="' . esc_attr($count_class) . '">' . esc_html($this->get_yummly_share_count($url_current_page)) . '</span>';
2003
+ }
2004
+
2005
+ // Add closing li if plus.
2006
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
2007
+ $html_share_buttons .= '</li>';
2008
+ }
2009
+
2010
+ // Return share buttons.
2011
+ return $html_share_buttons;
2012
+ }
2013
+
2014
+ /**
2015
+ * Get yummly share count.
2016
+ *
2017
+ * @param string $url_current_page the current page url.
2018
+ *
2019
+ * @return int|string
2020
+ */
2021
+ public function get_yummly_share_count($url_current_page)
2022
+ {
2023
+ // Get results from yummly and return the number of shares.
2024
+ $result = wp_safe_remote_get('http://www.yummly.com/services/yum-count?url=' . $url_current_page, array(
2025
+ 'timeout' => 6,
2026
+ ));
2027
+
2028
+ // Check there was an error.
2029
+ if (is_wp_error($result)) {
2030
+ return 0;
2031
+ }
2032
+
2033
+ // Decode data.
2034
+ $array = json_decode($result['body'], true);
2035
+ $count = isset($array['count']) ? $array['count'] : '0';
2036
+
2037
+ // Return.
2038
+ return $count;
2039
+ }
2040
+
2041
+ /**
2042
+ * Get whatsapp button.
2043
+ *
2044
+ * @param array $arr_settings The current ssba settings.
2045
+ * @param string $url_current_page The current page url.
2046
+ * @param string $str_page_title The page title.
2047
+ * @param bool $boo_show_share_count Show share count or not.
2048
+ *
2049
+ * @return string
2050
+ */
2051
+ public function ssba_whatsapp($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
2052
+ {
2053
+ if ( ! wp_is_mobile()) {
2054
+ return;
2055
+ }
2056
+
2057
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
2058
+ $network = 'Whatsapp';
2059
+ $target =
2060
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
2061
+ && 'Y' === $arr_settings['ssba_new_buttons']
2062
+ && ! isset($arr_settings['bar_call']
2063
+ ))
2064
+ ||
2065
+ ('Y' === $arr_settings['ssba_share_new_window']
2066
+ && 'Y' !== $arr_settings['ssba_new_buttons']
2067
+ && ! isset($arr_settings['bar_call']
2068
+ ))
2069
+ ||
2070
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
2071
+ && isset($arr_settings['bar_call']
2072
+ )) ? ' target="_blank" ' : '';
2073
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-whatsapp ssbp-btn' : '';
2074
+ $html_share_buttons = '';
2075
+
2076
+ // Add li if plus.
2077
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
2078
+ $html_share_buttons .= '<li class="ssbp-li--whatsapp">';
2079
+ }
2080
+
2081
+ // Whatsapp share link.
2082
+ $html_share_buttons .= '<a data-site="whatsapp" class="ssba_whatsapp_share ssba_share_link' . esc_attr($plus_class) . '" href="whatsapp://send?text=' . rawurlencode($url_current_page . ' ' . $str_page_title) . '" ' . esc_attr($target . $nofollow) . '>';
2083
+
2084
+ // If image set is not custom.
2085
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
2086
+ // Show ssba image.
2087
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/whatsapp.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Whatsapp" class="ssba ssba-img" alt="Share on Whatsapp" />';
2088
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
2089
+ // Show custom image.
2090
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_whatsapp']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Whatsapp" class="ssba ssba-img" alt="Share on Whatsapp" />';
2091
+ }
2092
+
2093
+ // Close href.
2094
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
2095
+
2096
+ // Close href.
2097
+ $html_share_buttons .= '</a>';
2098
+
2099
+ // Add closing li if plus.
2100
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
2101
+ $html_share_buttons .= '</li>';
2102
+ }
2103
+
2104
+ // Return share buttons.
2105
+ return $html_share_buttons;
2106
+ }
2107
+
2108
+ /**
2109
+ * Get xing button.
2110
+ *
2111
+ * @param array $arr_settings The current ssba settings.
2112
+ * @param string $url_current_page The current page url.
2113
+ * @param string $str_page_title The page title.
2114
+ * @param bool $boo_show_share_count Show share count or not.
2115
+ *
2116
+ * @return string
2117
+ */
2118
+ public function ssba_xing($arr_settings, $url_current_page, $str_page_title, $boo_show_share_count)
2119
+ {
2120
+ $nofollow = 'Y' === $arr_settings['ssba_rel_nofollow'] ? ' rel="nofollow"' : '';
2121
+ $network = 'Xing';
2122
+ $target =
2123
+ ('Y' === $arr_settings['ssba_plus_share_new_window']
2124
+ && 'Y' === $arr_settings['ssba_new_buttons']
2125
+ && ! isset($arr_settings['bar_call']
2126
+ ))
2127
+ ||
2128
+ ('Y' === $arr_settings['ssba_share_new_window']
2129
+ && 'Y' !== $arr_settings['ssba_new_buttons']
2130
+ && ! isset($arr_settings['bar_call']
2131
+ ))
2132
+ ||
2133
+ ('Y' === $arr_settings['ssba_bar_share_new_window']
2134
+ && isset($arr_settings['bar_call']
2135
+ )) ? ' target="_blank" ' : '';
2136
+ $plus_class = 'Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call']) ? ' ssbp-xing ssbp-btn' : '';
2137
+ $html_share_buttons = '';
2138
+
2139
+ // Add li if plus.
2140
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
2141
+ $html_share_buttons .= '<li class="ssbp-li--xing">';
2142
+ }
2143
+
2144
+ // Xing share link.
2145
+ $html_share_buttons .= '<a data-site="xing" class="ssba_xing_share ssba_share_link' . esc_attr($plus_class) . '" href="https://www.xing.com/spi/shares/new?url=' . $url_current_page . '" ' . esc_attr($target . $nofollow) . '>';
2146
+
2147
+ // If image set is not custom.
2148
+ if ('custom' !== $arr_settings['ssba_image_set'] && 'Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) {
2149
+ // Show ssba image.
2150
+ $html_share_buttons .= '<img src="' . plugins_url() . '/simple-share-buttons-adder/buttons/' . esc_attr($arr_settings['ssba_image_set']) . '/xing.png" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Xing" class="ssba ssba-img" alt="Share on Xing" />';
2151
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons'] && ! isset($arr_settings['bar_call'])) { // If using custom images.
2152
+ // Show custom image.
2153
+ $html_share_buttons .= '<img src="' . esc_url($arr_settings['ssba_custom_xing']) . '" style="width: ' . esc_html($arr_settings['ssba_size']) . 'px;" title="Xing" class="ssba ssba-img" alt="Share on Xing" />';
2154
+ }
2155
+
2156
+ // Close href.
2157
+ $html_share_buttons .= '<div title="' . $network . '" class="ssbp-text">' . $network . '</div>';
2158
+
2159
+ // Close href.
2160
+ $html_share_buttons .= '</a>';
2161
+
2162
+ // Add closing li if plus.
2163
+ if ('Y' === $arr_settings['ssba_new_buttons'] || isset($arr_settings['bar_call'])) {
2164
+ $html_share_buttons .= '</li>';
2165
+ }
2166
+
2167
+ // Return share buttons.
2168
+ return $html_share_buttons;
2169
+ }
2170
  }
php/class-database.php CHANGED
@@ -12,660 +12,687 @@ namespace SimpleShareButtonsAdder;
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
- class Database {
16
-
17
- /**
18
- * Plugin instance.
19
- *
20
- * @var object
21
- */
22
- public $plugin;
23
-
24
- /**
25
- * Simple Share Buttons Adder instance.
26
- *
27
- * @var object
28
- */
29
- public $class_ssba;
30
-
31
- /**
32
- * Class constructor.
33
- *
34
- * @param object $plugin Plugin class.
35
- * @param object $class_ssba Simple Share Buttons Adder class.
36
- */
37
- public function __construct( $plugin, $class_ssba ) {
38
- $this->plugin = $plugin;
39
- $this->class_ssba = $class_ssba;
40
-
41
- // Run the activation function upon activation of the plugin.
42
- register_activation_hook( $this->plugin->dir_path . '/simple-share-buttons-adder.php', array( $this, 'activate' ) );
43
-
44
- // Register deactivation hook.
45
- register_deactivation_hook( $this->plugin->dir_path . '/simple-share-buttons-adder.php', array( $this, 'deactivate' ) );
46
- }
47
-
48
- /**
49
- * Add any settings default if it doesn't exist already.
50
- *
51
- * @param bool $return_array Whether to return the default setting array or not.
52
- * @action admin_init
53
- */
54
- public function get_setting_array( $return_array = false ) {
55
- // Array ready with defaults.
56
- $ssba_settings = array(
57
- 'ssba_omit_pages' => '',
58
- 'ssba_omit_pages_plus' => '',
59
- 'ssba_omit_pages_bar' => '',
60
- 'ssba_image_set' => 'somacro',
61
- 'ssba_size' => '35',
62
- 'ssba_pages' => '',
63
- 'ssba_posts' => '',
64
- 'ssba_cats_archs' => '',
65
- 'ssba_homepage' => '',
66
- 'ssba_excerpts' => '',
67
- 'ssba_plus_pages' => '',
68
- 'ssba_plus_posts' => '',
69
- 'ssba_plus_cats_archs' => '',
70
- 'ssba_plus_homepage' => '',
71
- 'ssba_plus_excerpts' => '',
72
- 'ssba_bar_pages' => '',
73
- 'ssba_bar_posts' => '',
74
- 'ssba_bar_cats_archs' => '',
75
- 'ssba_bar_homepage' => '',
76
- 'ssba_bar_excerpts' => '',
77
- 'ssba_align' => 'left',
78
- 'ssba_plus_align' => 'left',
79
- 'ssba_bar_align' => 'left',
80
- 'ssba_padding' => '6',
81
- 'ssba_before_or_after' => 'after',
82
- 'ssba_before_or_after_plus' => 'after',
83
- 'ssba_additional_css' => '',
84
- 'ssba_custom_styles' => '',
85
- 'ssba_custom_styles_enabled' => '',
86
- 'ssba_plus_additional_css' => '',
87
- 'ssba_plus_custom_styles' => '',
88
- 'ssba_plus_custom_styles_enabled' => '',
89
- 'ssba_bar_additional_css' => '',
90
- 'ssba_bar_custom_styles' => '',
91
- 'ssba_bar_custom_styles_enabled' => '',
92
- 'ssba_email_message' => '',
93
- 'ssba_twitter_text' => '',
94
- 'ssba_buffer_text' => '',
95
- 'ssba_flattr_user_id' => '',
96
- 'ssba_flattr_url' => '',
97
- 'ssba_bar_share_new_window' => 'Y',
98
- 'ssba_share_new_window' => 'Y',
99
- 'ssba_plus_share_new_window' => 'Y',
100
- 'ssba_link_to_ssb' => 'N',
101
- 'ssba_show_share_count' => '',
102
- 'ssba_plus_show_share_count' => '',
103
- 'ssba_bar_show_share_count' => '',
104
- 'ssba_share_count_style' => 'default',
105
- 'ssba_share_count_css' => '',
106
- 'ssba_share_count_once' => 'Y',
107
- 'ssba_plus_share_count_style' => 'default',
108
- 'ssba_plus_share_count_css' => '',
109
- 'ssba_plus_share_count_once' => 'Y',
110
- 'ssba_bar_share_count_style' => 'default',
111
- 'ssba_bar_share_count_css' => '',
112
- 'ssba_bar_share_count_once' => 'Y',
113
- 'ssba_widget_text' => '',
114
- 'ssba_rel_nofollow' => '',
115
- 'ssba_default_pinterest' => '',
116
- 'ssba_pinterest_featured' => '',
117
- 'ssba_plus_widget_text' => '',
118
- 'ssba_plus_rel_nofollow' => '',
119
- 'ssba_plus_default_pinterest' => '',
120
- 'ssba_plus_pinterest_featured' => '',
121
- 'ssba_bar_widget_text' => '',
122
- 'ssba_bar_rel_nofollow' => '',
123
- 'ssba_bar_default_pinterest' => '',
124
- 'ssba_bar_pinterest_featured' => '',
125
- 'ssba_content_priority' => '10',
126
-
127
- // Share container.
128
- 'ssba_div_padding' => '',
129
- 'ssba_div_rounded_corners' => '',
130
- 'ssba_border_width' => '',
131
- 'ssba_div_border' => '',
132
- 'ssba_div_background' => '',
133
-
134
- // Share text.
135
- 'ssba_share_text' => esc_html__( 'Share this...', 'simple-share-buttons-adder' ),
136
- 'ssba_text_placement' => 'above',
137
- 'ssba_font_family' => '',
138
- 'ssba_font_color' => '',
139
- 'ssba_font_size' => '12',
140
- 'ssba_font_weight' => '',
141
- 'ssba_plus_share_text' => esc_html__( 'Share this...', 'simple-share-buttons-adder' ),
142
- 'ssba_plus_text_placement' => 'above',
143
- 'ssba_plus_font_family' => '',
144
- 'ssba_plus_font_color' => '',
145
- 'ssba_plus_font_size' => '12',
146
- 'ssba_plus_font_weight' => '',
147
-
148
- // Include.
149
- 'ssba_selected_buttons' => 'facebook,pinterest,twitter,linkedin',
150
- 'ssba_selected_bar_buttons' => 'facebook,pinterest,twitter,linkedin',
151
- 'ssba_selected_plus_buttons' => 'facebook,pinterest,twitter,linkedin',
152
- 'ssba_plus_button_style' => 1,
153
- 'ssba_bar_style' => 1,
154
- 'ssba_new_buttons' => '',
155
- 'ssba_bar_enabled' => '',
156
- 'ssba_bar_position' => 'left',
157
- 'ssba_plus_height' => '48',
158
- 'ssba_plus_width' => '48',
159
- 'ssba_plus_margin' => '12',
160
- 'ssba_plus_button_color' => '',
161
- 'ssba_plus_button_hover_color' => '',
162
- 'ssba_plus_icon_size' => '',
163
- 'ssba_plus_icon_color' => '',
164
- 'ssba_plus_icon_hover_color' => '',
165
- 'ssba_bar_height' => '48',
166
- 'ssba_bar_width' => '48',
167
- 'ssba_bar_margin' => '0',
168
- 'ssba_bar_icon_size' => '',
169
- 'ssba_bar_button_color' => '',
170
- 'ssba_bar_button_hover_color' => '',
171
- 'ssba_bar_icon_color' => '',
172
- 'ssba_bar_icon_hover_color' => '',
173
- 'ssba_bar_desktop' => 'Y',
174
- 'ssba_bar_mobile' => 'Y',
175
- 'ssba_mobile_breakpoint' => '',
176
-
177
- // Custom images.
178
- 'ssba_custom_email' => '',
179
- 'ssba_custom_facebook' => '',
180
- 'ssba_custom_twitter' => '',
181
- 'ssba_custom_diggit' => '',
182
- 'ssba_custom_linkedin' => '',
183
- 'ssba_custom_reddit' => '',
184
- 'ssba_custom_stumbleupon' => '',
185
- 'ssba_custom_pinterest' => '',
186
- 'ssba_custom_buffer' => '',
187
- 'ssba_custom_flattr' => '',
188
- 'ssba_custom_tumblr' => '',
189
- 'ssba_custom_print' => '',
190
- 'ssba_custom_vk' => '',
191
- 'ssba_custom_yummly' => '',
192
- 'ssba_custom_facebook_save' => '',
193
-
194
- // Sharedcount.
195
- 'sharedcount_enabled' => '',
196
- 'sharedcount_api_key' => '',
197
- 'sharedcount_plan' => 'free',
198
- 'sharedcount_plus_enabled' => '',
199
- 'sharedcount_plus_api_key' => '',
200
- 'sharedcount_plus_plan' => 'free',
201
- 'sharedcount_share_enabled' => '',
202
- 'sharedcount_share_api_key' => '',
203
- 'sharedcount_share_plan' => 'free',
204
-
205
- // New with sharethis.
206
- 'facebook_insights' => '',
207
- 'facebook_app_id' => '',
208
- 'ignore_facebook_sdk' => '',
209
- 'plus_facebook_insights' => '',
210
- 'plus_facebook_app_id' => '',
211
- 'plus_ignore_facebook_sdk' => '',
212
- 'share_facebook_insights' => '',
213
- 'share_facebook_app_id' => '',
214
- 'accepted_sharethis_terms' => 'Y',
215
- );
216
-
217
- if ( $return_array ) {
218
- return $ssba_settings;
219
- }
220
-
221
- // The current setting if any.
222
- $current_settings = json_decode( get_option( 'ssba_settings' ), true );
223
- $current_settings = is_array( $current_settings ) && null !== $current_settings && false !== $current_settings ? $current_settings : array();
224
-
225
- foreach ( $ssba_settings as $setting_name => $value ) {
226
- if ( ! isset( $current_settings[ $setting_name ] ) ) {
227
- $current_settings[ $setting_name ] = $value;
228
- }
229
- }
230
-
231
- update_option( 'ssba_settings', wp_json_encode( $current_settings ) );
232
- }
233
-
234
- /**
235
- * Activate ssba function.
236
- */
237
- public function activate() {
238
- // Likely a reactivation, return doing nothing.
239
- if ( false !== get_option( 'ssba_version' ) ) {
240
- return;
241
- }
242
-
243
- $ssba_settings = $this->get_setting_array( true );
244
-
245
- // Json encode.
246
- $json_settings = wp_json_encode( $ssba_settings );
247
-
248
- // Insert default options for ssba.
249
- add_option( 'ssba_settings', $json_settings );
250
-
251
- // Button helper array.
252
- $this->ssba_button_helper_array();
253
-
254
- // Ssba version.
255
- add_option( 'ssba_version', SSBA_VERSION );
256
- }
257
-
258
- /**
259
- * Deactivate ssba.
260
- */
261
- public function deactivate() {
262
- // Delete options.
263
- delete_option( 'ssba_settings' );
264
- delete_option( 'ssba_version' );
265
- }
266
-
267
- /**
268
- * The upgrade function.
269
- *
270
- * @param array $arr_settings The current ssba settings.
271
- * @param string $version The current plugin version.
272
- */
273
- public function upgrade_ssba( $arr_settings, $version ) {
274
- // If version is less than 7.4.10.
275
- if ( $version < '7.4.10' ) {
276
- $new_settings = array(
277
- 'ssba_plus_align' => 'left',
278
- 'ssba_bar_align' => 'left',
279
- 'ssba_before_or_after_plus' => 'after',
280
- 'ssba_share_new_window' => 'Y',
281
- 'ssba_plus_share_text' => esc_html__( 'Share this...', 'simple-share-buttons-adder' ),
282
- 'ssba_plus_text_placement' => 'above',
283
- 'ssba_plus_font_family' => '',
284
- 'ssba_plus_font_color' => '',
285
- 'ssba_plus_font_size' => '12',
286
- 'ssba_plus_font_weight' => '',
287
- 'ssba_selected_bar_buttons' => 'facebook,pinterest,twitter,linkedin',
288
- 'ssba_selected_plus_buttons' => 'facebook,pinterest,twitter,linkedin',
289
- 'ssba_plus_button_style' => 1,
290
- 'ssba_bar_style' => 1,
291
- 'ssba_new_buttons' => '',
292
- 'ssba_bar_enabled' => '',
293
- 'ssba_bar_position' => 'left',
294
- 'ssba_plus_height' => '48',
295
- 'ssba_plus_width' => '48',
296
- 'ssba_plus_margin' => '12',
297
- 'ssba_plus_button_color' => '',
298
- 'ssba_plus_button_hover_color' => '',
299
- 'ssba_plus_icon_size' => '',
300
- 'ssba_plus_icon_color' => '',
301
- 'ssba_plus_icon_hover_color' => '',
302
- 'ssba_bar_height' => '48',
303
- 'ssba_bar_width' => '48',
304
- 'ssba_bar_margin' => '0',
305
- 'ssba_bar_icon_size' => '',
306
- 'ssba_bar_button_color' => '',
307
- 'ssba_bar_button_hover_color' => '',
308
- 'ssba_bar_icon_color' => '',
309
- 'ssba_bar_icon_hover_color' => '',
310
- 'ssba_bar_desktop' => 'Y',
311
- 'ssba_bar_mobile' => 'Y',
312
- 'ssba_mobile_breakpoint' => '',
313
- 'ssba_bar_show_share_count' => '',
314
- );
315
-
316
- $current_settings = json_decode( get_option( 'ssba_settings', true ), true );
317
- $new_array = $new_settings + $current_settings;
318
-
319
- update_option( 'ssba_settings', wp_json_encode( $new_array ) );
320
-
321
- // Ssba version.
322
- update_option( 'soba_version', SSBA_VERSION );
323
- } // End if().
324
-
325
- // If version is less than 6.0.5.
326
- if ( $version < '6.0.5' ) {
327
- // Ensure excerpts are set.
328
- add_option( 'ssba_excerpts', '' );
329
-
330
- // Add print button.
331
- add_option( 'ssba_custom_print', '' );
332
-
333
- // New for 3.8.
334
- add_option( 'ssba_widget_text', '' );
335
- add_option( 'ssba_rel_nofollow', '' );
336
-
337
- // Added pre 4.5, added in 4.6 to fix notice.
338
- add_option( 'ssba_rel_nofollow', '' );
339
-
340
- // Added in 5.0.
341
- add_option( 'ssba_custom_vk', '' );
342
- add_option( 'ssba_custom_yummly', '' );
343
-
344
- // Added in 5.2.
345
- add_option( 'ssba_default_pinterest', '' );
346
-
347
- // Added in 5.5.
348
- add_option( 'ssba_pinterest_featured', '' );
349
-
350
- // Added in 5.7. Additional CSS field.
351
- add_option( 'ssba_additional_css', '' );
352
-
353
- // Empty custom CSS var and option.
354
- $custom_css = '';
355
-
356
- add_option( 'ssba_custom_styles_enabled', '' );
357
-
358
- // If some custom styles are in place.
359
- if ( '' !== $arr_settings['ssba_custom_styles'] ) {
360
- $custom_css .= $arr_settings['ssba_custom_styles'];
361
-
362
- update_option( 'ssba_custom_styles_enabled', 'Y' );
363
- }
364
-
365
- // If some custom share count styles are in place.
366
- if ( '' !== $arr_settings['ssba_bar_count_css'] ) {
367
- $custom_css .= $arr_settings['ssba_bar_count_css'];
368
-
369
- update_option( 'ssba_custom_styles_enabled', 'Y' );
370
- }
371
-
372
- // Update custom CSS option.
373
- update_option( 'ssba_custom_styles', $custom_css );
374
-
375
- // Content priority.
376
- add_option( 'ssba_content_priority', '10' );
377
- } // End if().
378
-
379
- // If version is less than 6.0.6.
380
- if ( $version < '6.0.6' ) {
381
- // Get old settings.
382
- $old_settings = $this->get_old_ssba_settings();
383
-
384
- // Json encode old settings.
385
- $json_settings = wp_json_encode( $old_settings );
386
-
387
- // Insert all options for ssba as json.
388
- add_option( 'ssba_settings', $json_settings );
389
-
390
- // Delete old options.
391
- $this->ssba_delete_old_options();
392
- }
393
-
394
- // If version is less than 6.1.3.
395
- if ( $version < '6.1.3' ) {
396
- // New settings.
397
- $new = array(
398
- 'sharedcount_enabled' => '',
399
- 'sharedcount_api_key' => '',
400
- 'sharedcount_plan' => 'free',
401
- );
402
-
403
- // Update settings.
404
- $this->class_ssba->ssba_update_options( $new );
405
- }
406
-
407
- // If version is less than 6.2.0.
408
- if ( $version < '6.2.0' ) {
409
- // New settings.
410
- $new = array(
411
- 'facebook_insights' => '',
412
- 'facebook_app_id' => '',
413
- 'accepted_sharethis_terms' => '',
414
- );
415
-
416
- // Update settings.
417
- $this->class_ssba->ssba_update_options( $new );
418
- }
419
-
420
- // Button helper array.
421
- $this->ssba_button_helper_array();
422
-
423
- // Show the ST terms notice after upgrades if the user hasn't agreed.
424
- $this->class_ssba->ssba_update_options( array(
425
- 'hide_sharethis_terms' => false,
426
- ) );
427
-
428
- // Update version number.
429
- update_option( 'ssba_version', SSBA_VERSION );
430
- }
431
-
432
- /**
433
- * Button helper option.
434
- */
435
- public function ssba_button_helper_array() {
436
- // Helper array for ssbp.
437
- update_option( 'ssba_buttons', wp_json_encode( array(
438
- 'buffer' => array(
439
- 'full_name' => esc_html__( 'Buffer', 'simple-share-buttons-adder' ),
440
- ),
441
- 'diggit' => array(
442
- 'full_name' => esc_html__( 'Diggit', 'simple-share-buttons-adder' ),
443
- ),
444
- 'email' => array(
445
- 'full_name' => esc_html__( 'Email', 'simple-share-buttons-adder' ),
446
- ),
447
- 'facebook' => array(
448
- 'full_name' => esc_html__( 'Facebook', 'simple-share-buttons-adder' ),
449
- ),
450
- 'facebook_save' => array(
451
- 'full_name' => esc_html__( 'Facebook Save', 'simple-share-buttons-adder' ),
452
- ),
453
- 'flattr' => array(
454
- 'full_name' => esc_html__( 'Flattr', 'simple-share-buttons-adder' ),
455
- ),
456
- 'linkedin' => array(
457
- 'full_name' => esc_html__( 'LinkedIn', 'simple-share-buttons-adder' ),
458
- ),
459
- 'pinterest' => array(
460
- 'full_name' => esc_html__( 'Pinterest', 'simple-share-buttons-adder' ),
461
- ),
462
- 'print' => array(
463
- 'full_name' => esc_html__( 'Print', 'simple-share-buttons-adder' ),
464
- ),
465
- 'reddit' => array(
466
- 'full_name' => esc_html__( 'Reddit', 'simple-share-buttons-adder' ),
467
- ),
468
- 'stumbleupon' => array(
469
- 'full_name' => esc_html__( 'StumbleUpon', 'simple-share-buttons-adder' ),
470
- ),
471
- 'tumblr' => array(
472
- 'full_name' => esc_html__( 'Tumblr', 'simple-share-buttons-adder' ),
473
- ),
474
- 'twitter' => array(
475
- 'full_name' => esc_html__( 'Twitter', 'simple-share-buttons-adder' ),
476
- ),
477
- 'vk' => array(
478
- 'full_name' => esc_html__( 'VK', 'simple-share-buttons-adder' ),
479
- ),
480
- 'whatsapp' => array(
481
- 'full_name' => esc_html__( 'WhatsApp', 'simple-share-buttons-adder' ),
482
- ),
483
- 'xing' => array(
484
- 'full_name' => esc_html__( 'Xing', 'simple-share-buttons-adder' ),
485
- ),
486
- 'yummly' => array(
487
- 'full_name' => esc_html__( 'Yummly', 'simple-share-buttons-adder' ),
488
- ),
489
- ) ) );
490
- }
491
-
492
- /**
493
- * Delete old options to move to json array.
494
- */
495
- public function ssba_delete_old_options() {
496
- // Delete all options.
497
- delete_option( 'ssba_version' );
498
- delete_option( 'ssba_image_set' );
499
- delete_option( 'ssba_size' );
500
- delete_option( 'ssba_pages' );
501
- delete_option( 'ssba_posts' );
502
- delete_option( 'ssba_cats_archs' );
503
- delete_option( 'ssba_homepage' );
504
- delete_option( 'ssba_excerpts' );
505
- delete_option( 'ssba_plus_pages' );
506
- delete_option( 'ssba_plus_posts' );
507
- delete_option( 'ssba_plus_cats_archs' );
508
- delete_option( 'ssba_plus_homepage' );
509
- delete_option( 'ssba_plus_excerpts' );
510
- delete_option( 'ssba_omit_pages');
511
- delete_option( 'ssba_omit_pages_bar');
512
- delete_option( 'ssba_omit_pages_plus');
513
- delete_option( 'ssba_bar_enabled' );
514
- delete_option( 'ssba_bar_pages' );
515
- delete_option( 'ssba_bar_posts' );
516
- delete_option( 'ssba_bar_cats_archs' );
517
- delete_option( 'ssba_bar_homepage' );
518
- delete_option( 'ssba_bar_excerpts' );
519
- delete_option( 'ssba_align' );
520
- delete_option( 'ssba_plus_align' );
521
- delete_option( 'ssba_padding' );
522
- delete_option( 'ssba_before_or_after' );
523
- delete_option( 'ssba_before_or_after_plus' );
524
- delete_option( 'ssba_additional_css' );
525
- delete_option( 'ssba_custom_styles' );
526
- delete_option( 'ssba_custom_styles_enabled' );
527
- delete_option( 'ssba_email_message' );
528
- delete_option( 'ssba_buffer_text' );
529
- delete_option( 'ssba_twitter_text' );
530
- delete_option( 'ssba_flattr_user_id' );
531
- delete_option( 'ssba_flattr_url' );
532
- delete_option( 'ssba_share_new_window' );
533
- delete_option( 'ssba_link_to_ssb' );
534
- delete_option( 'ssba_show_share_count' );
535
- delete_option( 'ssba_bar_count_style' );
536
- delete_option( 'ssba_bar_count_css' );
537
- delete_option( 'ssba_bar_count_once' );
538
- delete_option( 'ssba_widget_text' );
539
- delete_option( 'ssba_rel_nofollow' );
540
- delete_option( 'ssba_default_pinterest' );
541
- delete_option( 'ssba_pinterest_featured' );
542
- delete_option( 'ssba_content_priority' );
543
- delete_option( 'ssba_plus_additional_css' );
544
- delete_option( 'ssba_plus_custom_styles' );
545
- delete_option( 'ssba_plus_custom_styles_enabled' );
546
- delete_option( 'ssba_plus_email_message' );
547
- delete_option( 'ssba_plus_buffer_text' );
548
- delete_option( 'ssba_plus_twitter_text' );
549
- delete_option( 'ssba_plus_flattr_user_id' );
550
- delete_option( 'ssba_plus_flattr_url' );
551
- delete_option( 'ssba_plus_share_new_window' );
552
- delete_option( 'ssba_plus_link_to_ssb' );
553
- delete_option( 'ssba_plus_show_share_count' );
554
- delete_option( 'ssba_plus_share_count_style' );
555
- delete_option( 'ssba_plus_share_count_css' );
556
- delete_option( 'ssba_plus_share_count_once' );
557
- delete_option( 'ssba_plus_widget_text' );
558
- delete_option( 'ssba_plus_rel_nofollow' );
559
- delete_option( 'ssba_plus_default_pinterest' );
560
- delete_option( 'ssba_plus_pinterest_featured' );
561
- delete_option( 'ssba_bar_additional_css' );
562
- delete_option( 'ssba_bar_custom_styles' );
563
- delete_option( 'ssba_bar_custom_styles_enabled' );
564
- delete_option( 'ssba_bar_email_message' );
565
- delete_option( 'ssba_bar_buffer_text' );
566
- delete_option( 'ssba_bar_twitter_text' );
567
- delete_option( 'ssba_bar_flattr_user_id' );
568
- delete_option( 'ssba_bar_flattr_url' );
569
- delete_option( 'ssba_bar_share_new_window' );
570
- delete_option( 'ssba_bar_link_to_ssb' );
571
- delete_option( 'ssba_bar_show_share_count' );
572
- delete_option( 'ssba_bar_share_count_style' );
573
- delete_option( 'ssba_bar_share_count_css' );
574
- delete_option( 'ssba_bar_share_count_once' );
575
- delete_option( 'ssba_bar_widget_text' );
576
- delete_option( 'ssba_bar_rel_nofollow' );
577
- delete_option( 'ssba_bar_default_pinterest' );
578
- delete_option( 'ssba_bar_pinterest_featured' );
579
-
580
- // Share container.
581
- delete_option( 'ssba_div_padding' );
582
- delete_option( 'ssba_div_rounded_corners' );
583
- delete_option( 'ssba_border_width' );
584
- delete_option( 'ssba_div_border' );
585
- delete_option( 'ssba_div_background' );
586
-
587
- // Share text.
588
- delete_option( 'ssba_share_text' );
589
- delete_option( 'ssba_text_placement' );
590
- delete_option( 'ssba_font_family' );
591
- delete_option( 'ssba_font_color' );
592
- delete_option( 'ssba_font_size' );
593
- delete_option( 'ssba_font_weight' );
594
- delete_option( 'ssba_plus_share_text' );
595
- delete_option( 'ssba_plus_text_placement' );
596
- delete_option( 'ssba_plus_font_family' );
597
- delete_option( 'ssba_plus_font_color' );
598
- delete_option( 'ssba_plus_font_size' );
599
- delete_option( 'ssba_plus_font_weight' );
600
-
601
- // Include.
602
- delete_option( 'ignore_facebook_sdk' );
603
- delete_option( 'plus_ignore_facebook_sdk' );
604
- delete_option( 'ssba_selected_buttons' );
605
- delete_option( 'ssba_selected_share_buttons' );
606
- delete_option( 'ssba_selected_plus_buttons' );
607
- delete_option( 'ssba_bar_button_style' );
608
- delete_option( 'ssba_bar_style' );
609
- delete_option( 'ssba_new_buttons' );
610
- delete_option( 'ssba_bar_position' );
611
- delete_option( 'ssba_plus_height' );
612
- delete_option( 'ssba_plus_width' );
613
- delete_option( 'ssba_plus_margin' );
614
- delete_option( 'ssba_plus_button_color' );
615
- delete_option( 'ssba_plus_button_hover_color' );
616
- delete_option( 'ssba_plus_icon_size' );
617
- delete_option( 'ssba_plus_icon_color' );
618
- delete_option( 'ssba_plus_icon_hover_color' );
619
- delete_option( 'ssba_bar_height' );
620
- delete_option( 'ssba_bar_width' );
621
- delete_option( 'ssba_bar_margin' );
622
- delete_option( 'ssba_bar_button_color' );
623
- delete_option( 'ssba_bar_button_hover_color' );
624
- delete_option( 'ssba_bar_icon_size' );
625
- delete_option( 'ssba_bar_icon_color' );
626
- delete_option( 'ssba_bar_icon_hover_color' );
627
- delete_option( 'ssba_bar_desktop' );
628
- delete_option( 'ssba_bar_mobile' );
629
- delete_option( 'ssba_mobile_breakpoint' );
630
-
631
- // Custom images.
632
- delete_option( 'ssba_custom_email' );
633
- delete_option( 'ssba_custom_google' );
634
- delete_option( 'ssba_custom_facebook' );
635
- delete_option( 'ssba_custom_twitter' );
636
- delete_option( 'ssba_custom_diggit' );
637
- delete_option( 'ssba_custom_linkedin' );
638
- delete_option( 'ssba_custom_reddit' );
639
- delete_option( 'ssba_custom_stumbleupon' );
640
- delete_option( 'ssba_custom_pinterest' );
641
- delete_option( 'ssba_custom_buffer' );
642
- delete_option( 'ssba_custom_flattr' );
643
- delete_option( 'ssba_custom_tumblr' );
644
- delete_option( 'ssba_custom_print' );
645
- delete_option( 'ssba_custom_vk' );
646
- delete_option( 'ssba_custom_yummly' );
647
-
648
- // Notice.
649
- delete_option( 'ssba_dismiss_notice' );
650
- }
651
-
652
- /**
653
- * Return old ssba settings (pre 6.0.6).
654
- *
655
- * @return array|null|object
656
- */
657
- public function get_old_ssba_settings() {
658
- global $wp_registered_settings;
659
-
660
- // Set variable.
661
- $arr_settings = array();
662
-
663
- foreach ( $wp_registered_settings as $name => $value ) {
664
- if ( in_array( 'ssba', explode( '_', $name ), true ) ) {
665
- $arr_settings[ $name ] = $value;
666
- }
667
- }
668
-
669
- return $arr_settings;
670
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
671
  }
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
+ class Database
16
+ {
17
+
18
+ /**
19
+ * Plugin instance.
20
+ *
21
+ * @var object
22
+ */
23
+ public $plugin;
24
+
25
+ /**
26
+ * Simple Share Buttons Adder instance.
27
+ *
28
+ * @var object
29
+ */
30
+ public $class_ssba;
31
+
32
+ /**
33
+ * Class constructor.
34
+ *
35
+ * @param object $plugin Plugin class.
36
+ * @param object $class_ssba Simple Share Buttons Adder class.
37
+ */
38
+ public function __construct($plugin, $class_ssba)
39
+ {
40
+ $this->plugin = $plugin;
41
+ $this->class_ssba = $class_ssba;
42
+
43
+ // Run the activation function upon activation of the plugin.
44
+ register_activation_hook($this->plugin->dir_path . '/simple-share-buttons-adder.php', array($this, 'activate'));
45
+
46
+ // Register deactivation hook.
47
+ register_deactivation_hook($this->plugin->dir_path . '/simple-share-buttons-adder.php', array($this, 'deactivate'));
48
+ }
49
+
50
+ /**
51
+ * Add any settings default if it doesn't exist already.
52
+ *
53
+ * @param bool $return_array Whether to return the default setting array or not.
54
+ *
55
+ * @action admin_init
56
+ */
57
+ public function get_setting_array($return_array = false)
58
+ {
59
+ // Array ready with defaults.
60
+ $ssba_settings = array(
61
+ 'ssba_omit_pages' => '',
62
+ 'ssba_omit_pages_plus' => '',
63
+ 'ssba_omit_pages_bar' => '',
64
+ 'ssba_image_set' => 'somacro',
65
+ 'ssba_size' => '35',
66
+ 'ssba_pages' => '',
67
+ 'ssba_posts' => '',
68
+ 'ssba_cats_archs' => '',
69
+ 'ssba_homepage' => '',
70
+ 'ssba_excerpts' => '',
71
+ 'ssba_plus_pages' => '',
72
+ 'ssba_plus_posts' => '',
73
+ 'ssba_plus_cats_archs' => '',
74
+ 'ssba_plus_homepage' => '',
75
+ 'ssba_plus_excerpts' => '',
76
+ 'ssba_bar_pages' => '',
77
+ 'ssba_bar_posts' => '',
78
+ 'ssba_bar_cats_archs' => '',
79
+ 'ssba_bar_homepage' => '',
80
+ 'ssba_bar_excerpts' => '',
81
+ 'ssba_align' => 'left',
82
+ 'ssba_plus_align' => 'left',
83
+ 'ssba_bar_align' => 'left',
84
+ 'ssba_padding' => '6',
85
+ 'ssba_before_or_after' => 'after',
86
+ 'ssba_before_or_after_plus' => 'after',
87
+ 'ssba_additional_css' => '',
88
+ 'ssba_custom_styles' => '',
89
+ 'ssba_custom_styles_enabled' => '',
90
+ 'ssba_plus_additional_css' => '',
91
+ 'ssba_plus_custom_styles' => '',
92
+ 'ssba_plus_custom_styles_enabled' => '',
93
+ 'ssba_bar_additional_css' => '',
94
+ 'ssba_bar_custom_styles' => '',
95
+ 'ssba_bar_custom_styles_enabled' => '',
96
+ 'ssba_email_message' => '',
97
+ 'ssba_twitter_text' => '',
98
+ 'ssba_buffer_text' => '',
99
+ 'ssba_flattr_user_id' => '',
100
+ 'ssba_flattr_url' => '',
101
+ 'ssba_bar_share_new_window' => 'Y',
102
+ 'ssba_share_new_window' => 'Y',
103
+ 'ssba_plus_share_new_window' => 'Y',
104
+ 'ssba_link_to_ssb' => 'N',
105
+ 'ssba_show_share_count' => '',
106
+ 'ssba_plus_show_share_count' => '',
107
+ 'ssba_bar_show_share_count' => '',
108
+ 'ssba_share_count_style' => 'default',
109
+ 'ssba_share_count_css' => '',
110
+ 'ssba_share_count_once' => 'Y',
111
+ 'ssba_plus_share_count_style' => 'default',
112
+ 'ssba_plus_share_count_css' => '',
113
+ 'ssba_plus_share_count_once' => 'Y',
114
+ 'ssba_bar_share_count_style' => 'default',
115
+ 'ssba_bar_share_count_css' => '',
116
+ 'ssba_bar_share_count_once' => 'Y',
117
+ 'ssba_widget_text' => '',
118
+ 'ssba_rel_nofollow' => '',
119
+ 'ssba_default_pinterest' => '',
120
+ 'ssba_pinterest_featured' => '',
121
+ 'ssba_plus_widget_text' => '',
122
+ 'ssba_plus_rel_nofollow' => '',
123
+ 'ssba_plus_default_pinterest' => '',
124
+ 'ssba_plus_pinterest_featured' => '',
125
+ 'ssba_bar_widget_text' => '',
126
+ 'ssba_bar_rel_nofollow' => '',
127
+ 'ssba_bar_default_pinterest' => '',
128
+ 'ssba_bar_pinterest_featured' => '',
129
+ 'ssba_content_priority' => '10',
130
+
131
+ // Share container.
132
+ 'ssba_div_padding' => '',
133
+ 'ssba_div_rounded_corners' => '',
134
+ 'ssba_border_width' => '',
135
+ 'ssba_div_border' => '',
136
+ 'ssba_div_background' => '',
137
+
138
+ // Share text.
139
+ 'ssba_share_text' => esc_html__('Share this...', 'simple-share-buttons-adder'),
140
+ 'ssba_text_placement' => 'above',
141
+ 'ssba_font_family' => '',
142
+ 'ssba_font_color' => '',
143
+ 'ssba_font_size' => '12',
144
+ 'ssba_font_weight' => '',
145
+ 'ssba_plus_share_text' => esc_html__('Share this...', 'simple-share-buttons-adder'),
146
+ 'ssba_plus_text_placement' => 'above',
147
+ 'ssba_plus_font_family' => '',
148
+ 'ssba_plus_font_color' => '',
149
+ 'ssba_plus_font_size' => '12',
150
+ 'ssba_plus_font_weight' => '',
151
+
152
+ // Include.
153
+ 'ssba_selected_buttons' => 'facebook,pinterest,twitter,linkedin',
154
+ 'ssba_selected_bar_buttons' => 'facebook,pinterest,twitter,linkedin',
155
+ 'ssba_selected_plus_buttons' => 'facebook,pinterest,twitter,linkedin',
156
+ 'ssba_plus_button_style' => 1,
157
+ 'ssba_bar_style' => 1,
158
+ 'ssba_new_buttons' => '',
159
+ 'ssba_bar_enabled' => '',
160
+ 'ssba_bar_position' => 'left',
161
+ 'ssba_plus_height' => '48',
162
+ 'ssba_plus_width' => '48',
163
+ 'ssba_plus_margin' => '12',
164
+ 'ssba_plus_button_color' => '',
165
+ 'ssba_plus_button_hover_color' => '',
166
+ 'ssba_plus_icon_size' => '',
167
+ 'ssba_plus_icon_color' => '',
168
+ 'ssba_plus_icon_hover_color' => '',
169
+ 'ssba_bar_height' => '48',
170
+ 'ssba_bar_width' => '48',
171
+ 'ssba_bar_margin' => '0',
172
+ 'ssba_bar_icon_size' => '',
173
+ 'ssba_bar_button_color' => '',
174
+ 'ssba_bar_button_hover_color' => '',
175
+ 'ssba_bar_icon_color' => '',
176
+ 'ssba_bar_icon_hover_color' => '',
177
+ 'ssba_bar_desktop' => 'Y',
178
+ 'ssba_bar_mobile' => 'Y',
179
+ 'ssba_mobile_breakpoint' => '',
180
+
181
+ // Custom images.
182
+ 'ssba_custom_email' => '',
183
+ 'ssba_custom_facebook' => '',
184
+ 'ssba_custom_twitter' => '',
185
+ 'ssba_custom_diggit' => '',
186
+ 'ssba_custom_line' => '',
187
+ 'ssba_custom_skype' => '',
188
+ 'ssba_custom_weibo' => '',
189
+ 'ssba_custom_linkedin' => '',
190
+ 'ssba_custom_reddit' => '',
191
+ 'ssba_custom_stumbleupon' => '',
192
+ 'ssba_custom_pinterest' => '',
193
+ 'ssba_custom_buffer' => '',
194
+ 'ssba_custom_flattr' => '',
195
+ 'ssba_custom_tumblr' => '',
196
+ 'ssba_custom_print' => '',
197
+ 'ssba_custom_vk' => '',
198
+ 'ssba_custom_yummly' => '',
199
+ 'ssba_custom_facebook_save' => '',
200
+
201
+ // Sharedcount.
202
+ 'sharedcount_enabled' => '',
203
+ 'sharedcount_api_key' => '',
204
+ 'sharedcount_plan' => 'free',
205
+ 'sharedcount_plus_enabled' => '',
206
+ 'sharedcount_plus_api_key' => '',
207
+ 'sharedcount_plus_plan' => 'free',
208
+ 'sharedcount_share_enabled' => '',
209
+ 'sharedcount_share_api_key' => '',
210
+ 'sharedcount_share_plan' => 'free',
211
+
212
+ // New with sharethis.
213
+ 'facebook_insights' => '',
214
+ 'facebook_app_id' => '',
215
+ 'ignore_facebook_sdk' => '',
216
+ 'plus_facebook_insights' => '',
217
+ 'plus_facebook_app_id' => '',
218
+ 'plus_ignore_facebook_sdk' => '',
219
+ 'share_facebook_insights' => '',
220
+ 'share_facebook_app_id' => '',
221
+ 'accepted_sharethis_terms' => 'Y',
222
+ );
223
+
224
+ if ($return_array) {
225
+ return $ssba_settings;
226
+ }
227
+
228
+ // The current setting if any.
229
+ $current_settings = get_option('ssba_settings', true);
230
+ $current_settings = is_array($current_settings) && null !== $current_settings && false !== $current_settings ? $current_settings : array();
231
+
232
+ foreach ($ssba_settings as $setting_name => $value) {
233
+ if (! isset($current_settings[$setting_name])) {
234
+ $current_settings[$setting_name] = $value;
235
+ }
236
+ }
237
+
238
+ update_option('ssba_settings', $current_settings);
239
+ }
240
+
241
+ /**
242
+ * Activate ssba function.
243
+ */
244
+ public function activate()
245
+ {
246
+ // Likely a reactivation, return doing nothing.
247
+ if (false !== get_option('ssba_version')) {
248
+ return;
249
+ }
250
+
251
+ $ssba_settings = $this->get_setting_array(true);
252
+
253
+ // Json encode.
254
+ $json_settings = $ssba_settings;
255
+
256
+ // Insert default options for ssba.
257
+ add_option('ssba_settings', $json_settings);
258
+
259
+ // Button helper array.
260
+ $this->ssba_button_helper_array();
261
+
262
+ // Ssba version.
263
+ add_option('ssba_version', SSBA_VERSION);
264
+ }
265
+
266
+ /**
267
+ * Deactivate ssba.
268
+ */
269
+ public function deactivate()
270
+ {
271
+ // Delete options.
272
+ delete_option('ssba_settings');
273
+ delete_option('ssba_version');
274
+ }
275
+
276
+ /**
277
+ * The upgrade function.
278
+ *
279
+ * @param array $arr_settings The current ssba settings.
280
+ * @param string $version The current plugin version.
281
+ */
282
+ public function upgrade_ssba($arr_settings, $version)
283
+ {
284
+ // If version is less than 7.4.10.
285
+ if ($version < '7.7.21') {
286
+ $this->ssba_button_helper_array();
287
+ }
288
+
289
+ // If version is less than 7.4.10.
290
+ if ($version < '7.4.10') {
291
+ $new_settings = array(
292
+ 'ssba_plus_align' => 'left',
293
+ 'ssba_bar_align' => 'left',
294
+ 'ssba_before_or_after_plus' => 'after',
295
+ 'ssba_share_new_window' => 'Y',
296
+ 'ssba_plus_share_text' => esc_html__('Share this...', 'simple-share-buttons-adder'),
297
+ 'ssba_plus_text_placement' => 'above',
298
+ 'ssba_plus_font_family' => '',
299
+ 'ssba_plus_font_color' => '',
300
+ 'ssba_plus_font_size' => '12',
301
+ 'ssba_plus_font_weight' => '',
302
+ 'ssba_selected_bar_buttons' => 'facebook,pinterest,twitter,linkedin',
303
+ 'ssba_selected_plus_buttons' => 'facebook,pinterest,twitter,linkedin',
304
+ 'ssba_plus_button_style' => 1,
305
+ 'ssba_bar_style' => 1,
306
+ 'ssba_new_buttons' => '',
307
+ 'ssba_bar_enabled' => '',
308
+ 'ssba_bar_position' => 'left',
309
+ 'ssba_plus_height' => '48',
310
+ 'ssba_plus_width' => '48',
311
+ 'ssba_plus_margin' => '12',
312
+ 'ssba_plus_button_color' => '',
313
+ 'ssba_plus_button_hover_color' => '',
314
+ 'ssba_plus_icon_size' => '',
315
+ 'ssba_plus_icon_color' => '',
316
+ 'ssba_plus_icon_hover_color' => '',
317
+ 'ssba_bar_height' => '48',
318
+ 'ssba_bar_width' => '48',
319
+ 'ssba_bar_margin' => '0',
320
+ 'ssba_bar_icon_size' => '',
321
+ 'ssba_bar_button_color' => '',
322
+ 'ssba_bar_button_hover_color' => '',
323
+ 'ssba_bar_icon_color' => '',
324
+ 'ssba_bar_icon_hover_color' => '',
325
+ 'ssba_bar_desktop' => 'Y',
326
+ 'ssba_bar_mobile' => 'Y',
327
+ 'ssba_mobile_breakpoint' => '',
328
+ 'ssba_bar_show_share_count' => '',
329
+ );
330
+
331
+ $current_settings = get_option('ssba_settings', true);
332
+ $new_array = $new_settings + $current_settings;
333
+
334
+ update_option('ssba_settings', $new_array);
335
+
336
+ // Ssba version.
337
+ update_option('ssba_version', SSBA_VERSION);
338
+ } // End if().
339
+
340
+ // If version is less than 6.0.5.
341
+ if ($version < '6.0.5') {
342
+ // Ensure excerpts are set.
343
+ add_option('ssba_excerpts', '');
344
+
345
+ // Add print button.
346
+ add_option('ssba_custom_print', '');
347
+
348
+ // New for 3.8.
349
+ add_option('ssba_widget_text', '');
350
+ add_option('ssba_rel_nofollow', '');
351
+
352
+ // Added pre 4.5, added in 4.6 to fix notice.
353
+ add_option('ssba_rel_nofollow', '');
354
+
355
+ // Added in 5.0.
356
+ add_option('ssba_custom_vk', '');
357
+ add_option('ssba_custom_yummly', '');
358
+
359
+ // Added in 5.2.
360
+ add_option('ssba_default_pinterest', '');
361
+
362
+ // Added in 5.5.
363
+ add_option('ssba_pinterest_featured', '');
364
+
365
+ // Added in 5.7. Additional CSS field.
366
+ add_option('ssba_additional_css', '');
367
+
368
+ // Empty custom CSS var and option.
369
+ $custom_css = '';
370
+
371
+ add_option('ssba_custom_styles_enabled', '');
372
+
373
+ // If some custom styles are in place.
374
+ if ('' !== $arr_settings['ssba_custom_styles']) {
375
+ $custom_css .= $arr_settings['ssba_custom_styles'];
376
+
377
+ update_option('ssba_custom_styles_enabled', 'Y');
378
+ }
379
+
380
+ // If some custom share count styles are in place.
381
+ if ('' !== $arr_settings['ssba_bar_count_css']) {
382
+ $custom_css .= $arr_settings['ssba_bar_count_css'];
383
+
384
+ update_option('ssba_custom_styles_enabled', 'Y');
385
+ }
386
+
387
+ // Update custom CSS option.
388
+ update_option('ssba_custom_styles', $custom_css);
389
+
390
+ // Content priority.
391
+ add_option('ssba_content_priority', '10');
392
+ } // End if().
393
+
394
+ // If version is less than 6.0.6.
395
+ if ($version < '6.0.6') {
396
+ // Get old settings.
397
+ $old_settings = $this->get_old_ssba_settings();
398
+
399
+ // Json encode old settings.
400
+ $json_settings = $old_settings;
401
+
402
+ // Insert all options for ssba as json.
403
+ add_option('ssba_settings', $json_settings);
404
+
405
+ // Delete old options.
406
+ $this->ssba_delete_old_options();
407
+ }
408
+
409
+ // If version is less than 6.1.3.
410
+ if ($version < '6.1.3') {
411
+ // New settings.
412
+ $new = array(
413
+ 'sharedcount_enabled' => '',
414
+ 'sharedcount_api_key' => '',
415
+ 'sharedcount_plan' => 'free',
416
+ );
417
+
418
+ // Update settings.
419
+ $this->class_ssba->ssba_update_options($new);
420
+ }
421
+
422
+ // If version is less than 6.2.0.
423
+ if ($version < '6.2.0') {
424
+ // New settings.
425
+ $new = array(
426
+ 'facebook_insights' => '',
427
+ 'facebook_app_id' => '',
428
+ 'accepted_sharethis_terms' => '',
429
+ );
430
+
431
+ // Update settings.
432
+ $this->class_ssba->ssba_update_options($new);
433
+ }
434
+
435
+ // Button helper array.
436
+ $this->ssba_button_helper_array();
437
+
438
+ // Show the ST terms notice after upgrades if the user hasn't agreed.
439
+ $this->class_ssba->ssba_update_options(array(
440
+ 'hide_sharethis_terms' => false,
441
+ ));
442
+
443
+ // Update version number.
444
+ update_option('ssba_version', SSBA_VERSION);
445
+ }
446
+
447
+ /**
448
+ * Button helper option.
449
+ */
450
+ public function ssba_button_helper_array()
451
+ {
452
+ // Helper array for ssbp.
453
+ update_option('ssba_buttons', array(
454
+ 'buffer' => array(
455
+ 'full_name' => esc_html__('Buffer', 'simple-share-buttons-adder'),
456
+ ),
457
+ 'diggit' => array(
458
+ 'full_name' => esc_html__('Diggit', 'simple-share-buttons-adder'),
459
+ ),
460
+ 'line' => array(
461
+ 'full_name' => esc_html__('Line', 'simple-share-buttons-adder'),
462
+ ),
463
+ 'skype' => array(
464
+ 'full_name' => esc_html__('Skype', 'simple-share-buttons-adder'),
465
+ ),
466
+ 'weibo' => array(
467
+ 'full_name' => esc_html__('Weibo', 'simple-share-buttons-adder'),
468
+ ),
469
+ 'email' => array(
470
+ 'full_name' => esc_html__('Email', 'simple-share-buttons-adder'),
471
+ ),
472
+ 'facebook' => array(
473
+ 'full_name' => esc_html__('Facebook', 'simple-share-buttons-adder'),
474
+ ),
475
+ 'facebook_save' => array(
476
+ 'full_name' => esc_html__('Facebook Save', 'simple-share-buttons-adder'),
477
+ ),
478
+ 'flattr' => array(
479
+ 'full_name' => esc_html__('Flattr', 'simple-share-buttons-adder'),
480
+ ),
481
+ 'linkedin' => array(
482
+ 'full_name' => esc_html__('LinkedIn', 'simple-share-buttons-adder'),
483
+ ),
484
+ 'pinterest' => array(
485
+ 'full_name' => esc_html__('Pinterest', 'simple-share-buttons-adder'),
486
+ ),
487
+ 'print' => array(
488
+ 'full_name' => esc_html__('Print', 'simple-share-buttons-adder'),
489
+ ),
490
+ 'reddit' => array(
491
+ 'full_name' => esc_html__('Reddit', 'simple-share-buttons-adder'),
492
+ ),
493
+ 'stumbleupon' => array(
494
+ 'full_name' => esc_html__('StumbleUpon', 'simple-share-buttons-adder'),
495
+ ),
496
+ 'tumblr' => array(
497
+ 'full_name' => esc_html__('Tumblr', 'simple-share-buttons-adder'),
498
+ ),
499
+ 'twitter' => array(
500
+ 'full_name' => esc_html__('Twitter', 'simple-share-buttons-adder'),
501
+ ),
502
+ 'vk' => array(
503
+ 'full_name' => esc_html__('VK', 'simple-share-buttons-adder'),
504
+ ),
505
+ 'whatsapp' => array(
506
+ 'full_name' => esc_html__('WhatsApp', 'simple-share-buttons-adder'),
507
+ ),
508
+ 'xing' => array(
509
+ 'full_name' => esc_html__('Xing', 'simple-share-buttons-adder'),
510
+ ),
511
+ 'yummly' => array(
512
+ 'full_name' => esc_html__('Yummly', 'simple-share-buttons-adder'),
513
+ ),
514
+ ));
515
+ }
516
+
517
+ /**
518
+ * Delete old options to move to json array.
519
+ */
520
+ public function ssba_delete_old_options()
521
+ {
522
+ // Delete all options.
523
+ delete_option('ssba_version');
524
+ delete_option('ssba_image_set');
525
+ delete_option('ssba_size');
526
+ delete_option('ssba_pages');
527
+ delete_option('ssba_posts');
528
+ delete_option('ssba_cats_archs');
529
+ delete_option('ssba_homepage');
530
+ delete_option('ssba_excerpts');
531
+ delete_option('ssba_plus_pages');
532
+ delete_option('ssba_plus_posts');
533
+ delete_option('ssba_plus_cats_archs');
534
+ delete_option('ssba_plus_homepage');
535
+ delete_option('ssba_plus_excerpts');
536
+ delete_option('ssba_omit_pages');
537
+ delete_option('ssba_omit_pages_bar');
538
+ delete_option('ssba_omit_pages_plus');
539
+ delete_option('ssba_bar_enabled');
540
+ delete_option('ssba_bar_pages');
541
+ delete_option('ssba_bar_posts');
542
+ delete_option('ssba_bar_cats_archs');
543
+ delete_option('ssba_bar_homepage');
544
+ delete_option('ssba_bar_excerpts');
545
+ delete_option('ssba_align');
546
+ delete_option('ssba_plus_align');
547
+ delete_option('ssba_padding');
548
+ delete_option('ssba_before_or_after');
549
+ delete_option('ssba_before_or_after_plus');
550
+ delete_option('ssba_additional_css');
551
+ delete_option('ssba_custom_styles');
552
+ delete_option('ssba_custom_styles_enabled');
553
+ delete_option('ssba_email_message');
554
+ delete_option('ssba_buffer_text');
555
+ delete_option('ssba_twitter_text');
556
+ delete_option('ssba_flattr_user_id');
557
+ delete_option('ssba_flattr_url');
558
+ delete_option('ssba_share_new_window');
559
+ delete_option('ssba_link_to_ssb');
560
+ delete_option('ssba_show_share_count');
561
+ delete_option('ssba_bar_count_style');
562
+ delete_option('ssba_bar_count_css');
563
+ delete_option('ssba_bar_count_once');
564
+ delete_option('ssba_widget_text');
565
+ delete_option('ssba_rel_nofollow');
566
+ delete_option('ssba_default_pinterest');
567
+ delete_option('ssba_pinterest_featured');
568
+ delete_option('ssba_content_priority');
569
+ delete_option('ssba_plus_additional_css');
570
+ delete_option('ssba_plus_custom_styles');
571
+ delete_option('ssba_plus_custom_styles_enabled');
572
+ delete_option('ssba_plus_email_message');
573
+ delete_option('ssba_plus_buffer_text');
574
+ delete_option('ssba_plus_twitter_text');
575
+ delete_option('ssba_plus_flattr_user_id');
576
+ delete_option('ssba_plus_flattr_url');
577
+ delete_option('ssba_plus_share_new_window');
578
+ delete_option('ssba_plus_link_to_ssb');
579
+ delete_option('ssba_plus_show_share_count');
580
+ delete_option('ssba_plus_share_count_style');
581
+ delete_option('ssba_plus_share_count_css');
582
+ delete_option('ssba_plus_share_count_once');
583
+ delete_option('ssba_plus_widget_text');
584
+ delete_option('ssba_plus_rel_nofollow');
585
+ delete_option('ssba_plus_default_pinterest');
586
+ delete_option('ssba_plus_pinterest_featured');
587
+ delete_option('ssba_bar_additional_css');
588
+ delete_option('ssba_bar_custom_styles');
589
+ delete_option('ssba_bar_custom_styles_enabled');
590
+ delete_option('ssba_bar_email_message');
591
+ delete_option('ssba_bar_buffer_text');
592
+ delete_option('ssba_bar_twitter_text');
593
+ delete_option('ssba_bar_flattr_user_id');
594
+ delete_option('ssba_bar_flattr_url');
595
+ delete_option('ssba_bar_share_new_window');
596
+ delete_option('ssba_bar_link_to_ssb');
597
+ delete_option('ssba_bar_show_share_count');
598
+ delete_option('ssba_bar_share_count_style');
599
+ delete_option('ssba_bar_share_count_css');
600
+ delete_option('ssba_bar_share_count_once');
601
+ delete_option('ssba_bar_widget_text');
602
+ delete_option('ssba_bar_rel_nofollow');
603
+ delete_option('ssba_bar_default_pinterest');
604
+ delete_option('ssba_bar_pinterest_featured');
605
+
606
+ // Share container.
607
+ delete_option('ssba_div_padding');
608
+ delete_option('ssba_div_rounded_corners');
609
+ delete_option('ssba_border_width');
610
+ delete_option('ssba_div_border');
611
+ delete_option('ssba_div_background');
612
+
613
+ // Share text.
614
+ delete_option('ssba_share_text');
615
+ delete_option('ssba_text_placement');
616
+ delete_option('ssba_font_family');
617
+ delete_option('ssba_font_color');
618
+ delete_option('ssba_font_size');
619
+ delete_option('ssba_font_weight');
620
+ delete_option('ssba_plus_share_text');
621
+ delete_option('ssba_plus_text_placement');
622
+ delete_option('ssba_plus_font_family');
623
+ delete_option('ssba_plus_font_color');
624
+ delete_option('ssba_plus_font_size');
625
+ delete_option('ssba_plus_font_weight');
626
+
627
+ // Include.
628
+ delete_option('ignore_facebook_sdk');
629
+ delete_option('plus_ignore_facebook_sdk');
630
+ delete_option('ssba_selected_buttons');
631
+ delete_option('ssba_selected_share_buttons');
632
+ delete_option('ssba_selected_plus_buttons');
633
+ delete_option('ssba_bar_button_style');
634
+ delete_option('ssba_bar_style');
635
+ delete_option('ssba_new_buttons');
636
+ delete_option('ssba_bar_position');
637
+ delete_option('ssba_plus_height');
638
+ delete_option('ssba_plus_width');
639
+ delete_option('ssba_plus_margin');
640
+ delete_option('ssba_plus_button_color');
641
+ delete_option('ssba_plus_button_hover_color');
642
+ delete_option('ssba_plus_icon_size');
643
+ delete_option('ssba_plus_icon_color');
644
+ delete_option('ssba_plus_icon_hover_color');
645
+ delete_option('ssba_bar_height');
646
+ delete_option('ssba_bar_width');
647
+ delete_option('ssba_bar_margin');
648
+ delete_option('ssba_bar_button_color');
649
+ delete_option('ssba_bar_button_hover_color');
650
+ delete_option('ssba_bar_icon_size');
651
+ delete_option('ssba_bar_icon_color');
652
+ delete_option('ssba_bar_icon_hover_color');
653
+ delete_option('ssba_bar_desktop');
654
+ delete_option('ssba_bar_mobile');
655
+ delete_option('ssba_mobile_breakpoint');
656
+
657
+ // Custom images.
658
+ delete_option('ssba_custom_email');
659
+ delete_option('ssba_custom_google');
660
+ delete_option('ssba_custom_facebook');
661
+ delete_option('ssba_custom_twitter');
662
+ delete_option('ssba_custom_diggit');
663
+ delete_option('ssba_custom_linkedin');
664
+ delete_option('ssba_custom_reddit');
665
+ delete_option('ssba_custom_stumbleupon');
666
+ delete_option('ssba_custom_pinterest');
667
+ delete_option('ssba_custom_buffer');
668
+ delete_option('ssba_custom_flattr');
669
+ delete_option('ssba_custom_tumblr');
670
+ delete_option('ssba_custom_print');
671
+ delete_option('ssba_custom_vk');
672
+ delete_option('ssba_custom_yummly');
673
+
674
+ // Notice.
675
+ delete_option('ssba_dismiss_notice');
676
+ }
677
+
678
+ /**
679
+ * Return old ssba settings (pre 6.0.6).
680
+ *
681
+ * @return array|null|object
682
+ */
683
+ public function get_old_ssba_settings()
684
+ {
685
+ global $wp_registered_settings;
686
+
687
+ // Set variable.
688
+ $arr_settings = array();
689
+
690
+ foreach ($wp_registered_settings as $name => $value) {
691
+ if (in_array('ssba', explode('_', $name), true)) {
692
+ $arr_settings[$name] = $value;
693
+ }
694
+ }
695
+
696
+ return $arr_settings;
697
+ }
698
  }
php/class-forms.php CHANGED
@@ -12,248 +12,256 @@ namespace SimpleShareButtonsAdder;
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
- class Forms {
16
-
17
- /**
18
- * Plugin instance.
19
- *
20
- * @var object
21
- */
22
- public $plugin;
23
-
24
- /**
25
- * Checkboxes.
26
- *
27
- * @var string
28
- */
29
- public $ssba_checkboxes;
30
-
31
- /**
32
- * Class constructor.
33
- *
34
- * @param object $plugin Plugin class.
35
- */
36
- public function __construct( $plugin ) {
37
- $this->plugin = $plugin;
38
- }
39
-
40
- /**
41
- * Opening form tag.
42
- *
43
- * @param string $wrap The wrap class.
44
- * @param string $action The action attribute.
45
- * @param string $class The class attribute.
46
- *
47
- * @return string
48
- */
49
- public function open( $wrap, $action = '', $class = '' ) {
50
- $wrap = $wrap ? 'ssba-form-wrap' : '';
51
- $return = '<div class="' . esc_attr( $wrap ) . '">';
52
- $return .= '<form class="form-horizontal ' . esc_attr( $class ) . '" id="ssba-admin-form" method="post" action="' . esc_attr( $action ) . '">';
53
-
54
- // Required hidden fields.
55
- $return .= wp_nonce_field( 'ssba_save_settings','ssba_save_nonce' );
56
- $return .= '<input type="hidden" name="ssba_options" />';
57
-
58
- // Open fieldset.
59
- $return .= '<fieldset>';
60
-
61
- return $return;
62
- }
63
-
64
- /**
65
- * Close form tag.
66
- *
67
- * @return string
68
- */
69
- public function close() {
70
- // Save button.
71
- $return = '<button id="submit" class="ssba-btn-save btn btn-lg btn-primary"><i class="fa fa-floppy-o"></i></button>';
72
-
73
- // Success button.
74
- $return .= '<button type="button" class="ssba-btn-save-success btn btn-lg btn-success"><i class="fa fa-check"></i></button>';
75
-
76
- // Close fieldset.
77
- $return .= '</fieldset>';
78
-
79
- // Close form.
80
- $return .= '</form>';
81
- $return .= '</div>';
82
-
83
- return $return;
84
- }
85
-
86
- /**
87
- * Inline checkboxes.
88
- *
89
- * @param array $opts The option array.
90
- *
91
- * @return string
92
- */
93
- public function ssbp_checkboxes( $opts ) {
94
- // Check if opts passed is an array.
95
- if ( ! is_array( $opts ) ) {
96
- return 'Variable passed not an array';
97
- }
98
-
99
- // Define variable.
100
- $input = '';
101
-
102
- // If we're including the form group div.
103
- if ( $opts['form_group'] ) {
104
- $input .= '<div class="form-group">';
105
- }
106
-
107
- // If a tooltip has been set.
108
- if ( isset( $opts['tooltip'] ) && '' !== $opts['tooltip'] ) {
109
- $tooltip = 'data-toggle="tooltip" data-placement="right" data-original-title="' . esc_attr( $opts['tooltip'] ) . '"';
110
- } else {
111
- $tooltip = '';
112
- }
113
-
114
- // Label with tooltip.
115
- $input .= '<label class="control-label" ' . esc_attr( $tooltip ) . '>' . esc_html( $opts['label'] ) . '</label>';
116
-
117
- // Input div.
118
- $input .= '<div class="">';
119
-
120
- // Add all checkboxes.
121
- foreach ( $opts['checkboxes'] as $checkbox => $value ) {
122
- $input .= $this->_ssbp_add_checkboxes( $value, $checkbox );
123
- }
124
-
125
- // Close input div.
126
- $input .= '</div>';
127
-
128
- // If we're including the form group div.
129
- if ( $opts['form_group'] ) {
130
- $input .= '</div>';
131
- }
132
-
133
- // Return the input.
134
- return $input;
135
- }
136
-
137
- /**
138
- * Checkboxes.
139
- *
140
- * @param array $value The checked prop.
141
- * @param string $key The label value.
142
- */
143
- public function _ssbp_add_checkboxes( $value, $key ) {
144
- $checked = isset( $value['checked'] ) && $value['checked'] ? 'checked="checked"' : '';
145
-
146
- $ssba_checkboxes = '<label class="checkbox-inline no_indent">
147
- ' . esc_html( $key ) . '<br />
148
- <input type="checkbox" id="' . esc_attr( $value['value'] ) . '" name="' . esc_attr( $value['value'] ) . '" value="Y" ' . esc_attr( $checked ) . '>
 
 
 
 
 
 
149
  </label>';
150
- return $ssba_checkboxes;
151
- }
152
-
153
- /**
154
- * Form input with group.
155
- *
156
- * @param array $opts The option array.
157
- *
158
- * @return string
159
- */
160
- public function ssbp_input( $opts ) {
161
- // Check if opts passed is an array.
162
- if ( ! is_array( $opts ) ) {
163
- return 'Variable passed not an array';
164
- }
165
-
166
- // Define variable.
167
- $input = '';
168
-
169
- // If we're including the form group div.
170
- if ( $opts['form_group'] ) {
171
- $input .= '<div class="form-group">';
172
- }
173
-
174
- // If a tooltip has been set.
175
- if ( isset( $opts['tooltip'] ) && '' !== $opts['tooltip'] ) {
176
- $tooltip = 'data-toggle="tooltip" data-placement="right" data-original-title="' . esc_attr( $opts['tooltip'] ) . '"';
177
- } else {
178
- $tooltip = '';
179
- }
180
-
181
- // Label with tooltip.
182
- $input .= '<label for="' . esc_attr( $opts['name'] ) . '" class="control-label" ' . $tooltip . '>' . esc_html( $opts['label'] ) . '</label>';
183
-
184
- // Input div.
185
- $input .= '<div class="input-div">';
186
- $disabled = isset( $opts['disabled'] ) ? $opts['disabled'] : null;
187
-
188
- // Switch based on the input type.
189
- switch ( $opts['type'] ) {
190
- case 'text':
191
- default:
192
- $input .= '<input class="form-control" name="' . esc_attr( $opts['name'] ) . '" id="' . esc_attr( $opts['name'] ) . '" type="text" value="' . esc_attr( $opts['value'] ) . '" placeholder="' . esc_attr( $opts['placeholder'] ) . '" ' . $disabled . ' />';
193
- break;
194
- case 'text_prefix':
195
- $input .= '<div class="input-group">
196
- <span class="input-group-addon">' . esc_html( $opts['prefix'] ) . '</span>
197
- <input name="' . esc_attr( $opts['name'] ) . '" id="' . esc_attr( $opts['name'] ) . '" type="text" value="' . esc_attr( $opts['value'] ) . '" class="form-control" placeholder="' . esc_attr( $opts['placeholder'] ) . '">
 
 
198
  </div>';
199
- break;
200
- case 'error':
201
- $input .= '<p class="text-danger">' . esc_html( $opts['error'] ) . '</p>';
202
- break;
203
- case 'number':
204
- $max = isset( $opts['max'] ) ? 'max=' . $opts['max'] : '';
205
- $input .= '<input class="form-control" name="' . esc_attr( $opts['name'] ) . '" id="' . esc_attr( $opts['name'] ) . '" type="number" value="' . esc_attr( $opts['value'] ) . '" placeholder="' . esc_attr( $opts['placeholder'] ) . '"' . esc_attr( $max ) . ' />';
206
- break;
207
- case 'image_upload':
208
- $input .= '<div class="input-group">
209
- <input id="' . esc_attr( $opts['name'] ) . '" name="' . esc_attr( $opts['name'] ) . '" type="text" class="form-control" value="' . esc_attr( $opts['value'] ) . '">
210
  <span class="input-group-btn">
211
- <button id="upload_' . esc_attr( $opts['name'] ) . '_button" class="ssbpUpload ssbp_upload_btn btn btn-default" data-ssbp-input="' . esc_attr( $opts['name'] ) . '" type="button">Upload</button>
212
  </span>
213
  </div>';
214
- break;
215
- case 'number_addon':
216
- $max = isset( $opts['max'] ) ? 'max=' . $opts['max'] : '';
217
- $input .= '<div class="input-group">
218
- <input id="' . esc_attr( $opts['name'] ) . '" name="' . esc_attr( $opts['name'] ) . '" type="number" class="form-control" value="' . esc_attr( $opts['value'] ) . '" placeholder="' . esc_attr( $opts['placeholder'] ) . '"' . esc_attr( $max ) . ' />
219
- <span class="input-group-addon">' . esc_html( $opts['addon'] ) . '</span>
220
  </div>';
221
- break;
222
- case 'colorpicker':
223
- $value = '' !== $opts['value'] ? $opts['value'] : '#eaeaea';
224
- $input .= '<input id="' . esc_attr( $opts['name'] ) . '" name="' . esc_attr( $opts['name'] ) . '" type="text" class="ssba-colorpicker form-control" value="' . esc_attr( $opts['value'] ) . '" placeholder="#4582ec" style="border-color: ' . esc_attr( $value ) . '" />';
225
- break;
226
- case 'textarea':
227
- $class = isset( $opts['class'] ) ? $opts['class'] : '';
228
- $input .= '<textarea class="form-control ' . esc_attr( $class ) . '" name="' . esc_attr( $opts['name'] ) . '" id="' . esc_attr( $opts['name'] ) . '" rows="' . esc_attr( $opts['rows'] ) . '">' . esc_html( $opts['value'] ) . '</textarea>';
229
- break;
230
- case 'checkbox':
231
- $class = isset( $opts['class'] ) ? $opts['class'] : '';
232
- $disabled = isset( $opts['disabled'] ) ? $opts['disabled'] : '';
233
- $input .= '<input class="' . esc_attr( $class ) . '" name="' . esc_attr( $opts['name'] ) . '" id="' . esc_attr( $opts['name'] ) . '" type="checkbox" ' . esc_attr( $opts['checked'] ) . ' value="' . esc_attr( $opts['value'] ) . '" ' . esc_attr( $disabled ) . ' />';
234
- break;
235
- case 'select':
236
- $input .= '<select class="form-control" name="' . esc_attr( $opts['name'] ) . '" id="' . esc_attr( $opts['name'] ) . '">';
237
-
238
- // Add all options.
239
- foreach ( $opts['options'] as $key => $value ) {
240
- $selected = (string) $value === $opts['selected'] ? 'selected="selected"' : '';
241
- $input .= '<option value="' . esc_attr( $value ) . '" ' . esc_attr( $selected ) . '>' . esc_html( $key ) . '</option>';
242
- }
243
-
244
- $input .= '</select>';
245
- break;
246
- } // End switch().
247
-
248
- // Close input div.
249
- $input .= '</div>';
250
-
251
- // If we're including the form group div.
252
- if ( $opts['form_group'] ) {
253
- $input .= '</div>';
254
- }
255
-
256
- // Return the input.
257
- return $input;
258
- }
259
  }
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
+ class Forms
16
+ {
17
+
18
+ /**
19
+ * Plugin instance.
20
+ *
21
+ * @var object
22
+ */
23
+ public $plugin;
24
+
25
+ /**
26
+ * Checkboxes.
27
+ *
28
+ * @var string
29
+ */
30
+ public $ssba_checkboxes;
31
+
32
+ /**
33
+ * Class constructor.
34
+ *
35
+ * @param object $plugin Plugin class.
36
+ */
37
+ public function __construct($plugin)
38
+ {
39
+ $this->plugin = $plugin;
40
+ }
41
+
42
+ /**
43
+ * Opening form tag.
44
+ *
45
+ * @param string $wrap The wrap class.
46
+ * @param string $action The action attribute.
47
+ * @param string $class The class attribute.
48
+ *
49
+ * @return string
50
+ */
51
+ public function open($wrap, $action = '', $class = '')
52
+ {
53
+ $wrap = $wrap ? 'ssba-form-wrap' : '';
54
+ $return = '<div class="' . esc_attr($wrap) . '">';
55
+ $return .= '<form class="form-horizontal ' . esc_attr($class) . '" id="ssba-admin-form" method="post" action="' . esc_attr($action) . '">';
56
+
57
+ // Required hidden fields.
58
+ $return .= wp_nonce_field('ssba_save_settings', 'ssba_save_nonce');
59
+ $return .= '<input type="hidden" name="ssba_options" />';
60
+
61
+ // Open fieldset.
62
+ $return .= '<fieldset>';
63
+
64
+ return $return;
65
+ }
66
+
67
+ /**
68
+ * Close form tag.
69
+ *
70
+ * @return string
71
+ */
72
+ public function close()
73
+ {
74
+ // Save button.
75
+ $return = '<button id="submit" class="ssba-btn-save btn btn-lg btn-primary"><i class="fa fa-floppy-o"></i></button>';
76
+
77
+ // Success button.
78
+ $return .= '<button type="button" class="ssba-btn-save-success btn btn-lg btn-success"><i class="fa fa-check"></i></button>';
79
+
80
+ // Close fieldset.
81
+ $return .= '</fieldset>';
82
+
83
+ // Close form.
84
+ $return .= '</form>';
85
+ $return .= '</div>';
86
+
87
+ return $return;
88
+ }
89
+
90
+ /**
91
+ * Inline checkboxes.
92
+ *
93
+ * @param array $opts The option array.
94
+ *
95
+ * @return string
96
+ */
97
+ public function ssbp_checkboxes($opts)
98
+ {
99
+ // Check if opts passed is an array.
100
+ if (! is_array($opts)) {
101
+ return 'Variable passed not an array';
102
+ }
103
+
104
+ // Define variable.
105
+ $input = '';
106
+
107
+ // If we're including the form group div.
108
+ if ($opts['form_group']) {
109
+ $input .= '<div class="form-group">';
110
+ }
111
+
112
+ // If a tooltip has been set.
113
+ if (isset($opts['tooltip']) && '' !== $opts['tooltip']) {
114
+ $tooltip = 'data-toggle="tooltip" data-placement="right" data-original-title="' . esc_attr($opts['tooltip']) . '"';
115
+ } else {
116
+ $tooltip = '';
117
+ }
118
+
119
+ // Label with tooltip.
120
+ $input .= '<label class="control-label" ' . esc_attr($tooltip) . '>' . esc_html($opts['label']) . '</label>';
121
+
122
+ // Input div.
123
+ $input .= '<div class="">';
124
+
125
+ // Add all checkboxes.
126
+ foreach ($opts['checkboxes'] as $checkbox => $value) {
127
+ $input .= $this->_ssbp_add_checkboxes($value, $checkbox);
128
+ }
129
+
130
+ // Close input div.
131
+ $input .= '</div>';
132
+
133
+ // If we're including the form group div.
134
+ if ($opts['form_group']) {
135
+ $input .= '</div>';
136
+ }
137
+
138
+ // Return the input.
139
+ return $input;
140
+ }
141
+
142
+ /**
143
+ * Checkboxes.
144
+ *
145
+ * @param array $value The checked prop.
146
+ * @param string $key The label value.
147
+ */
148
+ public function _ssbp_add_checkboxes($value, $key)
149
+ {
150
+ $checked = isset($value['checked']) && $value['checked'] ? 'checked="checked"' : '';
151
+
152
+ $ssba_checkboxes = '<label class="checkbox-inline no_indent">
153
+ ' . esc_html($key) . '<br />
154
+ <input type="checkbox" id="' . esc_attr($value['value']) . '" name="' . esc_attr($value['value']) . '" value="Y" ' . esc_attr($checked) . '>
155
  </label>';
156
+
157
+ return $ssba_checkboxes;
158
+ }
159
+
160
+ /**
161
+ * Form input with group.
162
+ *
163
+ * @param array $opts The option array.
164
+ *
165
+ * @return string
166
+ */
167
+ public function ssbp_input($opts)
168
+ {
169
+ // Check if opts passed is an array.
170
+ if ( ! is_array($opts)) {
171
+ return 'Variable passed not an array';
172
+ }
173
+
174
+ // Define variable.
175
+ $input = '';
176
+
177
+ // If we're including the form group div.
178
+ if ($opts['form_group']) {
179
+ $input .= '<div class="form-group">';
180
+ }
181
+
182
+ // If a tooltip has been set.
183
+ if (isset($opts['tooltip']) && '' !== $opts['tooltip']) {
184
+ $tooltip = 'data-toggle="tooltip" data-placement="right" data-original-title="' . esc_attr($opts['tooltip']) . '"';
185
+ } else {
186
+ $tooltip = '';
187
+ }
188
+
189
+ // Label with tooltip.
190
+ $input .= '<label for="' . esc_attr($opts['name']) . '" class="control-label" ' . $tooltip . '>' . esc_html($opts['label']) . '</label>';
191
+
192
+ // Input div.
193
+ $input .= '<div class="input-div">';
194
+ $disabled = isset($opts['disabled']) ? $opts['disabled'] : null;
195
+
196
+ // Switch based on the input type.
197
+ switch ($opts['type']) {
198
+ case 'text':
199
+ default:
200
+ $input .= '<input class="form-control" name="' . esc_attr($opts['name']) . '" id="' . esc_attr($opts['name']) . '" type="text" value="' . esc_attr($opts['value']) . '" placeholder="' . esc_attr($opts['placeholder']) . '" ' . $disabled . ' />';
201
+ break;
202
+ case 'text_prefix':
203
+ $input .= '<div class="input-group">
204
+ <span class="input-group-addon">' . esc_html($opts['prefix']) . '</span>
205
+ <input name="' . esc_attr($opts['name']) . '" id="' . esc_attr($opts['name']) . '" type="text" value="' . esc_attr($opts['value']) . '" class="form-control" placeholder="' . esc_attr($opts['placeholder']) . '">
206
  </div>';
207
+ break;
208
+ case 'error':
209
+ $input .= '<p class="text-danger">' . esc_html($opts['error']) . '</p>';
210
+ break;
211
+ case 'number':
212
+ $max = isset($opts['max']) ? 'max=' . $opts['max'] : '';
213
+ $input .= '<input class="form-control" name="' . esc_attr($opts['name']) . '" id="' . esc_attr($opts['name']) . '" type="number" value="' . esc_attr($opts['value']) . '" placeholder="' . esc_attr($opts['placeholder']) . '"' . esc_attr($max) . ' />';
214
+ break;
215
+ case 'image_upload':
216
+ $input .= '<div class="input-group">
217
+ <input id="' . esc_attr($opts['name']) . '" name="' . esc_attr($opts['name']) . '" type="text" class="form-control" value="' . esc_attr($opts['value']) . '">
218
  <span class="input-group-btn">
219
+ <button id="upload_' . esc_attr($opts['name']) . '_button" class="ssbpUpload ssbp_upload_btn btn btn-default" data-ssbp-input="' . esc_attr($opts['name']) . '" type="button">Upload</button>
220
  </span>
221
  </div>';
222
+ break;
223
+ case 'number_addon':
224
+ $max = isset($opts['max']) ? 'max=' . $opts['max'] : '';
225
+ $input .= '<div class="input-group">
226
+ <input id="' . esc_attr($opts['name']) . '" name="' . esc_attr($opts['name']) . '" type="number" class="form-control" value="' . esc_attr($opts['value']) . '" placeholder="' . esc_attr($opts['placeholder']) . '"' . esc_attr($max) . ' />
227
+ <span class="input-group-addon">' . esc_html($opts['addon']) . '</span>
228
  </div>';
229
+ break;
230
+ case 'colorpicker':
231
+ $value = '' !== $opts['value'] ? $opts['value'] : '#eaeaea';
232
+ $input .= '<input id="' . esc_attr($opts['name']) . '" name="' . esc_attr($opts['name']) . '" type="text" class="ssba-colorpicker form-control" value="' . esc_attr($opts['value']) . '" placeholder="#4582ec" style="border-color: ' . esc_attr($value) . '" />';
233
+ break;
234
+ case 'textarea':
235
+ $class = isset($opts['class']) ? $opts['class'] : '';
236
+ $input .= '<textarea class="form-control ' . esc_attr($class) . '" name="' . esc_attr($opts['name']) . '" id="' . esc_attr($opts['name']) . '" rows="' . esc_attr($opts['rows']) . '">' . esc_html($opts['value']) . '</textarea>';
237
+ break;
238
+ case 'checkbox':
239
+ $class = isset($opts['class']) ? $opts['class'] : '';
240
+ $disabled = isset($opts['disabled']) ? $opts['disabled'] : '';
241
+ $input .= '<input class="' . esc_attr($class) . '" name="' . esc_attr($opts['name']) . '" id="' . esc_attr($opts['name']) . '" type="checkbox" ' . esc_attr($opts['checked']) . ' value="' . esc_attr($opts['value']) . '" ' . esc_attr($disabled) . ' />';
242
+ break;
243
+ case 'select':
244
+ $input .= '<select class="form-control" name="' . esc_attr($opts['name']) . '" id="' . esc_attr($opts['name']) . '">';
245
+
246
+ // Add all options.
247
+ foreach ($opts['options'] as $key => $value) {
248
+ $selected = (string)$value === $opts['selected'] ? 'selected="selected"' : '';
249
+ $input .= '<option value="' . esc_attr($value) . '" ' . esc_attr($selected) . '>' . esc_html($key) . '</option>';
250
+ }
251
+
252
+ $input .= '</select>';
253
+ break;
254
+ } // End switch().
255
+
256
+ // Close input div.
257
+ $input .= '</div>';
258
+
259
+ // If we're including the form group div.
260
+ if ($opts['form_group']) {
261
+ $input .= '</div>';
262
+ }
263
+
264
+ // Return the input.
265
+ return $input;
266
+ }
267
  }
php/class-plugin.php CHANGED
@@ -10,78 +10,81 @@ namespace SimpleShareButtonsAdder;
10
  /**
11
  * Main plugin bootstrap file.
12
  */
13
- class Plugin extends Plugin_Base {
 
 
 
 
 
 
 
14
 
15
- /**
16
- * Plugin constructor.
17
- */
18
- public function __construct() {
19
- parent::__construct();
20
 
21
- // Define some prefixes to use througout the plugin.
22
- $this->assets_prefix = strtolower( preg_replace( '/\B([A-Z])/', '-$1', __NAMESPACE__ ) );
23
- $this->meta_prefix = strtolower( preg_replace( '/\B([A-Z])/', '_$1', __NAMESPACE__ ) );
 
 
 
24
 
25
- // Globals.
26
- $class_ssba = new Simple_Share_Buttons_Adder( $this );
27
- $database = new Database( $this, $class_ssba );
28
- $forms = new Forms( $this );
29
- $widget_class = new Widget();
30
- $admin_panel = new Admin_Panel( $this, $class_ssba, $forms, $widget_class );
 
 
 
 
 
31
 
32
- // Initiate classes.
33
- $classes = array(
34
- $class_ssba,
35
- $database,
36
- $admin_panel,
37
- $widget_class,
38
- $forms,
39
- new Styles( $this, $class_ssba ),
40
- new Admin_Bits( $this, $class_ssba, $database, $admin_panel ),
41
- new Buttons( $this, $class_ssba, $admin_panel ),
42
- );
43
 
44
- // Add classes doc hooks.
45
- foreach ( $classes as $instance ) {
46
- $this->add_doc_hooks( $instance );
47
- }
48
 
49
- // Define some prefixes to use througout the plugin.
50
- $this->assets_prefix = strtolower( preg_replace( '/\B([A-Z])/', '-$1', __NAMESPACE__ ) );
51
- $this->meta_prefix = strtolower( preg_replace( '/\B([A-Z])/', '_$1', __NAMESPACE__ ) );
52
- }
 
 
 
 
 
 
 
 
 
53
 
54
- /**
55
- * Register assets.
56
- *
57
- * @action wp_enqueue_scripts
58
- */
59
- public function register_assets() {
60
- wp_register_script( "{$this->assets_prefix}-ssba", "{$this->dir_url}js/ssba.js", array( 'jquery' ), false, true );
61
- wp_register_style( "{$this->assets_prefix}-indie", '//fonts.googleapis.com/css?family=Indie+Flower' );
62
- wp_register_style( "{$this->assets_prefix}-reenie", '//fonts.googleapis.com/css?family=Reenie+Beanie' );
63
- wp_register_style( "{$this->assets_prefix}-ssba", "{$this->dir_url}css/ssba.css", false );
64
- wp_register_style( "{$this->assets_prefix}-font-awesome", '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', false );
65
- }
66
-
67
- /**
68
- * Register admin scripts/styles.
69
- *
70
- * @action admin_enqueue_scripts
71
- */
72
- public function register_admin_assets() {
73
- wp_register_script( "{$this->assets_prefix}-admin", "{$this->dir_url}js/admin.js", array( 'jquery', 'wp-util' ) );
74
- wp_register_script( "{$this->assets_prefix}-bootstrap-js", "{$this->dir_url}js/vendor/bootstrap.js" );
75
- wp_register_script( "{$this->assets_prefix}-colorpicker", "{$this->dir_url}js/vendor/colorpicker.js" );
76
- wp_register_script( "{$this->assets_prefix}-switch", "{$this->dir_url}js/vendor/switch.js" );
77
- wp_enqueue_style( "{$this->assets_prefix}-admin", "{$this->dir_url}css/admin.css", false );
78
- wp_register_style( "{$this->assets_prefix}-readable", "{$this->dir_url}css/readable.css" );
79
- wp_register_style( "{$this->assets_prefix}-colorpicker", "{$this->dir_url}css/colorpicker.css" );
80
- wp_register_style( "{$this->assets_prefix}-switch","{$this->dir_url}css/switch.css" );
81
- wp_register_style( "{$this->assets_prefix}-admin-theme", "{$this->dir_url}css/admin-theme.css", "{$this->assets_prefix}-font-awesome" );
82
- wp_register_style( "{$this->assets_prefix}-font-awesome", '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', false );
83
- wp_register_style( "{$this->assets_prefix}-styles", "{$this->dir_url}css/style.css" );
84
- wp_register_style( "{$this->assets_prefix}-indie", '//fonts.googleapis.com/css?family=Indie+Flower' );
85
- wp_register_style( "{$this->assets_prefix}-reenie", '//fonts.googleapis.com/css?family=Reenie+Beanie' );
86
- }
87
  }
10
  /**
11
  * Main plugin bootstrap file.
12
  */
13
+ class Plugin extends Plugin_Base
14
+ {
15
+ /**
16
+ * Plugin constructor.
17
+ */
18
+ public function __construct()
19
+ {
20
+ parent::__construct();
21
 
22
+ // Define some prefixes to use througout the plugin.
23
+ $this->assets_prefix = strtolower(preg_replace('/\B([A-Z])/', '-$1', __NAMESPACE__));
24
+ $this->meta_prefix = strtolower(preg_replace('/\B([A-Z])/', '_$1', __NAMESPACE__));
 
 
25
 
26
+ // Globals.
27
+ $class_ssba = new Simple_Share_Buttons_Adder($this);
28
+ $database = new Database($this, $class_ssba);
29
+ $forms = new Forms($this);
30
+ $widget_class = new Widget();
31
+ $admin_panel = new Admin_Panel($this, $class_ssba, $forms, $widget_class);
32
 
33
+ // Initiate classes.
34
+ $classes = array(
35
+ $class_ssba,
36
+ $database,
37
+ $admin_panel,
38
+ $widget_class,
39
+ $forms,
40
+ new Styles($this, $class_ssba),
41
+ new Admin_Bits($this, $class_ssba, $database, $admin_panel),
42
+ new Buttons($this, $class_ssba, $admin_panel),
43
+ );
44
 
45
+ // Add classes doc hooks.
46
+ foreach ($classes as $instance) {
47
+ $this->add_doc_hooks($instance);
48
+ }
 
 
 
 
 
 
 
49
 
50
+ // Define some prefixes to use througout the plugin.
51
+ $this->assets_prefix = strtolower(preg_replace('/\B([A-Z])/', '-$1', __NAMESPACE__));
52
+ $this->meta_prefix = strtolower(preg_replace('/\B([A-Z])/', '_$1', __NAMESPACE__));
53
+ }
54
 
55
+ /**
56
+ * Register assets.
57
+ *
58
+ * @action wp_enqueue_scripts
59
+ */
60
+ public function register_assets()
61
+ {
62
+ wp_register_script("{$this->assets_prefix}-ssba", "{$this->dir_url}js/ssba.js", array('jquery'), false, true);
63
+ wp_register_style("{$this->assets_prefix}-indie", '//fonts.googleapis.com/css?family=Indie+Flower');
64
+ wp_register_style("{$this->assets_prefix}-reenie", '//fonts.googleapis.com/css?family=Reenie+Beanie');
65
+ wp_register_style("{$this->assets_prefix}-ssba", "{$this->dir_url}css/ssba.css", false);
66
+ wp_register_style("{$this->assets_prefix}-font-awesome", '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', false);
67
+ }
68
 
69
+ /**
70
+ * Register admin scripts/styles.
71
+ *
72
+ * @action admin_enqueue_scripts
73
+ */
74
+ public function register_admin_assets()
75
+ {
76
+ wp_register_script("{$this->assets_prefix}-admin", "{$this->dir_url}js/admin.js", array('jquery', 'wp-util'));
77
+ wp_register_script("{$this->assets_prefix}-bootstrap-js", "{$this->dir_url}js/vendor/bootstrap.js");
78
+ wp_register_script("{$this->assets_prefix}-colorpicker", "{$this->dir_url}js/vendor/colorpicker.js");
79
+ wp_register_script("{$this->assets_prefix}-switch", "{$this->dir_url}js/vendor/switch.js");
80
+ wp_enqueue_style("{$this->assets_prefix}-admin", "{$this->dir_url}css/admin.css", false);
81
+ wp_register_style("{$this->assets_prefix}-readable", "{$this->dir_url}css/readable.css");
82
+ wp_register_style("{$this->assets_prefix}-colorpicker", "{$this->dir_url}css/colorpicker.css");
83
+ wp_register_style("{$this->assets_prefix}-switch", "{$this->dir_url}css/switch.css");
84
+ wp_register_style("{$this->assets_prefix}-admin-theme", "{$this->dir_url}css/admin-theme.css", "{$this->assets_prefix}-font-awesome");
85
+ wp_register_style("{$this->assets_prefix}-font-awesome", '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', false);
86
+ wp_register_style("{$this->assets_prefix}-styles", "{$this->dir_url}css/style.css");
87
+ wp_register_style("{$this->assets_prefix}-indie", '//fonts.googleapis.com/css?family=Indie+Flower');
88
+ wp_register_style("{$this->assets_prefix}-reenie", '//fonts.googleapis.com/css?family=Reenie+Beanie');
89
+ }
 
 
 
 
 
 
 
 
 
 
 
 
90
  }
php/class-simple-share-buttons-adder.php CHANGED
@@ -12,78 +12,110 @@ namespace SimpleShareButtonsAdder;
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
- class Simple_Share_Buttons_Adder {
16
-
17
- /**
18
- * Plugin instance.
19
- *
20
- * @var object
21
- */
22
- public $plugin;
23
-
24
- /**
25
- * Class constructor.
26
- *
27
- * @param object $plugin Plugin class.
28
- */
29
- public function __construct( $plugin ) {
30
- $this->plugin = $plugin;
31
- }
32
-
33
- /**
34
- * Get the SSBA option settings.
35
- *
36
- * @action init
37
- * @return array
38
- */
39
- public function get_ssba_settings() {
40
- $json_settings = get_option( 'ssba_settings' );
41
-
42
- // Decode and return settings.
43
- return json_decode( $json_settings, true );
44
- }
45
-
46
- /**
47
- * Update an array of options.
48
- *
49
- * @param array $arr_options The options array.
50
- */
51
- public function ssba_update_options( $arr_options ) {
52
- // If not given an array.
53
- if ( ! is_array( $arr_options ) ) {
54
- return esc_html__( 'Value parsed not an array', 'simple-share-buttons-adder' );
55
- }
56
-
57
- // Get ssba settings.
58
- $json_settings = get_option( 'ssba_settings' );
59
-
60
- // Decode the settings.
61
- $ssba_settings = json_decode( $json_settings, true );
62
-
63
- // Loop through array given.
64
- foreach ( $arr_options as $name => $value ) {
65
- // Update/add the option in the array.
66
- $ssba_settings[ $name ] = $value;
67
- }
68
-
69
- // Encode the options ready to save back.
70
- $json_settings = wp_json_encode( $ssba_settings );
71
-
72
- // Update the option in the db.
73
- update_option( 'ssba_settings', $json_settings );
74
- }
75
-
76
- /**
77
- * Add setting link to plugin page.
78
- *
79
- * @param $links
80
- *
81
- * @return mixed
82
- */
83
- public function add_action_links( $links ) {
84
- $mylinks = array(
85
- '<a href="' . admin_url( 'options-general.php?page=simple-share-buttons-adder' ) . '">Settings</a>',
86
- );
87
- return array_merge( $links, $mylinks );
88
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  }
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
+ class Simple_Share_Buttons_Adder
16
+ {
17
+
18
+ /**
19
+ * Plugin instance.
20
+ *
21
+ * @var object
22
+ */
23
+ public $plugin;
24
+
25
+ /**
26
+ * Class constructor.
27
+ *
28
+ * @param object $plugin Plugin class.
29
+ */
30
+ public function __construct($plugin)
31
+ {
32
+ $this->plugin = $plugin;
33
+ }
34
+
35
+ /**
36
+ * Get the SSBA option settings.
37
+ *
38
+ * @action init
39
+ * @return array
40
+ */
41
+ public function get_ssba_settings()
42
+ {
43
+ $this->convertSettings();
44
+
45
+ $ssba_settings = get_option('ssba_settings', true);
46
+
47
+ // Decode and return settings.
48
+ return $ssba_settings;
49
+ }
50
+
51
+ /**
52
+ * Convert settings to non JSON if exist.
53
+ */
54
+ private function convertSettings()
55
+ {
56
+ // On update convert settings to non-json.
57
+ // Only update if ssba_settings exist already.
58
+ if (empty(get_option('convert_json_ssba_settings')) && ! empty(get_option('ssba_settings'))) {
59
+ $convert_settings = json_decode(get_option('ssba_settings'), true);
60
+
61
+ update_option('ssba_settings', $convert_settings);
62
+ update_option('convert_json_ssba_settings', true);
63
+ } elseif (empty(get_option('ssba_settings'))) {
64
+ update_option('convert_json_ssba_settings', true);
65
+ }
66
+
67
+ // On update convert settings to non-json.
68
+ // Only update if ssba_settings exist already.
69
+ if (empty(get_option('convert_json_ssba_buttons')) && ! empty(get_option('ssba_buttons'))) {
70
+ $convert_buttons = json_decode(get_option('ssba_buttons'), true);
71
+
72
+ update_option('ssba_buttons', $convert_buttons);
73
+ update_option('convert_json_ssba_buttons', true);
74
+
75
+ wp_safe_redirect('/');
76
+ } elseif (empty(get_option('ssba_buttons'))) {
77
+ update_option('convert_json_ssba_buttons', true);
78
+ }
79
+ }
80
+
81
+ /**
82
+ * Update an array of options.
83
+ *
84
+ * @param array $arr_options The options array.
85
+ */
86
+ public function ssba_update_options($arr_options)
87
+ {
88
+ // If not given an array.
89
+ if (! is_array($arr_options)) {
90
+ return esc_html__('Value parsed not an array', 'simple-share-buttons-adder');
91
+ }
92
+
93
+ // Get ssba settings.
94
+ $ssba_settings = get_option('ssba_settings', true);
95
+
96
+ // Loop through array given.
97
+ foreach ($arr_options as $name => $value) {
98
+ // Update/add the option in the array.
99
+ $ssba_settings[$name] = $value;
100
+ }
101
+
102
+ // Update the option in the db.
103
+ update_option('ssba_settings', $ssba_settings);
104
+ }
105
+
106
+ /**
107
+ * Add setting link to plugin page.
108
+ *
109
+ * @param $links
110
+ *
111
+ * @return mixed
112
+ */
113
+ public function add_action_links($links)
114
+ {
115
+ $mylinks = array(
116
+ '<a href="' . admin_url('options-general.php?page=simple-share-buttons-adder') . '">Settings</a>',
117
+ );
118
+
119
+ return array_merge($links, $mylinks);
120
+ }
121
  }
php/class-styles.php CHANGED
@@ -12,125 +12,129 @@ namespace SimpleShareButtonsAdder;
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
- class Styles {
16
-
17
- /**
18
- * Plugin instance.
19
- *
20
- * @var object
21
- */
22
- public $plugin;
23
-
24
- /**
25
- * Simple Share Buttons Adder instance.
26
- *
27
- * @var object
28
- */
29
- public $class_ssba;
30
-
31
- /**
32
- * Class constructor.
33
- *
34
- * @param object $plugin Plugin class.
35
- * @param object $class_ssba Simple Share Buttons Adder class.
36
- */
37
- public function __construct( $plugin, $class_ssba ) {
38
- $this->plugin = $plugin;
39
- $this->class_ssba = $class_ssba;
40
- }
41
-
42
- /**
43
- * Add css scripts for page/post use.
44
- *
45
- * @action wp_enqueue_scripts
46
- */
47
- public function ssba_page_scripts() {
48
- // Get settings.
49
- $arr_settings = $this->class_ssba->get_ssba_settings();
50
-
51
- if ( is_ssl() ) {
52
- $st_insights = 'https://ws.sharethis.com/button/st_insights.js';
53
- } else {
54
- $st_insights = 'http://w.sharethis.com/button/st_insights.js';
55
- }
56
-
57
- // Add call to st_insights.js with params.
58
- $url = add_query_arg( array(
59
- 'publisher' => '4d48b7c5-0ae3-43d4-bfbe-3ff8c17a8ae6',
60
- 'product' => 'simpleshare',
61
- ), $st_insights );
62
-
63
- if ( 'Y' === $arr_settings['accepted_sharethis_terms'] ) {
64
- wp_enqueue_script( 'ssba-sharethis', $url, null, null );
65
- add_filter( 'script_loader_tag', array( $this, 'ssba_script_tags' ), 10, 2 );
66
- }
67
-
68
- // Enqueue main script.
69
- wp_enqueue_script( "{$this->plugin->assets_prefix}-ssba" );
70
- wp_add_inline_script( "{$this->plugin->assets_prefix}-ssba", sprintf( 'Main.boot( %s );',
71
- wp_json_encode( array() )
72
- ) );
73
-
74
- // If indie flower font is selected.
75
- if ( 'Indie Flower' === $arr_settings['ssba_font_family'] || 'Indie Flower' === $arr_settings['ssba_plus_font_family'] ) {
76
- // Font scripts.
77
- wp_enqueue_style( "{$this->plugin->assets_prefix}-indie" );
78
- }
79
-
80
- if ( 'Reenie Beanie' === $arr_settings['ssba_font_family'] || 'Reenie Beanie' === $arr_settings['ssba_plus_font_family'] ) {
81
- // Font scripts.
82
- wp_enqueue_style( "{$this->plugin->assets_prefix}-reenie" );
83
- }
84
- }
85
-
86
- /**
87
- * Adds ID to sharethis script.
88
- *
89
- * @param string $tag HTML script tag.
90
- * @param string $handle Script handle.
91
- *
92
- * @return string
93
- */
94
- public function ssba_script_tags( $tag, $handle ) {
95
- if ( 'ssba-sharethis' === $handle ) {
96
- return str_replace( '<script ', '<script id=\'st_insights_js\' ', $tag );
97
- }
98
-
99
- return $tag;
100
- }
101
-
102
- /**
103
- * Generate style.
104
- *
105
- * @action wp_enqueue_scripts
106
- */
107
- public function get_ssba_style() {
108
- // Query the db for current ssba settings.
109
- $arr_settings = $this->class_ssba->get_ssba_settings();
110
-
111
- // If the sharethis terms have been accepted.
112
- if ( 'Y' === $arr_settings['accepted_sharethis_terms'] && ( ( 'Y' !== $arr_settings['ssba_new_buttons'] && 'Y' !== $arr_settings['ignore_facebook_sdk'] ) || ( 'Y' === $arr_settings['ssba_new_buttons'] && 'Y' !== $arr_settings['plus_ignore_facebook_sdk'] ) ) ) {
113
- // if a facebook app id has been set
114
- if ( '' !== $arr_settings['facebook_app_id'] ) {
115
- $src = '//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6&appID=' . $arr_settings['facebook_app_id'];
116
- } else {
117
- $src = '//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6';
118
- }
119
-
120
- // If an app id has been entered.
121
- if ( '' !== $arr_settings['facebook_app_id'] ) {
122
- // Init facebook.
123
- echo "<script>window.fbAsyncInit = function() {
 
 
 
 
124
  FB.init({
125
  appId : '" . $arr_settings['facebook_app_id'] . "',
126
  xfbml : true,
127
  version : 'v2.6'
128
  });
129
  };</script>";
130
- }
131
 
132
- // Include facebook js sdk.
133
- echo '<script>(function(d, s, id){
134
  var js, fjs = d.getElementsByTagName(s)[0];
135
  if (d.getElementById(id)) {return;}
136
  js = d.createElement(s); js.id = id;
@@ -138,71 +142,71 @@ class Styles {
138
  fjs.parentNode.insertBefore(js, fjs);
139
  }(document, \'script\', \'facebook-jssdk\'));</script>';
140
 
141
- // If an app id has been entered.
142
- if ( '' !== $arr_settings['facebook_app_id'] ) {
143
- // If facebook insights have been enabled.
144
- if ( 'Y' === $arr_settings['facebook_insights'] ) {
145
- // Add facebook meta tag.
146
- echo '<meta property="fb:app_id" content="' . esc_attr( $arr_settings['facebook_app_id'] ) . '" />';
147
- }
148
- }
149
- } // End if().
150
-
151
- // Check if custom styles haven't been set.
152
- if ( 'Y' !== $arr_settings['ssba_custom_styles_enabled'] && 'Y' !== $arr_settings['ssba_new_buttons'] ) {
153
- $div_padding = '' !== $arr_settings['ssba_div_padding'] ? 'padding: ' . $arr_settings['ssba_div_padding'] . 'px;' : '';
154
- $border_width = '' !== $arr_settings['ssba_border_width'] ? 'border: ' . $arr_settings['ssba_border_width'] . 'px solid ' . $arr_settings['ssba_div_border'] . ';' : '';
155
- $div_background1 = '' !== $arr_settings['ssba_div_background'] ? 'background-color: ' . $arr_settings['ssba_div_background'] . ';' : '';
156
- $rounded = 'Y' === $arr_settings['ssba_div_rounded_corners'] ? '-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; -o-border-radius: 10px;' : '';
157
- $div_background2 = '' === $arr_settings['ssba_div_background'] ? 'background: none;' : '';
158
- $font = '' !== $arr_settings['ssba_font_family'] ? 'font-family: ' . $arr_settings['ssba_font_family'] . ';' : '';
159
- $font_size = '' !== $arr_settings['ssba_font_size'] ? 'font-size: ' . $arr_settings['ssba_font_size'] . 'px;' : '';
160
- $font_color = '' !== $arr_settings['ssba_font_color'] ? 'color: ' . $arr_settings['ssba_font_color'] . '!important;' : '';
161
- $font_weight = '' !== $arr_settings['ssba_font_weight'] ? 'font-weight: ' . $arr_settings['ssba_font_weight'] . ';' : '';
162
-
163
- // Use set options.
164
- $html_ssba_style = ' .ssba {
165
- ' . esc_html( $div_padding ) . '
166
- ' . esc_html( $border_width ) . '
167
- ' . esc_html( $div_background1 ) . '
168
- ' . esc_html( $rounded ) . '
169
  }
170
  .ssba img
171
  {
172
- width: ' . esc_html( $arr_settings['ssba_size'] ) . 'px !important;
173
- padding: ' . esc_html( $arr_settings['ssba_padding'] ) . 'px;
174
  border: 0;
175
  box-shadow: none !important;
176
  display: inline !important;
177
  vertical-align: middle;
178
  box-sizing: unset;
179
  }
180
-
181
  .ssba-classic-2 .ssbp-text {
182
  display: none!important;
183
  }
184
-
185
  .ssba .fb-save
186
  {
187
- padding: ' . esc_html( $arr_settings['ssba_padding'] ) . 'px;
188
  ';
189
 
190
- $html_ssba_style .= 'line-height: ' . esc_html( (int) $arr_settings['ssba_size'] - 5 ) . 'px; }
191
  .ssba, .ssba a
192
  {
193
  text-decoration:none;
194
- ' . esc_html( $div_background2 ) . '
195
- ' . esc_html( $font ) . '
196
- ' . esc_html( $font_size ) . '
197
- ' . esc_html( $font_color ) . '
198
- ' . esc_html( $font_weight ) . '
199
  }
200
  ';
201
 
202
- // If counters option is set to Y.
203
- if ( 'Y' === $arr_settings['ssba_show_share_count'] ) {
204
- // Styles that apply to all counter css sets.
205
- $html_ssba_style .= ' .ssba_sharecount:after, .ssba_sharecount:before {
206
  right: 100%;
207
  border: solid transparent;
208
  content: " ";
@@ -237,163 +241,163 @@ class Styles {
237
  position: relative;
238
  border: 1px solid #e0dddd;';
239
 
240
- // If default counter style has been chosen.
241
- if ( 'default' === $arr_settings['ssba_share_count_style'] ) {
242
- // Style share count.
243
- $html_ssba_style .= 'color: #555e58;
244
  background: #f5f5f5;
245
  }
246
  .ssba_sharecount:after {
247
  border-right-color: #f5f5f5;
248
  }';
249
 
250
- } elseif ( 'white' === $arr_settings['ssba_share_count_style'] ) {
251
- // Show white style share counts.
252
- $html_ssba_style .= 'color: #555e58;
253
  background: #ffffff;
254
  }
255
  .ssba_sharecount:after {
256
  border-right-color: #ffffff;
257
  }';
258
 
259
- } elseif ( 'blue' === $arr_settings['ssba_share_count_style'] ) {
260
- // Show blue style share counts.
261
- $html_ssba_style .= 'color: #ffffff;
262
  background: #42a7e2;
263
  }
264
  .ssba_sharecount:after {
265
  border-right-color: #42a7e2;
266
  }';
267
- }
268
- }
269
-
270
- // If there's any additional css.
271
- if ( '' !== $arr_settings['ssba_additional_css'] ) {
272
- // Add the additional CSS.
273
- $html_ssba_style .= $arr_settings['ssba_additional_css'];
274
- }
275
-
276
- wp_add_inline_style( "{$this->plugin->assets_prefix}-ssba", $html_ssba_style ); // WPCS: XSS ok.
277
- } elseif ( 'Y' !== $arr_settings['ssba_new_buttons'] ) { // Else use set options.
278
- // Use custom styles.
279
- $html_ssba_style = $arr_settings['ssba_custom_styles'];
280
-
281
- wp_add_inline_style( "{$this->plugin->assets_prefix}-ssba", $html_ssba_style ); // WPCS: XSS ok.
282
- }
283
-
284
- if ( 'Y' === $arr_settings['ssba_new_buttons'] ) {
285
- // Plus styles.
286
- $plus_height = '' !== $arr_settings['ssba_plus_height'] ? 'height: ' . $arr_settings['ssba_plus_height'] . 'px!important;' : 'height: 48px!important;';
287
- $plus_width = '' !== $arr_settings['ssba_plus_width'] ? 'width: ' . $arr_settings['ssba_plus_width'] . 'px!important;' : 'width: 48px!important;';
288
- $plus_icon = '' !== $arr_settings['ssba_plus_icon_size'] ? 'line-' . $plus_height . '; font-size: ' . $arr_settings['ssba_plus_icon_size'] . 'px;' : 'line-' . $plus_height . '; font-size: 18px;';
289
- $plus_margin = '' !== $arr_settings['ssba_plus_margin'] ? 'margin-left: ' . $arr_settings['ssba_plus_margin'] . 'px!important;' : 'margin-left: 7px!important;';
290
- $plus_font_style = '' !== $arr_settings['ssba_plus_font_family'] ? 'font-family: ' . $arr_settings['ssba_plus_font_family'] . ';' : 'font-family: inherit;';
291
- $plus_font_size = '' !== $arr_settings['ssba_plus_font_size'] ? 'font-size: ' . $arr_settings['ssba_plus_font_size'] . 'px;' : 'font-size: 12px;';
292
- $plus_font_weight = '' !== $arr_settings['ssba_plus_font_weight'] ? 'font-weight: ' . $arr_settings['ssba_plus_font_weight'] . ';' : 'font-weight: normal;';
293
- $plus_font_color = '' !== $arr_settings['ssba_plus_font_color'] ? 'color: ' . $arr_settings['ssba_plus_font_color'] . '!important;' : '';
294
- $plus_icon_color = '' !== $arr_settings['ssba_plus_icon_color'] ? 'color: ' . $arr_settings['ssba_plus_icon_color'] . '!important;' : '';
295
- $plus_icon_hover = '' !== $arr_settings['ssba_plus_icon_hover_color'] ? 'color: ' . $arr_settings['ssba_plus_icon_hover_color'] . '!important;' : '';
296
- $plus_button_color = '' !== $arr_settings['ssba_plus_button_color'] ? 'background-color: ' . $arr_settings['ssba_plus_button_color'] . '!important;' : '';
297
- $plus_button_hover = '' !== $arr_settings['ssba_plus_button_hover_color'] ? 'background-color: ' . $arr_settings['ssba_plus_button_hover_color'] . '!important;' : '';
298
-
299
- $html_ssba_style =
300
- '.ssba img
301
  {border: 0;
302
  box-shadow: none !important;
303
  display: inline !important;
304
  vertical-align: middle;
305
  box-sizing: unset;
306
  }
307
-
308
  .ssba-classic-2 .ssbp-text {
309
  display: none!important;
310
  }
311
  .ssbp-list li a {' .
312
- esc_html( $plus_height ) . ' ' .
313
- esc_html( $plus_width ) . ' ' .
314
- esc_html( $plus_button_color ) . '
315
  }
316
  .ssbp-list li a:hover {' .
317
- esc_html( $plus_button_hover ) . '
318
  }
319
-
320
  .ssbp-list li a::before {' .
321
- esc_html( $plus_icon ) .
322
- esc_html( $plus_icon_color ) .
323
- '}
324
  .ssbp-list li a:hover::before {' .
325
- esc_html( $plus_icon_hover ) .
326
- '}
327
  .ssbp-list li {
328
- ' . esc_html( $plus_margin ) . '
329
  }
330
-
331
  .ssba-share-text {
332
- ' . esc_html( $plus_font_size ) . ' '
333
- . esc_html( $plus_font_color ) . ' '
334
- . esc_html( $plus_font_weight ) . ' '
335
- . esc_html( $plus_font_style ) . '
336
  }';
337
 
338
- if ( '' !== $arr_settings['ssba_plus_additional_css'] && 'Y' === $arr_settings['ssba_new_buttons'] ) {
339
- $html_ssba_style .= $arr_settings['ssba_plus_additional_css'];
340
- }
341
-
342
- wp_add_inline_style( "{$this->plugin->assets_prefix}-ssba", $html_ssba_style ); // WPCS: XSS ok.
343
- }
344
-
345
- // If sharebar custom css is enabled use it.
346
- // Check if custom styles haven't been set.
347
- if ( 'Y' !== $arr_settings['ssba_bar_custom_styles_enabled'] ) {
348
- // Share bar styles.
349
- $bar_height = '' !== $arr_settings['ssba_bar_height'] ? 'height: ' . $arr_settings['ssba_bar_height'] . 'px!important;' : 'height: 48px!important;';
350
- $bar_width = '' !== $arr_settings['ssba_bar_width'] ? 'width: ' . $arr_settings['ssba_bar_width'] . 'px!important;' : 'width: 48px!important;';
351
- $bar_icon = '' !== $arr_settings['ssba_bar_icon_size'] ? 'line-' . $bar_height . '; font-size: ' . $arr_settings['ssba_bar_icon_size'] . 'px;' : 'line-' . $bar_height . '; font-size: 18px;';
352
- $bar_margin = '' !== $arr_settings['ssba_bar_margin'] ? 'margin: ' . $arr_settings['ssba_bar_margin'] . 'px 0!important;' : '';
353
- $bar_button_color = '' !== $arr_settings['ssba_bar_button_color'] ? 'background-color: ' . $arr_settings['ssba_bar_button_color'] . '!important;' : '';
354
- $bar_button_hover = '' !== $arr_settings['ssba_bar_button_hover_color'] ? 'background-color: ' . $arr_settings['ssba_bar_button_hover_color'] . '!important;' : '';
355
- $bar_icon_color = '' !== $arr_settings['ssba_bar_icon_color'] ? 'color: ' . $arr_settings['ssba_bar_icon_color'] . '!important;' : '';
356
- $bar_icon_hover = '' !== $arr_settings['ssba_bar_icon_hover_color'] ? 'color: ' . $arr_settings['ssba_bar_icon_hover_color'] . '!important;' : '';
357
- $bar_break_point = 'Y' !== $arr_settings['ssba_bar_mobile'] ? 'display: none;' : 'display: block;';
358
- $the_breakpoint = '' === $arr_settings['ssba_mobile_breakpoint'] || null === $arr_settings['ssba_mobile_breakpoint'] ? '750' : $arr_settings['ssba_mobile_breakpoint'];
359
-
360
- $html_bar_ssba_style = '
361
  #ssba-bar-2 .ssbp-bar-list {
362
- max-' . esc_html( $bar_width ) . ';
363
  }
364
  #ssba-bar-2 .ssbp-bar-list li a {' .
365
- esc_html( $bar_height ) . ' ' .
366
- esc_html( $bar_width ) . ' ' .
367
- esc_html( $bar_button_color ) . '
368
  }
369
  #ssba-bar-2 .ssbp-bar-list li a:hover {' .
370
- esc_html( $bar_button_hover ) . '
371
  }
372
-
373
  #ssba-bar-2 .ssbp-bar-list li a::before {' .
374
- esc_html( $bar_icon ) .
375
- esc_html( $bar_icon_color ) .
376
- '}
377
  #ssba-bar-2 .ssbp-bar-list li a:hover::before {' .
378
- esc_html( $bar_icon_hover ) .
379
- '}
380
  #ssba-bar-2 .ssbp-bar-list li {
381
- ' . esc_html( $bar_margin ) . '
382
  }';
383
 
384
- $html_bar_ssba_style .= '@media only screen and ( max-width: ' . $the_breakpoint . 'px ) {
385
  #ssba-bar-2 {
386
  ' . $bar_break_point . '
387
  }
388
  }';
389
 
390
- // If there's any additional css.
391
- if ( '' !== $arr_settings['ssba_bar_additional_css'] ) {
392
- // Add the additional CSS.
393
- $html_bar_ssba_style .= $arr_settings['ssba_bar_additional_css'];
394
- }
395
 
396
- wp_add_inline_style( "{$this->plugin->assets_prefix}-ssba", $html_bar_ssba_style ); // WPCS: XSS ok.
397
- }
398
- }
399
  }
12
  *
13
  * @package SimpleShareButtonsAdder
14
  */
15
+ class Styles
16
+ {
17
+ /**
18
+ * Plugin instance.
19
+ *
20
+ * @var object
21
+ */
22
+ public $plugin;
23
+
24
+ /**
25
+ * Simple Share Buttons Adder instance.
26
+ *
27
+ * @var object
28
+ */
29
+ public $class_ssba;
30
+
31
+ /**
32
+ * Class constructor.
33
+ *
34
+ * @param object $plugin Plugin class.
35
+ * @param object $class_ssba Simple Share Buttons Adder class.
36
+ */
37
+ public function __construct($plugin, $class_ssba)
38
+ {
39
+ $this->plugin = $plugin;
40
+ $this->class_ssba = $class_ssba;
41
+ }
42
+
43
+ /**
44
+ * Add css scripts for page/post use.
45
+ *
46
+ * @action wp_enqueue_scripts
47
+ */
48
+ public function ssba_page_scripts()
49
+ {
50
+ // Get settings.
51
+ $arr_settings = $this->class_ssba->get_ssba_settings();
52
+
53
+ if (is_ssl()) {
54
+ $st_insights = 'https://ws.sharethis.com/button/st_insights.js';
55
+ } else {
56
+ $st_insights = 'http://w.sharethis.com/button/st_insights.js';
57
+ }
58
+
59
+ // Add call to st_insights.js with params.
60
+ $url = add_query_arg(array(
61
+ 'publisher' => '4d48b7c5-0ae3-43d4-bfbe-3ff8c17a8ae6',
62
+ 'product' => 'simpleshare',
63
+ ), $st_insights);
64
+
65
+ if ('Y' === $arr_settings['accepted_sharethis_terms']) {
66
+ wp_enqueue_script('ssba-sharethis', $url, null, null);
67
+ add_filter('script_loader_tag', array($this, 'ssba_script_tags'), 10, 2);
68
+ }
69
+
70
+ // Enqueue main script.
71
+ wp_enqueue_script("{$this->plugin->assets_prefix}-ssba");
72
+ wp_add_inline_script("{$this->plugin->assets_prefix}-ssba", sprintf('Main.boot( %s );',
73
+ wp_json_encode(array())
74
+ ));
75
+
76
+ // If indie flower font is selected.
77
+ if ('Indie Flower' === $arr_settings['ssba_font_family'] || 'Indie Flower' === $arr_settings['ssba_plus_font_family']) {
78
+ // Font scripts.
79
+ wp_enqueue_style("{$this->plugin->assets_prefix}-indie");
80
+ }
81
+
82
+ if ('Reenie Beanie' === $arr_settings['ssba_font_family'] || 'Reenie Beanie' === $arr_settings['ssba_plus_font_family']) {
83
+ // Font scripts.
84
+ wp_enqueue_style("{$this->plugin->assets_prefix}-reenie");
85
+ }
86
+ }
87
+
88
+ /**
89
+ * Adds ID to sharethis script.
90
+ *
91
+ * @param string $tag HTML script tag.
92
+ * @param string $handle Script handle.
93
+ *
94
+ * @return string
95
+ */
96
+ public function ssba_script_tags($tag, $handle)
97
+ {
98
+ if ('ssba-sharethis' === $handle) {
99
+ return str_replace('<script ', '<script id=\'st_insights_js\' ', $tag);
100
+ }
101
+
102
+ return $tag;
103
+ }
104
+
105
+ /**
106
+ * Generate style.
107
+ *
108
+ * @action wp_enqueue_scripts
109
+ */
110
+ public function get_ssba_style()
111
+ {
112
+ // Query the db for current ssba settings.
113
+ $arr_settings = $this->class_ssba->get_ssba_settings();
114
+
115
+ // If the sharethis terms have been accepted.
116
+ if ('Y' === $arr_settings['accepted_sharethis_terms'] && (('Y' !== $arr_settings['ssba_new_buttons'] && 'Y' !== $arr_settings['ignore_facebook_sdk']) || ('Y' === $arr_settings['ssba_new_buttons'] && 'Y' !== $arr_settings['plus_ignore_facebook_sdk']))) {
117
+ // if a facebook app id has been set
118
+ if ('' !== $arr_settings['facebook_app_id']) {
119
+ $src = '//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6&appID=' . $arr_settings['facebook_app_id'];
120
+ } else {
121
+ $src = '//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6';
122
+ }
123
+
124
+ // If an app id has been entered.
125
+ if ('' !== $arr_settings['facebook_app_id']) {
126
+ // Init facebook.
127
+ echo "<script>window.fbAsyncInit = function() {
128
  FB.init({
129
  appId : '" . $arr_settings['facebook_app_id'] . "',
130
  xfbml : true,
131
  version : 'v2.6'
132
  });
133
  };</script>";
134
+ }
135
 
136
+ // Include facebook js sdk.
137
+ echo '<script>(function(d, s, id){
138
  var js, fjs = d.getElementsByTagName(s)[0];
139
  if (d.getElementById(id)) {return;}
140
  js = d.createElement(s); js.id = id;
142
  fjs.parentNode.insertBefore(js, fjs);
143
  }(document, \'script\', \'facebook-jssdk\'));</script>';
144
 
145
+ // If an app id has been entered.
146
+ if ('' !== $arr_settings['facebook_app_id']) {
147
+ // If facebook insights have been enabled.
148
+ if ('Y' === $arr_settings['facebook_insights']) {
149
+ // Add facebook meta tag.
150
+ echo '<meta property="fb:app_id" content="' . esc_attr($arr_settings['facebook_app_id']) . '" />';
151
+ }
152
+ }
153
+ } // End if().
154
+
155
+ // Check if custom styles haven't been set.
156
+ if ('Y' !== $arr_settings['ssba_custom_styles_enabled'] && 'Y' !== $arr_settings['ssba_new_buttons']) {
157
+ $div_padding = '' !== $arr_settings['ssba_div_padding'] ? 'padding: ' . $arr_settings['ssba_div_padding'] . 'px;' : '';
158
+ $border_width = '' !== $arr_settings['ssba_border_width'] ? 'border: ' . $arr_settings['ssba_border_width'] . 'px solid ' . $arr_settings['ssba_div_border'] . ';' : '';
159
+ $div_background1 = '' !== $arr_settings['ssba_div_background'] ? 'background-color: ' . $arr_settings['ssba_div_background'] . ';' : '';
160
+ $rounded = 'Y' === $arr_settings['ssba_div_rounded_corners'] ? '-moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; -o-border-radius: 10px;' : '';
161
+ $div_background2 = '' === $arr_settings['ssba_div_background'] ? 'background: none;' : '';
162
+ $font = '' !== $arr_settings['ssba_font_family'] ? 'font-family: ' . $arr_settings['ssba_font_family'] . ';' : '';
163
+ $font_size = '' !== $arr_settings['ssba_font_size'] ? 'font-size: ' . $arr_settings['ssba_font_size'] . 'px;' : '';
164
+ $font_color = '' !== $arr_settings['ssba_font_color'] ? 'color: ' . $arr_settings['ssba_font_color'] . '!important;' : '';
165
+ $font_weight = '' !== $arr_settings['ssba_font_weight'] ? 'font-weight: ' . $arr_settings['ssba_font_weight'] . ';' : '';
166
+
167
+ // Use set options.
168
+ $html_ssba_style = ' .ssba {
169
+ ' . esc_html($div_padding) . '
170
+ ' . esc_html($border_width) . '
171
+ ' . esc_html($div_background1) . '
172
+ ' . esc_html($rounded) . '
173
  }
174
  .ssba img
175
  {
176
+ width: ' . esc_html($arr_settings['ssba_size']) . 'px !important;
177
+ padding: ' . esc_html($arr_settings['ssba_padding']) . 'px;
178
  border: 0;
179
  box-shadow: none !important;
180
  display: inline !important;
181
  vertical-align: middle;
182
  box-sizing: unset;
183
  }
184
+
185
  .ssba-classic-2 .ssbp-text {
186
  display: none!important;
187
  }
188
+
189
  .ssba .fb-save
190
  {
191
+ padding: ' . esc_html($arr_settings['ssba_padding']) . 'px;
192
  ';
193
 
194
+ $html_ssba_style .= 'line-height: ' . esc_html((int)$arr_settings['ssba_size'] - 5) . 'px; }
195
  .ssba, .ssba a
196
  {
197
  text-decoration:none;
198
+ ' . esc_html($div_background2) . '
199
+ ' . esc_html($font) . '
200
+ ' . esc_html($font_size) . '
201
+ ' . esc_html($font_color) . '
202
+ ' . esc_html($font_weight) . '
203
  }
204
  ';
205
 
206
+ // If counters option is set to Y.
207
+ if ('Y' === $arr_settings['ssba_show_share_count']) {
208
+ // Styles that apply to all counter css sets.
209
+ $html_ssba_style .= ' .ssba_sharecount:after, .ssba_sharecount:before {
210
  right: 100%;
211
  border: solid transparent;
212
  content: " ";
241
  position: relative;
242
  border: 1px solid #e0dddd;';
243
 
244
+ // If default counter style has been chosen.
245
+ if ('default' === $arr_settings['ssba_share_count_style']) {
246
+ // Style share count.
247
+ $html_ssba_style .= 'color: #555e58;
248
  background: #f5f5f5;
249
  }
250
  .ssba_sharecount:after {
251
  border-right-color: #f5f5f5;
252
  }';
253
 
254
+ } elseif ('white' === $arr_settings['ssba_share_count_style']) {
255
+ // Show white style share counts.
256
+ $html_ssba_style .= 'color: #555e58;
257
  background: #ffffff;
258
  }
259
  .ssba_sharecount:after {
260
  border-right-color: #ffffff;
261
  }';
262
 
263
+ } elseif ('blue' === $arr_settings['ssba_share_count_style']) {
264
+ // Show blue style share counts.
265
+ $html_ssba_style .= 'color: #ffffff;
266
  background: #42a7e2;
267
  }
268
  .ssba_sharecount:after {
269
  border-right-color: #42a7e2;
270
  }';
271
+ }
272
+ }
273
+
274
+ // If there's any additional css.
275
+ if ('' !== $arr_settings['ssba_additional_css']) {
276
+ // Add the additional CSS.
277
+ $html_ssba_style .= $arr_settings['ssba_additional_css'];
278
+ }
279
+
280
+ wp_add_inline_style("{$this->plugin->assets_prefix}-ssba", $html_ssba_style); // WPCS: XSS ok.
281
+ } elseif ('Y' !== $arr_settings['ssba_new_buttons']) { // Else use set options.
282
+ // Use custom styles.
283
+ $html_ssba_style = $arr_settings['ssba_custom_styles'];
284
+
285
+ wp_add_inline_style("{$this->plugin->assets_prefix}-ssba", $html_ssba_style); // WPCS: XSS ok.
286
+ }
287
+
288
+ if ('Y' === $arr_settings['ssba_new_buttons']) {
289
+ // Plus styles.
290
+ $plus_height = '' !== $arr_settings['ssba_plus_height'] ? 'height: ' . $arr_settings['ssba_plus_height'] . 'px!important;' : 'height: 48px!important;';
291
+ $plus_width = '' !== $arr_settings['ssba_plus_width'] ? 'width: ' . $arr_settings['ssba_plus_width'] . 'px!important;' : 'width: 48px!important;';
292
+ $plus_icon = '' !== $arr_settings['ssba_plus_icon_size'] ? 'line-' . $plus_height . '; font-size: ' . $arr_settings['ssba_plus_icon_size'] . 'px;' : 'line-' . $plus_height . '; font-size: 18px;';
293
+ $plus_margin = '' !== $arr_settings['ssba_plus_margin'] ? 'margin-left: ' . $arr_settings['ssba_plus_margin'] . 'px!important;' : 'margin-left: 7px!important;';
294
+ $plus_font_style = '' !== $arr_settings['ssba_plus_font_family'] ? 'font-family: ' . $arr_settings['ssba_plus_font_family'] . ';' : 'font-family: inherit;';
295
+ $plus_font_size = '' !== $arr_settings['ssba_plus_font_size'] ? 'font-size: ' . $arr_settings['ssba_plus_font_size'] . 'px;' : 'font-size: 12px;';
296
+ $plus_font_weight = '' !== $arr_settings['ssba_plus_font_weight'] ? 'font-weight: ' . $arr_settings['ssba_plus_font_weight'] . ';' : 'font-weight: normal;';
297
+ $plus_font_color = '' !== $arr_settings['ssba_plus_font_color'] ? 'color: ' . $arr_settings['ssba_plus_font_color'] . '!important;' : '';
298
+ $plus_icon_color = '' !== $arr_settings['ssba_plus_icon_color'] ? 'color: ' . $arr_settings['ssba_plus_icon_color'] . '!important;' : '';
299
+ $plus_icon_hover = '' !== $arr_settings['ssba_plus_icon_hover_color'] ? 'color: ' . $arr_settings['ssba_plus_icon_hover_color'] . '!important;' : '';
300
+ $plus_button_color = '' !== $arr_settings['ssba_plus_button_color'] ? 'background-color: ' . $arr_settings['ssba_plus_button_color'] . '!important;' : '';
301
+ $plus_button_hover = '' !== $arr_settings['ssba_plus_button_hover_color'] ? 'background-color: ' . $arr_settings['ssba_plus_button_hover_color'] . '!important;' : '';
302
+
303
+ $html_ssba_style =
304
+ '.ssba img
305
  {border: 0;
306
  box-shadow: none !important;
307
  display: inline !important;
308
  vertical-align: middle;
309
  box-sizing: unset;
310
  }
311
+
312
  .ssba-classic-2 .ssbp-text {
313
  display: none!important;
314
  }
315
  .ssbp-list li a {' .
316
+ esc_html($plus_height) . ' ' .
317
+ esc_html($plus_width) . ' ' .
318
+ esc_html($plus_button_color) . '
319
  }
320
  .ssbp-list li a:hover {' .
321
+ esc_html($plus_button_hover) . '
322
  }
323
+
324
  .ssbp-list li a::before {' .
325
+ esc_html($plus_icon) .
326
+ esc_html($plus_icon_color) .
327
+ '}
328
  .ssbp-list li a:hover::before {' .
329
+ esc_html($plus_icon_hover) .
330
+ '}
331
  .ssbp-list li {
332
+ ' . esc_html($plus_margin) . '
333
  }
334
+
335
  .ssba-share-text {
336
+ ' . esc_html($plus_font_size) . ' '
337
+ . esc_html($plus_font_color) . ' '
338
+ . esc_html($plus_font_weight) . ' '
339
+ . esc_html($plus_font_style) . '
340
  }';
341
 
342
+ if ('' !== $arr_settings['ssba_plus_additional_css'] && 'Y' === $arr_settings['ssba_new_buttons']) {
343
+ $html_ssba_style .= $arr_settings['ssba_plus_additional_css'];
344
+ }
345
+
346
+ wp_add_inline_style("{$this->plugin->assets_prefix}-ssba", $html_ssba_style); // WPCS: XSS ok.
347
+ }
348
+
349
+ // If sharebar custom css is enabled use it.
350
+ // Check if custom styles haven't been set.
351
+ if ('Y' !== $arr_settings['ssba_bar_custom_styles_enabled']) {
352
+ // Share bar styles.
353
+ $bar_height = '' !== $arr_settings['ssba_bar_height'] ? 'height: ' . $arr_settings['ssba_bar_height'] . 'px!important;' : 'height: 48px!important;';
354
+ $bar_width = '' !== $arr_settings['ssba_bar_width'] ? 'width: ' . $arr_settings['ssba_bar_width'] . 'px!important;' : 'width: 48px!important;';
355
+ $bar_icon = '' !== $arr_settings['ssba_bar_icon_size'] ? 'line-' . $bar_height . '; font-size: ' . $arr_settings['ssba_bar_icon_size'] . 'px;' : 'line-' . $bar_height . '; font-size: 18px;';
356
+ $bar_margin = '' !== $arr_settings['ssba_bar_margin'] ? 'margin: ' . $arr_settings['ssba_bar_margin'] . 'px 0!important;' : '';
357
+ $bar_button_color = '' !== $arr_settings['ssba_bar_button_color'] ? 'background-color: ' . $arr_settings['ssba_bar_button_color'] . '!important;' : '';
358
+ $bar_button_hover = '' !== $arr_settings['ssba_bar_button_hover_color'] ? 'background-color: ' . $arr_settings['ssba_bar_button_hover_color'] . '!important;' : '';
359
+ $bar_icon_color = '' !== $arr_settings['ssba_bar_icon_color'] ? 'color: ' . $arr_settings['ssba_bar_icon_color'] . '!important;' : '';
360
+ $bar_icon_hover = '' !== $arr_settings['ssba_bar_icon_hover_color'] ? 'color: ' . $arr_settings['ssba_bar_icon_hover_color'] . '!important;' : '';
361
+ $bar_break_point = 'Y' !== $arr_settings['ssba_bar_mobile'] ? 'display: none;' : 'display: block;';
362
+ $the_breakpoint = '' === $arr_settings['ssba_mobile_breakpoint'] || null === $arr_settings['ssba_mobile_breakpoint'] ? '750' : $arr_settings['ssba_mobile_breakpoint'];
363
+
364
+ $html_bar_ssba_style = '
365
  #ssba-bar-2 .ssbp-bar-list {
366
+ max-' . esc_html($bar_width) . ';
367
  }
368
  #ssba-bar-2 .ssbp-bar-list li a {' .
369
+ esc_html($bar_height) . ' ' .
370
+ esc_html($bar_width) . ' ' .
371
+ esc_html($bar_button_color) . '
372
  }
373
  #ssba-bar-2 .ssbp-bar-list li a:hover {' .
374
+ esc_html($bar_button_hover) . '
375
  }
376
+
377
  #ssba-bar-2 .ssbp-bar-list li a::before {' .
378
+ esc_html($bar_icon) .
379
+ esc_html($bar_icon_color) .
380
+ '}
381
  #ssba-bar-2 .ssbp-bar-list li a:hover::before {' .
382
+ esc_html($bar_icon_hover) .
383
+ '}
384
  #ssba-bar-2 .ssbp-bar-list li {
385
+ ' . esc_html($bar_margin) . '
386
  }';
387
 
388
+ $html_bar_ssba_style .= '@media only screen and ( max-width: ' . $the_breakpoint . 'px ) {
389
  #ssba-bar-2 {
390
  ' . $bar_break_point . '
391
  }
392
  }';
393
 
394
+ // If there's any additional css.
395
+ if ('' !== $arr_settings['ssba_bar_additional_css']) {
396
+ // Add the additional CSS.
397
+ $html_bar_ssba_style .= $arr_settings['ssba_bar_additional_css'];
398
+ }
399
 
400
+ wp_add_inline_style("{$this->plugin->assets_prefix}-ssba", $html_bar_ssba_style); // WPCS: XSS ok.
401
+ }
402
+ }
403
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: sharethis, scottstorebloom, surlyrightclick, DavidoffNeal
3
  Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
4
  Requires at least: 4.5
5
- Tested up to: 5.2.3
6
- Stable tag: 7.6.21
7
  License: GPLv2 or later
8
 
9
  A simple plugin that enables you to add share buttons to all of your posts and/or pages.
@@ -66,6 +66,11 @@ Please visit the <a href="https://wordpress.org/support/plugin/simple-share-butt
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
69
  = 7.6.21 =
70
  * Security: Added esc_url to incoming shortcode URLs to avoid nafarious share links.
71
 
2
  Contributors: sharethis, scottstorebloom, surlyrightclick, DavidoffNeal
3
  Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
4
  Requires at least: 4.5
5
+ Tested up to: 5.4.1
6
+ Stable tag: 7.7.0
7
  License: GPLv2 or later
8
 
9
  A simple plugin that enables you to add share buttons to all of your posts and/or pages.
66
 
67
  == Changelog ==
68
 
69
+ = 7.7.0 =
70
+ * Add: Add Line, Weibo, and Skype buttons.
71
+ * Fix: Update DB data structure away from JSON.
72
+ * Add: Review us dismissible popup.
73
+
74
  = 7.6.21 =
75
  * Security: Added esc_url to incoming shortcode URLs to avoid nafarious share links.
76
 
simple-share-buttons-adder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Simple Share Buttons Adder
4
  * Plugin URI: https://simplesharebuttons.com
5
  * Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
6
- * Version: 7.6.21
7
  * Author: Simple Share Buttons
8
  * Author URI: https://simplesharebuttons.com
9
  * License: GPLv2
3
  * Plugin Name: Simple Share Buttons Adder
4
  * Plugin URI: https://simplesharebuttons.com
5
  * Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
6
+ * Version: 7.7.0
7
  * Author: Simple Share Buttons
8
  * Author URI: https://simplesharebuttons.com
9
  * License: GPLv2
templates/admin-footer.php CHANGED
@@ -35,4 +35,20 @@
35
  </div>
36
  </footer>
37
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  </div>
35
  </div>
36
  </footer>
37
  </div>
38
+ <?php if (empty(get_option('ssba-hide-review'))) : ?>
39
+ <div class="ssba-review-us">
40
+ <h3>
41
+ <?php echo esc_html__('Love this plugin?', 'googleanalytics'); ?>
42
+ <p>
43
+ <a href="https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/#new-post" target="_blank">
44
+ <?php echo esc_html__(
45
+ 'Please spread the word by leaving us a 5 star review!',
46
+ 'simple-share-buttons-adder'
47
+ ); ?>
48
+ </a>
49
+ </p>
50
+ <div id="close-review-us">close</div>
51
+ </h3>
52
+ </div>
53
+ <?php endif; ?>
54
  </div>
templates/classic-tab.php CHANGED
@@ -44,7 +44,7 @@
44
  <div class="ssbp-wrap ssbp--centred ssbp--theme-4">
45
  <div class="ssbp-container">
46
  <ul id="ssbasort1" class="ssbp-list ssbaSortable">
47
- <?php echo wp_kses_post( $this->get_available_ssba( $arr_settings['ssba_selected_buttons'], $arr_settings ) ); ?>
48
  </ul>
49
  </div>
50
  </div>
@@ -55,7 +55,7 @@
55
  <div class="ssbp-wrap ssbp--centred ssbp--theme-4">
56
  <div class="ssbp-container">
57
  <ul id="ssbasort2" class="ssba-include-list ssbp-list ssbaSortable">
58
- <?php echo wp_kses_post( $this->get_selected_ssba( $arr_settings['ssba_selected_buttons'], $arr_settings ) ); ?>
59
  </ul>
60
  </div>
61
  </div>
44
  <div class="ssbp-wrap ssbp--centred ssbp--theme-4">
45
  <div class="ssbp-container">
46
  <ul id="ssbasort1" class="ssbp-list ssbaSortable">
47
+ <?php echo wp_kses_post( $this->get_available_ssba( $arr_settings['ssba_selected_buttons'], $arr_settings, 'classic' ) ); ?>
48
  </ul>
49
  </div>
50
  </div>
55
  <div class="ssbp-wrap ssbp--centred ssbp--theme-4">
56
  <div class="ssbp-container">
57
  <ul id="ssbasort2" class="ssba-include-list ssbp-list ssbaSortable">
58
+ <?php echo wp_kses_post( $this->get_selected_ssba( $arr_settings['ssba_selected_buttons'], $arr_settings, 'classic' ) ); ?>
59
  </ul>
60
  </div>
61
  </div>