Version Description
- Apr 17, 2021 =
- Fix: Review image issue.
- Fix: Backend shortcode select responsive issue.
- Fix: Help tooltip text align issue.
- Improved: Shortcode area redesigned.
- Improved: Dynamic version added for admin script & style.
Download this release
Release Info
Developer | shapedplugin |
Plugin | Real Testimonials |
Version | 2.2.12 |
Comparing to | |
See all releases |
Code changes from version 2.2.11 to 2.2.12
- admin/assets/css/admin.css +8 -1
- admin/assets/css/admin.min.css +1 -1
- admin/assets/images/testimonial-icon1.svg +1 -0
- admin/views/framework/assets/css/spftestimonial.css +3 -2
- admin/views/framework/assets/css/spftestimonial.min.css +1 -1
- admin/views/framework/assets/js/spftestimonial.js +2 -2
- admin/views/framework/assets/js/spftestimonial.min.js +1 -1
- admin/views/framework/classes/metabox.class.php +0 -2
- admin/views/framework/classes/setup.class.php +4 -4
- admin/views/framework/fields/shortcode/shortcode.php +1 -1
- admin/views/notices/review.php +1 -1
- admin/views/testimonial-form.php +2 -2
- admin/views/testimonial-metaboxs.php +1 -1
- includes/functions.php +0 -0
- readme.txt +8 -1
- testimonial-free.php +2 -2
admin/assets/css/admin.css
CHANGED
@@ -555,6 +555,10 @@
|
|
555 |
border: 1px solid #d1e4ef;
|
556 |
border-radius: 2px;
|
557 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
558 |
}
|
559 |
.tpro_shortcode .tpro-col-lg-6:last-child {
|
560 |
border-right: none;
|
@@ -889,12 +893,15 @@ div.sp-tfree-help .sp-tfree-upgrade-sticky-footer a.button{
|
|
889 |
background-color:#fff;
|
890 |
border-radius:3px;
|
891 |
margin:20px 20px 0 0;
|
|
|
892 |
}
|
893 |
#sp-tfree-review-notice .sp-tfree-plugin-icon {
|
894 |
-
width:125px;
|
895 |
float:left;
|
896 |
line-height:90px;
|
897 |
text-align:center;
|
|
|
|
|
|
|
898 |
}
|
899 |
#sp-tfree-review-notice .sp-tfree-plugin-icon img {
|
900 |
max-width:83px;
|
555 |
border: 1px solid #d1e4ef;
|
556 |
border-radius: 2px;
|
557 |
cursor: pointer;
|
558 |
+
background-image: url(../images/copy.svg);
|
559 |
+
background-size: 16px;
|
560 |
+
background-position: 10px center;
|
561 |
+
background-repeat: no-repeat;
|
562 |
}
|
563 |
.tpro_shortcode .tpro-col-lg-6:last-child {
|
564 |
border-right: none;
|
893 |
background-color:#fff;
|
894 |
border-radius:3px;
|
895 |
margin:20px 20px 0 0;
|
896 |
+
margin-bottom: 20px;
|
897 |
}
|
898 |
#sp-tfree-review-notice .sp-tfree-plugin-icon {
|
|
|
899 |
float:left;
|
900 |
line-height:90px;
|
901 |
text-align:center;
|
902 |
+
width: 100px;
|
903 |
+
height: 100px;
|
904 |
+
margin-right: 15px;
|
905 |
}
|
906 |
#sp-tfree-review-notice .sp-tfree-plugin-icon img {
|
907 |
max-width:83px;
|
admin/assets/css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.text-center{text-align:center}.spt-main-class .spftestimonial-header-inner h1{color:#444;font-size:22px;font-weight:600}.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner{z-index:20}.spt-main-class .spftestimonial-metabox .spftestimonial-nav{position:inherit;float:none;width:100%;background:#f1f1f1}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li{display:inline-block}.spt-main-class .spftestimonial-nav ul li a{text-transform:uppercase;font-weight:600}.spt-main-class .spftestimonial-metabox .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-metabox{margin:-6px -12px -12px -12px}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;border-bottom:0}#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a{font-size:13px;text-transform:uppercase;padding:16px 15px}.spt-main-class .spftestimonial-nav ul li .spftestimonial-section-active:after{display:none}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-section-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-section-active .fa{color:#1595ce}.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background{display:none}.spt-main-class.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4!important;margin-bottom:0;padding:15px 15px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-section-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background{border-right:1px solid #ccd0d4}.spt-main-class .spftestimonial-field-border .spftestimonial--input,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--input,.spt-main-class .spftestimonial-field-spacing .spftestimonial--input{margin-right:10px;margin-bottom:7px}.spt-main-class .spftestimonial-field-border .spftestimonial--input select,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--input select,.spt-main-class .spftestimonial-field-spacing .spftestimonial--input select{line-height:26px}.spt-main-class .spftestimonial-field-border .spftestimonial--input input,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--input input,.spt-main-class .spftestimonial-field-spacing .spftestimonial--input input{line-height:30px;float:left;padding:0;border-radius:0}.spt-main-class .spftestimonial-field-border .spftestimonial--label,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--label,.spt-main-class .spftestimonial-field-spacing .spftestimonial--label{max-width:100%;font-size:12px;line-height:30px;vertical-align:top;text-align:center;color:#555;border:1px solid #ddd;background-color:#eee;padding:0 6px;min-height:30px}.spt-main-class .spftestimonial-field-border .spftestimonial--label-icon,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--label-icon,.spt-main-class .spftestimonial-field-spacing .spftestimonial--label-icon{min-width:20px;border-radius:2px 0 0 2px}.spt-main-class .spftestimonial-field-border .spftestimonial--label-unit,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--label-unit,.spt-main-class .spftestimonial-field-spacing .spftestimonial--label-unit{color:#999;border-radius:0 2px 2px 0}.spt-main-class .spftestimonial-field-spinner .spftestimonial--unit{float:right;height:30px;line-height:26px;text-align:center;border-left:none;color:#999;border:1px solid #ddd;border-left:0;background-color:#eee;padding:0 6px;margin:0;box-sizing:border-box}.spt-main-class .spftestimonial-field-spinner .ui-spinner-button{cursor:pointer;position:relative;overflow:hidden;margin:0;padding:0;width:30px;height:30px;line-height:30px;text-align:center;border:1px solid #ddd;color:#555;background-color:#eee;box-sizing:border-box}.spt-main-class .spftestimonial-field-spinner .ui-spinner-button:before{font-family:FontAwesome;font-size:16px;line-height:16px}.spt-main-class .spftestimonial-field-spinner .ui-spinner-down{float:left;border-right:0;border-radius:2px 0 0 2px}.spt-main-class .spftestimonial-field-spinner .ui-spinner-up{float:right;border-left:0;border-radius:0 2px 2px 0}.spt-main-class .spftestimonial-field-spinner input{width:60px;text-align:center;margin:0;padding:0 8px;height:31px;line-height:31px;border:1px solid #ddd;border-radius:0}.spt-main-class .spftestimonial-field-spinner input:focus{outline:0}.spt-main-class .spftestimonial-field-tabbed .spftestimonial-tabbed-section{border:1px solid #eee}.spt-main-class .spftestimonial-field-text input,.spt-main-class .spftestimonial-field-text_f input{width:340px;max-width:100%}.spt-main-class .control-section .spftestimonial-field .spftestimonial-title{margin-bottom:10px}.spt-main-class .control-section .spftestimonial-field .spftestimonial-title h4{font-size:14px}.spt-main-class .control-section .spftestimonial-field-background .spftestimonial--select{width:100%}.spt-main-class .control-section .spftestimonial-field-border select,.spt-main-class .control-section .spftestimonial-field-dimensions select,.spt-main-class .control-section .spftestimonial-field-spacing select{width:auto}.spt-main-class .spftestimonial-text-desc,.spt-main-class .spftestimonial-text-subtitle{font-style:italic}@media only screen and (max-width:1200px){.spt-main-class .spftestimonial-metabox .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-metabox .spftestimonial-field .spftestimonial-fieldset{margin-left:0}}@media only screen and (max-width:782px){.spt-main-class .spftestimonial-header-inner{text-align:center}.spt-main-class .spftestimonial-header-inner h1{width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-header-left,.spt-main-class .spftestimonial-header-right,.spt-main-class .spftestimonial-search{width:100%}.spt-main-class .spftestimonial-search{text-align:center;margin-bottom:15px}.spt-main-class .spftestimonial-footer{text-align:center}.spt-main-class .spftestimonial-buttons{float:none}.spt-main-class .spftestimonial-copyright{float:none;margin-top:10px}.spt-main-class .spftestimonial-expand-all,.spt-main-class .spftestimonial-nav,.spt-main-class .spftestimonial-nav-background,.spt-main-class .spftestimonial-reset-section{display:none!important}.spt-main-class .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-section,.spt-main-class .spftestimonial-section-title{display:block!important}.spt-main-class .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-field .spftestimonial-fieldset{margin-left:0}.spt-main-class .spftestimonial-modal-inner{width:350px;height:380px}.spt-main-class .spftestimonial-modal-content{height:282px}.spt-main-class .spftestimonial-icon-dialog .spftestimonial-modal-inner{width:305px;height:380px}.spt-main-class .spftestimonial-icon-dialog .spftestimonial-modal-content{height:267px}.spt-main-class .spftestimonial-modal-icon .spftestimonial-modal-inner{width:330px;height:385px}.spt-main-class .spftestimonial-modal-icon .spftestimonial-modal-content{height:252px}.spt-main-class .spftestimonial-profile>.spftestimonial-field>.spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-profile>.spftestimonial-field>.spftestimonial-fieldset{margin-left:0}}.sp-tpro-client-rating{float:left}.sp-tpro-client-rating:not(:checked)>input{visibility:hidden;display:none;width:0;height:0;float:right;top:100%;clip:rect(0,0,0,0);margin:0;padding:0;border:10px #fff solid}.sp-tpro-client-rating:not(:checked)>label{float:right;display:block;padding:0;margin:0;cursor:pointer;font-size:150%;line-height:1.2;color:#d4d4d4;width:1em}.sp-tpro-client-rating>input:checked~label{color:#f3bb00}.sp-tpro-client-rating:not(:checked)>label:hover,.sp-tpro-client-rating:not(:checked)>label:hover~label{color:#de7202}.sp-tpro-client-rating>input:checked+label:hover,.sp-tpro-client-rating>input:checked+label:hover~label,.sp-tpro-client-rating>input:checked~label:hover,.sp-tpro-client-rating>input:checked~label:hover~label,.sp-tpro-client-rating>label:hover~input:checked~label{color:#de7202}.spftestimonial-metabox .sp-tpro-banner{background-color:#0a73a7;padding:22px 28px;overflow:hidden;background-image:-webkit-gradient(linear,left top,right top,from(#0a73a7),to(#1595ce));background-image:linear-gradient(to right,#0a73a7,#1595ce)}.spftestimonial-metabox .sp-tpro-logo{float:left}.spftestimonial-metabox .sp-tpro-logo img{display:block;width:182px}.spftestimonial-metabox .sp-tpro-short-links{float:right;line-height:30px}.spftestimonial-metabox .sp-tpro-short-links a{color:#fff;text-decoration:none;margin-left:16px;font-size:15px;font-weight:600}.spftestimonial-metabox .sp-tpro-short-links a i.fa{margin-right:7px}.sp-testimonial-shortcode-divider{height:20px;background:#f1f1f1;border-top:1px solid #ddd}.spftestimonial-metabox .tpro_shortcode{display:inline-flex;width:100%;background-color:#fffdfd}.tpro_shortcode .tpro-col-lg-6{border-right:1px solid #ddd;width:50%}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content{padding:42px 16px}.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content{padding:42px 16px 0 16px}.shortcode.column-shortcode .sp_tfree_input{border:1px solid #cbcbcb;cursor:pointer}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer}.tpro_shortcode .tpro-col-lg-6:last-child{border-right:none}.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title{font-weight:500;font-size:17px!important;padding-top:0!important;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 p{margin-top:2px;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 .back-image{max-width:100%;display:block;margin:0 auto}.tpro_shortcode .tpro-col-lg-6 textarea{border-color:transparent;box-shadow:none;background-color:#eee;padding:4px 6px;resize:none;text-align:center;max-width:100%}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border-width:1px;border-style:solid;border-color:#cbcbcb;cursor:pointer}@media (max-width:1200px){.sp-tfree-metabox-framework .sp-tfree-mbf{display:block}.sp-tfree-element .sp-tfree-input-field,.sp-tfree-element .sp-tfree-input-label,.sp-tfree-mbf .sp-tfree-col-lg-3{width:100%}.sp-tfree-mbf .sp-tfree-col-lg-3{display:block;border-bottom:1px solid #e5e5e5;padding-bottom:15px;border-right:none}.sp-tfree-mbf .sp-tfree-col-lg-3:last-of-type{border-bottom:none;padding-bottom:0}}.sp-testimonial-shortcode{background-color:rgba(82,179,217,.11);padding:8px 12px;display:inline-block;margin-left:8px}.selectable{-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.js #sp_tpro_meta_options.postbox .handlediv,.js #sp_tpro_meta_options.postbox .hndle,.js #sp_tpro_meta_options.postbox .postbox-header,.js #sp_tpro_shortcode_options.postbox .handlediv,.js #sp_tpro_shortcode_options.postbox .hndle,.js #sp_tpro_shortcode_options.postbox .postbox-header{display:none}.sp-testimonial-font-color .wp-picker-container,.sp-testimonial-font-load .spftestimonial--switcher,.spftestimonial-field-typography .spftestimonial--block .chosen-container,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top{pointer-events:none;opacity:.6}.sp-tfree-text-center{text-align:center}div.sp-tfree-help .wp-badge{border:none;background:url(../images/icon-256.png) right no-repeat;background-size:128px 128px;box-shadow:none;height:auto;padding-top:128px}.about-wrap.sp-tfree-help [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.sp-tfree-help [class$="-col"] .col{flex:1;align-self:flex-start}.sp-tfree-help .col{margin-top:40px}.sp-tfree-help.about-wrap [class$="-col"] .col+.col{margin-left:0}.sp-tfree-help.about-wrap .help-section[class$="-col"] .col+.col{margin-left:20px}div.sp-tfree-help .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}div.sp-tfree-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}div.sp-tfree-help .feature-section .sp-tfree-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-tfree-help .feature-section .sp-tfree-feature h3{font-size:16px;margin-top:18px}div.sp-tfree-help .feature-section i.sp-tfree-font-icon{font-size:30px;display:block;color:#1595ce}div.sp-tfree-help .sp-tfree-pro-features .feature-section span.dashicons{font-size:22px;color:#fff;background-color:#1595ce;width:28px;height:28px;line-height:28px;border-radius:50%;margin-right:10px}div.sp-tfree-help .sp-tfree-pro-features .feature-section{margin-bottom:40px;margin-left:-2%}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{margin-top:0}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature p{margin-bottom:0}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}div.sp-tfree-help .sp-tfree-pro-features .feature-section.three-col .col{min-width:31.3%;max-width:31.3%;margin-top:20px;padding-left:2%}div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:1.2em;margin-bottom:26px}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer{position:fixed;bottom:0;background:#fff;width:calc(100% - 195px);z-index:9;margin-left:-25px;text-align:center;border:1px solid #dfdfdf;padding:15px 0;border-bottom:none}div.sp-tfree-help .sp-tfree-pro-features h2{font-size:2.5em;font-weight:400}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer a.button{margin:0 8px}.sp-tfree-upgrade>h1{font-size:2.5em;color:#444;font-weight:300}.sp-tfree-upgrade>h1 span{font-weight:400}.sp-tfree-upgrade .about-text{margin-bottom:0}.sp-tfree-upgrade ul{margin-top:0}.about-wrap.sp-tfree-upgrade .about-text{min-height:60px}.about-wrap.sp-tfree-upgrade hr{order:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section{margin-bottom:40px;display:flex;flex-wrap:wrap}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{margin-top:0}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature p{margin-bottom:0}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section.three-col .col{min-width:32%;max-width:32%;margin-top:20px;display:flex;align-self:auto}.sp-tfree-upgrade .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:1.2em;margin-bottom:26px}.sp-tfree-upgrade .sp-tfree-pro-features h2,.sp-tfree-upgrade .sp-tfree-promo-video-title{font-size:2.2em;font-weight:400}.sp-tfree-join-community h2{font-size:2em}.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer a.button{margin:0 8px}.sp-tfree-upgrade .tfree-upgrade-btn{display:inline-block;padding:0 20px 0 0}.sp-tfree-upgrade .tfree-upgrade-btn a,.sp-tfree-upgrade a.tfree-upgrade-btn{text-decoration:none;text-align:center;font-size:16px}.sp-tfree-upgrade .tfree-upgrade-btn a:focus{outline:0}.sp-tfree-upgrade a.tfree-upgrade-btn,.sp-tfree-upgrade ul li.tfree-upgrade-btn:first-child a{background:#1595ce;padding:0 15px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:500}.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a{text-decoration:underline}.sp-tfree-upgrade ul li.tfree-upgrade-btn a i{margin-left:4px}.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a i{font-size:14px}.sp-tfree-upgrade a.tfree-upgrade-btn{display:inline-block}#sp-tfree-review-notice{padding:15px 15px 15px 0;background-color:#fff;border-radius:3px;margin:20px 20px 0 0}#sp-tfree-review-notice .sp-tfree-plugin-icon{width:125px;float:left;line-height:90px;text-align:center}#sp-tfree-review-notice .sp-tfree-plugin-icon img{max-width:83px;vertical-align:middle}#sp-tfree-review-notice .sp-tfree-notice-text{overflow:hidden}#sp-tfree-review-notice .sp-tfree-notice-text h3{font-size:24px;margin:0 0 5px;font-weight:400;line-height:1}#sp-tfree-review-notice .sp-tfree-notice-text p{margin:10px 0 10px 0;font-size:13px}#sp-tfree-review-notice .sp-tfree-notice-text p.sp-tfree-review-actions{margin:10px 0 2px 0}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a{text-decoration:none;margin-right:8px;color:#63a37b;display:inline-block;position:relative}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a span{padding-right:2px}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a.button{color:#fff}@media (max-width:960px){div.sp-tfree-help .sp-tfree-upgrade-sticky-footer{width:calc(100%)}}@media screen and (max-width:782px){div.sp-tfree-help .three-col .col{min-width:48%!important;max-width:48%!important;margin-left:0!important}}@media (max-width:500px){div.sp-tfree-help .wp-badge{background-position-x:center}div.sp-tfree-help .three-col .col{min-width:100%!important;max-width:100%!important;margin-top:1em}}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border:1px solid #cbcbcb}.trpo-copy-btn{display:inline-block;height:15px;line-height:38px;margin-bottom:-4px;margin-right:-30px;cursor:pointer;position:relative;z-index:99}.sptpro-after-copy-text{bottom:0;opacity:0;z-index:9999999;position:fixed;width:230px;left:180px;text-align:center;padding:15px 15px;line-height:15px;color:#fff;border-radius:3px;background:#32373c;border:1px solid #32373c}.sptpro-after-copy-text .fa-check-circle{font-size:14px;margin-right:2px;color:#5db62e}
|
1 |
+
.text-center{text-align:center}.spt-main-class .spftestimonial-header-inner h1{color:#444;font-size:22px;font-weight:600}.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner{z-index:20}.spt-main-class .spftestimonial-metabox .spftestimonial-nav{position:inherit;float:none;width:100%;background:#f1f1f1}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li{display:inline-block}.spt-main-class .spftestimonial-nav ul li a{text-transform:uppercase;font-weight:600}.spt-main-class .spftestimonial-metabox .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-metabox{margin:-6px -12px -12px -12px}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;border-bottom:0}#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a{font-size:13px;text-transform:uppercase;padding:16px 15px}.spt-main-class .spftestimonial-nav ul li .spftestimonial-section-active:after{display:none}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-section-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-section-active .fa{color:#1595ce}.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background{display:none}.spt-main-class.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4!important;margin-bottom:0;padding:15px 15px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-section-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background{border-right:1px solid #ccd0d4}.spt-main-class .spftestimonial-field-border .spftestimonial--input,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--input,.spt-main-class .spftestimonial-field-spacing .spftestimonial--input{margin-right:10px;margin-bottom:7px}.spt-main-class .spftestimonial-field-border .spftestimonial--input select,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--input select,.spt-main-class .spftestimonial-field-spacing .spftestimonial--input select{line-height:26px}.spt-main-class .spftestimonial-field-border .spftestimonial--input input,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--input input,.spt-main-class .spftestimonial-field-spacing .spftestimonial--input input{line-height:30px;float:left;padding:0;border-radius:0}.spt-main-class .spftestimonial-field-border .spftestimonial--label,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--label,.spt-main-class .spftestimonial-field-spacing .spftestimonial--label{max-width:100%;font-size:12px;line-height:30px;vertical-align:top;text-align:center;color:#555;border:1px solid #ddd;background-color:#eee;padding:0 6px;min-height:30px}.spt-main-class .spftestimonial-field-border .spftestimonial--label-icon,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--label-icon,.spt-main-class .spftestimonial-field-spacing .spftestimonial--label-icon{min-width:20px;border-radius:2px 0 0 2px}.spt-main-class .spftestimonial-field-border .spftestimonial--label-unit,.spt-main-class .spftestimonial-field-dimensions .spftestimonial--label-unit,.spt-main-class .spftestimonial-field-spacing .spftestimonial--label-unit{color:#999;border-radius:0 2px 2px 0}.spt-main-class .spftestimonial-field-spinner .spftestimonial--unit{float:right;height:30px;line-height:26px;text-align:center;border-left:none;color:#999;border:1px solid #ddd;border-left:0;background-color:#eee;padding:0 6px;margin:0;box-sizing:border-box}.spt-main-class .spftestimonial-field-spinner .ui-spinner-button{cursor:pointer;position:relative;overflow:hidden;margin:0;padding:0;width:30px;height:30px;line-height:30px;text-align:center;border:1px solid #ddd;color:#555;background-color:#eee;box-sizing:border-box}.spt-main-class .spftestimonial-field-spinner .ui-spinner-button:before{font-family:FontAwesome;font-size:16px;line-height:16px}.spt-main-class .spftestimonial-field-spinner .ui-spinner-down{float:left;border-right:0;border-radius:2px 0 0 2px}.spt-main-class .spftestimonial-field-spinner .ui-spinner-up{float:right;border-left:0;border-radius:0 2px 2px 0}.spt-main-class .spftestimonial-field-spinner input{width:60px;text-align:center;margin:0;padding:0 8px;height:31px;line-height:31px;border:1px solid #ddd;border-radius:0}.spt-main-class .spftestimonial-field-spinner input:focus{outline:0}.spt-main-class .spftestimonial-field-tabbed .spftestimonial-tabbed-section{border:1px solid #eee}.spt-main-class .spftestimonial-field-text input,.spt-main-class .spftestimonial-field-text_f input{width:340px;max-width:100%}.spt-main-class .control-section .spftestimonial-field .spftestimonial-title{margin-bottom:10px}.spt-main-class .control-section .spftestimonial-field .spftestimonial-title h4{font-size:14px}.spt-main-class .control-section .spftestimonial-field-background .spftestimonial--select{width:100%}.spt-main-class .control-section .spftestimonial-field-border select,.spt-main-class .control-section .spftestimonial-field-dimensions select,.spt-main-class .control-section .spftestimonial-field-spacing select{width:auto}.spt-main-class .spftestimonial-text-desc,.spt-main-class .spftestimonial-text-subtitle{font-style:italic}@media only screen and (max-width:1200px){.spt-main-class .spftestimonial-metabox .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-metabox .spftestimonial-field .spftestimonial-fieldset{margin-left:0}}@media only screen and (max-width:782px){.spt-main-class .spftestimonial-header-inner{text-align:center}.spt-main-class .spftestimonial-header-inner h1{width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-header-left,.spt-main-class .spftestimonial-header-right,.spt-main-class .spftestimonial-search{width:100%}.spt-main-class .spftestimonial-search{text-align:center;margin-bottom:15px}.spt-main-class .spftestimonial-footer{text-align:center}.spt-main-class .spftestimonial-buttons{float:none}.spt-main-class .spftestimonial-copyright{float:none;margin-top:10px}.spt-main-class .spftestimonial-expand-all,.spt-main-class .spftestimonial-nav,.spt-main-class .spftestimonial-nav-background,.spt-main-class .spftestimonial-reset-section{display:none!important}.spt-main-class .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-section,.spt-main-class .spftestimonial-section-title{display:block!important}.spt-main-class .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-field .spftestimonial-fieldset{margin-left:0}.spt-main-class .spftestimonial-modal-inner{width:350px;height:380px}.spt-main-class .spftestimonial-modal-content{height:282px}.spt-main-class .spftestimonial-icon-dialog .spftestimonial-modal-inner{width:305px;height:380px}.spt-main-class .spftestimonial-icon-dialog .spftestimonial-modal-content{height:267px}.spt-main-class .spftestimonial-modal-icon .spftestimonial-modal-inner{width:330px;height:385px}.spt-main-class .spftestimonial-modal-icon .spftestimonial-modal-content{height:252px}.spt-main-class .spftestimonial-profile>.spftestimonial-field>.spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spt-main-class .spftestimonial-profile>.spftestimonial-field>.spftestimonial-fieldset{margin-left:0}}.sp-tpro-client-rating{float:left}.sp-tpro-client-rating:not(:checked)>input{visibility:hidden;display:none;width:0;height:0;float:right;top:100%;clip:rect(0,0,0,0);margin:0;padding:0;border:10px #fff solid}.sp-tpro-client-rating:not(:checked)>label{float:right;display:block;padding:0;margin:0;cursor:pointer;font-size:150%;line-height:1.2;color:#d4d4d4;width:1em}.sp-tpro-client-rating>input:checked~label{color:#f3bb00}.sp-tpro-client-rating:not(:checked)>label:hover,.sp-tpro-client-rating:not(:checked)>label:hover~label{color:#de7202}.sp-tpro-client-rating>input:checked+label:hover,.sp-tpro-client-rating>input:checked+label:hover~label,.sp-tpro-client-rating>input:checked~label:hover,.sp-tpro-client-rating>input:checked~label:hover~label,.sp-tpro-client-rating>label:hover~input:checked~label{color:#de7202}.spftestimonial-metabox .sp-tpro-banner{background-color:#0a73a7;padding:22px 28px;overflow:hidden;background-image:-webkit-gradient(linear,left top,right top,from(#0a73a7),to(#1595ce));background-image:linear-gradient(to right,#0a73a7,#1595ce)}.spftestimonial-metabox .sp-tpro-logo{float:left}.spftestimonial-metabox .sp-tpro-logo img{display:block;width:182px}.spftestimonial-metabox .sp-tpro-short-links{float:right;line-height:30px}.spftestimonial-metabox .sp-tpro-short-links a{color:#fff;text-decoration:none;margin-left:16px;font-size:15px;font-weight:600}.spftestimonial-metabox .sp-tpro-short-links a i.fa{margin-right:7px}.sp-testimonial-shortcode-divider{height:20px;background:#f1f1f1;border-top:1px solid #ddd}.spftestimonial-metabox .tpro_shortcode{display:inline-flex;width:100%;background-color:#fffdfd}.tpro_shortcode .tpro-col-lg-6{border-right:1px solid #ddd;width:50%}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content{padding:42px 16px}.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content{padding:42px 16px 0 16px}.shortcode.column-shortcode .sp_tfree_input{border:1px solid #cbcbcb;cursor:pointer}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;background-image:url(../images/copy.svg);background-size:16px;background-position:10px center;background-repeat:no-repeat}.tpro_shortcode .tpro-col-lg-6:last-child{border-right:none}.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title{font-weight:500;font-size:17px!important;padding-top:0!important;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 p{margin-top:2px;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 .back-image{max-width:100%;display:block;margin:0 auto}.tpro_shortcode .tpro-col-lg-6 textarea{border-color:transparent;box-shadow:none;background-color:#eee;padding:4px 6px;resize:none;text-align:center;max-width:100%}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border-width:1px;border-style:solid;border-color:#cbcbcb;cursor:pointer}@media (max-width:1200px){.sp-tfree-metabox-framework .sp-tfree-mbf{display:block}.sp-tfree-element .sp-tfree-input-field,.sp-tfree-element .sp-tfree-input-label,.sp-tfree-mbf .sp-tfree-col-lg-3{width:100%}.sp-tfree-mbf .sp-tfree-col-lg-3{display:block;border-bottom:1px solid #e5e5e5;padding-bottom:15px;border-right:none}.sp-tfree-mbf .sp-tfree-col-lg-3:last-of-type{border-bottom:none;padding-bottom:0}}.sp-testimonial-shortcode{background-color:rgba(82,179,217,.11);padding:8px 12px;display:inline-block;margin-left:8px}.selectable{-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.js #sp_tpro_meta_options.postbox .handlediv,.js #sp_tpro_meta_options.postbox .hndle,.js #sp_tpro_meta_options.postbox .postbox-header,.js #sp_tpro_shortcode_options.postbox .handlediv,.js #sp_tpro_shortcode_options.postbox .hndle,.js #sp_tpro_shortcode_options.postbox .postbox-header{display:none}.sp-testimonial-font-color .wp-picker-container,.sp-testimonial-font-load .spftestimonial--switcher,.spftestimonial-field-typography .spftestimonial--block .chosen-container,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top{pointer-events:none;opacity:.6}.sp-tfree-text-center{text-align:center}div.sp-tfree-help .wp-badge{border:none;background:url(../images/icon-256.png) right no-repeat;background-size:128px 128px;box-shadow:none;height:auto;padding-top:128px}.about-wrap.sp-tfree-help [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.sp-tfree-help [class$="-col"] .col{flex:1;align-self:flex-start}.sp-tfree-help .col{margin-top:40px}.sp-tfree-help.about-wrap [class$="-col"] .col+.col{margin-left:0}.sp-tfree-help.about-wrap .help-section[class$="-col"] .col+.col{margin-left:20px}div.sp-tfree-help .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}div.sp-tfree-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}div.sp-tfree-help .feature-section .sp-tfree-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-tfree-help .feature-section .sp-tfree-feature h3{font-size:16px;margin-top:18px}div.sp-tfree-help .feature-section i.sp-tfree-font-icon{font-size:30px;display:block;color:#1595ce}div.sp-tfree-help .sp-tfree-pro-features .feature-section span.dashicons{font-size:22px;color:#fff;background-color:#1595ce;width:28px;height:28px;line-height:28px;border-radius:50%;margin-right:10px}div.sp-tfree-help .sp-tfree-pro-features .feature-section{margin-bottom:40px;margin-left:-2%}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{margin-top:0}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature p{margin-bottom:0}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}div.sp-tfree-help .sp-tfree-pro-features .feature-section.three-col .col{min-width:31.3%;max-width:31.3%;margin-top:20px;padding-left:2%}div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:1.2em;margin-bottom:26px}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer{position:fixed;bottom:0;background:#fff;width:calc(100% - 195px);z-index:9;margin-left:-25px;text-align:center;border:1px solid #dfdfdf;padding:15px 0;border-bottom:none}div.sp-tfree-help .sp-tfree-pro-features h2{font-size:2.5em;font-weight:400}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer a.button{margin:0 8px}.sp-tfree-upgrade>h1{font-size:2.5em;color:#444;font-weight:300}.sp-tfree-upgrade>h1 span{font-weight:400}.sp-tfree-upgrade .about-text{margin-bottom:0}.sp-tfree-upgrade ul{margin-top:0}.about-wrap.sp-tfree-upgrade .about-text{min-height:60px}.about-wrap.sp-tfree-upgrade hr{order:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section{margin-bottom:40px;display:flex;flex-wrap:wrap}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{margin-top:0}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature p{margin-bottom:0}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section.three-col .col{min-width:32%;max-width:32%;margin-top:20px;display:flex;align-self:auto}.sp-tfree-upgrade .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:1.2em;margin-bottom:26px}.sp-tfree-upgrade .sp-tfree-pro-features h2,.sp-tfree-upgrade .sp-tfree-promo-video-title{font-size:2.2em;font-weight:400}.sp-tfree-join-community h2{font-size:2em}.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer a.button{margin:0 8px}.sp-tfree-upgrade .tfree-upgrade-btn{display:inline-block;padding:0 20px 0 0}.sp-tfree-upgrade .tfree-upgrade-btn a,.sp-tfree-upgrade a.tfree-upgrade-btn{text-decoration:none;text-align:center;font-size:16px}.sp-tfree-upgrade .tfree-upgrade-btn a:focus{outline:0}.sp-tfree-upgrade a.tfree-upgrade-btn,.sp-tfree-upgrade ul li.tfree-upgrade-btn:first-child a{background:#1595ce;padding:0 15px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:500}.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a{text-decoration:underline}.sp-tfree-upgrade ul li.tfree-upgrade-btn a i{margin-left:4px}.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a i{font-size:14px}.sp-tfree-upgrade a.tfree-upgrade-btn{display:inline-block}#sp-tfree-review-notice{padding:15px 15px 15px 0;background-color:#fff;border-radius:3px;margin:20px 20px 0 0;margin-bottom:20px}#sp-tfree-review-notice .sp-tfree-plugin-icon{float:left;line-height:90px;text-align:center;width:100px;height:100px;margin-right:15px}#sp-tfree-review-notice .sp-tfree-plugin-icon img{max-width:83px;vertical-align:middle}#sp-tfree-review-notice .sp-tfree-notice-text{overflow:hidden}#sp-tfree-review-notice .sp-tfree-notice-text h3{font-size:24px;margin:0 0 5px;font-weight:400;line-height:1}#sp-tfree-review-notice .sp-tfree-notice-text p{margin:10px 0 10px 0;font-size:13px}#sp-tfree-review-notice .sp-tfree-notice-text p.sp-tfree-review-actions{margin:10px 0 2px 0}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a{text-decoration:none;margin-right:8px;color:#63a37b;display:inline-block;position:relative}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a span{padding-right:2px}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a.button{color:#fff}@media (max-width:960px){div.sp-tfree-help .sp-tfree-upgrade-sticky-footer{width:calc(100%)}}@media screen and (max-width:782px){div.sp-tfree-help .three-col .col{min-width:48%!important;max-width:48%!important;margin-left:0!important}}@media (max-width:500px){div.sp-tfree-help .wp-badge{background-position-x:center}div.sp-tfree-help .three-col .col{min-width:100%!important;max-width:100%!important;margin-top:1em}}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border:1px solid #cbcbcb}.trpo-copy-btn{display:inline-block;height:15px;line-height:38px;margin-bottom:-4px;margin-right:-30px;cursor:pointer;position:relative;z-index:99}.sptpro-after-copy-text{bottom:0;opacity:0;z-index:9999999;position:fixed;width:230px;left:180px;text-align:center;padding:15px 15px;line-height:15px;color:#fff;border-radius:3px;background:#32373c;border:1px solid #32373c}.sptpro-after-copy-text .fa-check-circle{font-size:14px;margin-right:2px;color:#5db62e}
|
admin/assets/images/testimonial-icon1.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="100" height="100" xmlns:v="https://vecta.io/nano"><linearGradient id="A" gradientUnits="userSpaceOnUse" x1="2.363" y1="125.638" x2="125.638" y2="2.362"><stop offset="0" stop-color="#0774a8"/><stop offset="1" stop-color="#1294cd"/></linearGradient><path fill="url(#A)" d="M119.9 128H8.1c-4.5 0-8.1-3.6-8.1-8.1V8.1C0 3.6 3.6 0 8.1 0h111.8c4.5 0 8.1 3.6 8.1 8.1v111.8c0 4.5-3.6 8.1-8.1 8.1z"/><path d="M105 25.9H68.4a4.23 4.23 0 0 0-4.2 4.2V49a4.23 4.23 0 0 0 4.2 4.2h3.2v7.5a1.3 1.3 0 0 0 .8 1.2c.2.1.4.1.5.1.3 0 .6-.1.9-.3l9.8-8.5H105a4.23 4.23 0 0 0 4.2-4.2V30.1a4.23 4.23 0 0 0-4.2-4.2zM78.9 38.8l-2 1.9.5 2.7c0 .2 0 .4-.2.5-.1.1-.2.1-.3.1s-.2 0-.2-.1l-2.4-1.3-2.4 1.3c-.2.1-.4.1-.5 0-.2-.1-.2-.3-.2-.5l.5-2.7-2-1.9c-.1-.1-.2-.3-.1-.5a.78.78 0 0 1 .4-.4l2.7-.4 1.2-2.4a.55.55 0 0 1 .5-.3.55.55 0 0 1 .5.3l1.2 2.4 2.7.4c.2 0 .4.2.4.4-.1.1-.1.3-.3.5zm12.4 0l-2 1.9.5 2.7c0 .2 0 .4-.2.5-.1.1-.2.1-.3.1s-.2 0-.2-.1l-2.4-1.3-2.4 1.3c-.2.1-.4.1-.5 0-.2-.1-.2-.3-.2-.5l.5-2.7-2-1.9c-.1-.1-.2-.3-.1-.5a.78.78 0 0 1 .4-.4l2.7-.4 1.2-2.4a.55.55 0 0 1 .5-.3.55.55 0 0 1 .5.3l1.2 2.4 2.7.4c.2 0 .4.2.4.4-.1.1-.1.3-.3.5zm12.4 0l-2 1.9.5 2.7c0 .2 0 .4-.2.5-.1.1-.2.1-.3.1s-.2 0-.2-.1l-2.4-1.3-2.4 1.3c-.2.1-.4.1-.5 0-.2-.1-.2-.3-.2-.5l.5-2.7-2-1.9c-.1-.1-.2-.3-.1-.5a.78.78 0 0 1 .4-.4l2.7-.4 1.2-2.4a.55.55 0 0 1 .5-.3.55.55 0 0 1 .5.3l1.2 2.4 2.7.4c.2 0 .4.2.4.4-.1.1-.1.3-.3.5zm-56.7.1c-8.9 0-13.9 4.6-13.8 13.6.1 12.2 5.3 19.6 13.8 19.5 0 0 13.8.6 13.8-19.5 0-9-4.7-13.6-13.8-13.6zm24.4 42.3l-13.8-5.5-3.2-2.7c-.9-.7-2.1-.7-2.9.1L47 77.6l-4.5-4.5c-.8-.8-2-.8-2.9-.1l-3.2 2.7-13.8 5.5c-4.4 1.8-4.4 17.5-4.8 18.9h58.4c-.4-1.4-.4-17.1-4.8-18.9z" opacity=".9" fill="#fff"/></svg>
|
admin/views/framework/assets/css/spftestimonial.css
CHANGED
@@ -548,7 +548,7 @@
|
|
548 |
z-index: 5000001;
|
549 |
font-size: 12px;
|
550 |
line-height: 1.4;
|
551 |
-
text-align:
|
552 |
text-decoration: none;
|
553 |
padding: 6px 12px;
|
554 |
max-width: 200px;
|
@@ -3224,11 +3224,12 @@ span.spftestimonial-shortcode-selectable {
|
|
3224 |
border-radius: 3px;
|
3225 |
word-break: break-word;
|
3226 |
position: relative;
|
|
|
3227 |
}
|
3228 |
span.spftestimonial-shortcode-selectable::after{
|
3229 |
content: url(../images/copy.svg);
|
3230 |
width: 16px;
|
3231 |
-
left:
|
3232 |
top: 50%;
|
3233 |
position: absolute;
|
3234 |
margin-top: -6px;
|
548 |
z-index: 5000001;
|
549 |
font-size: 12px;
|
550 |
line-height: 1.4;
|
551 |
+
text-align: left;
|
552 |
text-decoration: none;
|
553 |
padding: 6px 12px;
|
554 |
max-width: 200px;
|
3224 |
border-radius: 3px;
|
3225 |
word-break: break-word;
|
3226 |
position: relative;
|
3227 |
+
width: 80%;
|
3228 |
}
|
3229 |
span.spftestimonial-shortcode-selectable::after{
|
3230 |
content: url(../images/copy.svg);
|
3231 |
width: 16px;
|
3232 |
+
left: 10px;
|
3233 |
top: 50%;
|
3234 |
position: absolute;
|
3235 |
margin-top: -6px;
|
admin/views/framework/assets/css/spftestimonial.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.spftestimonial{position:relative}.spftestimonial label{padding:0;margin:0;display:inline-block}.spftestimonial-ab-icon{top:2px}#screen-meta-links+.spftestimonial-options{margin-top:40px}.spftestimonial-options{margin-top:20px;margin-right:20px}.spftestimonial-header{position:relative}.spftestimonial-header-inner{padding:25px}.spftestimonial-header-inner h1 img{height:24px;width:24px;margin-right:8px;margin-bottom:-4px}.spftestimonial-header-inner h1{color:#444;float:left;font-size:20px;line-height:35px;font-weight:600;margin:0}.spftestimonial-header-inner h1 small{font-size:11px;font-weight:500}.spftestimonial-sticky .spftestimonial-header-inner{position:fixed;z-index:99999;top:32px;-moz-box-shadow:0 5px 25px rgba(0,0,0,.125);-webkit-box-shadow:0 5px 25px rgba(0,0,0,.125);box-shadow:0 5px 25px rgba(0,0,0,.125)}.spftestimonial-header-left{float:left}.spftestimonial-header-right{float:right}.spftestimonial-buttons .button{margin:0 4px;padding:0 16px;border-radius:0;height:38px;font-size:13px;font-weight:500;text-transform:uppercase;color:#fff}.spftestimonial-buttons .button.spftestimonial-save-ajax{background-color:#02cc7b;border-color:transparent;color:#fff!important;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;border-radius:4px;height:38px;width:75px;-webkit-transition:background-color .2s;transition:background-color .2s}.spftestimonial-buttons .button.spftestimonial-save-ajax:hover{background-color:#02bb71}.spftestimonial-buttons .button.spftestimonial-save-ajax:focus{color:#fff}.spftestimonial-buttons .button.spftestimonial-save-ajax[disabled]{background-color:#02bb71!important;border:none}.spftestimonial-buttons .button.spftestimonial-reset-all,.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#cd3c3c!important;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important;border-radius:4px;height:38px;-webkit-transition:background-color .2s;transition:background-color .2s}.spftestimonial-buttons .button.spftestimonial-reset-all:hover,.spftestimonial-buttons .button.spftestimonial-reset-section:hover{background-color:#b82f2f!important}.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#77777c!important}.spftestimonial-buttons .button.spftestimonial-reset-section:hover{background-color:#616166!important;color:#fff}.spftestimonial-nav{display:block;position:relative;z-index:10;float:left;width:225px}.spftestimonial-nav ul{clear:left;margin:0;list-style-type:none}.spftestimonial-nav ul li{margin-bottom:0}.spftestimonial-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;-moz-transition:all .3s ease;-o-transition:all .3s ease;-webkit-transition:all .3s ease;transition:all .3s ease}.spftestimonial-nav ul li a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-nav ul li .spftestimonial-section-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.spftestimonial-nav ul li .spftestimonial-arrow:after{content:"\f054";display:inline-block;font-family:FontAwesome;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px;-moz-transform:rotate(0);-ms-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}.spftestimonial-nav ul li.spftestimonial-tab-active .spftestimonial-arrow:after{-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);transform:rotate(90deg)}.spftestimonial-nav ul li.spftestimonial-tab-active ul{display:block}.spftestimonial-nav ul ul{display:none;position:relative}.spftestimonial-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.spftestimonial-nav .fa{width:20px;margin-right:5px;font-size:14px;text-align:center}.spftestimonial-nav .spftestimonial-label-error{margin-left:4px;vertical-align:top}.spftestimonial-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.spftestimonial-wrapper{position:relative}.spftestimonial-content{position:relative;margin-left:225px;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.spftestimonial-sections{float:left;width:100%}.spftestimonial-section{display:none}.spftestimonial-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.spftestimonial-section-title .fa{margin-right:5px}.spftestimonial-footer{padding:20px;font-size:11px}.spftestimonial-copyright{float:left;margin-top:5px}.spftestimonial-search-all .spftestimonial-nav,.spftestimonial-search-all .spftestimonial-nav-background,.spftestimonial-show-all .spftestimonial-nav,.spftestimonial-show-all .spftestimonial-nav-background{display:none}.spftestimonial-search-all .spftestimonial-content,.spftestimonial-show-all .spftestimonial-content{margin-left:0}.spftestimonial-search-all .spftestimonial-section,.spftestimonial-search-all .spftestimonial-section-title,.spftestimonial-show-all .spftestimonial-section,.spftestimonial-show-all .spftestimonial-section-title{display:block!important}.spftestimonial-search-all .spftestimonial-section-title{display:none!important}.spftestimonial-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:14px;line-height:28px;cursor:pointer;user-select:none;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.spftestimonial-expand-all span{font-size:11px;vertical-align:middle}.spftestimonial-search{float:left}.spftestimonial-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:28px;min-height:28px;text-align:inherit;padding:0 10px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-search input:focus{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-saving .spftestimonial-buttons,.spftestimonial-saving .spftestimonial-content{cursor:default;pointer-events:none;opacity:.5}.spftestimonial-metabox{margin:-6px -12px -12px -12px}.spftestimonial-metabox .spftestimonial-section-title{padding:20px}.block-editor-page .spftestimonial-metabox{margin:-6px -14px -12px -14px}.spftestimonial-restore-wrapper{text-align:right;padding:10px;border-top:1px solid #eee}.spftestimonial-restore-wrapper .spftestimonial-button-cancel,.spftestimonial-restore-wrapper input{display:none}.spftestimonial-restore-wrapper span{-webkit-user-select:none;user-select:none}.spftestimonial-restore-wrapper input:checked~.spftestimonial-button-restore{display:none}.spftestimonial-restore-wrapper input:checked~.spftestimonial-button-cancel{display:inline-block}#side-sortables .spftestimonial-section-title{padding:12px}#side-sortables .spftestimonial-field{padding:12px}#side-sortables .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}#side-sortables .spftestimonial-field .spftestimonial-fieldset{margin-left:0}#side-sortables .spftestimonial-notice{padding:12px 12px 12px 0}.spftestimonial-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.spftestimonial-theme-dark .spftestimonial-header-inner{background-color:#050505}.spftestimonial-theme-dark .spftestimonial-header-inner h1{color:#fff}.spftestimonial-theme-dark .spftestimonial-header-inner h1 small{color:#555}.spftestimonial-theme-dark .spftestimonial-expand-all{color:#999;background-color:#222}.spftestimonial-theme-dark .spftestimonial-expand-all:hover{color:#fff;background-color:#333}.spftestimonial-theme-dark .spftestimonial-search input{color:#fff;background-color:#222}.spftestimonial-theme-dark .spftestimonial-search:focus{background-color:#444}.spftestimonial-theme-dark .spftestimonial-search::-webkit-input-placeholder{color:#666}.spftestimonial-theme-dark .spftestimonial-nav ul li a{color:#999;background-color:#222;border-bottom:1px solid #2f2f2f}.spftestimonial-theme-dark .spftestimonial-nav ul li a:hover{color:#fff}.spftestimonial-theme-dark .spftestimonial-nav ul li .spftestimonial-section-active{color:#fff;background-color:#111}.spftestimonial-theme-dark .spftestimonial-nav ul ul li a{background-color:#191919;border-bottom:1px solid #2f2f2f}.spftestimonial-theme-dark .spftestimonial-nav ul ul li .spftestimonial-section-active{background-color:#101010}.spftestimonial-theme-dark .spftestimonial-nav ul ul:before{background-color:rgba(34,34,34,.75)}.spftestimonial-theme-dark .spftestimonial-nav>ul>li:last-child>a{border-bottom:none}.spftestimonial-theme-dark .spftestimonial-nav-background{background-color:#222}.spftestimonial-theme-dark .spftestimonial-footer{color:#555;background-color:#050505}.spftestimonial-theme-light .spftestimonial-container{border:1px solid #e5e5e5;-moz-box-shadow:0 0 15px rgba(0,0,0,.04);-webkit-box-shadow:0 0 15px rgba(0,0,0,.04);box-shadow:0 0 15px rgba(0,0,0,.04)}.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #e5e5e5;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.spftestimonial-theme-light .spftestimonial-header-inner h1 small{color:#999}.spftestimonial-theme-light .spftestimonial-expand-all{color:#999;background-color:#fff;-moz-box-shadow:0 1px 1px rgba(0,0,0,.05);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.spftestimonial-theme-light .spftestimonial-expand-all:hover{color:#555}.spftestimonial-theme-light .spftestimonial-search input{color:#555;background-color:#fff;-moz-box-shadow:0 1px 1px rgba(0,0,0,.05);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.spftestimonial-theme-light .spftestimonial-search input::-webkit-input-placeholder{color:#bbb}.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#666;background-color:#f5f5f5;border-bottom:1px solid #e5e5e5}.spftestimonial-theme-light .spftestimonial-nav ul li a:hover{color:#222}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-section-active{color:#222;background-color:#fff}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-section-active:after{display:none}.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#eee;border-bottom:1px solid #e5e5e5}.spftestimonial-theme-light .spftestimonial-nav>ul>li:last-child>a{border-bottom:none}.spftestimonial-theme-light .spftestimonial-nav-background{background-color:#f5f5f5}.spftestimonial-theme-light .spftestimonial-footer{color:#555;border-top:1px solid #e5e5e5;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.spftestimonial-field{position:relative;padding:20px 30px}.spftestimonial-field p:first-child{margin-top:0}.spftestimonial-field p:last-child{margin-bottom:0}.spftestimonial-field:after,.spftestimonial-field:before{content:" ";display:table}.spftestimonial-field:after{clear:both}.spftestimonial-field h4{margin-top:0}.spftestimonial-field .spftestimonial-title{position:relative;width:20%;float:left}.spftestimonial-field .spftestimonial-title h4{margin:0;color:#23282d}.spftestimonial-field .spftestimonial-fieldset{margin-left:25%}.spftestimonial-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.spftestimonial-pseudo-field+.spftestimonial-pseudo-field{border:0}.spftestimonial-pseudo-field pre{display:none}.spftestimonial-field-accordion .spftestimonial-accordion-item{position:relative;margin-bottom:5px}.spftestimonial-field-accordion .spftestimonial-accordion-item h4{font-size:1em}.spftestimonial-field-accordion .spftestimonial-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.spftestimonial-field-accordion .spftestimonial-accordion-title:active,.spftestimonial-field-accordion .spftestimonial-accordion-title:focus,.spftestimonial-field-accordion .spftestimonial-accordion-title:hover{outline:0;border-color:#999}.spftestimonial-field-accordion .spftestimonial-accordion-icon{width:14px;text-align:center}.spftestimonial-field-accordion .spftestimonial--icon{width:20px;text-align:center}.spftestimonial-field-accordion .spftestimonial-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-accordion .spftestimonial-accordion-content>.spftestimonial-field{padding:15px}.spftestimonial-field-accordion .spftestimonial-accordion-open{display:block}.spftestimonial-field-background .spftestimonial-field{border:0!important;padding:0;margin-bottom:6px;margin-right:6px}.spftestimonial-field-background .spftestimonial--title{color:#777;font-size:12px}.spftestimonial-field-background .spftestimonial--background-colors{display:flex}.spftestimonial-field-background .spftestimonial--background-attributes{display:flex;flex-wrap:wrap}.spftestimonial-field-background .spftestimonial--background-attributes select{min-width:100%;margin:0}.spftestimonial-field-background .spftestimonial--background-attributes .spftestimonial-field{flex:1}.spftestimonial-field-background .spftestimonial--attributes-hidden{display:none}.spftestimonial-field-background .wp-color-result.button{margin-bottom:0}.spftestimonial-field-backup textarea{width:100%;min-height:200px;margin-bottom:5px}.spftestimonial-field-backup small{display:inline-block;margin:5px}.spftestimonial-field-backup hr{margin:20px 0;border:none;border-bottom:1px solid #e5e5e5}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset{pointer-events:none;opacity:.7}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset .spftestimonial--input:after{content:'Pro';text-transform:uppercase;line-height:30px;margin-left:6px;color:#444}.spftestimonial-field-column .spftestimonial--input input,.spftestimonial-field-custom_size .spftestimonial--input input{border-radius:0 2px 2px 0}.spftestimonial-field-column .spftestimonial--input{float:left}.spftestimonial-field-custom_size .spftestimonial--input{float:left;margin-right:10px;margin-bottom:7px}.spftestimonial-field-custom_size .spftestimonial--input input{line-height:30px;float:left;margin:0;padding:0;width:65px;max-width:100%;text-align:center;border-radius:0}.spftestimonial-field-custom_size .spftestimonial--label.spftestimonial--label-unit{border-right:1px solid #ddd;border-left:0;border-radius:0 2px 2px 0}.spftestimonial-field-column .spftestimonial--label,.spftestimonial-field-custom_size .spftestimonial--label{float:left;max-width:100%;font-size:12px;line-height:30px;vertical-align:top;text-align:center;color:#555;border:1px solid #ddd;background-color:#eee;padding:0 6px;min-height:30px;min-width:20px;border-right:0;border-radius:2px 0 0 2px}.spftestimonial-field-border .spftestimonial--inputs,.spftestimonial-field-column .spftestimonial--inputs,.spftestimonial-field-dimensions .spftestimonial--inputs,.spftestimonial-field-spacing .spftestimonial--inputs{float:left;display:flex;flex-wrap:wrap}.spftestimonial-field-border .spftestimonial--input,.spftestimonial-field-column .spftestimonial--input,.spftestimonial-field-dimensions .spftestimonial--input,.spftestimonial-field-spacing .spftestimonial--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.spftestimonial-field-border .spftestimonial--input select,.spftestimonial-field-dimensions .spftestimonial--input select,.spftestimonial-field-spacing .spftestimonial--input select{margin:0}.spftestimonial-field-border .spftestimonial--input input,.spftestimonial-field-column .spftestimonial--input input,.spftestimonial-field-dimensions .spftestimonial--input input,.spftestimonial-field-spacing .spftestimonial--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;padding:0;text-align:center;border:1px solid #ddd}.spftestimonial-field-border .spftestimonial--color,.spftestimonial-field-dimensions .spftestimonial--color,.spftestimonial-field-spacing .spftestimonial--color{float:left}.spftestimonial-field-border .spftestimonial--color .spftestimonial--title{margin-top:-22px}.spftestimonial-field-border .spftestimonial--label,.spftestimonial-field-dimensions .spftestimonial--label,.spftestimonial-field-spacing .spftestimonial--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.spftestimonial-field-border .spftestimonial--icon,.spftestimonial-field-dimensions .spftestimonial--icon,.spftestimonial-field-spacing .spftestimonial--icon{border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-border .spftestimonial--icon+input,.spftestimonial-field-dimensions .spftestimonial--icon+input,.spftestimonial-field-spacing .spftestimonial--icon+input{border-top-left-radius:0;border-bottom-left-radius:0}.spftestimonial-field-border .spftestimonial--unit,.spftestimonial-field-dimensions .spftestimonial--unit,.spftestimonial-field-spacing .spftestimonial--unit{border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-border .spftestimonial--is-unit,.spftestimonial-field-dimensions .spftestimonial--is-unit,.spftestimonial-field-spacing .spftestimonial--is-unit{border-top-right-radius:0;border-bottom-right-radius:0}.spftestimonial-field-button_set .spftestimonial--buttons{display:inline-block}.spftestimonial-field-button_set .spftestimonial--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:40px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;-webkit-user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.spftestimonial-field-button_set .spftestimonial--button:first-child{border-radius:4px 0 0 4px}.spftestimonial-field-button_set .spftestimonial--button:last-child{border-radius:0 4px 4px 0}.spftestimonial-field-button_set .spftestimonial--button:not(:first-child){margin-left:-1px}.spftestimonial-field-button_set .spftestimonial--button:hover{background-color:#eee}.spftestimonial-field-button_set .spftestimonial--active,.spftestimonial-field-button_set .spftestimonial--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.spftestimonial-field-button_set input{display:none}.spftestimonial-field-checkbox ul,.spftestimonial-field-radio ul{margin:0;padding:0 1px;list-style-type:none;overflow-y:auto;max-height:305px}.spftestimonial-field-checkbox ul ul,.spftestimonial-field-radio ul ul{max-height:none}.spftestimonial-field-checkbox .spftestimonial--inline-list li,.spftestimonial-field-radio .spftestimonial--inline-list li{display:inline-block;margin-right:15px}.spftestimonial-field-checkbox input[type=radio]:checked:before,.spftestimonial-field-radio input[type=radio]:checked:before{line-height:10px}.spftestimonial-field-checkbox .spftestimonial-checker,.spftestimonial-field-radio .spftestimonial-checker{cursor:pointer}.spftestimonial-field-code_editor .CodeMirror{width:100%;height:400px}.spftestimonial-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.spftestimonial-field-code_editor textarea{width:100%;height:400px}.spftestimonial-field-color>input{opacity:.75;width:115px;max-width:100%}.spftestimonial-field-color .button.wp-picker-clear{margin-left:6px;padding:2px 8px}.spftestimonial-field-color_group .spftestimonial--left{float:left;margin-right:10px;margin-bottom:5px}.spftestimonial-field-border .spftestimonial--color .spftestimonial--title,.spftestimonial-field-color_group .spftestimonial--title{color:#999;margin-bottom:5px}.spftestimonial-field-fieldset .spftestimonial-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-fieldset .spftestimonial-fieldset-content>.spftestimonial-field{padding:15px}.spftestimonial-field-fieldset .spftestimonial-field-subheading{font-size:13px}.spftestimonial-field-date input{margin:0}.spftestimonial-field-date .spftestimonial--to{margin-left:7px}.spftestimonial-datepicker-wrapper{margin-top:5px;width:auto;background-color:#fff;z-index:9999999!important;-moz-box-shadow:0 0 30px rgba(0,0,0,.15);-webkit-box-shadow:0 0 30px rgba(0,0,0,.15);box-shadow:0 0 30px rgba(0,0,0,.15)}.spftestimonial-datepicker-wrapper *{float:none;margin:0;padding:0;font-family:inherit;font-weight:400;font-style:normal;text-decoration:none;border:0;border-radius:0;box-shadow:none}.spftestimonial-datepicker-wrapper .ui-datepicker-header,.spftestimonial-datepicker-wrapper .ui-widget-header{color:#fff;background:#00a0d2}.spftestimonial-datepicker-wrapper .ui-datepicker-header .ui-state-hover{cursor:pointer}.spftestimonial-datepicker-wrapper .ui-datepicker-title{font-size:14px;line-height:40px;text-align:center}.spftestimonial-datepicker-wrapper .ui-datepicker-next,.spftestimonial-datepicker-wrapper .ui-datepicker-prev{position:static;top:auto;left:auto;right:auto;font-family:FontAwesome;font-size:12px;text-align:center;width:41px;height:40px;line-height:40px;color:#fff;background-color:rgba(255,255,255,.1);text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-datepicker-wrapper .ui-datepicker-next span,.spftestimonial-datepicker-wrapper .ui-datepicker-prev span{display:none}.spftestimonial-datepicker-wrapper .ui-datepicker-prev{float:left}.spftestimonial-datepicker-wrapper .ui-datepicker-next{float:right}.spftestimonial-datepicker-wrapper .ui-datepicker-prev:before{content:'\f053'}.spftestimonial-datepicker-wrapper .ui-datepicker-next:before{content:'\f054'}.spftestimonial-datepicker-wrapper .ui-datepicker-next-hover,.spftestimonial-datepicker-wrapper .ui-datepicker-prev-hover{opacity:.75}.spftestimonial-datepicker-wrapper tbody .ui-datepicker-week-col{background-color:#f7f7f7}.spftestimonial-datepicker-wrapper .ui-datepicker-buttonpane{padding:10px;text-align:center;background-color:#f7f7f7}.spftestimonial-datepicker-wrapper .ui-datepicker-buttonpane button{cursor:pointer;margin:0 5px;padding:7px 14px;border:1px solid #eee;background-color:#fff}.spftestimonial-datepicker-wrapper select{margin:0 4px}.spftestimonial-datepicker-wrapper select option{color:#555}.spftestimonial-datepicker-wrapper table{font-size:13px;border-collapse:collapse;width:100%}.spftestimonial-datepicker-wrapper thead{color:#fff;background:#32373c}.spftestimonial-datepicker-wrapper th{text-align:center;padding:7px;border:1px solid #444}.spftestimonial-datepicker-wrapper td{text-align:center;border:1px solid #f4f4f4}.spftestimonial-datepicker-wrapper td.ui-datepicker-other-month{border:transparent}.spftestimonial-datepicker-wrapper td .ui-state-default{color:#555;width:auto;display:block;padding:6px 12px}.spftestimonial-datepicker-wrapper td .ui-state-active,.spftestimonial-datepicker-wrapper td .ui-state-hover{color:#fff;background-color:#0073aa}.spftestimonial-datepicker-wrapper td.ui-state-disabled .ui-state-default{opacity:.5}.spftestimonial-field-gallery input{display:none}.spftestimonial-field-gallery ul{margin:0;padding:0;list-style-type:none}.spftestimonial-field-gallery ul li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.spftestimonial-field-gallery ul li img{max-height:60px;display:inline-block;vertical-align:middle}.spftestimonial-field-gallery .button{margin-right:5px;margin-bottom:5px}.spftestimonial-field-group .spftestimonial-cloneable-hidden{display:none!important}.spftestimonial-field-group .spftestimonial-cloneable-wrapper{position:relative}.spftestimonial-field-group .spftestimonial-cloneable-item{display:none;position:relative;margin-bottom:5px}.spftestimonial-field-group .spftestimonial-cloneable-item h4{font-size:1em}.spftestimonial-field-group .ui-accordion .spftestimonial-cloneable-item{display:block}.spftestimonial-field-group .spftestimonial-cloneable-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-group .spftestimonial-cloneable-content>.spftestimonial-field{padding:15px}.spftestimonial-field-group .spftestimonial-cloneable-title{display:block;cursor:pointer;position:relative;user-select:none;margin:0;padding:15px 65px 15px 10px;min-height:0;font-size:100%;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.spftestimonial-field-group .spftestimonial-cloneable-title:active,.spftestimonial-field-group .spftestimonial-cloneable-title:focus,.spftestimonial-field-group .spftestimonial-cloneable-title:hover{border-color:#999;outline:0}.spftestimonial-field-group .spftestimonial-cloneable-helper{position:absolute;top:12px;right:10px;z-index:1;font-size:14px;line-height:1em}.spftestimonial-field-group .spftestimonial-cloneable-helper i{display:inline-block;cursor:pointer;padding:5px;color:#999}.spftestimonial-field-group .spftestimonial-cloneable-helper i:hover{color:#555}.spftestimonial-field-group .spftestimonial-cloneable-content{padding:0;border-top:0}.spftestimonial-field-group .spftestimonial-cloneable-title-number,.spftestimonial-field-group .spftestimonial-cloneable-title-prefix{margin-right:5px}.spftestimonial-field-group .spftestimonial-cloneable-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.spftestimonial-field-group .widget-placeholder{margin-bottom:10px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-group .spftestimonial-cloneable-header-icon{display:inline-block;text-align:center;font-size:14px;width:17px;text-indent:0;vertical-align:text-top}.spftestimonial-field-group .spftestimonial-cloneable-placeholder{background-color:#ddd;margin-top:4px;width:100px;height:10px;font-size:10px;line-height:10px;display:inline-block;vertical-align:top;border-radius:2px}.spftestimonial-field-icon_select .spftestimonial--image{width:35px;height:35px;text-align:center;line-height:35px;font-size:20px}.spftestimonial-field-image_select .spftestimonial--image p{margin:6px 0 0 0;font-weight:600}.spftestimonial-field-icon_select .spftestimonial--image,.spftestimonial-field-image_select .spftestimonial--image{cursor:pointer;position:relative;display:inline-block;text-align:center;max-width:100%;margin:0 16px 7px 0;vertical-align:top;background-color:#fff;user-select:none;-webkit-user-select:none;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.spftestimonial-field-icon_select .spftestimonial--image{border:2px solid #ddd}.spftestimonial-field-icon_select .spftestimonial--image:before,.spftestimonial-field-image_select .spftestimonial--image:before{position:absolute;top:0;right:0;text-align:center;font-size:11px;font-family:FontAwesome;content:"\f00c";width:15px;height:15px;line-height:15px;opacity:0;color:#fff;background-color:#1595ce;transition:opacity .2s}.spftestimonial-field-image_select .spftestimonial--active img{border-color:#1595ce;outline:3px solid #1595ce;outline-offset:-3px}.spftestimonial-field-icon_select .spftestimonial--active{border-color:#1595ce}.spftestimonial-field-image_select .spftestimonial--active:before{opacity:1}.spftestimonial-field-icon_select .spftestimonial--active:before{opacity:0}.spftestimonial-field-image_select img{vertical-align:top;width:110px}.spftestimonial-field-icon_select input,.spftestimonial-field-image_select input{display:none}.spftestimonial-field-link_color .spftestimonial--left{float:left;margin-right:10px;margin-bottom:5px}.spftestimonial-field-link_color .spftestimonial--title{color:#777;margin-bottom:5px}.spftestimonial-field-map input{width:100%}.spftestimonial-field-map input[type=text].ui-autocomplete-loading{background-position-x:calc(100% - 5px)}.spftestimonial-field-map .spftestimonial--map-search+.spftestimonial--map-osm-wrap{margin-top:10px}.spftestimonial-field-map .spftestimonial--map-osm-wrap{position:relative;padding:5px;border:1px solid #eee;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-map .spftestimonial--map-osm{position:relative;z-index:1;min-height:250px}.spftestimonial-field-map .spftestimonial--map-inputs{margin-top:10px;display:flex;justify-content:space-between}.spftestimonial-field-map .spftestimonial--map-input{flex:1}.spftestimonial-field-map .spftestimonial--map-input:last-child{padding-left:10px}.spftestimonial-field-map label{display:block;color:#777;font-size:12px;margin:0 0 2px 0}.spftestimonial-map-ui-autocomplate{z-index:999999;border-radius:4px;overflow:hidden}.spftestimonial-field-media .spftestimonial--placeholder{display:flex}.spftestimonial-field-media .spftestimonial--placeholder input{width:100%;margin:0}.spftestimonial-field-media .button{margin-left:5px}.spftestimonial-field-media .hidden+.button{margin-left:0}.spftestimonial-field-media .spftestimonial--preview{position:relative}.spftestimonial-field-media .spftestimonial--preview .fa-times{position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.8;transition:all .2s}.spftestimonial-field-media .spftestimonial--preview .fa-times:hover{opacity:1}.spftestimonial-field-media .spftestimonial--preview .fa-times:focus{box-shadow:none}.spftestimonial-field-palette .spftestimonial--palette{position:relative;display:inline-block;cursor:pointer;border:2px solid #ddd;margin-right:10px;margin-bottom:10px;user-select:none;-webkit-user-select:none;transition:all .2s}.spftestimonial-field-palette .spftestimonial--palette span{vertical-align:middle;display:inline-block;width:22px;height:60px;line-height:60px;overflow:hidden;text-indent:-999px}.spftestimonial-field-palette .spftestimonial--palette:before{position:absolute;top:0;left:0;text-align:center;font-size:11px;font-family:FontAwesome;content:"\f00c";width:15px;height:15px;line-height:15px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.spftestimonial-field-palette .spftestimonial--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.spftestimonial-field-palette .spftestimonial--active:before{opacity:1}.spftestimonial-field-palette input{display:none}.spftestimonial-field-repeater .spftestimonial-field-text input{width:100%}.spftestimonial-field-repeater .spftestimonial-repeater-hidden{display:none!important}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item h4{font-size:1em}.spftestimonial-field-repeater .spftestimonial-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-repeater .spftestimonial-repeater-content>.spftestimonial-field{padding:15px}.spftestimonial-field-repeater .spftestimonial-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-repeater .spftestimonial-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.spftestimonial-field-repeater .spftestimonial-repeater-helper i:hover{color:#555}.spftestimonial-field-repeater .spftestimonial-repeater-helper-inner{width:75px}.spftestimonial-field-repeater .spftestimonial-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.spftestimonial-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-content,.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-helper{display:none}.spftestimonial-field-select .spftestimonial-fieldset{min-height:30px}.spftestimonial-field-select .spftestimonial-chosen{display:none}.spftestimonial-field-select select{max-width:100%;margin:0}.spftestimonial-field-slider .spftestimonial--wrap{display:flex;align-items:center}.spftestimonial-field-slider .spftestimonial--input{display:flex}.spftestimonial-field-slider .spftestimonial--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.spftestimonial-field-slider input[type=number]{position:relative;z-index:1;width:50px;margin:0 0 0 15px;text-align:center}.spftestimonial-field-slider .spftestimonial--is-unit{border-top-right-radius:0;border-bottom-right-radius:0}.spftestimonial-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.spftestimonial-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.spftestimonial-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.spftestimonial-field-slider .ui-slider-handle:hover,.spftestimonial-field-slider .ui-state-active{cursor:pointer;background:#111}.spftestimonial-field-sortable .spftestimonial-field-text input{width:100%;max-width:100%}.spftestimonial-field-sortable .spftestimonial--sortable .spftestimonial--sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-sortable .spftestimonial--sortable .spftestimonial--sortable-item h4{font-size:1em}.spftestimonial-field-sortable .spftestimonial--sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-sortable .spftestimonial--sortable-content>.spftestimonial-field{padding:15px}.spftestimonial-field-sortable .spftestimonial--sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-sortable .spftestimonial--sortable-helper .fa{display:inline-block;cursor:pointer;width:50px;color:#555}.spftestimonial-field-sortable .spftestimonial--sortable-helper .fa:hover{opacity:.5}.spftestimonial-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial--sortable-content,.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial--sortable-helper{display:none}.spftestimonial-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sorter .spftestimonial-modules{float:left;width:50%;box-sizing:border-box}.spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:15px}.spftestimonial-field-sorter .spftestimonial-modules:last-child{padding-left:15px}.spftestimonial-field-sorter .spftestimonial-disabled,.spftestimonial-field-sorter .spftestimonial-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.spftestimonial-field-sorter .spftestimonial-disabled li{-moz-transition:opacity .15s;-o-transition:opacity .15s;-webkit-transition:opacity .15s;transition:opacity .15s;opacity:.5}.spftestimonial-field-sorter .spftestimonial-disabled .ui-sortable-helper{opacity:1}.spftestimonial-field-sorter .spftestimonial-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.spftestimonial-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.spftestimonial-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;-moz-transition:border-color .15s;-o-transition:border-color .15s;-webkit-transition:border-color .15s;transition:border-color .15s}.spftestimonial-field-sorter ul li:hover{border-color:#bbb}.spftestimonial-field-spinner .spftestimonial--spin{display:flex}.spftestimonial-field-spinner .ui-spinner{display:flex}.spftestimonial-field-spinner .ui-button-text-only{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.spftestimonial-field-spinner .ui-button{cursor:pointer}.spftestimonial-field-spinner .ui-button:hover{background-color:#e7e7e7}.spftestimonial-field-spinner .ui-button:active{background-color:#ddd}.spftestimonial-field-spinner .ui-button:before{font-family:FontAwesome;font-size:14px}.spftestimonial-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-spinner .ui-spinner-down:before{content:"\f0d9"}.spftestimonial-field-spinner .ui-spinner-input{order:2}.spftestimonial-field-spinner .spftestimonial--unit{order:3;border-left:0;user-select:none}.spftestimonial-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-spinner .ui-spinner-up:before{content:"\f0da"}.spftestimonial-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.spftestimonial-field-spinner .ui-button-text{display:none}.spftestimonial-field-switcher .spftestimonial--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.spftestimonial-field-switcher .spftestimonial--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.spftestimonial-field-switcher .spftestimonial--off,.spftestimonial-field-switcher .spftestimonial--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.spftestimonial-field-switcher .spftestimonial--off{padding-right:0;padding-left:28px;opacity:1}.spftestimonial-field-switcher .spftestimonial--active{background:#4fb845}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--on{opacity:1}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--off{opacity:0}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--ball{left:100%;margin-left:-28px}.spftestimonial-field-switcher .spftestimonial--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.spftestimonial-field-switcher input{display:none}.spftestimonial-field-tabbed .spftestimonial-tabbed-section{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-tabbed .spftestimonial-tabbed-section>.spftestimonial-field{padding:15px}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav .spftestimonial--icon{padding-right:5px}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a{display:inline-block;padding:12px 15px;margin-top:1px;margin-right:5px;margin-bottom:-1px;position:relative;text-decoration:none;color:#444;font-weight:600;border:1px solid #ccd0d4;background-color:#f3f3f3;transition:all .2s}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a:hover{background-color:#f9f9f9}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a.spftestimonial-tabbed-active{background-color:#fff;border-bottom-color:#fff}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-field-text input{width:50%;max-width:100%;margin:0}.spftestimonial-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.spftestimonial-field-typography select,.spftestimonial-field-typography textarea{margin:0;width:100%}.spftestimonial-field-typography .spftestimonial--title{color:#999;margin:0 0 2px 0}.spftestimonial-field-typography .spftestimonial--title small{vertical-align:top}.spftestimonial-field-typography .spftestimonial--blocks{display:flex;flex-wrap:wrap}.spftestimonial-field-typography .spftestimonial--block{padding-right:5px;padding-bottom:10px;box-sizing:border-box}.spftestimonial-field-typography .spftestimonial--block .spftestimonial--block{padding-right:0;padding-bottom:0}.spftestimonial-field-typography .spftestimonial--blocks-selects .spftestimonial--block{flex:1 33.3%}.spftestimonial-field-typography .spftestimonial--blocks-inputs .spftestimonial--input-area{max-width:100px}.spftestimonial-field-typography .spftestimonial--blocks-inputs .spftestimonial--block .spftestimonial--block{flex:1}.spftestimonial-field-typography .spftestimonial--input{margin:0;width:100%;padding:2px 8px;border-radius:4px 0 0 4px}.spftestimonial-field-typography .spftestimonial--unit{min-width:40px;max-width:40px;font-size:12px;font-weight:400;text-align:center;color:#777;border:1px solid #ddd;background-color:#eee;border-radius:0 2px 2px 0;border-left:0;line-height:30px}.spftestimonial-field-typography .spftestimonial--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.spftestimonial-field-typography .spftestimonial--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.spftestimonial-field-typography .spftestimonial--black-background{border-color:#000;background-color:#000}.spftestimonial-field-typography .spftestimonial--toggle{position:absolute;top:5px;right:10px;color:#999}.spftestimonial-field-typography .spftestimonial--block-extra-styles{margin-top:5px}.spftestimonial-field-upload input{width:100%;margin:0}.spftestimonial-field-upload .spftestimonial--wrap{display:flex}.spftestimonial-field-upload .button{margin-left:5px}.spftestimonial-field-wp_editor .spftestimonial-wp-editor{float:left;width:100%}.spftestimonial-field-wp_editor .mce-toolbar-grp{border:none}.spftestimonial-field-wp_editor .mce-btn.mce-active button,.spftestimonial-field-wp_editor .mce-btn.mce-active i,.spftestimonial-field-wp_editor .mce-btn.mce-active:hover button,.spftestimonial-field-wp_editor .mce-btn.mce-active:hover i{color:#23282d}.spftestimonial-field-wp_editor .wp-media-buttons{position:relative;z-index:2}.spftestimonial-field-wp_editor .wp-editor-tabs{position:relative;z-index:1}.spftestimonial-field-wp_editor .spftestimonial-no-tinymce{border:1px solid #e5e5e5}.spftestimonial-field-wp_editor .spftestimonial-no-quicktags .wp-media-buttons{float:none;display:block}.spftestimonial-field-wp_editor .spftestimonial-no-quicktags .mce-tinymce{box-shadow:none;border:1px solid #e5e5e5}.spftestimonial-field-wp_editor textarea{width:100%;max-width:100%;margin:0;box-shadow:none}.spftestimonial-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.spftestimonial-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.spftestimonial-field-submessage{padding:0!important;border:0!important}.spftestimonial-field-submessage+.spftestimonial-field{border-top:0!important}.spftestimonial-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.spftestimonial-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.spftestimonial-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.spftestimonial-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.spftestimonial-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.spftestimonial-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.spftestimonial-field-notice{background-color:transparent}.spftestimonial-notice{padding:12px;background-color:#fff;border-left-style:solid;border-left-width:0;box-shadow:none}.spftestimonial-notice-success{border-color:#46b450}.spftestimonial-notice-info{border-color:#339fd4;color:#999;font-style:italic;font-size:13px}.spftestimonial-notice-warning{border-color:#ffbc00}.spftestimonial-notice-danger{border-color:#dc3232}.spftestimonial-notice{border-color:#222;color:#999;font-style:italic;font-size:13px;padding:12px 12px 12px 0}.spftestimonial-field-number input{width:100%;margin:0}.spftestimonial-field-number .spftestimonial--wrap{position:relative;float:left;width:100px}.spftestimonial-field-number .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:14px;color:#aaa}.spftestimonial-help .spftestimonial-help-text{display:none}.spftestimonial-image-preview{display:inline-block;position:relative;padding:4px;min-width:44px;min-height:22px;margin-bottom:10px;border:1px solid #ccc;background-color:#f9f9f9;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.spftestimonial-image-preview img{max-height:90px;display:inline-block;vertical-align:middle}.spftestimonial-field-custom .spftestimonial-field{padding:0}.spftestimonial-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.spftestimonial-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:FontAwesome;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.spftestimonial-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.spftestimonial-field .chosen-container-single .chosen-single abbr:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:FontAwesome;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.spftestimonial-field .chosen-container-single .chosen-single div b{font-family:FontAwesome;font-size:14px;color:#aaa;background:0 0}.spftestimonial-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.spftestimonial-field .chosen-container-single .chosen-single div b:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.spftestimonial-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.spftestimonial-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.spftestimonial-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.spftestimonial-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.spftestimonial-field .chosen-container-single .chosen-search:before{font-family:FontAwesome;position:absolute;content:"\f002";font-size:11px;right:10px;top:7px;color:#aaa}.spftestimonial-field .wp-picker-container{display:inline-block}.spftestimonial-field .spftestimonial--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.spftestimonial-field .wp-picker-active .spftestimonial--transparent-wrap{display:block}.spftestimonial-field .spftestimonial--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.spftestimonial-field .spftestimonial--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;-moz-box-shadow:0 0 5px rgba(0,0,0,.4) inset;-webkit-box-shadow:0 0 5px rgba(0,0,0,.4) inset;box-shadow:0 0 5px rgba(0,0,0,.4) inset;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-field .spftestimonial--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.spftestimonial-field .spftestimonial--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.spftestimonial-field .spftestimonial--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.spftestimonial-field .spftestimonial--transparent-active .spftestimonial--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.spftestimonial-field .spftestimonial--transparent-active .fa:before{content:"\f205"}.spftestimonial-widgets>.spftestimonial-field{position:relative;top:-1px;margin-right:-15px;margin-left:-15px;padding:12px 15px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-field{margin-left:0;margin-right:0}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:5px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-fieldset{margin-left:0}.spftestimonial-widgets .spftestimonial-field-text input{width:100%}.spftestimonial-widgets .spftestimonial-field-notice .spftestimonial-notice{padding:15px}.control-section .spftestimonial-widgets>.spftestimonial-field{margin-right:-10px;margin-left:-10px;padding:10px 12px}.control-section .spftestimonial-field{padding:0}.control-section .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:6px}.control-section .spftestimonial-field .spftestimonial-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .spftestimonial-field .spftestimonial-fieldset{margin-left:0}.control-section .spftestimonial-help{top:-5px;right:-5px}.control-section .spftestimonial-field-select select{width:100%}.control-section .spftestimonial-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .spftestimonial-text-subtitle{margin-top:4px;font-size:12px}.control-section .spftestimonial-field-submessage .spftestimonial-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-fieldset .spftestimonial-field-heading,.control-section .spftestimonial-fieldset .spftestimonial-field-subheading,.control-section .spftestimonial-fieldset .spftestimonial-field-submessage .spftestimonial-submessage{margin-left:0;margin-right:0}.control-section .spftestimonial-field-date .spftestimonial--to{margin-left:0}.control-section .spftestimonial-field-sorter ul li{padding:5px}.control-section .spftestimonial-field-sorter .spftestimonial-modules{float:none;width:100%}.control-section .spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .spftestimonial-field-background .spftestimonial--background-attributes{flex-direction:column}.control-section .spftestimonial-field-spacing input{width:90px}.control-section .spftestimonial-field-border .spftestimonial--input{flex:1 50%}.control-section .spftestimonial-field-border input,.control-section .spftestimonial-field-border select{width:100%}.control-section .spftestimonial-field-spinner input{width:50px}.control-section .spftestimonial-field-number .spftestimonial--wrap{width:100%}.control-section .spftestimonial-field-backup .spftestimonial-export-data{display:none}.control-section .spftestimonial-field-fieldset .spftestimonial-fieldset-content{border-color:#e5e5e5}.control-section .spftestimonial-field-fieldset .spftestimonial-field{padding:10px}.control-section .spftestimonial-field-fieldset .spftestimonial-field .spftestimonial-title{margin-bottom:5px}.control-section .spftestimonial-field-fieldset .spftestimonial-field h4{font-size:12px}.control-section .spftestimonial-field-accordion .spftestimonial-field,.control-section .spftestimonial-field-group .spftestimonial-field,.control-section .spftestimonial-field-repeater .spftestimonial-field,.control-section .spftestimonial-field-sortable .spftestimonial-field,.control-section .spftestimonial-field-tabbed .spftestimonial-field{padding:10px}.control-section .spftestimonial-field-accordion .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-group .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-repeater .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-sortable .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-tabbed .spftestimonial-field .spftestimonial-title{margin-bottom:5px}.control-section .spftestimonial-field-accordion .spftestimonial-field h4,.control-section .spftestimonial-field-group .spftestimonial-field h4,.control-section .spftestimonial-field-repeater .spftestimonial-field h4,.control-section .spftestimonial-field-sortable .spftestimonial-field h4,.control-section .spftestimonial-field-tabbed .spftestimonial-field h4{font-size:12px}.control-section .spftestimonial-dependency-control.hidden{display:none!important}.spftestimonial-modal{display:none;position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.spftestimonial-modal-icon{z-index:100102}.spftestimonial-modal-table{display:table;width:100%;height:100%}.spftestimonial-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.spftestimonial-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.spftestimonial-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.spftestimonial-modal-content .spftestimonial-fieldset{margin-left:25%}.spftestimonial-modal-content .spftestimonial-title{width:20%}.spftestimonial-modal-content .spftestimonial-field{padding:15px 30px 15px 15px}.spftestimonial-modal-content a:active,.spftestimonial-modal-content a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-modal-content h4{font-size:13px}.spftestimonial-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.spftestimonial-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.spftestimonial-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #eee}.spftestimonial-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.spftestimonial-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.spftestimonial-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.spftestimonial-modal-close:hover{opacity:.5}.spftestimonial-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #eee}.spftestimonial-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.spftestimonial-text-desc,.spftestimonial-text-subtitle{font-weight:400;margin-top:0;color:#999}.spftestimonial-text-success{color:#2b542c}.spftestimonial-text-error{color:#d02c21}.spftestimonial-text-info{color:#31708f}.spftestimonial-text-warning{color:#ffb900}.spftestimonial-text-muted{color:#aaa}.spftestimonial-text-left{text-align:left}.spftestimonial-text-center{text-align:center}.spftestimonial-text-right{text-align:right}.spftestimonial-block-left{float:left}.spftestimonial-block-right{float:right}.spftestimonial-full-width{width:100%}.spftestimonial-full-half{width:50%}.spftestimonial-table{width:100%;display:table}.spftestimonial-table-cell{display:table-cell;vertical-align:middle}.spftestimonial-table-expanded{width:100%}.spftestimonial-nowrap{white-space:nowrap}.spftestimonial-text-highlight{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-text-highlight-gray{padding:2px 4px;font-size:90%;background-color:#f0f0f0;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-hidden{display:none}.spftestimonial-hide{display:none!important}.spftestimonial-show{display:block!important}.spftestimonial-opacity{opacity:.5}.spftestimonial-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.spftestimonial-warning-primary:focus,.spftestimonial-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.spftestimonial-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-form-result{display:none;padding:12px;margin:15px 0 15px 0;background-color:#fff;border-left:4px solid #555;box-shadow:0 1px 1px rgb(0 0 0 / 10%);border-left-color:#46b450}.spftestimonial-form-show{display:block}.spftestimonial-form-warning{color:#8a6d3b;background-color:#faebcc}.spftestimonial-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-no-option{padding:30px}.spftestimonial-input-number{-moz-appearance:textfield}.spftestimonial-input-number::-webkit-inner-spin-button,.spftestimonial-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.spftestimonial-scode-wrap-side{pointer-events:none;opacity:.7;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}span.spftestimonial-shortcode-selectable{background-color:rgba(82,179,217,.11);padding:10px 10px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;border-radius:3px;word-break:break-word;position:relative}span.spftestimonial-shortcode-selectable::after{content:url(../images/copy.svg);width:16px;left:7px;top:50%;position:absolute;margin-top:-6px}.spftestimonial-scode-wrap-side:nth-child(2) span.spftestimonial-shortcode-selectable::after{margin-top:-15px}span.spftestimonial-shortcode-selectable~button:focus,span.spftestimonial-shortcode-selectable~button:hover{background:#e6e6e6;outline:0}span.spftestimonial-shortcode-selectable~button{background:#f5f5f5;padding:7px 12px;border:none;margin-left:8px;font-size:17px;display:inline-block;position:relative;cursor:pointer;border-radius:3px;border:1px solid #dbdbdb}.spftestimonial-scode-wrap-side p{margin-top:0}.spftestimonial-scode-wrap-side{margin-top:0;margin-bottom:16px;overflow:hidden}.spftestimonial-scode-wrap-side .spftestimonial-sc-title{margin-top:0;margin-bottom:7px;font-size:1.2em}.spftestimonial-scode-wrap-side .spftestimonial-tooltip{border-radius:4px;-webkit-border-radius:4px;position:absolute;top:-35px;left:-3px;background-color:#2f2e2e;text-transform:capitalize;font-weight:600;display:block;transition:all .2s;padding:0;height:24px;line-height:24px;width:46px;color:#fff;font-size:11px;text-align:center;display:none}.spftestimonial-scode-wrap-side .spftestimonial-tooltip::after{content:"";width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #2f2e2e;position:absolute;top:98%;left:16px}.spftestimonial-scode-wrap-side .spftestimonial-tooltip{z-index:9999}.spftestimonial-scode-wrap-side button:hover .spftestimonial-tooltip{display:block}.spftestimonial-scode-wrap-side .spftestimonial-tooltip:hover{display:block;opacity:1}@media only screen and (max-width:1200px){.spftestimonial-metabox .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-metabox .spftestimonial-field .spftestimonial-fieldset{margin-left:0}}@media only screen and (max-width:782px){.spftestimonial-header-inner{text-align:center}.spftestimonial-header-inner h1{width:100%;margin-bottom:10px}.spftestimonial-header-left,.spftestimonial-header-right,.spftestimonial-search{width:100%}.spftestimonial-search{text-align:center;margin-bottom:15px}.spftestimonial-footer{text-align:center}.spftestimonial-buttons{float:none}.spftestimonial-copyright{float:none;margin-top:10px}.spftestimonial-expand-all,.spftestimonial-nav,.spftestimonial-nav-background,.spftestimonial-reset-section{display:none!important}.spftestimonial-content{margin-left:0}.spftestimonial-section,.spftestimonial-section-title{display:block!important}.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-field .spftestimonial-fieldset{margin-left:0}.spftestimonial-modal-inner{width:350px;height:400px}.spftestimonial-modal-content{height:237px}.spftestimonial-icon-dialog .spftestimonial-modal-inner{width:305px;height:380px}.spftestimonial-icon-dialog .spftestimonial-modal-content{height:267px}.spftestimonial-modal-icon .spftestimonial-modal-inner{width:330px;height:385px}.spftestimonial-modal-icon .spftestimonial-modal-content{height:252px}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.spftestimonial--image.pro-feature{position:relative;pointer-events:none}.spftestimonial--image.pro-feature::after{position:absolute;top:1px;right:1px;color:#a5a5a5;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:'PRO';text-align:center;font-size:8px}.spftestimonial-field-subheading.pro_heading{opacity:.7}.pro_only_field,.sp-field-icon-select.spftestimonial-pro-only,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only,.spftestimonial-field-checkbox.pro_only_field,.spftestimonial-field-color.pro_only_field,.spftestimonial-field-image_select .spftestimonial--image.spftestimonial-pro-only,.spftestimonial-field.spftestimonial-field-text.pro_only_field{pointer-events:none;opacity:.8}.sp-field-icon-select.spftestimonial-pro-only{opacity:.5}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:grid;grid-template-columns:9fr 1fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-content{display:grid;grid-template-columns:1fr 5fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-item{max-width:600px}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper{border-left:0;background-color:transparent}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper-inner{width:100px;line-height:4em}.spftestimonial-field.spftestimonial-field-image_select.theme_style img{width:400px}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-fieldset{margin-left:0}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-title{width:100%;margin-bottom:30px;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial--image{margin:0 24px 24px 0}.spftestimonial-field-switcher.pro_switcher .spftestimonial--ball::after{content:"PRO";position:relative;text-align:center;width:24px;float:right;font-weight:600;font-size:8px;color:#a5a5a5;opacity:1;line-height:18px}.pro_switcher .spftestimonial--switcher{background-color:#cbcfd0;pointer-events:none}.sp-field-icon-select.spftestimonial-pro-only:last-child:after,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only:after{position:absolute;content:'';top:0;right:0;color:#999;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:"PRO";text-align:center;font-size:8px;line-height:11px;opacity:1}.client_image_style.spftestimonial-field-image_select img{width:70px}.sp-field-icon-select.spftestimonial-pro-only:last-child:after{content:"PRO";color:#444}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help{bottom:15px;right:auto;top:auto}.spftestimonial-field.spftestimonial-field-submessage.pro_only_field{opacity:.7}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable .spftestimonial--sortable-item{margin:0;border:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field{padding:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-helper{display:none}.form_fields .spftestimonial-accordion-items{position:relative}.form_fields .spftestimonial-accordion-item::after{position:absolute;top:18px;right:16px;content:"\f0b2";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-field-form_upper_section{background:#f5fcff;padding:50px 0 70px}.spftestimonial-field-form_upper_section .sp-tfree-help .sp-tfree-pro-features .feature-section span.dashicons{height:22px;width:22px;font-size:16px;line-height:22px}.spftestimonial-field-form_upper_section div.sp-tfree-help .sp-tfree-pro-features .feature-section{margin-bottom:40px;margin-left:auto;margin-right:auto;text-align:center;max-width:1200px}.spftestimonial-field-form_upper_section div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:none;margin:0;border:0 solid;background-color:transparent}div.sp-tfree-help .sp-tfree-pro-features h1{font-size:30px;font-weight:500;color:#444}div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:18px;font-weight:400}.spftestimonial-field-form_upper_section .sp-tfree-upgrade a.tfree-upgrade-btn:hover{background:#0a73a7}.spftestimonial-field-form_upper_section .sp-tfree-upgrade a.tfree-upgrade-btn{transition:all .5s;background:#1595ce;padding:0 25px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:600;display:inline-block;text-align:center}.spftestimonial-field-form_upper_section .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{color:#2d4d5b}.spftestimonial-field-form_upper_section .sp-tfree-help .feature-section .sp-tfree-feature{padding:0 0 10px;text-align:left}#sp_tpro_form_elements_options .handle-actions.hide-if-no-js,#sp_tpro_form_options .postbox-header,div#sp_tfree_form_upper_section .postbox-header,div#sp_tpro_form_elements_options .handle-actions.hide-if-no-js{display:none}#sp_tpro_form_options .spftestimonial-nav-metabox .spftestimonial--sortable-item .spftestimonial-accordion-title{pointer-events:none}#sp_tpro_form_options .spftestimonial-field-accordion .spftestimonial-accordion-title,#sp_tpro_form_options .spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field,#sp_tpro_form_options .spftestimonial-nav-metabox,#sp_tpro_form_options .spftestimonial-nav-metabox li a{pointer-events:none}div#spftestimonial-section-sp_tpro_form_elements_options_1 .spftestimonial-field-checkbox ul{max-height:100%}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav{display:block;position:relative;z-index:10;float:left;width:225px}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-content{position:relative;margin-left:225px;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li{display:list-item}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4;margin-bottom:0;padding:15px 15px;text-transform:uppercase;font-weight:600}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-section-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4;display:block}#sp_tpro_form_options .spftestimonial-field-sortable .spftestimonial-field-text input{max-width:400px}
|
1 |
+
.spftestimonial{position:relative}.spftestimonial label{padding:0;margin:0;display:inline-block}.spftestimonial-ab-icon{top:2px}#screen-meta-links+.spftestimonial-options{margin-top:40px}.spftestimonial-options{margin-top:20px;margin-right:20px}.spftestimonial-header{position:relative}.spftestimonial-header-inner{padding:25px}.spftestimonial-header-inner h1 img{height:24px;width:24px;margin-right:8px;margin-bottom:-4px}.spftestimonial-header-inner h1{color:#444;float:left;font-size:20px;line-height:35px;font-weight:600;margin:0}.spftestimonial-header-inner h1 small{font-size:11px;font-weight:500}.spftestimonial-sticky .spftestimonial-header-inner{position:fixed;z-index:99999;top:32px;-moz-box-shadow:0 5px 25px rgba(0,0,0,.125);-webkit-box-shadow:0 5px 25px rgba(0,0,0,.125);box-shadow:0 5px 25px rgba(0,0,0,.125)}.spftestimonial-header-left{float:left}.spftestimonial-header-right{float:right}.spftestimonial-buttons .button{margin:0 4px;padding:0 16px;border-radius:0;height:38px;font-size:13px;font-weight:500;text-transform:uppercase;color:#fff}.spftestimonial-buttons .button.spftestimonial-save-ajax{background-color:#02cc7b;border-color:transparent;color:#fff!important;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;border-radius:4px;height:38px;width:75px;-webkit-transition:background-color .2s;transition:background-color .2s}.spftestimonial-buttons .button.spftestimonial-save-ajax:hover{background-color:#02bb71}.spftestimonial-buttons .button.spftestimonial-save-ajax:focus{color:#fff}.spftestimonial-buttons .button.spftestimonial-save-ajax[disabled]{background-color:#02bb71!important;border:none}.spftestimonial-buttons .button.spftestimonial-reset-all,.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#cd3c3c!important;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important;border-radius:4px;height:38px;-webkit-transition:background-color .2s;transition:background-color .2s}.spftestimonial-buttons .button.spftestimonial-reset-all:hover,.spftestimonial-buttons .button.spftestimonial-reset-section:hover{background-color:#b82f2f!important}.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#77777c!important}.spftestimonial-buttons .button.spftestimonial-reset-section:hover{background-color:#616166!important;color:#fff}.spftestimonial-nav{display:block;position:relative;z-index:10;float:left;width:225px}.spftestimonial-nav ul{clear:left;margin:0;list-style-type:none}.spftestimonial-nav ul li{margin-bottom:0}.spftestimonial-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;-moz-transition:all .3s ease;-o-transition:all .3s ease;-webkit-transition:all .3s ease;transition:all .3s ease}.spftestimonial-nav ul li a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-nav ul li .spftestimonial-section-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.spftestimonial-nav ul li .spftestimonial-arrow:after{content:"\f054";display:inline-block;font-family:FontAwesome;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px;-moz-transform:rotate(0);-ms-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}.spftestimonial-nav ul li.spftestimonial-tab-active .spftestimonial-arrow:after{-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);transform:rotate(90deg)}.spftestimonial-nav ul li.spftestimonial-tab-active ul{display:block}.spftestimonial-nav ul ul{display:none;position:relative}.spftestimonial-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.spftestimonial-nav .fa{width:20px;margin-right:5px;font-size:14px;text-align:center}.spftestimonial-nav .spftestimonial-label-error{margin-left:4px;vertical-align:top}.spftestimonial-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.spftestimonial-wrapper{position:relative}.spftestimonial-content{position:relative;margin-left:225px;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.spftestimonial-sections{float:left;width:100%}.spftestimonial-section{display:none}.spftestimonial-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.spftestimonial-section-title .fa{margin-right:5px}.spftestimonial-footer{padding:20px;font-size:11px}.spftestimonial-copyright{float:left;margin-top:5px}.spftestimonial-search-all .spftestimonial-nav,.spftestimonial-search-all .spftestimonial-nav-background,.spftestimonial-show-all .spftestimonial-nav,.spftestimonial-show-all .spftestimonial-nav-background{display:none}.spftestimonial-search-all .spftestimonial-content,.spftestimonial-show-all .spftestimonial-content{margin-left:0}.spftestimonial-search-all .spftestimonial-section,.spftestimonial-search-all .spftestimonial-section-title,.spftestimonial-show-all .spftestimonial-section,.spftestimonial-show-all .spftestimonial-section-title{display:block!important}.spftestimonial-search-all .spftestimonial-section-title{display:none!important}.spftestimonial-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:14px;line-height:28px;cursor:pointer;user-select:none;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.spftestimonial-expand-all span{font-size:11px;vertical-align:middle}.spftestimonial-search{float:left}.spftestimonial-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:28px;min-height:28px;text-align:inherit;padding:0 10px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-search input:focus{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-saving .spftestimonial-buttons,.spftestimonial-saving .spftestimonial-content{cursor:default;pointer-events:none;opacity:.5}.spftestimonial-metabox{margin:-6px -12px -12px -12px}.spftestimonial-metabox .spftestimonial-section-title{padding:20px}.block-editor-page .spftestimonial-metabox{margin:-6px -14px -12px -14px}.spftestimonial-restore-wrapper{text-align:right;padding:10px;border-top:1px solid #eee}.spftestimonial-restore-wrapper .spftestimonial-button-cancel,.spftestimonial-restore-wrapper input{display:none}.spftestimonial-restore-wrapper span{-webkit-user-select:none;user-select:none}.spftestimonial-restore-wrapper input:checked~.spftestimonial-button-restore{display:none}.spftestimonial-restore-wrapper input:checked~.spftestimonial-button-cancel{display:inline-block}#side-sortables .spftestimonial-section-title{padding:12px}#side-sortables .spftestimonial-field{padding:12px}#side-sortables .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}#side-sortables .spftestimonial-field .spftestimonial-fieldset{margin-left:0}#side-sortables .spftestimonial-notice{padding:12px 12px 12px 0}.spftestimonial-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:left;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.spftestimonial-theme-dark .spftestimonial-header-inner{background-color:#050505}.spftestimonial-theme-dark .spftestimonial-header-inner h1{color:#fff}.spftestimonial-theme-dark .spftestimonial-header-inner h1 small{color:#555}.spftestimonial-theme-dark .spftestimonial-expand-all{color:#999;background-color:#222}.spftestimonial-theme-dark .spftestimonial-expand-all:hover{color:#fff;background-color:#333}.spftestimonial-theme-dark .spftestimonial-search input{color:#fff;background-color:#222}.spftestimonial-theme-dark .spftestimonial-search:focus{background-color:#444}.spftestimonial-theme-dark .spftestimonial-search::-webkit-input-placeholder{color:#666}.spftestimonial-theme-dark .spftestimonial-nav ul li a{color:#999;background-color:#222;border-bottom:1px solid #2f2f2f}.spftestimonial-theme-dark .spftestimonial-nav ul li a:hover{color:#fff}.spftestimonial-theme-dark .spftestimonial-nav ul li .spftestimonial-section-active{color:#fff;background-color:#111}.spftestimonial-theme-dark .spftestimonial-nav ul ul li a{background-color:#191919;border-bottom:1px solid #2f2f2f}.spftestimonial-theme-dark .spftestimonial-nav ul ul li .spftestimonial-section-active{background-color:#101010}.spftestimonial-theme-dark .spftestimonial-nav ul ul:before{background-color:rgba(34,34,34,.75)}.spftestimonial-theme-dark .spftestimonial-nav>ul>li:last-child>a{border-bottom:none}.spftestimonial-theme-dark .spftestimonial-nav-background{background-color:#222}.spftestimonial-theme-dark .spftestimonial-footer{color:#555;background-color:#050505}.spftestimonial-theme-light .spftestimonial-container{border:1px solid #e5e5e5;-moz-box-shadow:0 0 15px rgba(0,0,0,.04);-webkit-box-shadow:0 0 15px rgba(0,0,0,.04);box-shadow:0 0 15px rgba(0,0,0,.04)}.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #e5e5e5;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.spftestimonial-theme-light .spftestimonial-header-inner h1 small{color:#999}.spftestimonial-theme-light .spftestimonial-expand-all{color:#999;background-color:#fff;-moz-box-shadow:0 1px 1px rgba(0,0,0,.05);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.spftestimonial-theme-light .spftestimonial-expand-all:hover{color:#555}.spftestimonial-theme-light .spftestimonial-search input{color:#555;background-color:#fff;-moz-box-shadow:0 1px 1px rgba(0,0,0,.05);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.spftestimonial-theme-light .spftestimonial-search input::-webkit-input-placeholder{color:#bbb}.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#666;background-color:#f5f5f5;border-bottom:1px solid #e5e5e5}.spftestimonial-theme-light .spftestimonial-nav ul li a:hover{color:#222}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-section-active{color:#222;background-color:#fff}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-section-active:after{display:none}.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#eee;border-bottom:1px solid #e5e5e5}.spftestimonial-theme-light .spftestimonial-nav>ul>li:last-child>a{border-bottom:none}.spftestimonial-theme-light .spftestimonial-nav-background{background-color:#f5f5f5}.spftestimonial-theme-light .spftestimonial-footer{color:#555;border-top:1px solid #e5e5e5;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.spftestimonial-field{position:relative;padding:20px 30px}.spftestimonial-field p:first-child{margin-top:0}.spftestimonial-field p:last-child{margin-bottom:0}.spftestimonial-field:after,.spftestimonial-field:before{content:" ";display:table}.spftestimonial-field:after{clear:both}.spftestimonial-field h4{margin-top:0}.spftestimonial-field .spftestimonial-title{position:relative;width:20%;float:left}.spftestimonial-field .spftestimonial-title h4{margin:0;color:#23282d}.spftestimonial-field .spftestimonial-fieldset{margin-left:25%}.spftestimonial-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.spftestimonial-pseudo-field+.spftestimonial-pseudo-field{border:0}.spftestimonial-pseudo-field pre{display:none}.spftestimonial-field-accordion .spftestimonial-accordion-item{position:relative;margin-bottom:5px}.spftestimonial-field-accordion .spftestimonial-accordion-item h4{font-size:1em}.spftestimonial-field-accordion .spftestimonial-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.spftestimonial-field-accordion .spftestimonial-accordion-title:active,.spftestimonial-field-accordion .spftestimonial-accordion-title:focus,.spftestimonial-field-accordion .spftestimonial-accordion-title:hover{outline:0;border-color:#999}.spftestimonial-field-accordion .spftestimonial-accordion-icon{width:14px;text-align:center}.spftestimonial-field-accordion .spftestimonial--icon{width:20px;text-align:center}.spftestimonial-field-accordion .spftestimonial-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-accordion .spftestimonial-accordion-content>.spftestimonial-field{padding:15px}.spftestimonial-field-accordion .spftestimonial-accordion-open{display:block}.spftestimonial-field-background .spftestimonial-field{border:0!important;padding:0;margin-bottom:6px;margin-right:6px}.spftestimonial-field-background .spftestimonial--title{color:#777;font-size:12px}.spftestimonial-field-background .spftestimonial--background-colors{display:flex}.spftestimonial-field-background .spftestimonial--background-attributes{display:flex;flex-wrap:wrap}.spftestimonial-field-background .spftestimonial--background-attributes select{min-width:100%;margin:0}.spftestimonial-field-background .spftestimonial--background-attributes .spftestimonial-field{flex:1}.spftestimonial-field-background .spftestimonial--attributes-hidden{display:none}.spftestimonial-field-background .wp-color-result.button{margin-bottom:0}.spftestimonial-field-backup textarea{width:100%;min-height:200px;margin-bottom:5px}.spftestimonial-field-backup small{display:inline-block;margin:5px}.spftestimonial-field-backup hr{margin:20px 0;border:none;border-bottom:1px solid #e5e5e5}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset{pointer-events:none;opacity:.7}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset .spftestimonial--input:after{content:'Pro';text-transform:uppercase;line-height:30px;margin-left:6px;color:#444}.spftestimonial-field-column .spftestimonial--input input,.spftestimonial-field-custom_size .spftestimonial--input input{border-radius:0 2px 2px 0}.spftestimonial-field-column .spftestimonial--input{float:left}.spftestimonial-field-custom_size .spftestimonial--input{float:left;margin-right:10px;margin-bottom:7px}.spftestimonial-field-custom_size .spftestimonial--input input{line-height:30px;float:left;margin:0;padding:0;width:65px;max-width:100%;text-align:center;border-radius:0}.spftestimonial-field-custom_size .spftestimonial--label.spftestimonial--label-unit{border-right:1px solid #ddd;border-left:0;border-radius:0 2px 2px 0}.spftestimonial-field-column .spftestimonial--label,.spftestimonial-field-custom_size .spftestimonial--label{float:left;max-width:100%;font-size:12px;line-height:30px;vertical-align:top;text-align:center;color:#555;border:1px solid #ddd;background-color:#eee;padding:0 6px;min-height:30px;min-width:20px;border-right:0;border-radius:2px 0 0 2px}.spftestimonial-field-border .spftestimonial--inputs,.spftestimonial-field-column .spftestimonial--inputs,.spftestimonial-field-dimensions .spftestimonial--inputs,.spftestimonial-field-spacing .spftestimonial--inputs{float:left;display:flex;flex-wrap:wrap}.spftestimonial-field-border .spftestimonial--input,.spftestimonial-field-column .spftestimonial--input,.spftestimonial-field-dimensions .spftestimonial--input,.spftestimonial-field-spacing .spftestimonial--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.spftestimonial-field-border .spftestimonial--input select,.spftestimonial-field-dimensions .spftestimonial--input select,.spftestimonial-field-spacing .spftestimonial--input select{margin:0}.spftestimonial-field-border .spftestimonial--input input,.spftestimonial-field-column .spftestimonial--input input,.spftestimonial-field-dimensions .spftestimonial--input input,.spftestimonial-field-spacing .spftestimonial--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;padding:0;text-align:center;border:1px solid #ddd}.spftestimonial-field-border .spftestimonial--color,.spftestimonial-field-dimensions .spftestimonial--color,.spftestimonial-field-spacing .spftestimonial--color{float:left}.spftestimonial-field-border .spftestimonial--color .spftestimonial--title{margin-top:-22px}.spftestimonial-field-border .spftestimonial--label,.spftestimonial-field-dimensions .spftestimonial--label,.spftestimonial-field-spacing .spftestimonial--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.spftestimonial-field-border .spftestimonial--icon,.spftestimonial-field-dimensions .spftestimonial--icon,.spftestimonial-field-spacing .spftestimonial--icon{border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-border .spftestimonial--icon+input,.spftestimonial-field-dimensions .spftestimonial--icon+input,.spftestimonial-field-spacing .spftestimonial--icon+input{border-top-left-radius:0;border-bottom-left-radius:0}.spftestimonial-field-border .spftestimonial--unit,.spftestimonial-field-dimensions .spftestimonial--unit,.spftestimonial-field-spacing .spftestimonial--unit{border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-border .spftestimonial--is-unit,.spftestimonial-field-dimensions .spftestimonial--is-unit,.spftestimonial-field-spacing .spftestimonial--is-unit{border-top-right-radius:0;border-bottom-right-radius:0}.spftestimonial-field-button_set .spftestimonial--buttons{display:inline-block}.spftestimonial-field-button_set .spftestimonial--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:40px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;-webkit-user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.spftestimonial-field-button_set .spftestimonial--button:first-child{border-radius:4px 0 0 4px}.spftestimonial-field-button_set .spftestimonial--button:last-child{border-radius:0 4px 4px 0}.spftestimonial-field-button_set .spftestimonial--button:not(:first-child){margin-left:-1px}.spftestimonial-field-button_set .spftestimonial--button:hover{background-color:#eee}.spftestimonial-field-button_set .spftestimonial--active,.spftestimonial-field-button_set .spftestimonial--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.spftestimonial-field-button_set input{display:none}.spftestimonial-field-checkbox ul,.spftestimonial-field-radio ul{margin:0;padding:0 1px;list-style-type:none;overflow-y:auto;max-height:305px}.spftestimonial-field-checkbox ul ul,.spftestimonial-field-radio ul ul{max-height:none}.spftestimonial-field-checkbox .spftestimonial--inline-list li,.spftestimonial-field-radio .spftestimonial--inline-list li{display:inline-block;margin-right:15px}.spftestimonial-field-checkbox input[type=radio]:checked:before,.spftestimonial-field-radio input[type=radio]:checked:before{line-height:10px}.spftestimonial-field-checkbox .spftestimonial-checker,.spftestimonial-field-radio .spftestimonial-checker{cursor:pointer}.spftestimonial-field-code_editor .CodeMirror{width:100%;height:400px}.spftestimonial-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.spftestimonial-field-code_editor textarea{width:100%;height:400px}.spftestimonial-field-color>input{opacity:.75;width:115px;max-width:100%}.spftestimonial-field-color .button.wp-picker-clear{margin-left:6px;padding:2px 8px}.spftestimonial-field-color_group .spftestimonial--left{float:left;margin-right:10px;margin-bottom:5px}.spftestimonial-field-border .spftestimonial--color .spftestimonial--title,.spftestimonial-field-color_group .spftestimonial--title{color:#999;margin-bottom:5px}.spftestimonial-field-fieldset .spftestimonial-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-fieldset .spftestimonial-fieldset-content>.spftestimonial-field{padding:15px}.spftestimonial-field-fieldset .spftestimonial-field-subheading{font-size:13px}.spftestimonial-field-date input{margin:0}.spftestimonial-field-date .spftestimonial--to{margin-left:7px}.spftestimonial-datepicker-wrapper{margin-top:5px;width:auto;background-color:#fff;z-index:9999999!important;-moz-box-shadow:0 0 30px rgba(0,0,0,.15);-webkit-box-shadow:0 0 30px rgba(0,0,0,.15);box-shadow:0 0 30px rgba(0,0,0,.15)}.spftestimonial-datepicker-wrapper *{float:none;margin:0;padding:0;font-family:inherit;font-weight:400;font-style:normal;text-decoration:none;border:0;border-radius:0;box-shadow:none}.spftestimonial-datepicker-wrapper .ui-datepicker-header,.spftestimonial-datepicker-wrapper .ui-widget-header{color:#fff;background:#00a0d2}.spftestimonial-datepicker-wrapper .ui-datepicker-header .ui-state-hover{cursor:pointer}.spftestimonial-datepicker-wrapper .ui-datepicker-title{font-size:14px;line-height:40px;text-align:center}.spftestimonial-datepicker-wrapper .ui-datepicker-next,.spftestimonial-datepicker-wrapper .ui-datepicker-prev{position:static;top:auto;left:auto;right:auto;font-family:FontAwesome;font-size:12px;text-align:center;width:41px;height:40px;line-height:40px;color:#fff;background-color:rgba(255,255,255,.1);text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-datepicker-wrapper .ui-datepicker-next span,.spftestimonial-datepicker-wrapper .ui-datepicker-prev span{display:none}.spftestimonial-datepicker-wrapper .ui-datepicker-prev{float:left}.spftestimonial-datepicker-wrapper .ui-datepicker-next{float:right}.spftestimonial-datepicker-wrapper .ui-datepicker-prev:before{content:'\f053'}.spftestimonial-datepicker-wrapper .ui-datepicker-next:before{content:'\f054'}.spftestimonial-datepicker-wrapper .ui-datepicker-next-hover,.spftestimonial-datepicker-wrapper .ui-datepicker-prev-hover{opacity:.75}.spftestimonial-datepicker-wrapper tbody .ui-datepicker-week-col{background-color:#f7f7f7}.spftestimonial-datepicker-wrapper .ui-datepicker-buttonpane{padding:10px;text-align:center;background-color:#f7f7f7}.spftestimonial-datepicker-wrapper .ui-datepicker-buttonpane button{cursor:pointer;margin:0 5px;padding:7px 14px;border:1px solid #eee;background-color:#fff}.spftestimonial-datepicker-wrapper select{margin:0 4px}.spftestimonial-datepicker-wrapper select option{color:#555}.spftestimonial-datepicker-wrapper table{font-size:13px;border-collapse:collapse;width:100%}.spftestimonial-datepicker-wrapper thead{color:#fff;background:#32373c}.spftestimonial-datepicker-wrapper th{text-align:center;padding:7px;border:1px solid #444}.spftestimonial-datepicker-wrapper td{text-align:center;border:1px solid #f4f4f4}.spftestimonial-datepicker-wrapper td.ui-datepicker-other-month{border:transparent}.spftestimonial-datepicker-wrapper td .ui-state-default{color:#555;width:auto;display:block;padding:6px 12px}.spftestimonial-datepicker-wrapper td .ui-state-active,.spftestimonial-datepicker-wrapper td .ui-state-hover{color:#fff;background-color:#0073aa}.spftestimonial-datepicker-wrapper td.ui-state-disabled .ui-state-default{opacity:.5}.spftestimonial-field-gallery input{display:none}.spftestimonial-field-gallery ul{margin:0;padding:0;list-style-type:none}.spftestimonial-field-gallery ul li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.spftestimonial-field-gallery ul li img{max-height:60px;display:inline-block;vertical-align:middle}.spftestimonial-field-gallery .button{margin-right:5px;margin-bottom:5px}.spftestimonial-field-group .spftestimonial-cloneable-hidden{display:none!important}.spftestimonial-field-group .spftestimonial-cloneable-wrapper{position:relative}.spftestimonial-field-group .spftestimonial-cloneable-item{display:none;position:relative;margin-bottom:5px}.spftestimonial-field-group .spftestimonial-cloneable-item h4{font-size:1em}.spftestimonial-field-group .ui-accordion .spftestimonial-cloneable-item{display:block}.spftestimonial-field-group .spftestimonial-cloneable-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-group .spftestimonial-cloneable-content>.spftestimonial-field{padding:15px}.spftestimonial-field-group .spftestimonial-cloneable-title{display:block;cursor:pointer;position:relative;user-select:none;margin:0;padding:15px 65px 15px 10px;min-height:0;font-size:100%;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.spftestimonial-field-group .spftestimonial-cloneable-title:active,.spftestimonial-field-group .spftestimonial-cloneable-title:focus,.spftestimonial-field-group .spftestimonial-cloneable-title:hover{border-color:#999;outline:0}.spftestimonial-field-group .spftestimonial-cloneable-helper{position:absolute;top:12px;right:10px;z-index:1;font-size:14px;line-height:1em}.spftestimonial-field-group .spftestimonial-cloneable-helper i{display:inline-block;cursor:pointer;padding:5px;color:#999}.spftestimonial-field-group .spftestimonial-cloneable-helper i:hover{color:#555}.spftestimonial-field-group .spftestimonial-cloneable-content{padding:0;border-top:0}.spftestimonial-field-group .spftestimonial-cloneable-title-number,.spftestimonial-field-group .spftestimonial-cloneable-title-prefix{margin-right:5px}.spftestimonial-field-group .spftestimonial-cloneable-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.spftestimonial-field-group .widget-placeholder{margin-bottom:10px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-group .spftestimonial-cloneable-header-icon{display:inline-block;text-align:center;font-size:14px;width:17px;text-indent:0;vertical-align:text-top}.spftestimonial-field-group .spftestimonial-cloneable-placeholder{background-color:#ddd;margin-top:4px;width:100px;height:10px;font-size:10px;line-height:10px;display:inline-block;vertical-align:top;border-radius:2px}.spftestimonial-field-icon_select .spftestimonial--image{width:35px;height:35px;text-align:center;line-height:35px;font-size:20px}.spftestimonial-field-image_select .spftestimonial--image p{margin:6px 0 0 0;font-weight:600}.spftestimonial-field-icon_select .spftestimonial--image,.spftestimonial-field-image_select .spftestimonial--image{cursor:pointer;position:relative;display:inline-block;text-align:center;max-width:100%;margin:0 16px 7px 0;vertical-align:top;background-color:#fff;user-select:none;-webkit-user-select:none;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.spftestimonial-field-icon_select .spftestimonial--image{border:2px solid #ddd}.spftestimonial-field-icon_select .spftestimonial--image:before,.spftestimonial-field-image_select .spftestimonial--image:before{position:absolute;top:0;right:0;text-align:center;font-size:11px;font-family:FontAwesome;content:"\f00c";width:15px;height:15px;line-height:15px;opacity:0;color:#fff;background-color:#1595ce;transition:opacity .2s}.spftestimonial-field-image_select .spftestimonial--active img{border-color:#1595ce;outline:3px solid #1595ce;outline-offset:-3px}.spftestimonial-field-icon_select .spftestimonial--active{border-color:#1595ce}.spftestimonial-field-image_select .spftestimonial--active:before{opacity:1}.spftestimonial-field-icon_select .spftestimonial--active:before{opacity:0}.spftestimonial-field-image_select img{vertical-align:top;width:110px}.spftestimonial-field-icon_select input,.spftestimonial-field-image_select input{display:none}.spftestimonial-field-link_color .spftestimonial--left{float:left;margin-right:10px;margin-bottom:5px}.spftestimonial-field-link_color .spftestimonial--title{color:#777;margin-bottom:5px}.spftestimonial-field-map input{width:100%}.spftestimonial-field-map input[type=text].ui-autocomplete-loading{background-position-x:calc(100% - 5px)}.spftestimonial-field-map .spftestimonial--map-search+.spftestimonial--map-osm-wrap{margin-top:10px}.spftestimonial-field-map .spftestimonial--map-osm-wrap{position:relative;padding:5px;border:1px solid #eee;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-map .spftestimonial--map-osm{position:relative;z-index:1;min-height:250px}.spftestimonial-field-map .spftestimonial--map-inputs{margin-top:10px;display:flex;justify-content:space-between}.spftestimonial-field-map .spftestimonial--map-input{flex:1}.spftestimonial-field-map .spftestimonial--map-input:last-child{padding-left:10px}.spftestimonial-field-map label{display:block;color:#777;font-size:12px;margin:0 0 2px 0}.spftestimonial-map-ui-autocomplate{z-index:999999;border-radius:4px;overflow:hidden}.spftestimonial-field-media .spftestimonial--placeholder{display:flex}.spftestimonial-field-media .spftestimonial--placeholder input{width:100%;margin:0}.spftestimonial-field-media .button{margin-left:5px}.spftestimonial-field-media .hidden+.button{margin-left:0}.spftestimonial-field-media .spftestimonial--preview{position:relative}.spftestimonial-field-media .spftestimonial--preview .fa-times{position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.8;transition:all .2s}.spftestimonial-field-media .spftestimonial--preview .fa-times:hover{opacity:1}.spftestimonial-field-media .spftestimonial--preview .fa-times:focus{box-shadow:none}.spftestimonial-field-palette .spftestimonial--palette{position:relative;display:inline-block;cursor:pointer;border:2px solid #ddd;margin-right:10px;margin-bottom:10px;user-select:none;-webkit-user-select:none;transition:all .2s}.spftestimonial-field-palette .spftestimonial--palette span{vertical-align:middle;display:inline-block;width:22px;height:60px;line-height:60px;overflow:hidden;text-indent:-999px}.spftestimonial-field-palette .spftestimonial--palette:before{position:absolute;top:0;left:0;text-align:center;font-size:11px;font-family:FontAwesome;content:"\f00c";width:15px;height:15px;line-height:15px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.spftestimonial-field-palette .spftestimonial--active{border-color:#222;box-shadow:0 0 20px rgba(0,0,0,.2)}.spftestimonial-field-palette .spftestimonial--active:before{opacity:1}.spftestimonial-field-palette input{display:none}.spftestimonial-field-repeater .spftestimonial-field-text input{width:100%}.spftestimonial-field-repeater .spftestimonial-repeater-hidden{display:none!important}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item h4{font-size:1em}.spftestimonial-field-repeater .spftestimonial-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-repeater .spftestimonial-repeater-content>.spftestimonial-field{padding:15px}.spftestimonial-field-repeater .spftestimonial-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-repeater .spftestimonial-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.spftestimonial-field-repeater .spftestimonial-repeater-helper i:hover{color:#555}.spftestimonial-field-repeater .spftestimonial-repeater-helper-inner{width:75px}.spftestimonial-field-repeater .spftestimonial-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.spftestimonial-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-content,.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-helper{display:none}.spftestimonial-field-select .spftestimonial-fieldset{min-height:30px}.spftestimonial-field-select .spftestimonial-chosen{display:none}.spftestimonial-field-select select{max-width:100%;margin:0}.spftestimonial-field-slider .spftestimonial--wrap{display:flex;align-items:center}.spftestimonial-field-slider .spftestimonial--input{display:flex}.spftestimonial-field-slider .spftestimonial--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.spftestimonial-field-slider input[type=number]{position:relative;z-index:1;width:50px;margin:0 0 0 15px;text-align:center}.spftestimonial-field-slider .spftestimonial--is-unit{border-top-right-radius:0;border-bottom-right-radius:0}.spftestimonial-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.spftestimonial-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.spftestimonial-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.spftestimonial-field-slider .ui-slider-handle:hover,.spftestimonial-field-slider .ui-state-active{cursor:pointer;background:#111}.spftestimonial-field-sortable .spftestimonial-field-text input{width:100%;max-width:100%}.spftestimonial-field-sortable .spftestimonial--sortable .spftestimonial--sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-sortable .spftestimonial--sortable .spftestimonial--sortable-item h4{font-size:1em}.spftestimonial-field-sortable .spftestimonial--sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-sortable .spftestimonial--sortable-content>.spftestimonial-field{padding:15px}.spftestimonial-field-sortable .spftestimonial--sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-sortable .spftestimonial--sortable-helper .fa{display:inline-block;cursor:pointer;width:50px;color:#555}.spftestimonial-field-sortable .spftestimonial--sortable-helper .fa:hover{opacity:.5}.spftestimonial-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial--sortable-content,.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial--sortable-helper{display:none}.spftestimonial-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sorter .spftestimonial-modules{float:left;width:50%;box-sizing:border-box}.spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:15px}.spftestimonial-field-sorter .spftestimonial-modules:last-child{padding-left:15px}.spftestimonial-field-sorter .spftestimonial-disabled,.spftestimonial-field-sorter .spftestimonial-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.spftestimonial-field-sorter .spftestimonial-disabled li{-moz-transition:opacity .15s;-o-transition:opacity .15s;-webkit-transition:opacity .15s;transition:opacity .15s;opacity:.5}.spftestimonial-field-sorter .spftestimonial-disabled .ui-sortable-helper{opacity:1}.spftestimonial-field-sorter .spftestimonial-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.spftestimonial-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.spftestimonial-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;-moz-transition:border-color .15s;-o-transition:border-color .15s;-webkit-transition:border-color .15s;transition:border-color .15s}.spftestimonial-field-sorter ul li:hover{border-color:#bbb}.spftestimonial-field-spinner .spftestimonial--spin{display:flex}.spftestimonial-field-spinner .ui-spinner{display:flex}.spftestimonial-field-spinner .ui-button-text-only{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.spftestimonial-field-spinner .ui-button{cursor:pointer}.spftestimonial-field-spinner .ui-button:hover{background-color:#e7e7e7}.spftestimonial-field-spinner .ui-button:active{background-color:#ddd}.spftestimonial-field-spinner .ui-button:before{font-family:FontAwesome;font-size:14px}.spftestimonial-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-spinner .ui-spinner-down:before{content:"\f0d9"}.spftestimonial-field-spinner .ui-spinner-input{order:2}.spftestimonial-field-spinner .spftestimonial--unit{order:3;border-left:0;user-select:none}.spftestimonial-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-spinner .ui-spinner-up:before{content:"\f0da"}.spftestimonial-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.spftestimonial-field-spinner .ui-button-text{display:none}.spftestimonial-field-switcher .spftestimonial--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.spftestimonial-field-switcher .spftestimonial--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.spftestimonial-field-switcher .spftestimonial--off,.spftestimonial-field-switcher .spftestimonial--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.spftestimonial-field-switcher .spftestimonial--off{padding-right:0;padding-left:28px;opacity:1}.spftestimonial-field-switcher .spftestimonial--active{background:#4fb845}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--on{opacity:1}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--off{opacity:0}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--ball{left:100%;margin-left:-28px}.spftestimonial-field-switcher .spftestimonial--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.spftestimonial-field-switcher input{display:none}.spftestimonial-field-tabbed .spftestimonial-tabbed-section{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-tabbed .spftestimonial-tabbed-section>.spftestimonial-field{padding:15px}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav .spftestimonial--icon{padding-right:5px}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a{display:inline-block;padding:12px 15px;margin-top:1px;margin-right:5px;margin-bottom:-1px;position:relative;text-decoration:none;color:#444;font-weight:600;border:1px solid #ccd0d4;background-color:#f3f3f3;transition:all .2s}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a:hover{background-color:#f9f9f9}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a.spftestimonial-tabbed-active{background-color:#fff;border-bottom-color:#fff}.spftestimonial-field-tabbed .spftestimonial-tabbed-nav a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-field-text input{width:50%;max-width:100%;margin:0}.spftestimonial-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.spftestimonial-field-typography select,.spftestimonial-field-typography textarea{margin:0;width:100%}.spftestimonial-field-typography .spftestimonial--title{color:#999;margin:0 0 2px 0}.spftestimonial-field-typography .spftestimonial--title small{vertical-align:top}.spftestimonial-field-typography .spftestimonial--blocks{display:flex;flex-wrap:wrap}.spftestimonial-field-typography .spftestimonial--block{padding-right:5px;padding-bottom:10px;box-sizing:border-box}.spftestimonial-field-typography .spftestimonial--block .spftestimonial--block{padding-right:0;padding-bottom:0}.spftestimonial-field-typography .spftestimonial--blocks-selects .spftestimonial--block{flex:1 33.3%}.spftestimonial-field-typography .spftestimonial--blocks-inputs .spftestimonial--input-area{max-width:100px}.spftestimonial-field-typography .spftestimonial--blocks-inputs .spftestimonial--block .spftestimonial--block{flex:1}.spftestimonial-field-typography .spftestimonial--input{margin:0;width:100%;padding:2px 8px;border-radius:4px 0 0 4px}.spftestimonial-field-typography .spftestimonial--unit{min-width:40px;max-width:40px;font-size:12px;font-weight:400;text-align:center;color:#777;border:1px solid #ddd;background-color:#eee;border-radius:0 2px 2px 0;border-left:0;line-height:30px}.spftestimonial-field-typography .spftestimonial--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.spftestimonial-field-typography .spftestimonial--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.spftestimonial-field-typography .spftestimonial--black-background{border-color:#000;background-color:#000}.spftestimonial-field-typography .spftestimonial--toggle{position:absolute;top:5px;right:10px;color:#999}.spftestimonial-field-typography .spftestimonial--block-extra-styles{margin-top:5px}.spftestimonial-field-upload input{width:100%;margin:0}.spftestimonial-field-upload .spftestimonial--wrap{display:flex}.spftestimonial-field-upload .button{margin-left:5px}.spftestimonial-field-wp_editor .spftestimonial-wp-editor{float:left;width:100%}.spftestimonial-field-wp_editor .mce-toolbar-grp{border:none}.spftestimonial-field-wp_editor .mce-btn.mce-active button,.spftestimonial-field-wp_editor .mce-btn.mce-active i,.spftestimonial-field-wp_editor .mce-btn.mce-active:hover button,.spftestimonial-field-wp_editor .mce-btn.mce-active:hover i{color:#23282d}.spftestimonial-field-wp_editor .wp-media-buttons{position:relative;z-index:2}.spftestimonial-field-wp_editor .wp-editor-tabs{position:relative;z-index:1}.spftestimonial-field-wp_editor .spftestimonial-no-tinymce{border:1px solid #e5e5e5}.spftestimonial-field-wp_editor .spftestimonial-no-quicktags .wp-media-buttons{float:none;display:block}.spftestimonial-field-wp_editor .spftestimonial-no-quicktags .mce-tinymce{box-shadow:none;border:1px solid #e5e5e5}.spftestimonial-field-wp_editor textarea{width:100%;max-width:100%;margin:0;box-shadow:none}.spftestimonial-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.spftestimonial-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.spftestimonial-field-submessage{padding:0!important;border:0!important}.spftestimonial-field-submessage+.spftestimonial-field{border-top:0!important}.spftestimonial-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.spftestimonial-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.spftestimonial-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.spftestimonial-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.spftestimonial-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.spftestimonial-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.spftestimonial-field-notice{background-color:transparent}.spftestimonial-notice{padding:12px;background-color:#fff;border-left-style:solid;border-left-width:0;box-shadow:none}.spftestimonial-notice-success{border-color:#46b450}.spftestimonial-notice-info{border-color:#339fd4;color:#999;font-style:italic;font-size:13px}.spftestimonial-notice-warning{border-color:#ffbc00}.spftestimonial-notice-danger{border-color:#dc3232}.spftestimonial-notice{border-color:#222;color:#999;font-style:italic;font-size:13px;padding:12px 12px 12px 0}.spftestimonial-field-number input{width:100%;margin:0}.spftestimonial-field-number .spftestimonial--wrap{position:relative;float:left;width:100px}.spftestimonial-field-number .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:14px;color:#aaa}.spftestimonial-help .spftestimonial-help-text{display:none}.spftestimonial-image-preview{display:inline-block;position:relative;padding:4px;min-width:44px;min-height:22px;margin-bottom:10px;border:1px solid #ccc;background-color:#f9f9f9;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.spftestimonial-image-preview img{max-height:90px;display:inline-block;vertical-align:middle}.spftestimonial-field-custom .spftestimonial-field{padding:0}.spftestimonial-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.spftestimonial-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:FontAwesome;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.spftestimonial-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.spftestimonial-field .chosen-container-single .chosen-single abbr:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:FontAwesome;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.spftestimonial-field .chosen-container-single .chosen-single div b{font-family:FontAwesome;font-size:14px;color:#aaa;background:0 0}.spftestimonial-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.spftestimonial-field .chosen-container-single .chosen-single div b:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.spftestimonial-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.spftestimonial-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.spftestimonial-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.spftestimonial-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.spftestimonial-field .chosen-container-single .chosen-search:before{font-family:FontAwesome;position:absolute;content:"\f002";font-size:11px;right:10px;top:7px;color:#aaa}.spftestimonial-field .wp-picker-container{display:inline-block}.spftestimonial-field .spftestimonial--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.spftestimonial-field .wp-picker-active .spftestimonial--transparent-wrap{display:block}.spftestimonial-field .spftestimonial--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.spftestimonial-field .spftestimonial--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;-moz-box-shadow:0 0 5px rgba(0,0,0,.4) inset;-webkit-box-shadow:0 0 5px rgba(0,0,0,.4) inset;box-shadow:0 0 5px rgba(0,0,0,.4) inset;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-field .spftestimonial--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.spftestimonial-field .spftestimonial--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.spftestimonial-field .spftestimonial--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.spftestimonial-field .spftestimonial--transparent-active .spftestimonial--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.spftestimonial-field .spftestimonial--transparent-active .fa:before{content:"\f205"}.spftestimonial-widgets>.spftestimonial-field{position:relative;top:-1px;margin-right:-15px;margin-left:-15px;padding:12px 15px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-field{margin-left:0;margin-right:0}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:5px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-fieldset{margin-left:0}.spftestimonial-widgets .spftestimonial-field-text input{width:100%}.spftestimonial-widgets .spftestimonial-field-notice .spftestimonial-notice{padding:15px}.control-section .spftestimonial-widgets>.spftestimonial-field{margin-right:-10px;margin-left:-10px;padding:10px 12px}.control-section .spftestimonial-field{padding:0}.control-section .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:6px}.control-section .spftestimonial-field .spftestimonial-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .spftestimonial-field .spftestimonial-fieldset{margin-left:0}.control-section .spftestimonial-help{top:-5px;right:-5px}.control-section .spftestimonial-field-select select{width:100%}.control-section .spftestimonial-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .spftestimonial-text-subtitle{margin-top:4px;font-size:12px}.control-section .spftestimonial-field-submessage .spftestimonial-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-fieldset .spftestimonial-field-heading,.control-section .spftestimonial-fieldset .spftestimonial-field-subheading,.control-section .spftestimonial-fieldset .spftestimonial-field-submessage .spftestimonial-submessage{margin-left:0;margin-right:0}.control-section .spftestimonial-field-date .spftestimonial--to{margin-left:0}.control-section .spftestimonial-field-sorter ul li{padding:5px}.control-section .spftestimonial-field-sorter .spftestimonial-modules{float:none;width:100%}.control-section .spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .spftestimonial-field-background .spftestimonial--background-attributes{flex-direction:column}.control-section .spftestimonial-field-spacing input{width:90px}.control-section .spftestimonial-field-border .spftestimonial--input{flex:1 50%}.control-section .spftestimonial-field-border input,.control-section .spftestimonial-field-border select{width:100%}.control-section .spftestimonial-field-spinner input{width:50px}.control-section .spftestimonial-field-number .spftestimonial--wrap{width:100%}.control-section .spftestimonial-field-backup .spftestimonial-export-data{display:none}.control-section .spftestimonial-field-fieldset .spftestimonial-fieldset-content{border-color:#e5e5e5}.control-section .spftestimonial-field-fieldset .spftestimonial-field{padding:10px}.control-section .spftestimonial-field-fieldset .spftestimonial-field .spftestimonial-title{margin-bottom:5px}.control-section .spftestimonial-field-fieldset .spftestimonial-field h4{font-size:12px}.control-section .spftestimonial-field-accordion .spftestimonial-field,.control-section .spftestimonial-field-group .spftestimonial-field,.control-section .spftestimonial-field-repeater .spftestimonial-field,.control-section .spftestimonial-field-sortable .spftestimonial-field,.control-section .spftestimonial-field-tabbed .spftestimonial-field{padding:10px}.control-section .spftestimonial-field-accordion .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-group .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-repeater .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-sortable .spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-field-tabbed .spftestimonial-field .spftestimonial-title{margin-bottom:5px}.control-section .spftestimonial-field-accordion .spftestimonial-field h4,.control-section .spftestimonial-field-group .spftestimonial-field h4,.control-section .spftestimonial-field-repeater .spftestimonial-field h4,.control-section .spftestimonial-field-sortable .spftestimonial-field h4,.control-section .spftestimonial-field-tabbed .spftestimonial-field h4{font-size:12px}.control-section .spftestimonial-dependency-control.hidden{display:none!important}.spftestimonial-modal{display:none;position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.spftestimonial-modal-icon{z-index:100102}.spftestimonial-modal-table{display:table;width:100%;height:100%}.spftestimonial-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.spftestimonial-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.spftestimonial-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.spftestimonial-modal-content .spftestimonial-fieldset{margin-left:25%}.spftestimonial-modal-content .spftestimonial-title{width:20%}.spftestimonial-modal-content .spftestimonial-field{padding:15px 30px 15px 15px}.spftestimonial-modal-content a:active,.spftestimonial-modal-content a:focus{outline:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.spftestimonial-modal-content h4{font-size:13px}.spftestimonial-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.spftestimonial-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.spftestimonial-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #eee}.spftestimonial-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.spftestimonial-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.spftestimonial-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.spftestimonial-modal-close:hover{opacity:.5}.spftestimonial-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #eee}.spftestimonial-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.spftestimonial-text-desc,.spftestimonial-text-subtitle{font-weight:400;margin-top:0;color:#999}.spftestimonial-text-success{color:#2b542c}.spftestimonial-text-error{color:#d02c21}.spftestimonial-text-info{color:#31708f}.spftestimonial-text-warning{color:#ffb900}.spftestimonial-text-muted{color:#aaa}.spftestimonial-text-left{text-align:left}.spftestimonial-text-center{text-align:center}.spftestimonial-text-right{text-align:right}.spftestimonial-block-left{float:left}.spftestimonial-block-right{float:right}.spftestimonial-full-width{width:100%}.spftestimonial-full-half{width:50%}.spftestimonial-table{width:100%;display:table}.spftestimonial-table-cell{display:table-cell;vertical-align:middle}.spftestimonial-table-expanded{width:100%}.spftestimonial-nowrap{white-space:nowrap}.spftestimonial-text-highlight{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-text-highlight-gray{padding:2px 4px;font-size:90%;background-color:#f0f0f0;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-hidden{display:none}.spftestimonial-hide{display:none!important}.spftestimonial-show{display:block!important}.spftestimonial-opacity{opacity:.5}.spftestimonial-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.spftestimonial-warning-primary:focus,.spftestimonial-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.spftestimonial-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-form-result{display:none;padding:12px;margin:15px 0 15px 0;background-color:#fff;border-left:4px solid #555;box-shadow:0 1px 1px rgb(0 0 0 / 10%);border-left-color:#46b450}.spftestimonial-form-show{display:block}.spftestimonial-form-warning{color:#8a6d3b;background-color:#faebcc}.spftestimonial-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.spftestimonial-no-option{padding:30px}.spftestimonial-input-number{-moz-appearance:textfield}.spftestimonial-input-number::-webkit-inner-spin-button,.spftestimonial-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.spftestimonial-scode-wrap-side{pointer-events:none;opacity:.7;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}span.spftestimonial-shortcode-selectable{background-color:rgba(82,179,217,.11);padding:10px 10px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;border-radius:3px;word-break:break-word;position:relative;width:80%}span.spftestimonial-shortcode-selectable::after{content:url(../images/copy.svg);width:16px;left:10px;top:50%;position:absolute;margin-top:-6px}.spftestimonial-scode-wrap-side:nth-child(2) span.spftestimonial-shortcode-selectable::after{margin-top:-15px}span.spftestimonial-shortcode-selectable~button:focus,span.spftestimonial-shortcode-selectable~button:hover{background:#e6e6e6;outline:0}span.spftestimonial-shortcode-selectable~button{background:#f5f5f5;padding:7px 12px;border:none;margin-left:8px;font-size:17px;display:inline-block;position:relative;cursor:pointer;border-radius:3px;border:1px solid #dbdbdb}.spftestimonial-scode-wrap-side p{margin-top:0}.spftestimonial-scode-wrap-side{margin-top:0;margin-bottom:16px;overflow:hidden}.spftestimonial-scode-wrap-side .spftestimonial-sc-title{margin-top:0;margin-bottom:7px;font-size:1.2em}.spftestimonial-scode-wrap-side .spftestimonial-tooltip{border-radius:4px;-webkit-border-radius:4px;position:absolute;top:-35px;left:-3px;background-color:#2f2e2e;text-transform:capitalize;font-weight:600;display:block;transition:all .2s;padding:0;height:24px;line-height:24px;width:46px;color:#fff;font-size:11px;text-align:center;display:none}.spftestimonial-scode-wrap-side .spftestimonial-tooltip::after{content:"";width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #2f2e2e;position:absolute;top:98%;left:16px}.spftestimonial-scode-wrap-side .spftestimonial-tooltip{z-index:9999}.spftestimonial-scode-wrap-side button:hover .spftestimonial-tooltip{display:block}.spftestimonial-scode-wrap-side .spftestimonial-tooltip:hover{display:block;opacity:1}@media only screen and (max-width:1200px){.spftestimonial-metabox .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-metabox .spftestimonial-field .spftestimonial-fieldset{margin-left:0}}@media only screen and (max-width:782px){.spftestimonial-header-inner{text-align:center}.spftestimonial-header-inner h1{width:100%;margin-bottom:10px}.spftestimonial-header-left,.spftestimonial-header-right,.spftestimonial-search{width:100%}.spftestimonial-search{text-align:center;margin-bottom:15px}.spftestimonial-footer{text-align:center}.spftestimonial-buttons{float:none}.spftestimonial-copyright{float:none;margin-top:10px}.spftestimonial-expand-all,.spftestimonial-nav,.spftestimonial-nav-background,.spftestimonial-reset-section{display:none!important}.spftestimonial-content{margin-left:0}.spftestimonial-section,.spftestimonial-section-title{display:block!important}.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-field .spftestimonial-fieldset{margin-left:0}.spftestimonial-modal-inner{width:350px;height:400px}.spftestimonial-modal-content{height:237px}.spftestimonial-icon-dialog .spftestimonial-modal-inner{width:305px;height:380px}.spftestimonial-icon-dialog .spftestimonial-modal-content{height:267px}.spftestimonial-modal-icon .spftestimonial-modal-inner{width:330px;height:385px}.spftestimonial-modal-icon .spftestimonial-modal-content{height:252px}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.spftestimonial--image.pro-feature{position:relative;pointer-events:none}.spftestimonial--image.pro-feature::after{position:absolute;top:1px;right:1px;color:#a5a5a5;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:'PRO';text-align:center;font-size:8px}.spftestimonial-field-subheading.pro_heading{opacity:.7}.pro_only_field,.sp-field-icon-select.spftestimonial-pro-only,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only,.spftestimonial-field-checkbox.pro_only_field,.spftestimonial-field-color.pro_only_field,.spftestimonial-field-image_select .spftestimonial--image.spftestimonial-pro-only,.spftestimonial-field.spftestimonial-field-text.pro_only_field{pointer-events:none;opacity:.8}.sp-field-icon-select.spftestimonial-pro-only{opacity:.5}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:grid;grid-template-columns:9fr 1fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-content{display:grid;grid-template-columns:1fr 5fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-item{max-width:600px}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper{border-left:0;background-color:transparent}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper-inner{width:100px;line-height:4em}.spftestimonial-field.spftestimonial-field-image_select.theme_style img{width:400px}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-fieldset{margin-left:0}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-title{width:100%;margin-bottom:30px;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial--image{margin:0 24px 24px 0}.spftestimonial-field-switcher.pro_switcher .spftestimonial--ball::after{content:"PRO";position:relative;text-align:center;width:24px;float:right;font-weight:600;font-size:8px;color:#a5a5a5;opacity:1;line-height:18px}.pro_switcher .spftestimonial--switcher{background-color:#cbcfd0;pointer-events:none}.sp-field-icon-select.spftestimonial-pro-only:last-child:after,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only:after{position:absolute;content:'';top:0;right:0;color:#999;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:"PRO";text-align:center;font-size:8px;line-height:11px;opacity:1}.client_image_style.spftestimonial-field-image_select img{width:70px}.sp-field-icon-select.spftestimonial-pro-only:last-child:after{content:"PRO";color:#444}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help{bottom:15px;right:auto;top:auto}.spftestimonial-field.spftestimonial-field-submessage.pro_only_field{opacity:.7}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable .spftestimonial--sortable-item{margin:0;border:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field{padding:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-helper{display:none}.form_fields .spftestimonial-accordion-items{position:relative}.form_fields .spftestimonial-accordion-item::after{position:absolute;top:18px;right:16px;content:"\f0b2";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-field-form_upper_section{background:#f5fcff;padding:50px 0 70px}.spftestimonial-field-form_upper_section .sp-tfree-help .sp-tfree-pro-features .feature-section span.dashicons{height:22px;width:22px;font-size:16px;line-height:22px}.spftestimonial-field-form_upper_section div.sp-tfree-help .sp-tfree-pro-features .feature-section{margin-bottom:40px;margin-left:auto;margin-right:auto;text-align:center;max-width:1200px}.spftestimonial-field-form_upper_section div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:none;margin:0;border:0 solid;background-color:transparent}div.sp-tfree-help .sp-tfree-pro-features h1{font-size:30px;font-weight:500;color:#444}div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:18px;font-weight:400}.spftestimonial-field-form_upper_section .sp-tfree-upgrade a.tfree-upgrade-btn:hover{background:#0a73a7}.spftestimonial-field-form_upper_section .sp-tfree-upgrade a.tfree-upgrade-btn{transition:all .5s;background:#1595ce;padding:0 25px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:600;display:inline-block;text-align:center}.spftestimonial-field-form_upper_section .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{color:#2d4d5b}.spftestimonial-field-form_upper_section .sp-tfree-help .feature-section .sp-tfree-feature{padding:0 0 10px;text-align:left}#sp_tpro_form_elements_options .handle-actions.hide-if-no-js,#sp_tpro_form_options .postbox-header,div#sp_tfree_form_upper_section .postbox-header,div#sp_tpro_form_elements_options .handle-actions.hide-if-no-js{display:none}#sp_tpro_form_options .spftestimonial-nav-metabox .spftestimonial--sortable-item .spftestimonial-accordion-title{pointer-events:none}#sp_tpro_form_options .spftestimonial-field-accordion .spftestimonial-accordion-title,#sp_tpro_form_options .spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field,#sp_tpro_form_options .spftestimonial-nav-metabox,#sp_tpro_form_options .spftestimonial-nav-metabox li a{pointer-events:none}div#spftestimonial-section-sp_tpro_form_elements_options_1 .spftestimonial-field-checkbox ul{max-height:100%}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav{display:block;position:relative;z-index:10;float:left;width:225px}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-content{position:relative;margin-left:225px;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li{display:list-item}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4;margin-bottom:0;padding:15px 15px;text-transform:uppercase;font-weight:600}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-section-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4;display:block}#sp_tpro_form_options .spftestimonial-field-sortable .spftestimonial-field-text input{max-width:400px}
|
admin/views/framework/assets/js/spftestimonial.js
CHANGED
@@ -2660,7 +2660,7 @@
|
|
2660 |
mouseenter: function () {
|
2661 |
|
2662 |
$tooltip = $('<div class="spftestimonial-tooltip"></div>').html($this.find('.spftestimonial-help-text').html()).appendTo('body');
|
2663 |
-
offset_left = (SPFTESTIMONIAL.vars.is_rtl) ? ($this.offset().left
|
2664 |
|
2665 |
$tooltip.css({
|
2666 |
top: $this.offset().top - (($tooltip.outerHeight() / 2) - 14),
|
@@ -2917,7 +2917,7 @@
|
|
2917 |
$("label:contains((Pro))").css({ 'pointer-events': 'none' }).css('opacity', '0.8');
|
2918 |
|
2919 |
/* Copy to clipboard */
|
2920 |
-
$('.
|
2921 |
e.preventDefault();
|
2922 |
spftestimonial_copyToClipboard($(this));
|
2923 |
spftestimonial_SelectText($(this));
|
2660 |
mouseenter: function () {
|
2661 |
|
2662 |
$tooltip = $('<div class="spftestimonial-tooltip"></div>').html($this.find('.spftestimonial-help-text').html()).appendTo('body');
|
2663 |
+
offset_left = (SPFTESTIMONIAL.vars.is_rtl) ? ($this.offset().left - $tooltip.outerWidth()) : ($this.offset().left + 24);
|
2664 |
|
2665 |
$tooltip.css({
|
2666 |
top: $this.offset().top - (($tooltip.outerHeight() / 2) - 14),
|
2917 |
$("label:contains((Pro))").css({ 'pointer-events': 'none' }).css('opacity', '0.8');
|
2918 |
|
2919 |
/* Copy to clipboard */
|
2920 |
+
$('.tpro-sc-code').click(function (e) {
|
2921 |
e.preventDefault();
|
2922 |
spftestimonial_copyToClipboard($(this));
|
2923 |
spftestimonial_SelectText($(this));
|
admin/views/framework/assets/js/spftestimonial.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function($,window,document,undefined){"use strict";var SPFTESTIMONIAL=SPFTESTIMONIAL||{};function spftestimonial_copyToClipboard(element){var $temp=$("<input class='hidden'>");$("body").append($temp),$temp.val($(element).text()).select(),document.execCommand("copy")}function spftestimonial_SelectText(element){var r=document.createRange(),w=element.get(0);r.selectNodeContents(w);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(r)}SPFTESTIMONIAL.funcs={},SPFTESTIMONIAL.vars={onloaded:!1,$body:$("body"),$window:$(window),$document:$(document),$form_warning:null,form_modified:!1,code_themes:[],is_rtl:$("body").hasClass("rtl")},SPFTESTIMONIAL.helper={uid:function(prefix){return(prefix||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(str){return(str+"").replace(/(\[|\-|\])/g,"\\$1")},name_nested_replace:function($selector,field_id){var checks=[],regex=new RegExp("("+SPFTESTIMONIAL.helper.preg_quote(field_id)+")\\[(\\d+)\\]","g");$selector.find(":radio").each((function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)})),$selector.each((function(index){$(this).find(":input").each((function(){this.name=this.name.replace(regex,field_id+"["+index+"]"),this.orginal_checked&&(this.checked=!0)}))}))},debounce:function(callback,threshold,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||callback.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,threshold),callNow&&callback.apply(context,args)}},get_cookie:function(name){var e,b,cookie=document.cookie,p=name+"=";if(cookie){if(-1===(b=cookie.indexOf("; "+p))){if(0!==(b=cookie.indexOf(p)))return null}else b+=2;return-1===(e=cookie.indexOf(";",b))&&(e=cookie.length),decodeURIComponent(cookie.substring(b+p.length,e))}},set_cookie:function(name,value,expires,path,domain,secure){var d=new Date;"object"==typeof expires&&expires.toGMTString?expires=expires.toGMTString():parseInt(expires,10)?(d.setTime(d.getTime()+1e3*parseInt(expires,10)),expires=d.toGMTString()):expires="",document.cookie=name+"="+encodeURIComponent(value)+(expires?"; expires="+expires:"")+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"")},remove_cookie:function(name,path,domain,secure){SPFTESTIMONIAL.helper.set_cookie(name,"",-1e3,path,domain,secure)}},$.fn.spftestimonial_clone=function(){for(var base=$.fn.clone.apply(this,arguments),clone=this.find("select").add(this.filter("select")),cloned=base.find("select").add(base.filter("select")),i=0;i<clone.length;++i)for(var j=0;j<clone[i].options.length;++j)!0===clone[i].options[j].selected&&(cloned[i].options[j].selected=!0);return this.find(":radio").each((function(){this.orginal_checked=this.checked})),base},$.fn.spftestimonial_expand_all=function(){return this.each((function(){$(this).on("click",(function(e){e.preventDefault(),$(".spftestimonial-wrapper").toggleClass("spftestimonial-show-all"),$(".spftestimonial-section").spftestimonial_reload_script(),$(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")}))}))},$.fn.spftestimonial_nav_options=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),$hidden=$nav.closest(".spftestimonial").find(".spftestimonial-section-id"),$last_section;$(window).on("hashchange",(function(){var hash=window.location.hash.match(new RegExp("tab=([^&]*)")),slug=hash?hash[1]:$links.first().attr("href").replace("#tab=",""),$link=$("#spftestimonial-tab-link-"+slug);if($link.length>0){$link.closest(".spftestimonial-tab-depth-0").addClass("spftestimonial-tab-active").siblings().removeClass("spftestimonial-tab-active"),$links.removeClass("spftestimonial-section-active"),$link.addClass("spftestimonial-section-active"),void 0!==$last_section&&$last_section.hide();var $section=$("#spftestimonial-section-"+slug);$section.css({display:"block"}),$section.spftestimonial_reload_script(),$hidden.val(slug),$last_section=$section}})).trigger("hashchange")}))},$.fn.spftestimonial_nav_metabox=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),unique_id=$nav.data("unique"),post_id=$("#post_ID").val()||"global",$last_section,$last_link;$links.on("click",(function(e){e.preventDefault();var $link=$(this),section_id=$link.data("section");void 0!==$last_link&&$last_link.removeClass("spftestimonial-section-active"),void 0!==$last_section&&$last_section.hide(),$link.addClass("spftestimonial-section-active");var $section=$("#spftestimonial-section-"+section_id);$section.css({display:"block"}),$section.spftestimonial_reload_script(),SPFTESTIMONIAL.helper.set_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id,section_id),$last_section=$section,$last_link=$link}));var get_cookie=SPFTESTIMONIAL.helper.get_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id);get_cookie?$nav.find('a[data-section="'+get_cookie+'"]').trigger("click"):$links.first("a").trigger("click")}))},$.fn.spftestimonial_page_templates=function(){this.length&&$(document).on("change",".editor-page-attributes__template select, #page_template",(function(){var maybe_value=$(this).val()||"default";$(".spftestimonial-page-templates").removeClass("spftestimonial-show").addClass("spftestimonial-hide"),$(".spftestimonial-page-"+maybe_value.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("spftestimonial-hide").addClass("spftestimonial-show")}))},$.fn.spftestimonial_post_formats=function(){this.length&&$(document).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',(function(){var maybe_value=$(this).val()||"default";maybe_value="0"===maybe_value?"default":maybe_value,$(".spftestimonial-post-formats").removeClass("spftestimonial-show").addClass("spftestimonial-hide"),$(".spftestimonial-post-format-"+maybe_value).removeClass("spftestimonial-hide").addClass("spftestimonial-show")}))},$.fn.spftestimonial_search=function(){return this.each((function(){var $this,$input;$(this).find("input").on("change keyup",(function(){var value=$(this).val(),$wrapper=$(".spftestimonial-wrapper"),$section,$fields=$wrapper.find(".spftestimonial-section").find("> .spftestimonial-field:not(.hidden)"),$titles=$fields.find("> .spftestimonial-title, .spftestimonial-search-tags");value.length>3?($fields.addClass("spftestimonial-hidden"),$wrapper.addClass("spftestimonial-search-all"),$titles.each((function(){var $title=$(this);if($title.text().match(new RegExp(".*?"+value+".*?","i"))){var $field=$title.closest(".spftestimonial-field");$field.removeClass("spftestimonial-hidden"),$field.parent().spftestimonial_reload_script()}}))):($fields.removeClass("spftestimonial-hidden"),$wrapper.removeClass("spftestimonial-search-all"))}))}))},$.fn.spftestimonial_sticky=function(){return this.each((function(){var $this=$(this),$window=$(window),$inner=$this.find(".spftestimonial-header-inner"),padding=parseInt($inner.css("padding-left"))+parseInt($inner.css("padding-right")),offset=32,scrollTop=0,lastTop=0,ticking=!1,stickyUpdate=function(){var offsetTop=$this.offset().top,stickyTop=Math.max(32,offsetTop-scrollTop),winWidth=Math.max(document.documentElement.clientWidth,window.innerWidth||0);stickyTop<=32&&winWidth>782?($inner.css({width:$this.outerWidth()-padding}),$this.css({height:$this.outerHeight()}).addClass("spftestimonial-sticky")):($inner.removeAttr("style"),$this.removeAttr("style").removeClass("spftestimonial-sticky"))},requestTick=function(){ticking||requestAnimationFrame((function(){stickyUpdate(),ticking=!1})),ticking=!0},onSticky=function(){scrollTop=$window.scrollTop(),requestTick()};$window.on("scroll resize",onSticky),onSticky()}))},$.fn.spftestimonial_dependency=function(){return this.each((function(){var $this=$(this),ruleset=$.spftestimonial_deps.createRuleset(),depends=[],is_global=!1;$this.children("[data-controller]").each((function(){var $field=$(this),controllers=$field.data("controller").split("|"),conditions=$field.data("condition").split("|"),values=$field.data("value").toString().split("|"),rules=ruleset;$field.data("depend-global")&&(is_global=!0),$.each(controllers,(function(index,depend_id){var value=values[index]||"",condition=conditions[index]||conditions[0];(rules=rules.createRule('[data-depend-id="'+depend_id+'"]',condition,value)).include($field),depends.push(depend_id)}))})),depends.length&&(is_global?$.spftestimonial_deps.enable(SPFTESTIMONIAL.vars.$body,ruleset,depends):$.spftestimonial_deps.enable($this,ruleset,depends))}))},$.fn.spftestimonial_field_accordion=function(){return this.each((function(){var $titles=$(this).find(".spftestimonial-accordion-title");$titles.on("click",(function(){var $title=$(this),$icon=$title.find(".spftestimonial-accordion-icon"),$content=$title.next();$icon.hasClass("fa-angle-right")?$icon.removeClass("fa-angle-right").addClass("fa-angle-down"):$icon.removeClass("fa-angle-down").addClass("fa-angle-right"),$content.data("opened")||($content.spftestimonial_reload_script(),$content.data("opened",!0)),$content.toggleClass("spftestimonial-accordion-open")})),$(this).hasClass("opened_accordion")&&$titles.trigger("click")}))},$.fn.spftestimonial_field_backup=function(){return this.each((function(){if(void 0!==window.wp.customize){var base=this,$this=$(this),$body=$("body"),$import=$this.find(".spftestimonial-import"),$reset=$this.find(".spftestimonial-reset");base.notification=function(message_text){wp.customize.notifications&&wp.customize.OverlayNotification&&(wp.customize.state("saved").get()||(wp.customize.state("changesetStatus").set("trash"),wp.customize.each((function(setting){setting._dirty=!1})),wp.customize.state("saved").set(!0)),wp.customize.notifications.add(new wp.customize.OverlayNotification("spftestimonial_field_backup_notification",{type:"info",message:message_text,loading:!0})))},$reset.on("click",(function(e){e.preventDefault(),SPFTESTIMONIAL.vars.is_confirm&&(base.notification(window.spftestimonial_vars.i18n.reset_notification),window.wp.ajax.post("spftestimonial-reset",{unique:$reset.data("unique"),nonce:$reset.data("nonce")}).done((function(response){window.location.reload(!0)})).fail((function(response){alert(response.error),wp.customize.notifications.remove("spftestimonial_field_backup_notification")})))})),$import.on("click",(function(e){e.preventDefault(),SPFTESTIMONIAL.vars.is_confirm&&(base.notification(window.spftestimonial_vars.i18n.import_notification),window.wp.ajax.post("spftestimonial-import",{unique:$import.data("unique"),nonce:$import.data("nonce"),import_data:$this.find(".spftestimonial-import-data").val()}).done((function(response){window.location.reload(!0)})).fail((function(response){alert(response.error),wp.customize.notifications.remove("spftestimonial_field_backup_notification")})))}))}}))},$.fn.spftestimonial_field_background=function(){return this.each((function(){$(this).find(".spftestimonial--background-image").spftestimonial_reload_script()}))},$.fn.spftestimonial_field_code_editor=function(){return this.each((function(){if("function"==typeof CodeMirror){var $this=$(this),$textarea=$this.find("textarea"),$inited=$this.find(".CodeMirror"),data_editor=$textarea.data("editor");$inited.length&&$inited.remove();var interval=setInterval((function(){if($this.is(":visible")){var code_editor=CodeMirror.fromTextArea($textarea[0],data_editor);if("default"!==data_editor.theme&&-1===SPFTESTIMONIAL.vars.code_themes.indexOf(data_editor.theme)){var $cssLink=$("<link>");$("#spftestimonial-codemirror-css").after($cssLink),$cssLink.attr({rel:"stylesheet",id:"spftestimonial-codemirror-"+data_editor.theme+"-css",href:data_editor.cdnURL+"/theme/"+data_editor.theme+".min.css",type:"text/css",media:"all"}),SPFTESTIMONIAL.vars.code_themes.push(data_editor.theme)}CodeMirror.modeURL=data_editor.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(code_editor,data_editor.mode),code_editor.on("change",(function(editor,event){$textarea.val(code_editor.getValue()).trigger("change")})),clearInterval(interval)}}))}}))},$.fn.spftestimonial_field_date=function(){return this.each((function(){var $this=$(this),$inputs=$this.find("input"),settings=$this.find(".spftestimonial-date-settings").data("settings"),wrapper='<div class="spftestimonial-datepicker-wrapper"></div>',$datepicker,defaults={showAnim:"",beforeShow:function(input,inst){$(inst.dpDiv).addClass("spftestimonial-datepicker-wrapper")},onClose:function(input,inst){$(inst.dpDiv).removeClass("spftestimonial-datepicker-wrapper")}};settings=$.extend({},settings,defaults),2===$inputs.length&&(settings=$.extend({},settings,{onSelect:function(selectedDate){var $this=$(this),$from=$inputs.first(),option=$inputs.first().attr("id")===$(this).attr("id")?"minDate":"maxDate",date=$.datepicker.parseDate(settings.dateFormat,selectedDate);$inputs.not(this).datepicker("option",option,date)}})),$inputs.each((function(){var $input=$(this);$input.hasClass("hasDatepicker")&&$input.removeAttr("id").removeClass("hasDatepicker"),$input.datepicker(settings)}))}))},$.fn.spftestimonial_field_fieldset=function(){return this.each((function(){$(this).find(".spftestimonial-fieldset-content").spftestimonial_reload_script()}))},$.fn.spftestimonial_field_gallery=function(){return this.each((function(){var $this=$(this),$edit=$this.find(".spftestimonial-edit-gallery"),$clear=$this.find(".spftestimonial-clear-gallery"),$list=$this.find("ul"),$input=$this.find("input"),$img=$this.find("img"),wp_media_frame;$this.on("click",".spftestimonial-button, .spftestimonial-edit-gallery",(function(e){var $el=$(this),ids=$input.val(),what=$el.hasClass("spftestimonial-edit-gallery")?"edit":"add",state="add"!==what||ids.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&("gallery"===state?(wp_media_frame=window.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(wp_media_frame=window.wp.media.gallery.edit('[gallery ids="'+ids+'"]'),"add"===what&&wp_media_frame.setState("gallery-library")),wp_media_frame.on("update",(function(selection){$list.empty();var selectedIds=selection.models.map((function(attachment){var item=attachment.toJSON(),thumb=item.sizes&&item.sizes.thumbnail&&item.sizes.thumbnail.url?item.sizes.thumbnail.url:item.url;return $list.append('<li><img src="'+thumb+'"></li>'),item.id}));$input.val(selectedIds.join(",")).trigger("change"),$clear.removeClass("hidden"),$edit.removeClass("hidden")})))})),$clear.on("click",(function(e){e.preventDefault(),$list.empty(),$input.val("").trigger("change"),$clear.addClass("hidden"),$edit.addClass("hidden")}))}))},$.fn.spftestimonial_field_group=function(){return this.each((function(){var $this=$(this),$fieldset=$this.children(".spftestimonial-fieldset"),$group=$fieldset.length?$fieldset:$this,$wrapper=$group.children(".spftestimonial-cloneable-wrapper"),$hidden=$group.children(".spftestimonial-cloneable-hidden"),$max=$group.children(".spftestimonial-cloneable-max"),$min=$group.children(".spftestimonial-cloneable-min"),field_id=$wrapper.data("field-id"),unique_id=$wrapper.data("unique-id"),is_number=Boolean(Number($wrapper.data("title-number"))),max=parseInt($wrapper.data("max")),min=parseInt($wrapper.data("min"));$wrapper.hasClass("ui-accordion")&&$wrapper.find(".ui-accordion-header-icon").remove();var update_title_numbers=function($selector){$selector.find(".spftestimonial-cloneable-title-number").each((function(index){$(this).html($(this).closest(".spftestimonial-cloneable-item").index()+1+".")}))};$wrapper.accordion({header:"> .spftestimonial-cloneable-item > .spftestimonial-cloneable-title",collapsible:!0,active:!1,animate:!1,heightStyle:"content",icons:{header:"spftestimonial-cloneable-header-icon fa fa-angle-right",activeHeader:"spftestimonial-cloneable-header-icon fa fa-angle-down"},activate:function(event,ui){var $panel=ui.newPanel,$header=ui.newHeader;if($panel.length&&!$panel.data("opened")){var $fields,$first=$panel.children().first().find(":input").first(),$title=$header.find(".spftestimonial-cloneable-value");$first.on("keyup",(function(event){$title.text($first.val())})),$panel.spftestimonial_reload_script(),$panel.data("opened",!0),$panel.data("retry",!1)}else $panel.data("retry")&&($panel.spftestimonial_reload_script_retry(),$panel.data("retry",!1))}}),$wrapper.sortable({axis:"y",handle:".spftestimonial-cloneable-title,.spftestimonial-cloneable-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",start:function(event,ui){$wrapper.accordion({active:!1}),$wrapper.sortable("refreshPositions"),ui.item.children(".spftestimonial-cloneable-content").data("retry",!0)},update:function(event,ui){SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-cloneable-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),is_number&&update_title_numbers($wrapper)}}),$group.children(".spftestimonial-cloneable-add").on("click",(function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-cloneable-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var new_field_id=unique_id+field_id+"["+count+"]",$cloned_item=$hidden.spftestimonial_clone(!0);$cloned_item.removeClass("spftestimonial-cloneable-hidden"),$cloned_item.find(':input[name!="_pseudo"]').each((function(){this.name=new_field_id+this.name.replace(this.name.startsWith("_nonce")?"_nonce":unique_id,"")})),$cloned_item.find(".spftestimonial-data-wrapper").each((function(){$(this).attr("data-unique-id",new_field_id)})),$wrapper.append($cloned_item),$wrapper.accordion("refresh"),$wrapper.accordion({active:count}),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0}),is_number&&update_title_numbers($wrapper)}}));var event_clone=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-cloneable-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $this,$parent=$(this).parent().parent(),$cloned_helper=$parent.children(".spftestimonial-cloneable-helper").spftestimonial_clone(!0),$cloned_title=$parent.children(".spftestimonial-cloneable-title").spftestimonial_clone(),$cloned_content=$parent.children(".spftestimonial-cloneable-content").spftestimonial_clone(),cloned_regex=new RegExp("("+SPFTESTIMONIAL.helper.preg_quote(field_id)+")\\[(\\d+)\\]","g");$cloned_content.find(".spftestimonial-data-wrapper").each((function(){var $this=$(this);$this.attr("data-unique-id",$this.attr("data-unique-id").replace(cloned_regex,field_id+"["+($parent.index()+1)+"]"))}));var $cloned=$('<div class="spftestimonial-cloneable-item" />');$cloned.append($cloned_helper),$cloned.append($cloned_title),$cloned.append($cloned_content),$wrapper.children().eq($parent.index()).after($cloned),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-cloneable-item"),field_id),$wrapper.accordion("refresh"),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0}),is_number&&update_title_numbers($wrapper)}};$wrapper.children(".spftestimonial-cloneable-item").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-clone",event_clone),$group.children(".spftestimonial-cloneable-hidden").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-clone",event_clone);var event_remove=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-cloneable-item").length;$max.hide(),$min.hide(),min&&count-1<min?$min.show():($(this).closest(".spftestimonial-cloneable-item").remove(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-cloneable-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),is_number&&update_title_numbers($wrapper))};$wrapper.children(".spftestimonial-cloneable-item").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-remove",event_remove),$group.children(".spftestimonial-cloneable-hidden").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-remove",event_remove)}))},$.fn.spftestimonial_field_map=function(){return this.each((function(){if("undefined"!=typeof L){var $this=$(this),$map=$this.find(".spftestimonial--map-osm"),$search_input=$this.find(".spftestimonial--map-search input"),$latitude=$this.find(".spftestimonial--latitude"),$longitude=$this.find(".spftestimonial--longitude"),$zoom=$this.find(".spftestimonial--zoom"),map_data=$map.data("map"),mapInit=L.map($map.get(0),map_data);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(mapInit);var mapMarker=L.marker(map_data.center,{draggable:!0}).addTo(mapInit),update_latlng=function(data){$latitude.val(data.lat),$longitude.val(data.lng),$zoom.val(mapInit.getZoom())};mapInit.on("click",(function(data){mapMarker.setLatLng(data.latlng),update_latlng(data.latlng)})),mapInit.on("zoom",(function(){update_latlng(mapMarker.getLatLng())})),mapMarker.on("drag",(function(){update_latlng(mapMarker.getLatLng())})),$search_input.length||($search_input=$('[data-depend-id="'+$this.find(".spftestimonial--address-field").data("address-field")+'"]')),$search_input.autocomplete({source:function(request,response){$.get("https://nominatim.openstreetmap.org/search",{format:"json",q:request.term},(function(results){results.length?response(results.map((function(item){return{value:item.display_name,label:item.display_name,lat:item.lat,lon:item.lon}}),"json")):response([{value:"no-data",label:"No Results."}])}))},select:function(event,ui){if("no-data"===ui.item.value)return!1;var latLng=L.latLng(ui.item.lat,ui.item.lon);mapInit.panTo(latLng),mapMarker.setLatLng(latLng),update_latlng(latLng)},create:function(event,ui){$(this).autocomplete("widget").addClass("spftestimonial-map-ui-autocomplate")}});var input_update_latlng=function(){var latLng=L.latLng($latitude.val(),$longitude.val());mapInit.panTo(latLng),mapMarker.setLatLng(latLng)};$latitude.on("change",input_update_latlng),$longitude.on("change",input_update_latlng)}}))},$.fn.spftestimonial_field_media=function(){return this.each((function(){var $this=$(this),$upload_button=$this.find(".spftestimonial--button"),$remove_button=$this.find(".spftestimonial--remove"),$library=$upload_button.data("library")&&$upload_button.data("library").split(",")||"",$auto_attributes=!!$this.hasClass("spftestimonial-assign-field-background")&&$this.closest(".spftestimonial-field-background").find(".spftestimonial--auto-attributes"),wp_media_frame;$upload_button.on("click",(function(e){e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&(wp_media_frame?wp_media_frame.open():((wp_media_frame=window.wp.media({library:{type:$library}})).on("select",(function(){var thumbnail,attributes=wp_media_frame.state().get("selection").first().attributes,preview_size=$upload_button.data("preview-size")||"thumbnail";$library.length&&-1===$library.indexOf(attributes.subtype)&&-1===$library.indexOf(attributes.type)||($this.find(".spftestimonial--id").val(attributes.id),$this.find(".spftestimonial--width").val(attributes.width),$this.find(".spftestimonial--height").val(attributes.height),$this.find(".spftestimonial--alt").val(attributes.alt),$this.find(".spftestimonial--title").val(attributes.title),$this.find(".spftestimonial--description").val(attributes.description),thumbnail=void 0!==attributes.sizes&&void 0!==attributes.sizes.thumbnail&&"thumbnail"===preview_size?attributes.sizes.thumbnail.url:void 0!==attributes.sizes&&void 0!==attributes.sizes.full?attributes.sizes.full.url:attributes.icon,$auto_attributes&&$auto_attributes.removeClass("spftestimonial--attributes-hidden"),$remove_button.removeClass("hidden"),$this.find(".spftestimonial--preview").removeClass("hidden"),$this.find(".spftestimonial--src").attr("src",thumbnail),$this.find(".spftestimonial--thumbnail").val(thumbnail),$this.find(".spftestimonial--url").val(attributes.url).trigger("change"))})),wp_media_frame.open()))})),$remove_button.on("click",(function(e){e.preventDefault(),$auto_attributes&&$auto_attributes.addClass("spftestimonial--attributes-hidden"),$remove_button.addClass("hidden"),$this.find("input").val(""),$this.find(".spftestimonial--preview").addClass("hidden"),$this.find(".spftestimonial--url").trigger("change")}))}))},$.fn.spftestimonial_field_repeater=function(){return this.each((function(){var $this=$(this),$fieldset=$this.children(".spftestimonial-fieldset"),$repeater=$fieldset.length?$fieldset:$this,$wrapper=$repeater.children(".spftestimonial-repeater-wrapper"),$hidden=$repeater.children(".spftestimonial-repeater-hidden"),$max=$repeater.children(".spftestimonial-repeater-max"),$min=$repeater.children(".spftestimonial-repeater-min"),field_id=$wrapper.data("field-id"),unique_id=$wrapper.data("unique-id"),max=parseInt($wrapper.data("max")),min=parseInt($wrapper.data("min"));$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-content").spftestimonial_reload_script(),$wrapper.sortable({axis:"y",handle:".spftestimonial-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),ui.item.spftestimonial_reload_script_retry()}}),$repeater.children(".spftestimonial-repeater-add").on("click",(function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var new_field_id=unique_id+field_id+"["+count+"]",$cloned_item=$hidden.spftestimonial_clone(!0);$cloned_item.removeClass("spftestimonial-repeater-hidden"),$cloned_item.find(':input[name!="_pseudo"]').each((function(){this.name=new_field_id+this.name.replace(this.name.startsWith("_nonce")?"_nonce":unique_id,"")})),$cloned_item.find(".spftestimonial-data-wrapper").each((function(){$(this).attr("data-unique-id",new_field_id)})),$wrapper.append($cloned_item),$cloned_item.children(".spftestimonial-repeater-content").spftestimonial_reload_script(),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0})}}));var event_clone=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $this,$parent=$(this).parent().parent().parent(),$cloned_content=$parent.children(".spftestimonial-repeater-content").spftestimonial_clone(),$cloned_helper=$parent.children(".spftestimonial-repeater-helper").spftestimonial_clone(!0),cloned_regex=new RegExp("("+SPFTESTIMONIAL.helper.preg_quote(field_id)+")\\[(\\d+)\\]","g");$cloned_content.find(".spftestimonial-data-wrapper").each((function(){var $this=$(this);$this.attr("data-unique-id",$this.attr("data-unique-id").replace(cloned_regex,field_id+"["+($parent.index()+1)+"]"))}));var $cloned=$('<div class="spftestimonial-repeater-item" />');$cloned.append($cloned_content),$cloned.append($cloned_helper),$wrapper.children().eq($parent.index()).after($cloned),$cloned.children(".spftestimonial-repeater-content").spftestimonial_reload_script(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0})}};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone);var event_remove=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;$max.hide(),$min.hide(),min&&count-1<min?$min.show():($(this).closest(".spftestimonial-repeater-item").remove(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id),$wrapper.spftestimonial_customizer_refresh())};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove)}))},$.fn.spftestimonial_field_slider=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$slider=$this.find(".spftestimonial-slider-ui"),data=$input.data(),value=$input.val()||0;$slider.hasClass("ui-slider")&&$slider.empty(),$slider.slider({range:"min",value:value,min:data.min,max:data.max,step:data.step,slide:function(e,o){$input.val(o.value).trigger("change")}}),$input.keyup((function(){$slider.slider("value",$input.val())}))}))},$.fn.spftestimonial_field_sortable=function(){return this.each((function(){var $sortable=$(this).find(".spftestimonial--sortable");$sortable.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){$sortable.spftestimonial_customizer_refresh()}}),$sortable.find(".spftestimonial--sortable-content").spftestimonial_reload_script(),$(".form_fields").find(".spftestimonial--sortable").sortable("disable")}))},$.fn.spftestimonial_field_sorter=function(){return this.each((function(){var $this=$(this),$enabled=$this.find(".spftestimonial-enabled"),$has_disabled=$this.find(".spftestimonial-disabled"),$disabled=!!$has_disabled.length&&$has_disabled;$enabled.sortable({connectWith:$disabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){var $el=ui.item.find("input");ui.item.parent().hasClass("spftestimonial-enabled")?$el.attr("name",$el.attr("name").replace("disabled","enabled")):$el.attr("name",$el.attr("name").replace("enabled","disabled")),$this.spftestimonial_customizer_refresh()}}),$disabled&&$disabled.sortable({connectWith:$enabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){$this.spftestimonial_customizer_refresh()}})}))},$.fn.spftestimonial_field_spinner=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$inited=$this.find(".ui-spinner-button"),$unit=$input.data("unit");$inited.length&&$inited.remove(),$input.spinner({max:$input.data("max")||100,min:$input.data("min")||0,step:$input.data("step")||1,create:function(event,ui){$unit.length&&$this.find(".ui-spinner-up").after('<span class="ui-button-text-only spftestimonial--unit">'+$unit+"</span>")},spin:function(event,ui){$input.val(ui.value).trigger("change")}})}))},$.fn.spftestimonial_field_switcher=function(){return this.each((function(){var $switcher=$(this).find(".spftestimonial--switcher");$switcher.on("click",(function(){var value=0,$input=$switcher.find("input");$switcher.hasClass("spftestimonial--active")?$switcher.removeClass("spftestimonial--active"):(value=1,$switcher.addClass("spftestimonial--active")),$input.val(value).trigger("change")}))}))},$.fn.spftestimonial_field_tabbed=function(){return this.each((function(){var $this=$(this),$links=$this.find(".spftestimonial-tabbed-nav a"),$sections=$this.find(".spftestimonial-tabbed-section");$sections.eq(0).spftestimonial_reload_script(),$links.on("click",(function(e){e.preventDefault();var $link=$(this),index=$link.index(),$section=$sections.eq(index);$link.addClass("spftestimonial-tabbed-active").siblings().removeClass("spftestimonial-tabbed-active"),$section.spftestimonial_reload_script(),$section.removeClass("hidden").siblings().addClass("hidden")}))}))},$.fn.spftestimonial_field_typography=function(){return this.each((function(){var base=this,$this=$(this),loaded_fonts=[],webfonts=spftestimonial_typography_json.webfonts,googlestyles=spftestimonial_typography_json.googlestyles,defaultstyles=spftestimonial_typography_json.defaultstyles;base.sanitize_subset=function(subset){return subset=(subset=subset.replace("-ext"," Extended")).charAt(0).toUpperCase()+subset.slice(1)},base.sanitize_style=function(style){return googlestyles[style]?googlestyles[style]:style},base.load_google_font=function(font_family,weight,style){font_family&&"object"==typeof WebFont&&(weight=weight?weight.replace("normal",""):"",style=style?style.replace("normal",""):"",(weight||style)&&(font_family=font_family+":"+weight+style),-1===loaded_fonts.indexOf(font_family)&&WebFont.load({google:{families:[font_family]}}),loaded_fonts.push(font_family))},base.append_select_options=function($select,options,condition,type,is_multi){$select.find("option").not(":first").remove();var opts="";$.each(options,(function(key,value){var selected,name=value;selected=is_multi?condition&&-1!==condition.indexOf(value)?" selected":"":condition&&condition===value?" selected":"","subset"===type?name=base.sanitize_subset(value):"style"===type&&(name=base.sanitize_style(value)),opts+='<option value="'+value+'"'+selected+">"+name+"</option>"})),$select.append(opts).trigger("spftestimonial.change").trigger("chosen:updated")},base.init=function(){var selected_styles=[],$typography=$this.find(".spftestimonial--typography"),$type=$this.find(".spftestimonial--type"),$styles=$this.find(".spftestimonial--block-font-style"),unit=$typography.data("unit"),exclude_fonts=$typography.data("exclude")?$typography.data("exclude").split(","):[],$chosen_selects;$this.find(".spftestimonial--chosen").length&&$this.find("select").each((function(){var $chosen_select=$(this),$chosen_inited=$chosen_select.parent().find(".chosen-container");$chosen_inited.length&&$chosen_inited.remove(),$chosen_select.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})}));var $font_family_select=$this.find(".spftestimonial--font-family"),first_font_family=$font_family_select.val();$font_family_select.find("option").not(":first-child").remove();var opts="";$.each(webfonts,(function(type,group){exclude_fonts&&-1!==exclude_fonts.indexOf(type)||(opts+='<optgroup label="'+group.label+'">',$.each(group.fonts,(function(key,value){var selected;opts+='<option value="'+(value="object"==typeof value?key:value)+'" data-type="'+type+'"'+(value===first_font_family?" selected":"")+">"+value+"</option>"})),opts+="</optgroup>")})),$font_family_select.append(opts).trigger("chosen:updated");var $font_style_block=$this.find(".spftestimonial--block-font-style");if($font_style_block.length){var $font_style_select=$this.find(".spftestimonial--font-style-select"),first_style_value=$font_style_select.val()?$font_style_select.val().replace(/normal/g,""):"";$font_style_select.on("change spftestimonial.change",(function(event){var style_value=$font_style_select.val();!style_value&&selected_styles&&-1===selected_styles.indexOf("normal")&&(style_value=selected_styles[0]);var font_normal=style_value&&"italic"!==style_value&&"normal"===style_value?"normal":"",font_weight=style_value&&"italic"!==style_value&&"normal"!==style_value?style_value.replace("italic",""):font_normal,font_style=style_value&&"italic"===style_value.substr(-6)?"italic":"";$this.find(".spftestimonial--font-weight").val(font_weight),$this.find(".spftestimonial--font-style").val(font_style)}));var $extra_font_style_block=$this.find(".spftestimonial--block-extra-styles");if($extra_font_style_block.length)var $extra_font_style_select=$this.find(".spftestimonial--extra-styles"),first_extra_style_value=$extra_font_style_select.val()}var $subset_block=$this.find(".spftestimonial--block-subset");if($subset_block.length)var $subset_select=$this.find(".spftestimonial--subset"),first_subset_select_value=$subset_select.val(),subset_multi_select=$subset_select.data("multiple")||!1;var $backup_font_family_block=$this.find(".spftestimonial--block-backup-font-family");$font_family_select.on("change spftestimonial.change",(function(event){$subset_block.length&&$subset_block.addClass("hidden"),$extra_font_style_block.length&&$extra_font_style_block.addClass("hidden"),$backup_font_family_block.length&&$backup_font_family_block.addClass("hidden");var $selected=$font_family_select.find(":selected"),value=$selected.val(),type=$selected.data("type");if(type&&value){if("google"!==type&&"custom"!==type||!$backup_font_family_block.length||$backup_font_family_block.removeClass("hidden"),$font_style_block.length){var styles=defaultstyles;"google"===type&&webfonts[type].fonts[value][0]?styles=webfonts[type].fonts[value][0]:"custom"===type&&webfonts[type].fonts[value]&&(styles=webfonts[type].fonts[value]),selected_styles=styles;var set_auto_style=-1!==styles.indexOf("normal")?"normal":styles[0],set_style_value=first_style_value&&-1!==styles.indexOf(first_style_value)?first_style_value:set_auto_style;base.append_select_options($font_style_select,styles,set_style_value,"style"),first_style_value=!1,$font_style_block.removeClass("hidden"),"google"===type&&$extra_font_style_block.length&&styles.length>1&&(base.append_select_options($extra_font_style_select,styles,first_extra_style_value,"style",!0),first_extra_style_value=!1,$extra_font_style_block.removeClass("hidden"))}if("google"===type&&$subset_block.length&&webfonts[type].fonts[value][1]){var subsets=webfonts[type].fonts[value][1],set_auto_subset=subsets.length<2&&"latin"!==subsets[0]?subsets[0]:"",set_subset_value=first_subset_select_value&&-1!==subsets.indexOf(first_subset_select_value)?first_subset_select_value:set_auto_subset;set_subset_value=subset_multi_select&&first_subset_select_value?first_subset_select_value:set_subset_value,base.append_select_options($subset_select,subsets,set_subset_value,"subset",subset_multi_select),first_subset_select_value=!1,$subset_block.removeClass("hidden")}}else $styles.find(":input").val(""),$subset_block.length&&($subset_select.find("option").not(":first-child").remove(),$subset_select.trigger("chosen:updated")),$font_style_block.length&&($font_style_select.find("option").not(":first-child").remove(),$font_style_select.trigger("chosen:updated"));$type.val(type)})).trigger("spftestimonial.change");var $preview_block=$this.find(".spftestimonial--block-preview");if($preview_block.length){var $preview=$this.find(".spftestimonial--preview");$this.on("change",SPFTESTIMONIAL.helper.debounce((function(event){$preview_block.removeClass("hidden");var font_family=$font_family_select.val(),font_weight=$this.find(".spftestimonial--font-weight").val(),font_style=$this.find(".spftestimonial--font-style").val(),font_size=$this.find(".spftestimonial--font-size").val(),font_variant=$this.find(".spftestimonial--font-variant").val(),line_height=$this.find(".spftestimonial--line-height").val(),text_align=$this.find(".spftestimonial--text-align").val(),text_transform=$this.find(".spftestimonial--text-transform").val(),text_decoration=$this.find(".spftestimonial--text-decoration").val(),text_color=$this.find(".spftestimonial--color").val(),word_spacing=$this.find(".spftestimonial--word-spacing").val(),letter_spacing=$this.find(".spftestimonial--letter-spacing").val(),custom_style=$this.find(".spftestimonial--custom-style").val(),type;"google"===$this.find(".spftestimonial--type").val()&&base.load_google_font(font_family,font_weight,font_style);var properties={};font_family&&(properties.fontFamily=font_family),font_weight&&(properties.fontWeight=font_weight),font_style&&(properties.fontStyle=font_style),font_variant&&(properties.fontVariant=font_variant),font_size&&(properties.fontSize=font_size+unit),line_height&&(properties.lineHeight=line_height+unit),letter_spacing&&(properties.letterSpacing=letter_spacing+unit),word_spacing&&(properties.wordSpacing=word_spacing+unit),text_align&&(properties.textAlign=text_align),text_transform&&(properties.textTransform=text_transform),text_decoration&&(properties.textDecoration=text_decoration),text_color&&(properties.color=text_color),$preview.removeAttr("style"),custom_style&&$preview.attr("style",custom_style),$preview.css(properties)}),100)),$preview_block.on("click",(function(){$preview.toggleClass("spftestimonial--black-background");var $toggle=$preview_block.find(".spftestimonial--toggle");$toggle.hasClass("fa-toggle-off")?$toggle.removeClass("fa-toggle-off").addClass("fa-toggle-on"):$toggle.removeClass("fa-toggle-on").addClass("fa-toggle-off")})),$preview_block.hasClass("hidden")||$this.trigger("change")}},base.init()}))},$.fn.spftestimonial_field_upload=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$upload_button=$this.find(".spftestimonial--button"),$remove_button=$this.find(".spftestimonial--remove"),$library=$upload_button.data("library")&&$upload_button.data("library").split(",")||"",wp_media_frame;$input.on("change",(function(e){$input.val()?$remove_button.removeClass("hidden"):$remove_button.addClass("hidden")})),$upload_button.on("click",(function(e){e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&(wp_media_frame?wp_media_frame.open():((wp_media_frame=window.wp.media({library:{type:$library}})).on("select",(function(){var attributes=wp_media_frame.state().get("selection").first().attributes;$library.length&&-1===$library.indexOf(attributes.subtype)&&-1===$library.indexOf(attributes.type)||$input.val(attributes.url).trigger("change")})),wp_media_frame.open()))})),$remove_button.on("click",(function(e){e.preventDefault(),$input.val("").trigger("change")}))}))},$.fn.spftestimonial_field_wp_editor=function(){return this.each((function(){if(void 0!==window.wp.editor&&void 0!==window.tinyMCEPreInit&&void 0!==window.tinyMCEPreInit.mceInit.spftestimonial_wp_editor){var $this=$(this),$editor=$this.find(".spftestimonial-wp-editor"),$textarea=$this.find("textarea"),$has_wp_editor;($this.find(".wp-editor-wrap").length||$this.find(".mce-container").length)&&($editor.empty(),$editor.append($textarea),$textarea.css("display",""));var uid=SPFTESTIMONIAL.helper.uid("spftestimonial-editor-");$textarea.attr("id",uid);var default_editor_settings={tinymce:window.tinyMCEPreInit.mceInit.spftestimonial_wp_editor,quicktags:window.tinyMCEPreInit.qtInit.spftestimonial_wp_editor},field_editor_settings=$editor.data("editor-settings"),editor_on_change=function(editor){editor.on("change",SPFTESTIMONIAL.helper.debounce((function(){editor.save(),$textarea.trigger("change")}),250))},wpEditor=wp.oldEditor?wp.oldEditor:wp.editor;wpEditor&&wpEditor.hasOwnProperty("autop")&&(wp.editor.autop=wpEditor.autop,wp.editor.removep=wpEditor.removep,wp.editor.initialize=wpEditor.initialize),default_editor_settings.tinymce=$.extend({},default_editor_settings.tinymce,{selector:"#"+uid,setup:editor_on_change}),!1===field_editor_settings.tinymce&&(default_editor_settings.tinymce=!1,$editor.addClass("spftestimonial-no-tinymce")),!1===field_editor_settings.quicktags&&(default_editor_settings.quicktags=!1,$editor.addClass("spftestimonial-no-quicktags"));var interval=setInterval((function(){$this.is(":visible")&&(window.wp.editor.initialize(uid,default_editor_settings),clearInterval(interval))}));if(field_editor_settings.media_buttons&&window.spftestimonial_media_buttons){var $editor_buttons=$editor.find(".wp-media-buttons");if($editor_buttons.length)$editor_buttons.find(".spftestimonial-shortcode-button").data("editor-id",uid);else{var $media_buttons=$(window.spftestimonial_media_buttons);$media_buttons.find(".spftestimonial-shortcode-button").data("editor-id",uid),$editor.prepend($media_buttons)}}}}))},$.fn.spftestimonial_confirm=function(){return this.each((function(){$(this).on("click",(function(e){var confirm_text=$(this).data("confirm")||window.spftestimonial_vars.i18n.confirm,confirm_answer=confirm(confirm_text);if(SPFTESTIMONIAL.vars.is_confirm=!0,!confirm_answer)return e.preventDefault(),SPFTESTIMONIAL.vars.is_confirm=!1,!1}))}))},$.fn.serializeObject=function(){var obj={};return $.each(this.serializeArray(),(function(i,o){var n=o.name,v=o.value;obj[n]=void 0===obj[n]?v:$.isArray(obj[n])?obj[n].concat(v):[obj[n],v]})),obj},$.fn.spftestimonial_save=function(){return this.each((function(){var $this=$(this),$buttons=$(".spftestimonial-save"),$panel=$(".spftestimonial-options"),flooding=!1,timeout;$this.on("click",(function(e){if(!flooding){var $text=$this.data("save"),$value=$this.val();$buttons.attr("value",$text),$this.hasClass("spftestimonial-save-ajax")&&(e.preventDefault(),$panel.addClass("spftestimonial-saving"),$buttons.prop("disabled",!0),window.wp.ajax.post("spftestimonial_"+$panel.data("unique")+"_ajax_save",{data:$("#spftestimonial-form").serializeJSONSPFTESTIMONIAL()}).done((function(response){if($(".spftestimonial-error").remove(),Object.keys(response.errors).length){var error_icon='<i class="spftestimonial-label-error spftestimonial-error">!</i>';$.each(response.errors,(function(key,error_message){var $field=$('[data-depend-id="'+key+'"]'),$link=$("#spftestimonial-tab-link-"+($field.closest(".spftestimonial-section").index()+1)),$tab=$link.closest(".spftestimonial-tab-depth-0");$field.closest(".spftestimonial-fieldset").append('<p class="spftestimonial-text-error spftestimonial-error">'+error_message+"</p>"),$link.find(".spftestimonial-error").length||$link.append(error_icon),$tab.find(".spftestimonial-arrow .spftestimonial-error").length||$tab.find(".spftestimonial-arrow").append(error_icon),console.log(error_message)}))}$panel.removeClass("spftestimonial-saving"),$buttons.prop("disabled",!1).attr("value",$value),flooding=!1,SPFTESTIMONIAL.vars.form_modified=!1,SPFTESTIMONIAL.vars.$form_warning.hide(),clearTimeout(timeout);var $result_success=$(".spftestimonial-form-success");$result_success.empty().append(response.notice).fadeIn("fast",(function(){timeout=setTimeout((function(){$result_success.fadeOut("fast")}),1e3)}))})).fail((function(response){alert(response.error)})))}flooding=!0}))}))},$.fn.spftestimonial_options=function(){return this.each((function(){var $this=$(this),$content=$this.find(".spftestimonial-content"),$form_success=$this.find(".spftestimonial-form-success"),$form_warning=$this.find(".spftestimonial-form-warning"),$save_button=$this.find(".spftestimonial-header .spftestimonial-save");SPFTESTIMONIAL.vars.$form_warning=$form_warning,$form_warning.length&&(window.onbeforeunload=function(){return!!SPFTESTIMONIAL.vars.form_modified||void 0},$content.on("change keypress",":input",(function(){SPFTESTIMONIAL.vars.form_modified||($form_success.hide(),$form_warning.fadeIn("fast"),SPFTESTIMONIAL.vars.form_modified=!0)}))),$form_success.hasClass("spftestimonial-form-show")&&setTimeout((function(){$form_success.fadeOut("fast")}),1e3),$(document).keydown((function(event){if((event.ctrlKey||event.metaKey)&&83===event.which)return $save_button.trigger("click"),event.preventDefault(),!1}))}))},"function"==typeof Color&&(Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var hex=parseInt(this._color,10).toString(16);if(this.error)return"";if(hex.length<6)for(var i=6-hex.length-1;i>=0;i--)hex="0"+hex;return"#"+hex}),SPFTESTIMONIAL.funcs.parse_color=function(color){var value=color.replace(/\s+/g,""),trans=-1!==value.indexOf("rgba")?parseFloat(100*value.replace(/^.*,(.+)\)/,"$1")):100,rgba;return{value:value,transparent:trans,rgba:trans<100}},$.fn.spftestimonial_color=function(){return this.each((function(){var $input=$(this),picker_color=SPFTESTIMONIAL.funcs.parse_color($input.val()),palette_color=!window.spftestimonial_vars.color_palette.length||window.spftestimonial_vars.color_palette,$container;$input.hasClass("wp-color-picker")&&$input.closest(".wp-picker-container").after($input).remove(),$input.wpColorPicker({palettes:palette_color,change:function(event,ui){var ui_color_value=ui.color.toString();$container.removeClass("spftestimonial--transparent-active"),$container.find(".spftestimonial--transparent-offset").css("background-color",ui_color_value),$input.val(ui_color_value).trigger("change")},create:function(){$container=$input.closest(".wp-picker-container");var a8cIris=$input.data("a8cIris"),$transparent_wrap=$('<div class="spftestimonial--transparent-wrap"><div class="spftestimonial--transparent-slider"></div><div class="spftestimonial--transparent-offset"></div><div class="spftestimonial--transparent-text"></div><div class="spftestimonial--transparent-button">transparent <i class="fa fa-toggle-off"></i></div></div>').appendTo($container.find(".wp-picker-holder")),$transparent_slider=$transparent_wrap.find(".spftestimonial--transparent-slider"),$transparent_text=$transparent_wrap.find(".spftestimonial--transparent-text"),$transparent_offset=$transparent_wrap.find(".spftestimonial--transparent-offset"),$transparent_button=$transparent_wrap.find(".spftestimonial--transparent-button");"transparent"===$input.val()&&$container.addClass("spftestimonial--transparent-active"),$transparent_button.on("click",(function(){"transparent"!==$input.val()?($input.val("transparent").trigger("change").removeClass("iris-error"),$container.addClass("spftestimonial--transparent-active")):($input.val(a8cIris._color.toString()).trigger("change"),$container.removeClass("spftestimonial--transparent-active"))})),$transparent_slider.slider({value:picker_color.transparent,step:1,min:0,max:100,slide:function(event,ui){var slide_value=parseFloat(ui.value/100);a8cIris._color._alpha=slide_value,$input.wpColorPicker("color",a8cIris._color.toString()),$transparent_text.text(1===slide_value||0===slide_value?"":slide_value)},create:function(){var slide_value=parseFloat(picker_color.transparent/100),text_value=slide_value<1?slide_value:"";$transparent_text.text(text_value),$transparent_offset.css("background-color",picker_color.value),$container.on("click",".wp-picker-clear",(function(){a8cIris._color._alpha=1,$transparent_text.text(""),$transparent_slider.slider("option","value",100),$container.removeClass("spftestimonial--transparent-active"),$input.trigger("change")})),$container.on("click",".wp-picker-default",(function(){var default_color=SPFTESTIMONIAL.funcs.parse_color($input.data("default-color")),default_value=parseFloat(default_color.transparent/100),default_text=default_value<1?default_value:"";a8cIris._color._alpha=default_value,$transparent_text.text(default_text),$transparent_slider.slider("option","value",default_color.transparent)}))}})}})}))},$.fn.spftestimonial_chosen=function(){return this.each((function(){var $this=$(this),$inited=$this.parent().find(".chosen-container"),is_sortable=$this.hasClass("spftestimonial-chosen-sortable")||!1,is_ajax=$this.hasClass("spftestimonial-chosen-ajax")||!1,is_multiple=$this.attr("multiple")||!1,set_width=is_multiple?"100%":"auto",set_options=$.extend({allow_single_deselect:!0,disable_search_threshold:10,width:set_width,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));if($inited.length&&$inited.remove(),is_ajax){var set_ajax_options=$.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:window.spftestimonial_vars.i18n.typing_text,searching_text:window.spftestimonial_vars.i18n.searching_text,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));$this.SPFTESTIMONIALAjaxChosen(set_ajax_options)}else $this.chosen(set_options);if(is_multiple){var $hidden_select=$this.parent().find(".spftestimonial-hidden-select"),$hidden_value=$hidden_select.val()||[];$this.on("change",(function(obj,result){result&&result.selected?$hidden_select.append('<option value="'+result.selected+'" selected="selected">'+result.selected+"</option>"):result&&result.deselected&&$hidden_select.find('option[value="'+result.deselected+'"]').remove(),0===$hidden_select.children().length&&void 0!==window.wp.customize&&window.wp.customize.control($hidden_select.data("customize-setting-link")).setting.set(""),$hidden_select.trigger("change")})),$this.SPFTESTIMONIALChosenOrder($hidden_value,!0)}if(is_sortable){var $chosen_container,$chosen_choices=$this.parent().find(".chosen-container").find(".chosen-choices");$chosen_choices.bind("mousedown",(function(event){$(event.target).is("span")&&event.stopPropagation()})),$chosen_choices.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,ui){ui.placeholder.width(ui.item.innerWidth()),ui.placeholder.height(ui.item.innerHeight())},update:function(e,ui){var select_options="",chosen_object=$this.data("chosen"),$prev_select=$this.parent().find(".spftestimonial-hidden-select");$chosen_choices.find(".search-choice-close").each((function(){var option_array_index=$(this).data("option-array-index");$.each(chosen_object.results_data,(function(index,data){data.array_index===option_array_index&&(select_options+='<option value="'+data.value+'" selected>'+data.value+"</option>")}))})),$prev_select.children().remove(),$prev_select.append(select_options),$prev_select.trigger("change")}})}}))},$.fn.spftestimonial_checkbox=function(){return this.each((function(){var $this=$(this),$input=$this.find(".spftestimonial--input"),$checkbox=$this.find(".spftestimonial--checkbox");$checkbox.on("click",(function(){$input.val(Number($checkbox.prop("checked"))).trigger("change")}))}))},$.fn.spftestimonial_siblings=function(){return this.each((function(){var $this=$(this),$siblings=$this.find(".spftestimonial--sibling"),multiple=$this.data("multiple")||!1;$siblings.on("click",(function(){var $sibling=$(this);multiple?$sibling.hasClass("spftestimonial--active")?($sibling.removeClass("spftestimonial--active"),$sibling.find("input").prop("checked",!1).trigger("change")):($sibling.addClass("spftestimonial--active"),$sibling.find("input").prop("checked",!0).trigger("change")):($this.find("input").prop("checked",!1),$sibling.find("input").prop("checked",!0).trigger("change"),$sibling.addClass("spftestimonial--active").siblings().removeClass("spftestimonial--active"))}))}))},$.fn.spftestimonial_help=function(){return this.each((function(){var $this=$(this),$tooltip,offset_left;$this.on({mouseenter:function(){$tooltip=$('<div class="spftestimonial-tooltip"></div>').html($this.find(".spftestimonial-help-text").html()).appendTo("body"),offset_left=SPFTESTIMONIAL.vars.is_rtl?$this.offset().left+24:$this.offset().left-$tooltip.outerWidth(),$tooltip.css({top:$this.offset().top-($tooltip.outerHeight()/2-14),left:offset_left})},mouseleave:function(){void 0!==$tooltip&&$tooltip.remove()}})}))},$.fn.spftestimonial_customizer_refresh=function(){return this.each((function(){var $this=$(this),$complex=$this.closest(".spftestimonial-customize-complex");if($complex.length){var $input=$complex.find(":input"),$unique=$complex.data("unique-id"),$option=$complex.data("option-id"),obj=$input.serializeObjectSPFTESTIMONIAL(),data=$.isEmptyObject(obj)?"":obj[$unique][$option],control=window.wp.customize.control($unique+"["+$option+"]");control.setting._value=null,control.setting.set(data)}else $this.find(":input").first().trigger("change");$(document).trigger("spftestimonial-customizer-refresh",$this)}))},$.fn.spftestimonial_customizer_listen=function(options){var settings=$.extend({closest:!1},options);return this.each((function(){if(void 0!==window.wp.customize){var $this=settings.closest?$(this).closest(".spftestimonial-customize-complex"):$(this),$input=$this.find(":input"),unique_id=$this.data("unique-id"),option_id=$this.data("option-id");void 0!==unique_id&&$input.on("change keyup",SPFTESTIMONIAL.helper.debounce((function(){var obj=$this.find(":input").serializeObjectSPFTESTIMONIAL(),val=!$.isEmptyObject(obj)&&obj[unique_id]&&obj[unique_id][option_id]?obj[unique_id][option_id]:"";window.wp.customize.control(unique_id+"["+option_id+"]").setting.set(val)}),250))}}))},$(document).on("expanded",".control-section",(function(){var $this=$(this);if($this.hasClass("open")&&!$this.data("inited")){var $fields=$this.find(".spftestimonial-customize-field"),$complex=$this.find(".spftestimonial-customize-complex");$fields.length&&($this.spftestimonial_dependency(),$fields.spftestimonial_reload_script({dependency:!1}),$complex.spftestimonial_customizer_listen()),$this.data("inited",!0)}})),SPFTESTIMONIAL.vars.$window.on("resize spftestimonial.resize",SPFTESTIMONIAL.helper.debounce((function(event){var window_width;(navigator.userAgent.indexOf("AppleWebKit/")>-1?SPFTESTIMONIAL.vars.$window.width():window.innerWidth)<=782&&!SPFTESTIMONIAL.vars.onloaded&&($(".spftestimonial-section").spftestimonial_reload_script(),SPFTESTIMONIAL.vars.onloaded=!0)}),200)).trigger("spftestimonial.resize"),$.fn.spftestimonial_widgets=function(){this.length&&($(document).on("widget-added widget-updated",(function(event,$widget){$widget.find(".spftestimonial-fields").spftestimonial_reload_script()})),$(".widgets-sortables, .control-section-sidebar").on("sortstop",(function(event,ui){ui.item.find(".spftestimonial-fields").spftestimonial_reload_script_retry()})),$(document).on("click",".widget-top",(function(event){$(this).parent().find(".spftestimonial-fields").spftestimonial_reload_script()})))},$.fn.spftestimonial_reload_script_retry=function(){return this.each((function(){var $this=$(this);$this.data("inited")&&$this.children(".spftestimonial-field-wp_editor").spftestimonial_field_wp_editor()}))},$.fn.spftestimonial_reload_script=function(options){var settings=$.extend({dependency:!0},options);return this.each((function(){var $this=$(this);$this.data("inited")||($this.children(".spftestimonial-field-accordion:not(.tfree_pro_only)").spftestimonial_field_accordion(),$this.children(".spftestimonial-field-backup").spftestimonial_field_backup(),$this.children(".spftestimonial-field-background").spftestimonial_field_background(),$this.children(".spftestimonial-field-code_editor").spftestimonial_field_code_editor(),$this.children(".spftestimonial-field-date").spftestimonial_field_date(),$this.children(".spftestimonial-field-fieldset").spftestimonial_field_fieldset(),$this.children(".spftestimonial-field-gallery").spftestimonial_field_gallery(),$this.children(".spftestimonial-field-group").spftestimonial_field_group(),$this.children(".spftestimonial-field-media").spftestimonial_field_media(),$this.children(".spftestimonial-field-map").spftestimonial_field_map(),$this.children(".spftestimonial-field-repeater").spftestimonial_field_repeater(),$this.children(".spftestimonial-field-slider").spftestimonial_field_slider(),$this.children(".spftestimonial-field-sortable").spftestimonial_field_sortable(),$this.children(".spftestimonial-field-sorter").spftestimonial_field_sorter(),$this.children(".spftestimonial-field-spinner").spftestimonial_field_spinner(),$this.children(".spftestimonial-field-switcher").spftestimonial_field_switcher(),$this.children(".spftestimonial-field-tabbed").spftestimonial_field_tabbed(),$this.children(".spftestimonial-field-typography").spftestimonial_field_typography(),$this.children(".spftestimonial-field-upload").spftestimonial_field_upload(),$this.children(".spftestimonial-field-wp_editor").spftestimonial_field_wp_editor(),$this.children(".spftestimonial-field-border").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-background").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color_group").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-link_color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-typography").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-select").find(".spftestimonial-chosen").spftestimonial_chosen(),$this.children(".spftestimonial-field-checkbox").find(".spftestimonial-checkbox").spftestimonial_checkbox(),$this.children(".spftestimonial-field-button_set").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-image_select").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-palette").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field").find(".spftestimonial-help").spftestimonial_help(),settings.dependency&&$this.spftestimonial_dependency(),$this.data("inited",!0),$(document).trigger("spftestimonial-reload-script",$this))}))},$(document).ready((function(){$(".spftestimonial-save").spftestimonial_save(),$(".spftestimonial-options").spftestimonial_options(),$(".spftestimonial-sticky-header").spftestimonial_sticky(),$(".spftestimonial-nav-options").spftestimonial_nav_options(),$(".spftestimonial-nav-metabox").spftestimonial_nav_metabox(),$(".spftestimonial-page-templates").spftestimonial_page_templates(),$(".spftestimonial-post-formats").spftestimonial_post_formats(),$(".spftestimonial-search").spftestimonial_search(),$(".spftestimonial-confirm").spftestimonial_confirm(),$(".spftestimonial-expand-all").spftestimonial_expand_all(),$(".spftestimonial-onload").spftestimonial_reload_script(),$(".widget").spftestimonial_widgets()})),$("select option:contains((Pro))").attr("disabled",!0).css("opacity","0.8"),$("label:contains((Pro))").css({"pointer-events":"none"}).css("opacity","0.8"),$(".trpo-copy-btn,.tpro-sc-code").click((function(e){e.preventDefault(),spftestimonial_copyToClipboard($(this)),spftestimonial_SelectText($(this)),$(this).focus().select(),$(".sptpro-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sptpro-after-copy-text").animate({opacity:0},200),jQuery(".sptpro-after-copy-text").animate({bottom:0},0)}),2e3)})),$(".sp_tfree_input").click((function(e){var copyText;e.preventDefault(),$(this).select(),document.execCommand("copy"),$(".sptpro-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sptpro-after-copy-text").animate({opacity:0},200),jQuery(".sptpro-after-copy-text").animate({bottom:0},0)}),2e3)}))}(jQuery,window,document);
|
1 |
+
!function($,window,document,undefined){"use strict";var SPFTESTIMONIAL=SPFTESTIMONIAL||{};function spftestimonial_copyToClipboard(element){var $temp=$("<input class='hidden'>");$("body").append($temp),$temp.val($(element).text()).select(),document.execCommand("copy")}function spftestimonial_SelectText(element){var r=document.createRange(),w=element.get(0);r.selectNodeContents(w);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(r)}SPFTESTIMONIAL.funcs={},SPFTESTIMONIAL.vars={onloaded:!1,$body:$("body"),$window:$(window),$document:$(document),$form_warning:null,form_modified:!1,code_themes:[],is_rtl:$("body").hasClass("rtl")},SPFTESTIMONIAL.helper={uid:function(prefix){return(prefix||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(str){return(str+"").replace(/(\[|\-|\])/g,"\\$1")},name_nested_replace:function($selector,field_id){var checks=[],regex=new RegExp("("+SPFTESTIMONIAL.helper.preg_quote(field_id)+")\\[(\\d+)\\]","g");$selector.find(":radio").each((function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)})),$selector.each((function(index){$(this).find(":input").each((function(){this.name=this.name.replace(regex,field_id+"["+index+"]"),this.orginal_checked&&(this.checked=!0)}))}))},debounce:function(callback,threshold,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||callback.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,threshold),callNow&&callback.apply(context,args)}},get_cookie:function(name){var e,b,cookie=document.cookie,p=name+"=";if(cookie){if(-1===(b=cookie.indexOf("; "+p))){if(0!==(b=cookie.indexOf(p)))return null}else b+=2;return-1===(e=cookie.indexOf(";",b))&&(e=cookie.length),decodeURIComponent(cookie.substring(b+p.length,e))}},set_cookie:function(name,value,expires,path,domain,secure){var d=new Date;"object"==typeof expires&&expires.toGMTString?expires=expires.toGMTString():parseInt(expires,10)?(d.setTime(d.getTime()+1e3*parseInt(expires,10)),expires=d.toGMTString()):expires="",document.cookie=name+"="+encodeURIComponent(value)+(expires?"; expires="+expires:"")+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"")},remove_cookie:function(name,path,domain,secure){SPFTESTIMONIAL.helper.set_cookie(name,"",-1e3,path,domain,secure)}},$.fn.spftestimonial_clone=function(){for(var base=$.fn.clone.apply(this,arguments),clone=this.find("select").add(this.filter("select")),cloned=base.find("select").add(base.filter("select")),i=0;i<clone.length;++i)for(var j=0;j<clone[i].options.length;++j)!0===clone[i].options[j].selected&&(cloned[i].options[j].selected=!0);return this.find(":radio").each((function(){this.orginal_checked=this.checked})),base},$.fn.spftestimonial_expand_all=function(){return this.each((function(){$(this).on("click",(function(e){e.preventDefault(),$(".spftestimonial-wrapper").toggleClass("spftestimonial-show-all"),$(".spftestimonial-section").spftestimonial_reload_script(),$(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")}))}))},$.fn.spftestimonial_nav_options=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),$hidden=$nav.closest(".spftestimonial").find(".spftestimonial-section-id"),$last_section;$(window).on("hashchange",(function(){var hash=window.location.hash.match(new RegExp("tab=([^&]*)")),slug=hash?hash[1]:$links.first().attr("href").replace("#tab=",""),$link=$("#spftestimonial-tab-link-"+slug);if($link.length>0){$link.closest(".spftestimonial-tab-depth-0").addClass("spftestimonial-tab-active").siblings().removeClass("spftestimonial-tab-active"),$links.removeClass("spftestimonial-section-active"),$link.addClass("spftestimonial-section-active"),void 0!==$last_section&&$last_section.hide();var $section=$("#spftestimonial-section-"+slug);$section.css({display:"block"}),$section.spftestimonial_reload_script(),$hidden.val(slug),$last_section=$section}})).trigger("hashchange")}))},$.fn.spftestimonial_nav_metabox=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),unique_id=$nav.data("unique"),post_id=$("#post_ID").val()||"global",$last_section,$last_link;$links.on("click",(function(e){e.preventDefault();var $link=$(this),section_id=$link.data("section");void 0!==$last_link&&$last_link.removeClass("spftestimonial-section-active"),void 0!==$last_section&&$last_section.hide(),$link.addClass("spftestimonial-section-active");var $section=$("#spftestimonial-section-"+section_id);$section.css({display:"block"}),$section.spftestimonial_reload_script(),SPFTESTIMONIAL.helper.set_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id,section_id),$last_section=$section,$last_link=$link}));var get_cookie=SPFTESTIMONIAL.helper.get_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id);get_cookie?$nav.find('a[data-section="'+get_cookie+'"]').trigger("click"):$links.first("a").trigger("click")}))},$.fn.spftestimonial_page_templates=function(){this.length&&$(document).on("change",".editor-page-attributes__template select, #page_template",(function(){var maybe_value=$(this).val()||"default";$(".spftestimonial-page-templates").removeClass("spftestimonial-show").addClass("spftestimonial-hide"),$(".spftestimonial-page-"+maybe_value.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("spftestimonial-hide").addClass("spftestimonial-show")}))},$.fn.spftestimonial_post_formats=function(){this.length&&$(document).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',(function(){var maybe_value=$(this).val()||"default";maybe_value="0"===maybe_value?"default":maybe_value,$(".spftestimonial-post-formats").removeClass("spftestimonial-show").addClass("spftestimonial-hide"),$(".spftestimonial-post-format-"+maybe_value).removeClass("spftestimonial-hide").addClass("spftestimonial-show")}))},$.fn.spftestimonial_search=function(){return this.each((function(){var $this,$input;$(this).find("input").on("change keyup",(function(){var value=$(this).val(),$wrapper=$(".spftestimonial-wrapper"),$section,$fields=$wrapper.find(".spftestimonial-section").find("> .spftestimonial-field:not(.hidden)"),$titles=$fields.find("> .spftestimonial-title, .spftestimonial-search-tags");value.length>3?($fields.addClass("spftestimonial-hidden"),$wrapper.addClass("spftestimonial-search-all"),$titles.each((function(){var $title=$(this);if($title.text().match(new RegExp(".*?"+value+".*?","i"))){var $field=$title.closest(".spftestimonial-field");$field.removeClass("spftestimonial-hidden"),$field.parent().spftestimonial_reload_script()}}))):($fields.removeClass("spftestimonial-hidden"),$wrapper.removeClass("spftestimonial-search-all"))}))}))},$.fn.spftestimonial_sticky=function(){return this.each((function(){var $this=$(this),$window=$(window),$inner=$this.find(".spftestimonial-header-inner"),padding=parseInt($inner.css("padding-left"))+parseInt($inner.css("padding-right")),offset=32,scrollTop=0,lastTop=0,ticking=!1,stickyUpdate=function(){var offsetTop=$this.offset().top,stickyTop=Math.max(32,offsetTop-scrollTop),winWidth=Math.max(document.documentElement.clientWidth,window.innerWidth||0);stickyTop<=32&&winWidth>782?($inner.css({width:$this.outerWidth()-padding}),$this.css({height:$this.outerHeight()}).addClass("spftestimonial-sticky")):($inner.removeAttr("style"),$this.removeAttr("style").removeClass("spftestimonial-sticky"))},requestTick=function(){ticking||requestAnimationFrame((function(){stickyUpdate(),ticking=!1})),ticking=!0},onSticky=function(){scrollTop=$window.scrollTop(),requestTick()};$window.on("scroll resize",onSticky),onSticky()}))},$.fn.spftestimonial_dependency=function(){return this.each((function(){var $this=$(this),ruleset=$.spftestimonial_deps.createRuleset(),depends=[],is_global=!1;$this.children("[data-controller]").each((function(){var $field=$(this),controllers=$field.data("controller").split("|"),conditions=$field.data("condition").split("|"),values=$field.data("value").toString().split("|"),rules=ruleset;$field.data("depend-global")&&(is_global=!0),$.each(controllers,(function(index,depend_id){var value=values[index]||"",condition=conditions[index]||conditions[0];(rules=rules.createRule('[data-depend-id="'+depend_id+'"]',condition,value)).include($field),depends.push(depend_id)}))})),depends.length&&(is_global?$.spftestimonial_deps.enable(SPFTESTIMONIAL.vars.$body,ruleset,depends):$.spftestimonial_deps.enable($this,ruleset,depends))}))},$.fn.spftestimonial_field_accordion=function(){return this.each((function(){var $titles=$(this).find(".spftestimonial-accordion-title");$titles.on("click",(function(){var $title=$(this),$icon=$title.find(".spftestimonial-accordion-icon"),$content=$title.next();$icon.hasClass("fa-angle-right")?$icon.removeClass("fa-angle-right").addClass("fa-angle-down"):$icon.removeClass("fa-angle-down").addClass("fa-angle-right"),$content.data("opened")||($content.spftestimonial_reload_script(),$content.data("opened",!0)),$content.toggleClass("spftestimonial-accordion-open")})),$(this).hasClass("opened_accordion")&&$titles.trigger("click")}))},$.fn.spftestimonial_field_backup=function(){return this.each((function(){if(void 0!==window.wp.customize){var base=this,$this=$(this),$body=$("body"),$import=$this.find(".spftestimonial-import"),$reset=$this.find(".spftestimonial-reset");base.notification=function(message_text){wp.customize.notifications&&wp.customize.OverlayNotification&&(wp.customize.state("saved").get()||(wp.customize.state("changesetStatus").set("trash"),wp.customize.each((function(setting){setting._dirty=!1})),wp.customize.state("saved").set(!0)),wp.customize.notifications.add(new wp.customize.OverlayNotification("spftestimonial_field_backup_notification",{type:"info",message:message_text,loading:!0})))},$reset.on("click",(function(e){e.preventDefault(),SPFTESTIMONIAL.vars.is_confirm&&(base.notification(window.spftestimonial_vars.i18n.reset_notification),window.wp.ajax.post("spftestimonial-reset",{unique:$reset.data("unique"),nonce:$reset.data("nonce")}).done((function(response){window.location.reload(!0)})).fail((function(response){alert(response.error),wp.customize.notifications.remove("spftestimonial_field_backup_notification")})))})),$import.on("click",(function(e){e.preventDefault(),SPFTESTIMONIAL.vars.is_confirm&&(base.notification(window.spftestimonial_vars.i18n.import_notification),window.wp.ajax.post("spftestimonial-import",{unique:$import.data("unique"),nonce:$import.data("nonce"),import_data:$this.find(".spftestimonial-import-data").val()}).done((function(response){window.location.reload(!0)})).fail((function(response){alert(response.error),wp.customize.notifications.remove("spftestimonial_field_backup_notification")})))}))}}))},$.fn.spftestimonial_field_background=function(){return this.each((function(){$(this).find(".spftestimonial--background-image").spftestimonial_reload_script()}))},$.fn.spftestimonial_field_code_editor=function(){return this.each((function(){if("function"==typeof CodeMirror){var $this=$(this),$textarea=$this.find("textarea"),$inited=$this.find(".CodeMirror"),data_editor=$textarea.data("editor");$inited.length&&$inited.remove();var interval=setInterval((function(){if($this.is(":visible")){var code_editor=CodeMirror.fromTextArea($textarea[0],data_editor);if("default"!==data_editor.theme&&-1===SPFTESTIMONIAL.vars.code_themes.indexOf(data_editor.theme)){var $cssLink=$("<link>");$("#spftestimonial-codemirror-css").after($cssLink),$cssLink.attr({rel:"stylesheet",id:"spftestimonial-codemirror-"+data_editor.theme+"-css",href:data_editor.cdnURL+"/theme/"+data_editor.theme+".min.css",type:"text/css",media:"all"}),SPFTESTIMONIAL.vars.code_themes.push(data_editor.theme)}CodeMirror.modeURL=data_editor.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(code_editor,data_editor.mode),code_editor.on("change",(function(editor,event){$textarea.val(code_editor.getValue()).trigger("change")})),clearInterval(interval)}}))}}))},$.fn.spftestimonial_field_date=function(){return this.each((function(){var $this=$(this),$inputs=$this.find("input"),settings=$this.find(".spftestimonial-date-settings").data("settings"),wrapper='<div class="spftestimonial-datepicker-wrapper"></div>',$datepicker,defaults={showAnim:"",beforeShow:function(input,inst){$(inst.dpDiv).addClass("spftestimonial-datepicker-wrapper")},onClose:function(input,inst){$(inst.dpDiv).removeClass("spftestimonial-datepicker-wrapper")}};settings=$.extend({},settings,defaults),2===$inputs.length&&(settings=$.extend({},settings,{onSelect:function(selectedDate){var $this=$(this),$from=$inputs.first(),option=$inputs.first().attr("id")===$(this).attr("id")?"minDate":"maxDate",date=$.datepicker.parseDate(settings.dateFormat,selectedDate);$inputs.not(this).datepicker("option",option,date)}})),$inputs.each((function(){var $input=$(this);$input.hasClass("hasDatepicker")&&$input.removeAttr("id").removeClass("hasDatepicker"),$input.datepicker(settings)}))}))},$.fn.spftestimonial_field_fieldset=function(){return this.each((function(){$(this).find(".spftestimonial-fieldset-content").spftestimonial_reload_script()}))},$.fn.spftestimonial_field_gallery=function(){return this.each((function(){var $this=$(this),$edit=$this.find(".spftestimonial-edit-gallery"),$clear=$this.find(".spftestimonial-clear-gallery"),$list=$this.find("ul"),$input=$this.find("input"),$img=$this.find("img"),wp_media_frame;$this.on("click",".spftestimonial-button, .spftestimonial-edit-gallery",(function(e){var $el=$(this),ids=$input.val(),what=$el.hasClass("spftestimonial-edit-gallery")?"edit":"add",state="add"!==what||ids.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&("gallery"===state?(wp_media_frame=window.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(wp_media_frame=window.wp.media.gallery.edit('[gallery ids="'+ids+'"]'),"add"===what&&wp_media_frame.setState("gallery-library")),wp_media_frame.on("update",(function(selection){$list.empty();var selectedIds=selection.models.map((function(attachment){var item=attachment.toJSON(),thumb=item.sizes&&item.sizes.thumbnail&&item.sizes.thumbnail.url?item.sizes.thumbnail.url:item.url;return $list.append('<li><img src="'+thumb+'"></li>'),item.id}));$input.val(selectedIds.join(",")).trigger("change"),$clear.removeClass("hidden"),$edit.removeClass("hidden")})))})),$clear.on("click",(function(e){e.preventDefault(),$list.empty(),$input.val("").trigger("change"),$clear.addClass("hidden"),$edit.addClass("hidden")}))}))},$.fn.spftestimonial_field_group=function(){return this.each((function(){var $this=$(this),$fieldset=$this.children(".spftestimonial-fieldset"),$group=$fieldset.length?$fieldset:$this,$wrapper=$group.children(".spftestimonial-cloneable-wrapper"),$hidden=$group.children(".spftestimonial-cloneable-hidden"),$max=$group.children(".spftestimonial-cloneable-max"),$min=$group.children(".spftestimonial-cloneable-min"),field_id=$wrapper.data("field-id"),unique_id=$wrapper.data("unique-id"),is_number=Boolean(Number($wrapper.data("title-number"))),max=parseInt($wrapper.data("max")),min=parseInt($wrapper.data("min"));$wrapper.hasClass("ui-accordion")&&$wrapper.find(".ui-accordion-header-icon").remove();var update_title_numbers=function($selector){$selector.find(".spftestimonial-cloneable-title-number").each((function(index){$(this).html($(this).closest(".spftestimonial-cloneable-item").index()+1+".")}))};$wrapper.accordion({header:"> .spftestimonial-cloneable-item > .spftestimonial-cloneable-title",collapsible:!0,active:!1,animate:!1,heightStyle:"content",icons:{header:"spftestimonial-cloneable-header-icon fa fa-angle-right",activeHeader:"spftestimonial-cloneable-header-icon fa fa-angle-down"},activate:function(event,ui){var $panel=ui.newPanel,$header=ui.newHeader;if($panel.length&&!$panel.data("opened")){var $fields,$first=$panel.children().first().find(":input").first(),$title=$header.find(".spftestimonial-cloneable-value");$first.on("keyup",(function(event){$title.text($first.val())})),$panel.spftestimonial_reload_script(),$panel.data("opened",!0),$panel.data("retry",!1)}else $panel.data("retry")&&($panel.spftestimonial_reload_script_retry(),$panel.data("retry",!1))}}),$wrapper.sortable({axis:"y",handle:".spftestimonial-cloneable-title,.spftestimonial-cloneable-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",start:function(event,ui){$wrapper.accordion({active:!1}),$wrapper.sortable("refreshPositions"),ui.item.children(".spftestimonial-cloneable-content").data("retry",!0)},update:function(event,ui){SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-cloneable-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),is_number&&update_title_numbers($wrapper)}}),$group.children(".spftestimonial-cloneable-add").on("click",(function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-cloneable-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var new_field_id=unique_id+field_id+"["+count+"]",$cloned_item=$hidden.spftestimonial_clone(!0);$cloned_item.removeClass("spftestimonial-cloneable-hidden"),$cloned_item.find(':input[name!="_pseudo"]').each((function(){this.name=new_field_id+this.name.replace(this.name.startsWith("_nonce")?"_nonce":unique_id,"")})),$cloned_item.find(".spftestimonial-data-wrapper").each((function(){$(this).attr("data-unique-id",new_field_id)})),$wrapper.append($cloned_item),$wrapper.accordion("refresh"),$wrapper.accordion({active:count}),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0}),is_number&&update_title_numbers($wrapper)}}));var event_clone=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-cloneable-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $this,$parent=$(this).parent().parent(),$cloned_helper=$parent.children(".spftestimonial-cloneable-helper").spftestimonial_clone(!0),$cloned_title=$parent.children(".spftestimonial-cloneable-title").spftestimonial_clone(),$cloned_content=$parent.children(".spftestimonial-cloneable-content").spftestimonial_clone(),cloned_regex=new RegExp("("+SPFTESTIMONIAL.helper.preg_quote(field_id)+")\\[(\\d+)\\]","g");$cloned_content.find(".spftestimonial-data-wrapper").each((function(){var $this=$(this);$this.attr("data-unique-id",$this.attr("data-unique-id").replace(cloned_regex,field_id+"["+($parent.index()+1)+"]"))}));var $cloned=$('<div class="spftestimonial-cloneable-item" />');$cloned.append($cloned_helper),$cloned.append($cloned_title),$cloned.append($cloned_content),$wrapper.children().eq($parent.index()).after($cloned),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-cloneable-item"),field_id),$wrapper.accordion("refresh"),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0}),is_number&&update_title_numbers($wrapper)}};$wrapper.children(".spftestimonial-cloneable-item").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-clone",event_clone),$group.children(".spftestimonial-cloneable-hidden").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-clone",event_clone);var event_remove=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-cloneable-item").length;$max.hide(),$min.hide(),min&&count-1<min?$min.show():($(this).closest(".spftestimonial-cloneable-item").remove(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-cloneable-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),is_number&&update_title_numbers($wrapper))};$wrapper.children(".spftestimonial-cloneable-item").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-remove",event_remove),$group.children(".spftestimonial-cloneable-hidden").children(".spftestimonial-cloneable-helper").on("click",".spftestimonial-cloneable-remove",event_remove)}))},$.fn.spftestimonial_field_map=function(){return this.each((function(){if("undefined"!=typeof L){var $this=$(this),$map=$this.find(".spftestimonial--map-osm"),$search_input=$this.find(".spftestimonial--map-search input"),$latitude=$this.find(".spftestimonial--latitude"),$longitude=$this.find(".spftestimonial--longitude"),$zoom=$this.find(".spftestimonial--zoom"),map_data=$map.data("map"),mapInit=L.map($map.get(0),map_data);L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(mapInit);var mapMarker=L.marker(map_data.center,{draggable:!0}).addTo(mapInit),update_latlng=function(data){$latitude.val(data.lat),$longitude.val(data.lng),$zoom.val(mapInit.getZoom())};mapInit.on("click",(function(data){mapMarker.setLatLng(data.latlng),update_latlng(data.latlng)})),mapInit.on("zoom",(function(){update_latlng(mapMarker.getLatLng())})),mapMarker.on("drag",(function(){update_latlng(mapMarker.getLatLng())})),$search_input.length||($search_input=$('[data-depend-id="'+$this.find(".spftestimonial--address-field").data("address-field")+'"]')),$search_input.autocomplete({source:function(request,response){$.get("https://nominatim.openstreetmap.org/search",{format:"json",q:request.term},(function(results){results.length?response(results.map((function(item){return{value:item.display_name,label:item.display_name,lat:item.lat,lon:item.lon}}),"json")):response([{value:"no-data",label:"No Results."}])}))},select:function(event,ui){if("no-data"===ui.item.value)return!1;var latLng=L.latLng(ui.item.lat,ui.item.lon);mapInit.panTo(latLng),mapMarker.setLatLng(latLng),update_latlng(latLng)},create:function(event,ui){$(this).autocomplete("widget").addClass("spftestimonial-map-ui-autocomplate")}});var input_update_latlng=function(){var latLng=L.latLng($latitude.val(),$longitude.val());mapInit.panTo(latLng),mapMarker.setLatLng(latLng)};$latitude.on("change",input_update_latlng),$longitude.on("change",input_update_latlng)}}))},$.fn.spftestimonial_field_media=function(){return this.each((function(){var $this=$(this),$upload_button=$this.find(".spftestimonial--button"),$remove_button=$this.find(".spftestimonial--remove"),$library=$upload_button.data("library")&&$upload_button.data("library").split(",")||"",$auto_attributes=!!$this.hasClass("spftestimonial-assign-field-background")&&$this.closest(".spftestimonial-field-background").find(".spftestimonial--auto-attributes"),wp_media_frame;$upload_button.on("click",(function(e){e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&(wp_media_frame?wp_media_frame.open():((wp_media_frame=window.wp.media({library:{type:$library}})).on("select",(function(){var thumbnail,attributes=wp_media_frame.state().get("selection").first().attributes,preview_size=$upload_button.data("preview-size")||"thumbnail";$library.length&&-1===$library.indexOf(attributes.subtype)&&-1===$library.indexOf(attributes.type)||($this.find(".spftestimonial--id").val(attributes.id),$this.find(".spftestimonial--width").val(attributes.width),$this.find(".spftestimonial--height").val(attributes.height),$this.find(".spftestimonial--alt").val(attributes.alt),$this.find(".spftestimonial--title").val(attributes.title),$this.find(".spftestimonial--description").val(attributes.description),thumbnail=void 0!==attributes.sizes&&void 0!==attributes.sizes.thumbnail&&"thumbnail"===preview_size?attributes.sizes.thumbnail.url:void 0!==attributes.sizes&&void 0!==attributes.sizes.full?attributes.sizes.full.url:attributes.icon,$auto_attributes&&$auto_attributes.removeClass("spftestimonial--attributes-hidden"),$remove_button.removeClass("hidden"),$this.find(".spftestimonial--preview").removeClass("hidden"),$this.find(".spftestimonial--src").attr("src",thumbnail),$this.find(".spftestimonial--thumbnail").val(thumbnail),$this.find(".spftestimonial--url").val(attributes.url).trigger("change"))})),wp_media_frame.open()))})),$remove_button.on("click",(function(e){e.preventDefault(),$auto_attributes&&$auto_attributes.addClass("spftestimonial--attributes-hidden"),$remove_button.addClass("hidden"),$this.find("input").val(""),$this.find(".spftestimonial--preview").addClass("hidden"),$this.find(".spftestimonial--url").trigger("change")}))}))},$.fn.spftestimonial_field_repeater=function(){return this.each((function(){var $this=$(this),$fieldset=$this.children(".spftestimonial-fieldset"),$repeater=$fieldset.length?$fieldset:$this,$wrapper=$repeater.children(".spftestimonial-repeater-wrapper"),$hidden=$repeater.children(".spftestimonial-repeater-hidden"),$max=$repeater.children(".spftestimonial-repeater-max"),$min=$repeater.children(".spftestimonial-repeater-min"),field_id=$wrapper.data("field-id"),unique_id=$wrapper.data("unique-id"),max=parseInt($wrapper.data("max")),min=parseInt($wrapper.data("min"));$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-content").spftestimonial_reload_script(),$wrapper.sortable({axis:"y",handle:".spftestimonial-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),ui.item.spftestimonial_reload_script_retry()}}),$repeater.children(".spftestimonial-repeater-add").on("click",(function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var new_field_id=unique_id+field_id+"["+count+"]",$cloned_item=$hidden.spftestimonial_clone(!0);$cloned_item.removeClass("spftestimonial-repeater-hidden"),$cloned_item.find(':input[name!="_pseudo"]').each((function(){this.name=new_field_id+this.name.replace(this.name.startsWith("_nonce")?"_nonce":unique_id,"")})),$cloned_item.find(".spftestimonial-data-wrapper").each((function(){$(this).attr("data-unique-id",new_field_id)})),$wrapper.append($cloned_item),$cloned_item.children(".spftestimonial-repeater-content").spftestimonial_reload_script(),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0})}}));var event_clone=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $this,$parent=$(this).parent().parent().parent(),$cloned_content=$parent.children(".spftestimonial-repeater-content").spftestimonial_clone(),$cloned_helper=$parent.children(".spftestimonial-repeater-helper").spftestimonial_clone(!0),cloned_regex=new RegExp("("+SPFTESTIMONIAL.helper.preg_quote(field_id)+")\\[(\\d+)\\]","g");$cloned_content.find(".spftestimonial-data-wrapper").each((function(){var $this=$(this);$this.attr("data-unique-id",$this.attr("data-unique-id").replace(cloned_regex,field_id+"["+($parent.index()+1)+"]"))}));var $cloned=$('<div class="spftestimonial-repeater-item" />');$cloned.append($cloned_content),$cloned.append($cloned_helper),$wrapper.children().eq($parent.index()).after($cloned),$cloned.children(".spftestimonial-repeater-content").spftestimonial_reload_script(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id),$wrapper.spftestimonial_customizer_refresh(),$wrapper.spftestimonial_customizer_listen({closest:!0})}};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone);var event_remove=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;$max.hide(),$min.hide(),min&&count-1<min?$min.show():($(this).closest(".spftestimonial-repeater-item").remove(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id),$wrapper.spftestimonial_customizer_refresh())};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove)}))},$.fn.spftestimonial_field_slider=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$slider=$this.find(".spftestimonial-slider-ui"),data=$input.data(),value=$input.val()||0;$slider.hasClass("ui-slider")&&$slider.empty(),$slider.slider({range:"min",value:value,min:data.min,max:data.max,step:data.step,slide:function(e,o){$input.val(o.value).trigger("change")}}),$input.keyup((function(){$slider.slider("value",$input.val())}))}))},$.fn.spftestimonial_field_sortable=function(){return this.each((function(){var $sortable=$(this).find(".spftestimonial--sortable");$sortable.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){$sortable.spftestimonial_customizer_refresh()}}),$sortable.find(".spftestimonial--sortable-content").spftestimonial_reload_script(),$(".form_fields").find(".spftestimonial--sortable").sortable("disable")}))},$.fn.spftestimonial_field_sorter=function(){return this.each((function(){var $this=$(this),$enabled=$this.find(".spftestimonial-enabled"),$has_disabled=$this.find(".spftestimonial-disabled"),$disabled=!!$has_disabled.length&&$has_disabled;$enabled.sortable({connectWith:$disabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){var $el=ui.item.find("input");ui.item.parent().hasClass("spftestimonial-enabled")?$el.attr("name",$el.attr("name").replace("disabled","enabled")):$el.attr("name",$el.attr("name").replace("enabled","disabled")),$this.spftestimonial_customizer_refresh()}}),$disabled&&$disabled.sortable({connectWith:$enabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){$this.spftestimonial_customizer_refresh()}})}))},$.fn.spftestimonial_field_spinner=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$inited=$this.find(".ui-spinner-button"),$unit=$input.data("unit");$inited.length&&$inited.remove(),$input.spinner({max:$input.data("max")||100,min:$input.data("min")||0,step:$input.data("step")||1,create:function(event,ui){$unit.length&&$this.find(".ui-spinner-up").after('<span class="ui-button-text-only spftestimonial--unit">'+$unit+"</span>")},spin:function(event,ui){$input.val(ui.value).trigger("change")}})}))},$.fn.spftestimonial_field_switcher=function(){return this.each((function(){var $switcher=$(this).find(".spftestimonial--switcher");$switcher.on("click",(function(){var value=0,$input=$switcher.find("input");$switcher.hasClass("spftestimonial--active")?$switcher.removeClass("spftestimonial--active"):(value=1,$switcher.addClass("spftestimonial--active")),$input.val(value).trigger("change")}))}))},$.fn.spftestimonial_field_tabbed=function(){return this.each((function(){var $this=$(this),$links=$this.find(".spftestimonial-tabbed-nav a"),$sections=$this.find(".spftestimonial-tabbed-section");$sections.eq(0).spftestimonial_reload_script(),$links.on("click",(function(e){e.preventDefault();var $link=$(this),index=$link.index(),$section=$sections.eq(index);$link.addClass("spftestimonial-tabbed-active").siblings().removeClass("spftestimonial-tabbed-active"),$section.spftestimonial_reload_script(),$section.removeClass("hidden").siblings().addClass("hidden")}))}))},$.fn.spftestimonial_field_typography=function(){return this.each((function(){var base=this,$this=$(this),loaded_fonts=[],webfonts=spftestimonial_typography_json.webfonts,googlestyles=spftestimonial_typography_json.googlestyles,defaultstyles=spftestimonial_typography_json.defaultstyles;base.sanitize_subset=function(subset){return subset=(subset=subset.replace("-ext"," Extended")).charAt(0).toUpperCase()+subset.slice(1)},base.sanitize_style=function(style){return googlestyles[style]?googlestyles[style]:style},base.load_google_font=function(font_family,weight,style){font_family&&"object"==typeof WebFont&&(weight=weight?weight.replace("normal",""):"",style=style?style.replace("normal",""):"",(weight||style)&&(font_family=font_family+":"+weight+style),-1===loaded_fonts.indexOf(font_family)&&WebFont.load({google:{families:[font_family]}}),loaded_fonts.push(font_family))},base.append_select_options=function($select,options,condition,type,is_multi){$select.find("option").not(":first").remove();var opts="";$.each(options,(function(key,value){var selected,name=value;selected=is_multi?condition&&-1!==condition.indexOf(value)?" selected":"":condition&&condition===value?" selected":"","subset"===type?name=base.sanitize_subset(value):"style"===type&&(name=base.sanitize_style(value)),opts+='<option value="'+value+'"'+selected+">"+name+"</option>"})),$select.append(opts).trigger("spftestimonial.change").trigger("chosen:updated")},base.init=function(){var selected_styles=[],$typography=$this.find(".spftestimonial--typography"),$type=$this.find(".spftestimonial--type"),$styles=$this.find(".spftestimonial--block-font-style"),unit=$typography.data("unit"),exclude_fonts=$typography.data("exclude")?$typography.data("exclude").split(","):[],$chosen_selects;$this.find(".spftestimonial--chosen").length&&$this.find("select").each((function(){var $chosen_select=$(this),$chosen_inited=$chosen_select.parent().find(".chosen-container");$chosen_inited.length&&$chosen_inited.remove(),$chosen_select.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})}));var $font_family_select=$this.find(".spftestimonial--font-family"),first_font_family=$font_family_select.val();$font_family_select.find("option").not(":first-child").remove();var opts="";$.each(webfonts,(function(type,group){exclude_fonts&&-1!==exclude_fonts.indexOf(type)||(opts+='<optgroup label="'+group.label+'">',$.each(group.fonts,(function(key,value){var selected;opts+='<option value="'+(value="object"==typeof value?key:value)+'" data-type="'+type+'"'+(value===first_font_family?" selected":"")+">"+value+"</option>"})),opts+="</optgroup>")})),$font_family_select.append(opts).trigger("chosen:updated");var $font_style_block=$this.find(".spftestimonial--block-font-style");if($font_style_block.length){var $font_style_select=$this.find(".spftestimonial--font-style-select"),first_style_value=$font_style_select.val()?$font_style_select.val().replace(/normal/g,""):"";$font_style_select.on("change spftestimonial.change",(function(event){var style_value=$font_style_select.val();!style_value&&selected_styles&&-1===selected_styles.indexOf("normal")&&(style_value=selected_styles[0]);var font_normal=style_value&&"italic"!==style_value&&"normal"===style_value?"normal":"",font_weight=style_value&&"italic"!==style_value&&"normal"!==style_value?style_value.replace("italic",""):font_normal,font_style=style_value&&"italic"===style_value.substr(-6)?"italic":"";$this.find(".spftestimonial--font-weight").val(font_weight),$this.find(".spftestimonial--font-style").val(font_style)}));var $extra_font_style_block=$this.find(".spftestimonial--block-extra-styles");if($extra_font_style_block.length)var $extra_font_style_select=$this.find(".spftestimonial--extra-styles"),first_extra_style_value=$extra_font_style_select.val()}var $subset_block=$this.find(".spftestimonial--block-subset");if($subset_block.length)var $subset_select=$this.find(".spftestimonial--subset"),first_subset_select_value=$subset_select.val(),subset_multi_select=$subset_select.data("multiple")||!1;var $backup_font_family_block=$this.find(".spftestimonial--block-backup-font-family");$font_family_select.on("change spftestimonial.change",(function(event){$subset_block.length&&$subset_block.addClass("hidden"),$extra_font_style_block.length&&$extra_font_style_block.addClass("hidden"),$backup_font_family_block.length&&$backup_font_family_block.addClass("hidden");var $selected=$font_family_select.find(":selected"),value=$selected.val(),type=$selected.data("type");if(type&&value){if("google"!==type&&"custom"!==type||!$backup_font_family_block.length||$backup_font_family_block.removeClass("hidden"),$font_style_block.length){var styles=defaultstyles;"google"===type&&webfonts[type].fonts[value][0]?styles=webfonts[type].fonts[value][0]:"custom"===type&&webfonts[type].fonts[value]&&(styles=webfonts[type].fonts[value]),selected_styles=styles;var set_auto_style=-1!==styles.indexOf("normal")?"normal":styles[0],set_style_value=first_style_value&&-1!==styles.indexOf(first_style_value)?first_style_value:set_auto_style;base.append_select_options($font_style_select,styles,set_style_value,"style"),first_style_value=!1,$font_style_block.removeClass("hidden"),"google"===type&&$extra_font_style_block.length&&styles.length>1&&(base.append_select_options($extra_font_style_select,styles,first_extra_style_value,"style",!0),first_extra_style_value=!1,$extra_font_style_block.removeClass("hidden"))}if("google"===type&&$subset_block.length&&webfonts[type].fonts[value][1]){var subsets=webfonts[type].fonts[value][1],set_auto_subset=subsets.length<2&&"latin"!==subsets[0]?subsets[0]:"",set_subset_value=first_subset_select_value&&-1!==subsets.indexOf(first_subset_select_value)?first_subset_select_value:set_auto_subset;set_subset_value=subset_multi_select&&first_subset_select_value?first_subset_select_value:set_subset_value,base.append_select_options($subset_select,subsets,set_subset_value,"subset",subset_multi_select),first_subset_select_value=!1,$subset_block.removeClass("hidden")}}else $styles.find(":input").val(""),$subset_block.length&&($subset_select.find("option").not(":first-child").remove(),$subset_select.trigger("chosen:updated")),$font_style_block.length&&($font_style_select.find("option").not(":first-child").remove(),$font_style_select.trigger("chosen:updated"));$type.val(type)})).trigger("spftestimonial.change");var $preview_block=$this.find(".spftestimonial--block-preview");if($preview_block.length){var $preview=$this.find(".spftestimonial--preview");$this.on("change",SPFTESTIMONIAL.helper.debounce((function(event){$preview_block.removeClass("hidden");var font_family=$font_family_select.val(),font_weight=$this.find(".spftestimonial--font-weight").val(),font_style=$this.find(".spftestimonial--font-style").val(),font_size=$this.find(".spftestimonial--font-size").val(),font_variant=$this.find(".spftestimonial--font-variant").val(),line_height=$this.find(".spftestimonial--line-height").val(),text_align=$this.find(".spftestimonial--text-align").val(),text_transform=$this.find(".spftestimonial--text-transform").val(),text_decoration=$this.find(".spftestimonial--text-decoration").val(),text_color=$this.find(".spftestimonial--color").val(),word_spacing=$this.find(".spftestimonial--word-spacing").val(),letter_spacing=$this.find(".spftestimonial--letter-spacing").val(),custom_style=$this.find(".spftestimonial--custom-style").val(),type;"google"===$this.find(".spftestimonial--type").val()&&base.load_google_font(font_family,font_weight,font_style);var properties={};font_family&&(properties.fontFamily=font_family),font_weight&&(properties.fontWeight=font_weight),font_style&&(properties.fontStyle=font_style),font_variant&&(properties.fontVariant=font_variant),font_size&&(properties.fontSize=font_size+unit),line_height&&(properties.lineHeight=line_height+unit),letter_spacing&&(properties.letterSpacing=letter_spacing+unit),word_spacing&&(properties.wordSpacing=word_spacing+unit),text_align&&(properties.textAlign=text_align),text_transform&&(properties.textTransform=text_transform),text_decoration&&(properties.textDecoration=text_decoration),text_color&&(properties.color=text_color),$preview.removeAttr("style"),custom_style&&$preview.attr("style",custom_style),$preview.css(properties)}),100)),$preview_block.on("click",(function(){$preview.toggleClass("spftestimonial--black-background");var $toggle=$preview_block.find(".spftestimonial--toggle");$toggle.hasClass("fa-toggle-off")?$toggle.removeClass("fa-toggle-off").addClass("fa-toggle-on"):$toggle.removeClass("fa-toggle-on").addClass("fa-toggle-off")})),$preview_block.hasClass("hidden")||$this.trigger("change")}},base.init()}))},$.fn.spftestimonial_field_upload=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$upload_button=$this.find(".spftestimonial--button"),$remove_button=$this.find(".spftestimonial--remove"),$library=$upload_button.data("library")&&$upload_button.data("library").split(",")||"",wp_media_frame;$input.on("change",(function(e){$input.val()?$remove_button.removeClass("hidden"):$remove_button.addClass("hidden")})),$upload_button.on("click",(function(e){e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&(wp_media_frame?wp_media_frame.open():((wp_media_frame=window.wp.media({library:{type:$library}})).on("select",(function(){var attributes=wp_media_frame.state().get("selection").first().attributes;$library.length&&-1===$library.indexOf(attributes.subtype)&&-1===$library.indexOf(attributes.type)||$input.val(attributes.url).trigger("change")})),wp_media_frame.open()))})),$remove_button.on("click",(function(e){e.preventDefault(),$input.val("").trigger("change")}))}))},$.fn.spftestimonial_field_wp_editor=function(){return this.each((function(){if(void 0!==window.wp.editor&&void 0!==window.tinyMCEPreInit&&void 0!==window.tinyMCEPreInit.mceInit.spftestimonial_wp_editor){var $this=$(this),$editor=$this.find(".spftestimonial-wp-editor"),$textarea=$this.find("textarea"),$has_wp_editor;($this.find(".wp-editor-wrap").length||$this.find(".mce-container").length)&&($editor.empty(),$editor.append($textarea),$textarea.css("display",""));var uid=SPFTESTIMONIAL.helper.uid("spftestimonial-editor-");$textarea.attr("id",uid);var default_editor_settings={tinymce:window.tinyMCEPreInit.mceInit.spftestimonial_wp_editor,quicktags:window.tinyMCEPreInit.qtInit.spftestimonial_wp_editor},field_editor_settings=$editor.data("editor-settings"),editor_on_change=function(editor){editor.on("change",SPFTESTIMONIAL.helper.debounce((function(){editor.save(),$textarea.trigger("change")}),250))},wpEditor=wp.oldEditor?wp.oldEditor:wp.editor;wpEditor&&wpEditor.hasOwnProperty("autop")&&(wp.editor.autop=wpEditor.autop,wp.editor.removep=wpEditor.removep,wp.editor.initialize=wpEditor.initialize),default_editor_settings.tinymce=$.extend({},default_editor_settings.tinymce,{selector:"#"+uid,setup:editor_on_change}),!1===field_editor_settings.tinymce&&(default_editor_settings.tinymce=!1,$editor.addClass("spftestimonial-no-tinymce")),!1===field_editor_settings.quicktags&&(default_editor_settings.quicktags=!1,$editor.addClass("spftestimonial-no-quicktags"));var interval=setInterval((function(){$this.is(":visible")&&(window.wp.editor.initialize(uid,default_editor_settings),clearInterval(interval))}));if(field_editor_settings.media_buttons&&window.spftestimonial_media_buttons){var $editor_buttons=$editor.find(".wp-media-buttons");if($editor_buttons.length)$editor_buttons.find(".spftestimonial-shortcode-button").data("editor-id",uid);else{var $media_buttons=$(window.spftestimonial_media_buttons);$media_buttons.find(".spftestimonial-shortcode-button").data("editor-id",uid),$editor.prepend($media_buttons)}}}}))},$.fn.spftestimonial_confirm=function(){return this.each((function(){$(this).on("click",(function(e){var confirm_text=$(this).data("confirm")||window.spftestimonial_vars.i18n.confirm,confirm_answer=confirm(confirm_text);if(SPFTESTIMONIAL.vars.is_confirm=!0,!confirm_answer)return e.preventDefault(),SPFTESTIMONIAL.vars.is_confirm=!1,!1}))}))},$.fn.serializeObject=function(){var obj={};return $.each(this.serializeArray(),(function(i,o){var n=o.name,v=o.value;obj[n]=void 0===obj[n]?v:$.isArray(obj[n])?obj[n].concat(v):[obj[n],v]})),obj},$.fn.spftestimonial_save=function(){return this.each((function(){var $this=$(this),$buttons=$(".spftestimonial-save"),$panel=$(".spftestimonial-options"),flooding=!1,timeout;$this.on("click",(function(e){if(!flooding){var $text=$this.data("save"),$value=$this.val();$buttons.attr("value",$text),$this.hasClass("spftestimonial-save-ajax")&&(e.preventDefault(),$panel.addClass("spftestimonial-saving"),$buttons.prop("disabled",!0),window.wp.ajax.post("spftestimonial_"+$panel.data("unique")+"_ajax_save",{data:$("#spftestimonial-form").serializeJSONSPFTESTIMONIAL()}).done((function(response){if($(".spftestimonial-error").remove(),Object.keys(response.errors).length){var error_icon='<i class="spftestimonial-label-error spftestimonial-error">!</i>';$.each(response.errors,(function(key,error_message){var $field=$('[data-depend-id="'+key+'"]'),$link=$("#spftestimonial-tab-link-"+($field.closest(".spftestimonial-section").index()+1)),$tab=$link.closest(".spftestimonial-tab-depth-0");$field.closest(".spftestimonial-fieldset").append('<p class="spftestimonial-text-error spftestimonial-error">'+error_message+"</p>"),$link.find(".spftestimonial-error").length||$link.append(error_icon),$tab.find(".spftestimonial-arrow .spftestimonial-error").length||$tab.find(".spftestimonial-arrow").append(error_icon),console.log(error_message)}))}$panel.removeClass("spftestimonial-saving"),$buttons.prop("disabled",!1).attr("value",$value),flooding=!1,SPFTESTIMONIAL.vars.form_modified=!1,SPFTESTIMONIAL.vars.$form_warning.hide(),clearTimeout(timeout);var $result_success=$(".spftestimonial-form-success");$result_success.empty().append(response.notice).fadeIn("fast",(function(){timeout=setTimeout((function(){$result_success.fadeOut("fast")}),1e3)}))})).fail((function(response){alert(response.error)})))}flooding=!0}))}))},$.fn.spftestimonial_options=function(){return this.each((function(){var $this=$(this),$content=$this.find(".spftestimonial-content"),$form_success=$this.find(".spftestimonial-form-success"),$form_warning=$this.find(".spftestimonial-form-warning"),$save_button=$this.find(".spftestimonial-header .spftestimonial-save");SPFTESTIMONIAL.vars.$form_warning=$form_warning,$form_warning.length&&(window.onbeforeunload=function(){return!!SPFTESTIMONIAL.vars.form_modified||void 0},$content.on("change keypress",":input",(function(){SPFTESTIMONIAL.vars.form_modified||($form_success.hide(),$form_warning.fadeIn("fast"),SPFTESTIMONIAL.vars.form_modified=!0)}))),$form_success.hasClass("spftestimonial-form-show")&&setTimeout((function(){$form_success.fadeOut("fast")}),1e3),$(document).keydown((function(event){if((event.ctrlKey||event.metaKey)&&83===event.which)return $save_button.trigger("click"),event.preventDefault(),!1}))}))},"function"==typeof Color&&(Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var hex=parseInt(this._color,10).toString(16);if(this.error)return"";if(hex.length<6)for(var i=6-hex.length-1;i>=0;i--)hex="0"+hex;return"#"+hex}),SPFTESTIMONIAL.funcs.parse_color=function(color){var value=color.replace(/\s+/g,""),trans=-1!==value.indexOf("rgba")?parseFloat(100*value.replace(/^.*,(.+)\)/,"$1")):100,rgba;return{value:value,transparent:trans,rgba:trans<100}},$.fn.spftestimonial_color=function(){return this.each((function(){var $input=$(this),picker_color=SPFTESTIMONIAL.funcs.parse_color($input.val()),palette_color=!window.spftestimonial_vars.color_palette.length||window.spftestimonial_vars.color_palette,$container;$input.hasClass("wp-color-picker")&&$input.closest(".wp-picker-container").after($input).remove(),$input.wpColorPicker({palettes:palette_color,change:function(event,ui){var ui_color_value=ui.color.toString();$container.removeClass("spftestimonial--transparent-active"),$container.find(".spftestimonial--transparent-offset").css("background-color",ui_color_value),$input.val(ui_color_value).trigger("change")},create:function(){$container=$input.closest(".wp-picker-container");var a8cIris=$input.data("a8cIris"),$transparent_wrap=$('<div class="spftestimonial--transparent-wrap"><div class="spftestimonial--transparent-slider"></div><div class="spftestimonial--transparent-offset"></div><div class="spftestimonial--transparent-text"></div><div class="spftestimonial--transparent-button">transparent <i class="fa fa-toggle-off"></i></div></div>').appendTo($container.find(".wp-picker-holder")),$transparent_slider=$transparent_wrap.find(".spftestimonial--transparent-slider"),$transparent_text=$transparent_wrap.find(".spftestimonial--transparent-text"),$transparent_offset=$transparent_wrap.find(".spftestimonial--transparent-offset"),$transparent_button=$transparent_wrap.find(".spftestimonial--transparent-button");"transparent"===$input.val()&&$container.addClass("spftestimonial--transparent-active"),$transparent_button.on("click",(function(){"transparent"!==$input.val()?($input.val("transparent").trigger("change").removeClass("iris-error"),$container.addClass("spftestimonial--transparent-active")):($input.val(a8cIris._color.toString()).trigger("change"),$container.removeClass("spftestimonial--transparent-active"))})),$transparent_slider.slider({value:picker_color.transparent,step:1,min:0,max:100,slide:function(event,ui){var slide_value=parseFloat(ui.value/100);a8cIris._color._alpha=slide_value,$input.wpColorPicker("color",a8cIris._color.toString()),$transparent_text.text(1===slide_value||0===slide_value?"":slide_value)},create:function(){var slide_value=parseFloat(picker_color.transparent/100),text_value=slide_value<1?slide_value:"";$transparent_text.text(text_value),$transparent_offset.css("background-color",picker_color.value),$container.on("click",".wp-picker-clear",(function(){a8cIris._color._alpha=1,$transparent_text.text(""),$transparent_slider.slider("option","value",100),$container.removeClass("spftestimonial--transparent-active"),$input.trigger("change")})),$container.on("click",".wp-picker-default",(function(){var default_color=SPFTESTIMONIAL.funcs.parse_color($input.data("default-color")),default_value=parseFloat(default_color.transparent/100),default_text=default_value<1?default_value:"";a8cIris._color._alpha=default_value,$transparent_text.text(default_text),$transparent_slider.slider("option","value",default_color.transparent)}))}})}})}))},$.fn.spftestimonial_chosen=function(){return this.each((function(){var $this=$(this),$inited=$this.parent().find(".chosen-container"),is_sortable=$this.hasClass("spftestimonial-chosen-sortable")||!1,is_ajax=$this.hasClass("spftestimonial-chosen-ajax")||!1,is_multiple=$this.attr("multiple")||!1,set_width=is_multiple?"100%":"auto",set_options=$.extend({allow_single_deselect:!0,disable_search_threshold:10,width:set_width,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));if($inited.length&&$inited.remove(),is_ajax){var set_ajax_options=$.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:window.spftestimonial_vars.i18n.typing_text,searching_text:window.spftestimonial_vars.i18n.searching_text,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));$this.SPFTESTIMONIALAjaxChosen(set_ajax_options)}else $this.chosen(set_options);if(is_multiple){var $hidden_select=$this.parent().find(".spftestimonial-hidden-select"),$hidden_value=$hidden_select.val()||[];$this.on("change",(function(obj,result){result&&result.selected?$hidden_select.append('<option value="'+result.selected+'" selected="selected">'+result.selected+"</option>"):result&&result.deselected&&$hidden_select.find('option[value="'+result.deselected+'"]').remove(),0===$hidden_select.children().length&&void 0!==window.wp.customize&&window.wp.customize.control($hidden_select.data("customize-setting-link")).setting.set(""),$hidden_select.trigger("change")})),$this.SPFTESTIMONIALChosenOrder($hidden_value,!0)}if(is_sortable){var $chosen_container,$chosen_choices=$this.parent().find(".chosen-container").find(".chosen-choices");$chosen_choices.bind("mousedown",(function(event){$(event.target).is("span")&&event.stopPropagation()})),$chosen_choices.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,ui){ui.placeholder.width(ui.item.innerWidth()),ui.placeholder.height(ui.item.innerHeight())},update:function(e,ui){var select_options="",chosen_object=$this.data("chosen"),$prev_select=$this.parent().find(".spftestimonial-hidden-select");$chosen_choices.find(".search-choice-close").each((function(){var option_array_index=$(this).data("option-array-index");$.each(chosen_object.results_data,(function(index,data){data.array_index===option_array_index&&(select_options+='<option value="'+data.value+'" selected>'+data.value+"</option>")}))})),$prev_select.children().remove(),$prev_select.append(select_options),$prev_select.trigger("change")}})}}))},$.fn.spftestimonial_checkbox=function(){return this.each((function(){var $this=$(this),$input=$this.find(".spftestimonial--input"),$checkbox=$this.find(".spftestimonial--checkbox");$checkbox.on("click",(function(){$input.val(Number($checkbox.prop("checked"))).trigger("change")}))}))},$.fn.spftestimonial_siblings=function(){return this.each((function(){var $this=$(this),$siblings=$this.find(".spftestimonial--sibling"),multiple=$this.data("multiple")||!1;$siblings.on("click",(function(){var $sibling=$(this);multiple?$sibling.hasClass("spftestimonial--active")?($sibling.removeClass("spftestimonial--active"),$sibling.find("input").prop("checked",!1).trigger("change")):($sibling.addClass("spftestimonial--active"),$sibling.find("input").prop("checked",!0).trigger("change")):($this.find("input").prop("checked",!1),$sibling.find("input").prop("checked",!0).trigger("change"),$sibling.addClass("spftestimonial--active").siblings().removeClass("spftestimonial--active"))}))}))},$.fn.spftestimonial_help=function(){return this.each((function(){var $this=$(this),$tooltip,offset_left;$this.on({mouseenter:function(){$tooltip=$('<div class="spftestimonial-tooltip"></div>').html($this.find(".spftestimonial-help-text").html()).appendTo("body"),offset_left=SPFTESTIMONIAL.vars.is_rtl?$this.offset().left-$tooltip.outerWidth():$this.offset().left+24,$tooltip.css({top:$this.offset().top-($tooltip.outerHeight()/2-14),left:offset_left})},mouseleave:function(){void 0!==$tooltip&&$tooltip.remove()}})}))},$.fn.spftestimonial_customizer_refresh=function(){return this.each((function(){var $this=$(this),$complex=$this.closest(".spftestimonial-customize-complex");if($complex.length){var $input=$complex.find(":input"),$unique=$complex.data("unique-id"),$option=$complex.data("option-id"),obj=$input.serializeObjectSPFTESTIMONIAL(),data=$.isEmptyObject(obj)?"":obj[$unique][$option],control=window.wp.customize.control($unique+"["+$option+"]");control.setting._value=null,control.setting.set(data)}else $this.find(":input").first().trigger("change");$(document).trigger("spftestimonial-customizer-refresh",$this)}))},$.fn.spftestimonial_customizer_listen=function(options){var settings=$.extend({closest:!1},options);return this.each((function(){if(void 0!==window.wp.customize){var $this=settings.closest?$(this).closest(".spftestimonial-customize-complex"):$(this),$input=$this.find(":input"),unique_id=$this.data("unique-id"),option_id=$this.data("option-id");void 0!==unique_id&&$input.on("change keyup",SPFTESTIMONIAL.helper.debounce((function(){var obj=$this.find(":input").serializeObjectSPFTESTIMONIAL(),val=!$.isEmptyObject(obj)&&obj[unique_id]&&obj[unique_id][option_id]?obj[unique_id][option_id]:"";window.wp.customize.control(unique_id+"["+option_id+"]").setting.set(val)}),250))}}))},$(document).on("expanded",".control-section",(function(){var $this=$(this);if($this.hasClass("open")&&!$this.data("inited")){var $fields=$this.find(".spftestimonial-customize-field"),$complex=$this.find(".spftestimonial-customize-complex");$fields.length&&($this.spftestimonial_dependency(),$fields.spftestimonial_reload_script({dependency:!1}),$complex.spftestimonial_customizer_listen()),$this.data("inited",!0)}})),SPFTESTIMONIAL.vars.$window.on("resize spftestimonial.resize",SPFTESTIMONIAL.helper.debounce((function(event){var window_width;(navigator.userAgent.indexOf("AppleWebKit/")>-1?SPFTESTIMONIAL.vars.$window.width():window.innerWidth)<=782&&!SPFTESTIMONIAL.vars.onloaded&&($(".spftestimonial-section").spftestimonial_reload_script(),SPFTESTIMONIAL.vars.onloaded=!0)}),200)).trigger("spftestimonial.resize"),$.fn.spftestimonial_widgets=function(){this.length&&($(document).on("widget-added widget-updated",(function(event,$widget){$widget.find(".spftestimonial-fields").spftestimonial_reload_script()})),$(".widgets-sortables, .control-section-sidebar").on("sortstop",(function(event,ui){ui.item.find(".spftestimonial-fields").spftestimonial_reload_script_retry()})),$(document).on("click",".widget-top",(function(event){$(this).parent().find(".spftestimonial-fields").spftestimonial_reload_script()})))},$.fn.spftestimonial_reload_script_retry=function(){return this.each((function(){var $this=$(this);$this.data("inited")&&$this.children(".spftestimonial-field-wp_editor").spftestimonial_field_wp_editor()}))},$.fn.spftestimonial_reload_script=function(options){var settings=$.extend({dependency:!0},options);return this.each((function(){var $this=$(this);$this.data("inited")||($this.children(".spftestimonial-field-accordion:not(.tfree_pro_only)").spftestimonial_field_accordion(),$this.children(".spftestimonial-field-backup").spftestimonial_field_backup(),$this.children(".spftestimonial-field-background").spftestimonial_field_background(),$this.children(".spftestimonial-field-code_editor").spftestimonial_field_code_editor(),$this.children(".spftestimonial-field-date").spftestimonial_field_date(),$this.children(".spftestimonial-field-fieldset").spftestimonial_field_fieldset(),$this.children(".spftestimonial-field-gallery").spftestimonial_field_gallery(),$this.children(".spftestimonial-field-group").spftestimonial_field_group(),$this.children(".spftestimonial-field-media").spftestimonial_field_media(),$this.children(".spftestimonial-field-map").spftestimonial_field_map(),$this.children(".spftestimonial-field-repeater").spftestimonial_field_repeater(),$this.children(".spftestimonial-field-slider").spftestimonial_field_slider(),$this.children(".spftestimonial-field-sortable").spftestimonial_field_sortable(),$this.children(".spftestimonial-field-sorter").spftestimonial_field_sorter(),$this.children(".spftestimonial-field-spinner").spftestimonial_field_spinner(),$this.children(".spftestimonial-field-switcher").spftestimonial_field_switcher(),$this.children(".spftestimonial-field-tabbed").spftestimonial_field_tabbed(),$this.children(".spftestimonial-field-typography").spftestimonial_field_typography(),$this.children(".spftestimonial-field-upload").spftestimonial_field_upload(),$this.children(".spftestimonial-field-wp_editor").spftestimonial_field_wp_editor(),$this.children(".spftestimonial-field-border").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-background").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color_group").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-link_color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-typography").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-select").find(".spftestimonial-chosen").spftestimonial_chosen(),$this.children(".spftestimonial-field-checkbox").find(".spftestimonial-checkbox").spftestimonial_checkbox(),$this.children(".spftestimonial-field-button_set").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-image_select").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-palette").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field").find(".spftestimonial-help").spftestimonial_help(),settings.dependency&&$this.spftestimonial_dependency(),$this.data("inited",!0),$(document).trigger("spftestimonial-reload-script",$this))}))},$(document).ready((function(){$(".spftestimonial-save").spftestimonial_save(),$(".spftestimonial-options").spftestimonial_options(),$(".spftestimonial-sticky-header").spftestimonial_sticky(),$(".spftestimonial-nav-options").spftestimonial_nav_options(),$(".spftestimonial-nav-metabox").spftestimonial_nav_metabox(),$(".spftestimonial-page-templates").spftestimonial_page_templates(),$(".spftestimonial-post-formats").spftestimonial_post_formats(),$(".spftestimonial-search").spftestimonial_search(),$(".spftestimonial-confirm").spftestimonial_confirm(),$(".spftestimonial-expand-all").spftestimonial_expand_all(),$(".spftestimonial-onload").spftestimonial_reload_script(),$(".widget").spftestimonial_widgets()})),$("select option:contains((Pro))").attr("disabled",!0).css("opacity","0.8"),$("label:contains((Pro))").css({"pointer-events":"none"}).css("opacity","0.8"),$(".tpro-sc-code").click((function(e){e.preventDefault(),spftestimonial_copyToClipboard($(this)),spftestimonial_SelectText($(this)),$(this).focus().select(),$(".sptpro-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sptpro-after-copy-text").animate({opacity:0},200),jQuery(".sptpro-after-copy-text").animate({bottom:0},0)}),2e3)})),$(".sp_tfree_input").click((function(e){var copyText;e.preventDefault(),$(this).select(),document.execCommand("copy"),$(".sptpro-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sptpro-after-copy-text").animate({opacity:0},200),jQuery(".sptpro-after-copy-text").animate({bottom:0},0)}),2e3)}))}(jQuery,window,document);
|
admin/views/framework/classes/metabox.class.php
CHANGED
@@ -214,7 +214,6 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Metabox' ) ) {
|
|
214 |
?>
|
215 |
</h2>
|
216 |
<p><?php _e( 'Copy and paste this shortcode into your posts or pages:', 'testimonial-free' ); ?></p>
|
217 |
-
<img class="trpo-copy-btn" src="<?php echo SP_TFREE_URL; ?>admin/assets/images/copy.svg">
|
218 |
<div class="tpro-sc-code selectable" >[sp_testimonial
|
219 |
<?php
|
220 |
echo 'id="' . $post->ID . '"';
|
@@ -230,7 +229,6 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Metabox' ) ) {
|
|
230 |
?>
|
231 |
</h2>
|
232 |
<p><?php _e( 'Paste the PHP code into your template file:', 'testimonial-free' ); ?></p>
|
233 |
-
<img class="trpo-copy-btn" src="<?php echo SP_TFREE_URL; ?>admin/assets/images/copy.svg">
|
234 |
<div class="tpro-sc-code selectable">
|
235 |
<?php echo do_shortcode('[sp_testimonial id="<?php echo $post->ID; ?>"]');
|
236 |
?></div>
|
214 |
?>
|
215 |
</h2>
|
216 |
<p><?php _e( 'Copy and paste this shortcode into your posts or pages:', 'testimonial-free' ); ?></p>
|
|
|
217 |
<div class="tpro-sc-code selectable" >[sp_testimonial
|
218 |
<?php
|
219 |
echo 'id="' . $post->ID . '"';
|
229 |
?>
|
230 |
</h2>
|
231 |
<p><?php _e( 'Paste the PHP code into your template file:', 'testimonial-free' ); ?></p>
|
|
|
232 |
<div class="tpro-sc-code selectable">
|
233 |
<?php echo do_shortcode('[sp_testimonial id="<?php echo $post->ID; ?>"]');
|
234 |
?></div>
|
admin/views/framework/classes/setup.class.php
CHANGED
@@ -291,16 +291,16 @@ if ( ! class_exists( 'SPFTESTIMONIAL' ) ) {
|
|
291 |
wp_enqueue_style( 'tfree-font-awesome', SP_TFREE_URL . 'public/assets/css/font-awesome.min.css', array(), SP_TFREE_VERSION );
|
292 |
|
293 |
// framework core styles
|
294 |
-
wp_enqueue_style( 'spftestimonial', self::include_plugin_url( 'assets/css/spftestimonial' . $min . '.css' ), array(),
|
295 |
|
296 |
// rtl styles
|
297 |
if ( is_rtl() ) {
|
298 |
-
wp_enqueue_style( 'spftestimonial-rtl', self::include_plugin_url( 'assets/css/spftestimonial-rtl' . $min . '.css' ), array(),
|
299 |
}
|
300 |
|
301 |
// framework core scripts
|
302 |
-
wp_enqueue_script( 'spftestimonial-plugins', self::include_plugin_url( 'assets/js/spftestimonial-plugins' . $min . '.js' ), array(),
|
303 |
-
wp_enqueue_script( 'spftestimonial', self::include_plugin_url( 'assets/js/spftestimonial' . $min . '.js' ), array( 'spftestimonial-plugins' ),
|
304 |
|
305 |
wp_localize_script(
|
306 |
'spftestimonial',
|
291 |
wp_enqueue_style( 'tfree-font-awesome', SP_TFREE_URL . 'public/assets/css/font-awesome.min.css', array(), SP_TFREE_VERSION );
|
292 |
|
293 |
// framework core styles
|
294 |
+
wp_enqueue_style( 'spftestimonial', self::include_plugin_url( 'assets/css/spftestimonial' . $min . '.css' ), array(), SP_TFREE_VERSION, 'all' );
|
295 |
|
296 |
// rtl styles
|
297 |
if ( is_rtl() ) {
|
298 |
+
wp_enqueue_style( 'spftestimonial-rtl', self::include_plugin_url( 'assets/css/spftestimonial-rtl' . $min . '.css' ), array(), SP_TFREE_VERSION, 'all' );
|
299 |
}
|
300 |
|
301 |
// framework core scripts
|
302 |
+
wp_enqueue_script( 'spftestimonial-plugins', self::include_plugin_url( 'assets/js/spftestimonial-plugins' . $min . '.js' ), array(), SP_TFREE_VERSION, true );
|
303 |
+
wp_enqueue_script( 'spftestimonial', self::include_plugin_url( 'assets/js/spftestimonial' . $min . '.js' ), array( 'spftestimonial-plugins' ), SP_TFREE_VERSION, true );
|
304 |
|
305 |
wp_localize_script(
|
306 |
'spftestimonial',
|
admin/views/framework/fields/shortcode/shortcode.php
CHANGED
@@ -19,7 +19,7 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Field_shortcode' ) ) {
|
|
19 |
public function render() {
|
20 |
|
21 |
$post_id = get_the_ID();
|
22 |
-
echo ( ! empty( $post_id ) ) ? '<div class="spftestimonial-scode-wrap-side"><
|
23 |
}
|
24 |
|
25 |
}
|
19 |
public function render() {
|
20 |
|
21 |
$post_id = get_the_ID();
|
22 |
+
echo ( ! empty( $post_id ) ) ? '<div class="spftestimonial-scode-wrap-side"><p>To display your show or view, add the following shortcode into your post, custom post types, page, widget or block editor. If adding the show to your theme files, additionally include the surrounding PHP code, <a href="" target="_blank">see how</a>.</p><span class="spftestimonial-shortcode-selectable">[sp_testimonial_form id="' . $post_id . '"]</span></div>' : '';
|
23 |
}
|
24 |
|
25 |
}
|
admin/views/notices/review.php
CHANGED
@@ -53,7 +53,7 @@ class Testimonial_Review {
|
|
53 |
?>
|
54 |
<div id="sp-tfree-review-notice" class="sp-tfree-review-notice">
|
55 |
<div class="sp-tfree-plugin-icon">
|
56 |
-
<img src="<?php echo SP_TFREE_URL . 'admin/assets/images/Testimonial-
|
57 |
</div>
|
58 |
<div class="sp-tfree-notice-text">
|
59 |
<h3>Enjoying <strong>Testimonial</strong>?</h3>
|
53 |
?>
|
54 |
<div id="sp-tfree-review-notice" class="sp-tfree-review-notice">
|
55 |
<div class="sp-tfree-plugin-icon">
|
56 |
+
<img src="<?php echo SP_TFREE_URL . 'admin/assets/images/Testimonial-icon1.svg'; ?>" alt="Testimonial">
|
57 |
</div>
|
58 |
<div class="sp-tfree-notice-text">
|
59 |
<h3>Enjoying <strong>Testimonial</strong>?</h3>
|
admin/views/testimonial-form.php
CHANGED
@@ -16,7 +16,7 @@ $prefix_form_code_opts = 'sp_tfree_form_upper_section';
|
|
16 |
SPFTESTIMONIAL::createMetabox(
|
17 |
$prefix_form_code_opts,
|
18 |
array(
|
19 |
-
'title' => __( '
|
20 |
'post_type' => 'spt_testimonial_form',
|
21 |
'context' => 'normal',
|
22 |
'enqueue_webfont' => false,
|
@@ -108,7 +108,7 @@ $prefix_form_code_opts = 'sp_tpro_form_code_options';
|
|
108 |
SPFTESTIMONIAL::createMetabox(
|
109 |
$prefix_form_code_opts,
|
110 |
array(
|
111 |
-
'title' => __( '
|
112 |
'post_type' => 'spt_testimonial_form',
|
113 |
'context' => 'side',
|
114 |
'enqueue_webfont' => false,
|
16 |
SPFTESTIMONIAL::createMetabox(
|
17 |
$prefix_form_code_opts,
|
18 |
array(
|
19 |
+
'title' => __( 'How To Use', 'testimonial-free' ),
|
20 |
'post_type' => 'spt_testimonial_form',
|
21 |
'context' => 'normal',
|
22 |
'enqueue_webfont' => false,
|
108 |
SPFTESTIMONIAL::createMetabox(
|
109 |
$prefix_form_code_opts,
|
110 |
array(
|
111 |
+
'title' => __( 'How To Use', 'testimonial-pro' ),
|
112 |
'post_type' => 'spt_testimonial_form',
|
113 |
'context' => 'side',
|
114 |
'enqueue_webfont' => false,
|
admin/views/testimonial-metaboxs.php
CHANGED
@@ -1043,7 +1043,7 @@ SPFTESTIMONIAL::createSection(
|
|
1043 |
array(
|
1044 |
'type' => 'notice',
|
1045 |
'style' => 'normal',
|
1046 |
-
'content' => __( 'To unlock
|
1047 |
),
|
1048 |
array(
|
1049 |
'id' => 'section_title_font_load',
|
1043 |
array(
|
1044 |
'type' => 'notice',
|
1045 |
'style' => 'normal',
|
1046 |
+
'content' => __( 'To unlock These Typography (940+ Google Fonts) options, <a target="_blank" href="https://shapedplugin.com/plugin/testimonial-pro/?ref=1"><b>Upgrade to Pro!</b></a> P.S. Note: The color fields work in the lite version.', 'testimonial-free' ),
|
1047 |
),
|
1048 |
array(
|
1049 |
'id' => 'section_title_font_load',
|
includes/functions.php
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: shapedplugin, rubel_miah, khalilu, shamimmiashuhagh
|
|
3 |
Donate link: http://shapedplugin.com/donate
|
4 |
Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.7
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -193,6 +193,13 @@ Thank you!
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
= 2.2.11 - Mar 17, 2021 =
|
197 |
* Fix: Reviewer name formatting issue.
|
198 |
|
3 |
Donate link: http://shapedplugin.com/donate
|
4 |
Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.7.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
193 |
|
194 |
== Changelog ==
|
195 |
|
196 |
+
= 2.2.12 - Apr 17, 2021 =
|
197 |
+
* Fix: Review image issue.
|
198 |
+
* Fix: Backend shortcode select responsive issue.
|
199 |
+
* Fix: Help tooltip text align issue.
|
200 |
+
* Improved: Shortcode area redesigned.
|
201 |
+
* Improved: Dynamic version added for admin script & style.
|
202 |
+
|
203 |
= 2.2.11 - Mar 17, 2021 =
|
204 |
* Fix: Reviewer name formatting issue.
|
205 |
|
testimonial-free.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Testimonial
|
13 |
* Plugin URI: https://shapedplugin.com/plugin/testimonial-pro/?ref=1
|
14 |
* Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
|
15 |
-
* Version: 2.2.
|
16 |
* Author: ShapedPlugin
|
17 |
* Author URI: https://shapedplugin.com/
|
18 |
* Text Domain: testimonial-free
|
@@ -57,7 +57,7 @@ if ( ! class_exists( 'SP_Testimonial_FREE' ) ) {
|
|
57 |
*
|
58 |
* @var string
|
59 |
*/
|
60 |
-
public $version = '2.2.
|
61 |
|
62 |
/**
|
63 |
* @var SP_TFREE_Testimonial $shortcode
|
12 |
* Plugin Name: Testimonial
|
13 |
* Plugin URI: https://shapedplugin.com/plugin/testimonial-pro/?ref=1
|
14 |
* Description: Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
|
15 |
+
* Version: 2.2.12
|
16 |
* Author: ShapedPlugin
|
17 |
* Author URI: https://shapedplugin.com/
|
18 |
* Text Domain: testimonial-free
|
57 |
*
|
58 |
* @var string
|
59 |
*/
|
60 |
+
public $version = '2.2.12';
|
61 |
|
62 |
/**
|
63 |
* @var SP_TFREE_Testimonial $shortcode
|