Fruitful Shortcodes - Version 1.5

Version Description

Release Date 15.01.2016

  • Improvements
    • Recent post shortcode compatible with other themes
    • Recent post sort by date
Download this release

Release Info

Developer fruitfulcode
Plugin Icon 128x128 Fruitful Shortcodes
Version 1.5
Comparing to
See all releases

Code changes from version 1.4.1 to 1.5

ff-shortcodes.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Fruitful Shortcodes
4
  Plugin URI: http://plugins.fruitfulcode.com/shortcodes/
5
  Description: Add additional content shortcodes: horizontal tabs, vertical tabs, accordion, promo text, columns, infobox, separator, alert, progress bar, button, recent post, recent news
6
- Version: 1.4.1
7
  Author: fruitfulcode
8
  Author URI: http://fruitfulcode.com
9
  License: GPL2
3
  Plugin Name: Fruitful Shortcodes
4
  Plugin URI: http://plugins.fruitfulcode.com/shortcodes/
5
  Description: Add additional content shortcodes: horizontal tabs, vertical tabs, accordion, promo text, columns, infobox, separator, alert, progress bar, button, recent post, recent news
6
+ Version: 1.5
7
  Author: fruitfulcode
8
  Author URI: http://fruitfulcode.com
9
  License: GPL2
includes/admin/tinymce/ffs.tinymce.js CHANGED
@@ -242,7 +242,7 @@
242
  title : 'Add progress bar',
243
  image : url+'/progressbar.png',
244
  onclick : function() {
245
- ed.selection.setContent('[fruitful_pbar stripped="false"][fruitful_bar type="progress-bar-success" width="60%" stripped="false" active="false"][/fruitful_bar][/fruitful_pbar]');
246
  }
247
  });
248
  },
@@ -285,7 +285,7 @@
285
  title : 'Add recent posts',
286
  image : url+'/recent_news.png',
287
  onclick : function() {
288
- ed.selection.setContent('[fruitful_recent_posts posts="4" cat="" excerpt="0"]');
289
  }
290
  });
291
  },
@@ -306,7 +306,7 @@
306
  title : 'Add recent posts slider',
307
  image : url+'/recent_news_slider.png',
308
  onclick : function() {
309
- ed.selection.setContent('[fruitful_recent_posts_slider posts="4" cat="" excerpt="0"]');
310
  }
311
  });
312
  },
242
  title : 'Add progress bar',
243
  image : url+'/progressbar.png',
244
  onclick : function() {
245
+ ed.selection.setContent('[fruitful_pbar][fruitful_bar type="progress-bar-success" width="60%" stripped="false" active="false"][/fruitful_bar][/fruitful_pbar]');
246
  }
247
  });
248
  },
285
  title : 'Add recent posts',
286
  image : url+'/recent_news.png',
287
  onclick : function() {
288
+ ed.selection.setContent('[fruitful_recent_posts posts="4" cat=""]');
289
  }
290
  });
291
  },
306
  title : 'Add recent posts slider',
307
  image : url+'/recent_news_slider.png',
308
  onclick : function() {
309
+ ed.selection.setContent('[fruitful_recent_posts_slider posts="4" cat=""]');
310
  }
311
  });
312
  },
includes/shortcodes/css/ffs_styles.css CHANGED
@@ -5,4 +5,4 @@
5
  *//*!
6
  * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=7a0177954ea91b8438df)
7
  * Config saved to config.json and https://gist.github.com/7a0177954ea91b8438df
8
- *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */}.ffs-bs html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.ffs-bs body{margin:0}.ffs-bs article,.ffs-bs aside,.ffs-bs details,.ffs-bs figcaption,.ffs-bs figure,.ffs-bs footer,.ffs-bs header,.ffs-bs hgroup,.ffs-bs main,.ffs-bs menu,.ffs-bs nav,.ffs-bs section,.ffs-bs summary{display:block}.ffs-bs audio,.ffs-bs canvas,.ffs-bs progress,.ffs-bs video{display:inline-block;vertical-align:baseline}.ffs-bs audio:not([controls]){display:none;height:0}.ffs-bs [hidden],.ffs-bs template{display:none}.ffs-bs a{background-color:transparent}.ffs-bs a:active,.ffs-bs a:hover{outline:0}.ffs-bs abbr[title]{border-bottom:1px dotted}.ffs-bs b,.ffs-bs strong{font-weight:bold}.ffs-bs dfn{font-style:italic}.ffs-bs mark{background:#ff0;color:#000}.ffs-bs small{font-size:80%}.ffs-bs sub,.ffs-bs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.ffs-bs sup{top:-0.5em}.ffs-bs sub{bottom:-0.25em}.ffs-bs img{border:0}.ffs-bs svg:not(:root){overflow:hidden}.ffs-bs figure{margin:1em 40px}.ffs-bs hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}.ffs-bs pre{overflow:auto}.ffs-bs code,.ffs-bs kbd,.ffs-bs pre,.ffs-bs samp{font-family:monospace,monospace;font-size:1em}.ffs-bs button,.ffs-bs input,.ffs-bs optgroup,.ffs-bs select,.ffs-bs textarea{color:inherit;font:inherit;margin:0}.ffs-bs button{overflow:visible}.ffs-bs button,.ffs-bs select{text-transform:none}.ffs-bs button,.ffs-bs html input[type="button"],.ffs-bs input[type="reset"],.ffs-bs input[type="submit"]{-webkit-appearance:button;cursor:pointer}.ffs-bs button[disabled],.ffs-bs html input[disabled]{cursor:default}.ffs-bs button::-moz-focus-inner,.ffs-bs input::-moz-focus-inner{border:0;padding:0}.ffs-bs input{line-height:normal}.ffs-bs input[type="checkbox"],.ffs-bs input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}.ffs-bs input[type="number"]::-webkit-inner-spin-button,.ffs-bs input[type="number"]::-webkit-outer-spin-button{height:auto}.ffs-bs input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.ffs-bs input[type="search"]::-webkit-search-cancel-button,.ffs-bs input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.ffs-bs fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}.ffs-bs legend{border:0;padding:0}.ffs-bs textarea{overflow:auto}.ffs-bs optgroup{font-weight:bold}.ffs-bs table{border-collapse:collapse;border-spacing:0}.ffs-bs td,.ffs-bs th{padding:0}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.ffs-bs .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ffs-bs .glyphicon-asterisk:before{content:"\2a"}.ffs-bs .glyphicon-plus:before{content:"\2b"}.ffs-bs .glyphicon-euro:before,.ffs-bs .glyphicon-eur:before{content:"\20ac"}.ffs-bs .glyphicon-minus:before{content:"\2212"}.ffs-bs .glyphicon-cloud:before{content:"\2601"}.ffs-bs .glyphicon-envelope:before{content:"\2709"}.ffs-bs .glyphicon-pencil:before{content:"\270f"}.ffs-bs .glyphicon-glass:before{content:"\e001"}.ffs-bs .glyphicon-music:before{content:"\e002"}.ffs-bs .glyphicon-search:before{content:"\e003"}.ffs-bs .glyphicon-heart:before{content:"\e005"}.ffs-bs .glyphicon-star:before{content:"\e006"}.ffs-bs .glyphicon-star-empty:before{content:"\e007"}.ffs-bs .glyphicon-user:before{content:"\e008"}.ffs-bs .glyphicon-film:before{content:"\e009"}.ffs-bs .glyphicon-th-large:before{content:"\e010"}.ffs-bs .glyphicon-th:before{content:"\e011"}.ffs-bs .glyphicon-th-list:before{content:"\e012"}.ffs-bs .glyphicon-ok:before{content:"\e013"}.ffs-bs .glyphicon-remove:before{content:"\e014"}.ffs-bs .glyphicon-zoom-in:before{content:"\e015"}.ffs-bs .glyphicon-zoom-out:before{content:"\e016"}.ffs-bs .glyphicon-off:before{content:"\e017"}.ffs-bs .glyphicon-signal:before{content:"\e018"}.ffs-bs .glyphicon-cog:before{content:"\e019"}.ffs-bs .glyphicon-trash:before{content:"\e020"}.ffs-bs .glyphicon-home:before{content:"\e021"}.ffs-bs .glyphicon-file:before{content:"\e022"}.ffs-bs .glyphicon-time:before{content:"\e023"}.ffs-bs .glyphicon-road:before{content:"\e024"}.ffs-bs .glyphicon-download-alt:before{content:"\e025"}.ffs-bs .glyphicon-download:before{content:"\e026"}.ffs-bs .glyphicon-upload:before{content:"\e027"}.ffs-bs .glyphicon-inbox:before{content:"\e028"}.ffs-bs .glyphicon-play-circle:before{content:"\e029"}.ffs-bs .glyphicon-repeat:before{content:"\e030"}.ffs-bs .glyphicon-refresh:before{content:"\e031"}.ffs-bs .glyphicon-list-alt:before{content:"\e032"}.ffs-bs .glyphicon-lock:before{content:"\e033"}.ffs-bs .glyphicon-flag:before{content:"\e034"}.ffs-bs .glyphicon-headphones:before{content:"\e035"}.ffs-bs .glyphicon-volume-off:before{content:"\e036"}.ffs-bs .glyphicon-volume-down:before{content:"\e037"}.ffs-bs .glyphicon-volume-up:before{content:"\e038"}.ffs-bs .glyphicon-qrcode:before{content:"\e039"}.ffs-bs .glyphicon-barcode:before{content:"\e040"}.ffs-bs .glyphicon-tag:before{content:"\e041"}.ffs-bs .glyphicon-tags:before{content:"\e042"}.ffs-bs .glyphicon-book:before{content:"\e043"}.ffs-bs .glyphicon-bookmark:before{content:"\e044"}.ffs-bs .glyphicon-print:before{content:"\e045"}.ffs-bs .glyphicon-camera:before{content:"\e046"}.ffs-bs .glyphicon-font:before{content:"\e047"}.ffs-bs .glyphicon-bold:before{content:"\e048"}.ffs-bs .glyphicon-italic:before{content:"\e049"}.ffs-bs .glyphicon-text-height:before{content:"\e050"}.ffs-bs .glyphicon-text-width:before{content:"\e051"}.ffs-bs .glyphicon-align-left:before{content:"\e052"}.ffs-bs .glyphicon-align-center:before{content:"\e053"}.ffs-bs .glyphicon-align-right:before{content:"\e054"}.ffs-bs .glyphicon-align-justify:before{content:"\e055"}.ffs-bs .glyphicon-list:before{content:"\e056"}.ffs-bs .glyphicon-indent-left:before{content:"\e057"}.ffs-bs .glyphicon-indent-right:before{content:"\e058"}.ffs-bs .glyphicon-facetime-video:before{content:"\e059"}.ffs-bs .glyphicon-picture:before{content:"\e060"}.ffs-bs .glyphicon-map-marker:before{content:"\e062"}.ffs-bs .glyphicon-adjust:before{content:"\e063"}.ffs-bs .glyphicon-tint:before{content:"\e064"}.ffs-bs .glyphicon-edit:before{content:"\e065"}.ffs-bs .glyphicon-share:before{content:"\e066"}.ffs-bs .glyphicon-check:before{content:"\e067"}.ffs-bs .glyphicon-move:before{content:"\e068"}.ffs-bs .glyphicon-step-backward:before{content:"\e069"}.ffs-bs .glyphicon-fast-backward:before{content:"\e070"}.ffs-bs .glyphicon-backward:before{content:"\e071"}.ffs-bs .glyphicon-play:before{content:"\e072"}.ffs-bs .glyphicon-pause:before{content:"\e073"}.ffs-bs .glyphicon-stop:before{content:"\e074"}.ffs-bs .glyphicon-forward:before{content:"\e075"}.ffs-bs .glyphicon-fast-forward:before{content:"\e076"}.ffs-bs .glyphicon-step-forward:before{content:"\e077"}.ffs-bs .glyphicon-eject:before{content:"\e078"}.ffs-bs .glyphicon-chevron-left:before{content:"\e079"}.ffs-bs .glyphicon-chevron-right:before{content:"\e080"}.ffs-bs .glyphicon-plus-sign:before{content:"\e081"}.ffs-bs .glyphicon-minus-sign:before{content:"\e082"}.ffs-bs .glyphicon-remove-sign:before{content:"\e083"}.ffs-bs .glyphicon-ok-sign:before{content:"\e084"}.ffs-bs .glyphicon-question-sign:before{content:"\e085"}.ffs-bs .glyphicon-info-sign:before{content:"\e086"}.ffs-bs .glyphicon-screenshot:before{content:"\e087"}.ffs-bs .glyphicon-remove-circle:before{content:"\e088"}.ffs-bs .glyphicon-ok-circle:before{content:"\e089"}.ffs-bs .glyphicon-ban-circle:before{content:"\e090"}.ffs-bs .glyphicon-arrow-left:before{content:"\e091"}.ffs-bs .glyphicon-arrow-right:before{content:"\e092"}.ffs-bs .glyphicon-arrow-up:before{content:"\e093"}.ffs-bs .glyphicon-arrow-down:before{content:"\e094"}.ffs-bs .glyphicon-share-alt:before{content:"\e095"}.ffs-bs .glyphicon-resize-full:before{content:"\e096"}.ffs-bs .glyphicon-resize-small:before{content:"\e097"}.ffs-bs .glyphicon-exclamation-sign:before{content:"\e101"}.ffs-bs .glyphicon-gift:before{content:"\e102"}.ffs-bs .glyphicon-leaf:before{content:"\e103"}.ffs-bs .glyphicon-fire:before{content:"\e104"}.ffs-bs .glyphicon-eye-open:before{content:"\e105"}.ffs-bs .glyphicon-eye-close:before{content:"\e106"}.ffs-bs .glyphicon-warning-sign:before{content:"\e107"}.ffs-bs .glyphicon-plane:before{content:"\e108"}.ffs-bs .glyphicon-calendar:before{content:"\e109"}.ffs-bs .glyphicon-random:before{content:"\e110"}.ffs-bs .glyphicon-comment:before{content:"\e111"}.ffs-bs .glyphicon-magnet:before{content:"\e112"}.ffs-bs .glyphicon-chevron-up:before{content:"\e113"}.ffs-bs .glyphicon-chevron-down:before{content:"\e114"}.ffs-bs .glyphicon-retweet:before{content:"\e115"}.ffs-bs .glyphicon-shopping-cart:before{content:"\e116"}.ffs-bs .glyphicon-folder-close:before{content:"\e117"}.ffs-bs .glyphicon-folder-open:before{content:"\e118"}.ffs-bs .glyphicon-resize-vertical:before{content:"\e119"}.ffs-bs .glyphicon-resize-horizontal:before{content:"\e120"}.ffs-bs .glyphicon-hdd:before{content:"\e121"}.ffs-bs .glyphicon-bullhorn:before{content:"\e122"}.ffs-bs .glyphicon-bell:before{content:"\e123"}.ffs-bs .glyphicon-certificate:before{content:"\e124"}.ffs-bs .glyphicon-thumbs-up:before{content:"\e125"}.ffs-bs .glyphicon-thumbs-down:before{content:"\e126"}.ffs-bs .glyphicon-hand-right:before{content:"\e127"}.ffs-bs .glyphicon-hand-left:before{content:"\e128"}.ffs-bs .glyphicon-hand-up:before{content:"\e129"}.ffs-bs .glyphicon-hand-down:before{content:"\e130"}.ffs-bs .glyphicon-circle-arrow-right:before{content:"\e131"}.ffs-bs .glyphicon-circle-arrow-left:before{content:"\e132"}.ffs-bs .glyphicon-circle-arrow-up:before{content:"\e133"}.ffs-bs .glyphicon-circle-arrow-down:before{content:"\e134"}.ffs-bs .glyphicon-globe:before{content:"\e135"}.ffs-bs .glyphicon-wrench:before{content:"\e136"}.ffs-bs .glyphicon-tasks:before{content:"\e137"}.ffs-bs .glyphicon-filter:before{content:"\e138"}.ffs-bs .glyphicon-briefcase:before{content:"\e139"}.ffs-bs .glyphicon-fullscreen:before{content:"\e140"}.ffs-bs .glyphicon-dashboard:before{content:"\e141"}.ffs-bs .glyphicon-paperclip:before{content:"\e142"}.ffs-bs .glyphicon-heart-empty:before{content:"\e143"}.ffs-bs .glyphicon-link:before{content:"\e144"}.ffs-bs .glyphicon-phone:before{content:"\e145"}.ffs-bs .glyphicon-pushpin:before{content:"\e146"}.ffs-bs .glyphicon-usd:before{content:"\e148"}.ffs-bs .glyphicon-gbp:before{content:"\e149"}.ffs-bs .glyphicon-sort:before{content:"\e150"}.ffs-bs .glyphicon-sort-by-alphabet:before{content:"\e151"}.ffs-bs .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.ffs-bs .glyphicon-sort-by-order:before{content:"\e153"}.ffs-bs .glyphicon-sort-by-order-alt:before{content:"\e154"}.ffs-bs .glyphicon-sort-by-attributes:before{content:"\e155"}.ffs-bs .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.ffs-bs .glyphicon-unchecked:before{content:"\e157"}.ffs-bs .glyphicon-expand:before{content:"\e158"}.ffs-bs .glyphicon-collapse-down:before{content:"\e159"}.ffs-bs .glyphicon-collapse-up:before{content:"\e160"}.ffs-bs .glyphicon-log-in:before{content:"\e161"}.ffs-bs .glyphicon-flash:before{content:"\e162"}.ffs-bs .glyphicon-log-out:before{content:"\e163"}.ffs-bs .glyphicon-new-window:before{content:"\e164"}.ffs-bs .glyphicon-record:before{content:"\e165"}.ffs-bs .glyphicon-save:before{content:"\e166"}.ffs-bs .glyphicon-open:before{content:"\e167"}.ffs-bs .glyphicon-saved:before{content:"\e168"}.ffs-bs .glyphicon-import:before{content:"\e169"}.ffs-bs .glyphicon-export:before{content:"\e170"}.ffs-bs .glyphicon-send:before{content:"\e171"}.ffs-bs .glyphicon-floppy-disk:before{content:"\e172"}.ffs-bs .glyphicon-floppy-saved:before{content:"\e173"}.ffs-bs .glyphicon-floppy-remove:before{content:"\e174"}.ffs-bs .glyphicon-floppy-save:before{content:"\e175"}.ffs-bs .glyphicon-floppy-open:before{content:"\e176"}.ffs-bs .glyphicon-credit-card:before{content:"\e177"}.ffs-bs .glyphicon-transfer:before{content:"\e178"}.ffs-bs .glyphicon-cutlery:before{content:"\e179"}.ffs-bs .glyphicon-header:before{content:"\e180"}.ffs-bs .glyphicon-compressed:before{content:"\e181"}.ffs-bs .glyphicon-earphone:before{content:"\e182"}.ffs-bs .glyphicon-phone-alt:before{content:"\e183"}.ffs-bs .glyphicon-tower:before{content:"\e184"}.ffs-bs .glyphicon-stats:before{content:"\e185"}.ffs-bs .glyphicon-sd-video:before{content:"\e186"}.ffs-bs .glyphicon-hd-video:before{content:"\e187"}.ffs-bs .glyphicon-subtitles:before{content:"\e188"}.ffs-bs .glyphicon-sound-stereo:before{content:"\e189"}.ffs-bs .glyphicon-sound-dolby:before{content:"\e190"}.ffs-bs .glyphicon-sound-5-1:before{content:"\e191"}.ffs-bs .glyphicon-sound-6-1:before{content:"\e192"}.ffs-bs .glyphicon-sound-7-1:before{content:"\e193"}.ffs-bs .glyphicon-copyright-mark:before{content:"\e194"}.ffs-bs .glyphicon-registration-mark:before{content:"\e195"}.ffs-bs .glyphicon-cloud-download:before{content:"\e197"}.ffs-bs .glyphicon-cloud-upload:before{content:"\e198"}.ffs-bs .glyphicon-tree-conifer:before{content:"\e199"}.ffs-bs .glyphicon-tree-deciduous:before{content:"\e200"}.ffs-bs *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ffs-bs *:before,.ffs-bs *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ffs-bs html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ffs-bs body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}.ffs-bs input,.ffs-bs button,.ffs-bs select,.ffs-bs textarea{font-family:inherit;font-size:inherit;line-height:inherit}.ffs-bs a{color:#337ab7;text-decoration:none}.ffs-bs a:hover,.ffs-bs a:focus{color:#23527c;text-decoration:underline}.ffs-bs a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ffs-bs figure{margin:0}.ffs-bs img{vertical-align:middle}.ffs-bs .img-responsive,.ffs-bs .thumbnail>img,.ffs-bs .thumbnail a>img{display:block;max-width:100%;height:auto}.ffs-bs .img-rounded{border-radius:6px}.ffs-bs .img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.ffs-bs .img-circle{border-radius:50%}.ffs-bs hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.ffs-bs .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.ffs-bs .sr-only-focusable:active,.ffs-bs .sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.ffs-bs .btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ffs-bs .btn:focus,.ffs-bs .btn:active:focus,.ffs-bs .btn.active:focus,.ffs-bs .btn.focus,.ffs-bs .btn:active.focus,.ffs-bs .btn.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ffs-bs .btn:hover,.ffs-bs .btn:focus,.ffs-bs .btn.focus{color:#333;text-decoration:none}.ffs-bs .btn:active,.ffs-bs .btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.ffs-bs .btn.disabled,.ffs-bs .btn[disabled],.ffs-bs fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.ffs-bs .btn-default{color:#333;background-color:#fff;border-color:#ccc}.ffs-bs .btn-default:hover,.ffs-bs .btn-default:focus,.ffs-bs .btn-default.focus,.ffs-bs .btn-default:active,.ffs-bs .btn-default.active,.ffs-bs .open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.ffs-bs .btn-default:active,.ffs-bs .btn-default.active,.ffs-bs .open>.dropdown-toggle.btn-default{background-image:none}.ffs-bs .btn-default.disabled,.ffs-bs .btn-default[disabled],.ffs-bs fieldset[disabled] .btn-default,.ffs-bs .btn-default.disabled:hover,.ffs-bs .btn-default[disabled]:hover,.ffs-bs fieldset[disabled] .btn-default:hover,.ffs-bs .btn-default.disabled:focus,.ffs-bs .btn-default[disabled]:focus,.ffs-bs fieldset[disabled] .btn-default:focus,.ffs-bs .btn-default.disabled.focus,.ffs-bs .btn-default[disabled].focus,.ffs-bs fieldset[disabled] .btn-default.focus,.ffs-bs .btn-default.disabled:active,.ffs-bs .btn-default[disabled]:active,.ffs-bs fieldset[disabled] .btn-default:active,.ffs-bs .btn-default.disabled.active,.ffs-bs .btn-default[disabled].active,.ffs-bs fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.ffs-bs .btn-default .badge{color:#fff;background-color:#333}.ffs-bs .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.ffs-bs .btn-primary:hover,.ffs-bs .btn-primary:focus,.ffs-bs .btn-primary.focus,.ffs-bs .btn-primary:active,.ffs-bs .btn-primary.active,.ffs-bs .open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.ffs-bs .btn-primary:active,.ffs-bs .btn-primary.active,.ffs-bs .open>.dropdown-toggle.btn-primary{background-image:none}.ffs-bs .btn-primary.disabled,.ffs-bs .btn-primary[disabled],.ffs-bs fieldset[disabled] .btn-primary,.ffs-bs .btn-primary.disabled:hover,.ffs-bs .btn-primary[disabled]:hover,.ffs-bs fieldset[disabled] .btn-primary:hover,.ffs-bs .btn-primary.disabled:focus,.ffs-bs .btn-primary[disabled]:focus,.ffs-bs fieldset[disabled] .btn-primary:focus,.ffs-bs .btn-primary.disabled.focus,.ffs-bs .btn-primary[disabled].focus,.ffs-bs fieldset[disabled] .btn-primary.focus,.ffs-bs .btn-primary.disabled:active,.ffs-bs .btn-primary[disabled]:active,.ffs-bs fieldset[disabled] .btn-primary:active,.ffs-bs .btn-primary.disabled.active,.ffs-bs .btn-primary[disabled].active,.ffs-bs fieldset[disabled] .btn-primary.active{background-color:#337ab7;border-color:#2e6da4}.ffs-bs .btn-primary .badge{color:#337ab7;background-color:#fff}.ffs-bs .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.ffs-bs .btn-success:hover,.ffs-bs .btn-success:focus,.ffs-bs .btn-success.focus,.ffs-bs .btn-success:active,.ffs-bs .btn-success.active,.ffs-bs .open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.ffs-bs .btn-success:active,.ffs-bs .btn-success.active,.ffs-bs .open>.dropdown-toggle.btn-success{background-image:none}.ffs-bs .btn-success.disabled,.ffs-bs .btn-success[disabled],.ffs-bs fieldset[disabled] .btn-success,.ffs-bs .btn-success.disabled:hover,.ffs-bs .btn-success[disabled]:hover,.ffs-bs fieldset[disabled] .btn-success:hover,.ffs-bs .btn-success.disabled:focus,.ffs-bs .btn-success[disabled]:focus,.ffs-bs fieldset[disabled] .btn-success:focus,.ffs-bs .btn-success.disabled.focus,.ffs-bs .btn-success[disabled].focus,.ffs-bs fieldset[disabled] .btn-success.focus,.ffs-bs .btn-success.disabled:active,.ffs-bs .btn-success[disabled]:active,.ffs-bs fieldset[disabled] .btn-success:active,.ffs-bs .btn-success.disabled.active,.ffs-bs .btn-success[disabled].active,.ffs-bs fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.ffs-bs .btn-success .badge{color:#5cb85c;background-color:#fff}.ffs-bs .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.ffs-bs .btn-info:hover,.ffs-bs .btn-info:focus,.ffs-bs .btn-info.focus,.ffs-bs .btn-info:active,.ffs-bs .btn-info.active,.ffs-bs .open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.ffs-bs .btn-info:active,.ffs-bs .btn-info.active,.ffs-bs .open>.dropdown-toggle.btn-info{background-image:none}.ffs-bs .btn-info.disabled,.ffs-bs .btn-info[disabled],.ffs-bs fieldset[disabled] .btn-info,.ffs-bs .btn-info.disabled:hover,.ffs-bs .btn-info[disabled]:hover,.ffs-bs fieldset[disabled] .btn-info:hover,.ffs-bs .btn-info.disabled:focus,.ffs-bs .btn-info[disabled]:focus,.ffs-bs fieldset[disabled] .btn-info:focus,.ffs-bs .btn-info.disabled.focus,.ffs-bs .btn-info[disabled].focus,.ffs-bs fieldset[disabled] .btn-info.focus,.ffs-bs .btn-info.disabled:active,.ffs-bs .btn-info[disabled]:active,.ffs-bs fieldset[disabled] .btn-info:active,.ffs-bs .btn-info.disabled.active,.ffs-bs .btn-info[disabled].active,.ffs-bs fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.ffs-bs .btn-info .badge{color:#5bc0de;background-color:#fff}.ffs-bs .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.ffs-bs .btn-warning:hover,.ffs-bs .btn-warning:focus,.ffs-bs .btn-warning.focus,.ffs-bs .btn-warning:active,.ffs-bs .btn-warning.active,.ffs-bs .open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.ffs-bs .btn-warning:active,.ffs-bs .btn-warning.active,.ffs-bs .open>.dropdown-toggle.btn-warning{background-image:none}.ffs-bs .btn-warning.disabled,.ffs-bs .btn-warning[disabled],.ffs-bs fieldset[disabled] .btn-warning,.ffs-bs .btn-warning.disabled:hover,.ffs-bs .btn-warning[disabled]:hover,.ffs-bs fieldset[disabled] .btn-warning:hover,.ffs-bs .btn-warning.disabled:focus,.ffs-bs .btn-warning[disabled]:focus,.ffs-bs fieldset[disabled] .btn-warning:focus,.ffs-bs .btn-warning.disabled.focus,.ffs-bs .btn-warning[disabled].focus,.ffs-bs fieldset[disabled] .btn-warning.focus,.ffs-bs .btn-warning.disabled:active,.ffs-bs .btn-warning[disabled]:active,.ffs-bs fieldset[disabled] .btn-warning:active,.ffs-bs .btn-warning.disabled.active,.ffs-bs .btn-warning[disabled].active,.ffs-bs fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.ffs-bs .btn-warning .badge{color:#f0ad4e;background-color:#fff}.ffs-bs .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.ffs-bs .btn-danger:hover,.ffs-bs .btn-danger:focus,.ffs-bs .btn-danger.focus,.ffs-bs .btn-danger:active,.ffs-bs .btn-danger.active,.ffs-bs .open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.ffs-bs .btn-danger:active,.ffs-bs .btn-danger.active,.ffs-bs .open>.dropdown-toggle.btn-danger{background-image:none}.ffs-bs .btn-danger.disabled,.ffs-bs .btn-danger[disabled],.ffs-bs fieldset[disabled] .btn-danger,.ffs-bs .btn-danger.disabled:hover,.ffs-bs .btn-danger[disabled]:hover,.ffs-bs fieldset[disabled] .btn-danger:hover,.ffs-bs .btn-danger.disabled:focus,.ffs-bs .btn-danger[disabled]:focus,.ffs-bs fieldset[disabled] .btn-danger:focus,.ffs-bs .btn-danger.disabled.focus,.ffs-bs .btn-danger[disabled].focus,.ffs-bs fieldset[disabled] .btn-danger.focus,.ffs-bs .btn-danger.disabled:active,.ffs-bs .btn-danger[disabled]:active,.ffs-bs fieldset[disabled] .btn-danger:active,.ffs-bs .btn-danger.disabled.active,.ffs-bs .btn-danger[disabled].active,.ffs-bs fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.ffs-bs .btn-danger .badge{color:#d9534f;background-color:#fff}.ffs-bs .btn-link{color:#337ab7;font-weight:normal;border-radius:0}.ffs-bs .btn-link,.ffs-bs .btn-link:active,.ffs-bs .btn-link.active,.ffs-bs .btn-link[disabled],.ffs-bs fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.ffs-bs .btn-link,.ffs-bs .btn-link:hover,.ffs-bs .btn-link:focus,.ffs-bs .btn-link:active{border-color:transparent}.ffs-bs .btn-link:hover,.ffs-bs .btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.ffs-bs .btn-link[disabled]:hover,.ffs-bs fieldset[disabled] .btn-link:hover,.ffs-bs .btn-link[disabled]:focus,.ffs-bs fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.ffs-bs .btn-lg,.ffs-bs .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.ffs-bs .btn-sm,.ffs-bs .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.ffs-bs .btn-xs,.ffs-bs .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.ffs-bs .btn-block{display:block;width:100%}.ffs-bs .btn-block+.btn-block{margin-top:5px}.ffs-bs input[type="submit"].btn-block,.ffs-bs input[type="reset"].btn-block,.ffs-bs input[type="button"].btn-block{width:100%}.ffs-bs .btn-group,.ffs-bs .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.ffs-bs .btn-group>.btn,.ffs-bs .btn-group-vertical>.btn{position:relative;float:left}.ffs-bs .btn-group>.btn:hover,.ffs-bs .btn-group-vertical>.btn:hover,.ffs-bs .btn-group>.btn:focus,.ffs-bs .btn-group-vertical>.btn:focus,.ffs-bs .btn-group>.btn:active,.ffs-bs .btn-group-vertical>.btn:active,.ffs-bs .btn-group>.btn.active,.ffs-bs .btn-group-vertical>.btn.active{z-index:2}.ffs-bs .btn-group .btn+.btn,.ffs-bs .btn-group .btn+.btn-group,.ffs-bs .btn-group .btn-group+.btn,.ffs-bs .btn-group .btn-group+.btn-group{margin-left:-1px}.ffs-bs .btn-toolbar{margin-left:-5px}.ffs-bs .btn-toolbar .btn-group,.ffs-bs .btn-toolbar .input-group{float:left}.ffs-bs .btn-toolbar>.btn,.ffs-bs .btn-toolbar>.btn-group,.ffs-bs .btn-toolbar>.input-group{margin-left:5px}.ffs-bs .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.ffs-bs .btn-group>.btn:first-child{margin-left:0}.ffs-bs .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.ffs-bs .btn-group>.btn:last-child:not(:first-child),.ffs-bs .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.ffs-bs .btn-group>.btn-group{float:left}.ffs-bs .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.ffs-bs .btn-group>.btn-group:first-child>.btn:last-child,.ffs-bs .btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.ffs-bs .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ffs-bs .btn-group .dropdown-toggle:active,.ffs-bs .btn-group.open .dropdown-toggle{outline:0}.ffs-bs .btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.ffs-bs .btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.ffs-bs .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.ffs-bs .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.ffs-bs .btn .caret{margin-left:0}.ffs-bs .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.ffs-bs .dropup .btn-lg .caret{border-width:0 5px 5px}.ffs-bs .btn-group-vertical>.btn,.ffs-bs .btn-group-vertical>.btn-group,.ffs-bs .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.ffs-bs .btn-group-vertical>.btn-group>.btn{float:none}.ffs-bs .btn-group-vertical>.btn+.btn,.ffs-bs .btn-group-vertical>.btn+.btn-group,.ffs-bs .btn-group-vertical>.btn-group+.btn,.ffs-bs .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.ffs-bs .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.ffs-bs .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.ffs-bs .btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.ffs-bs .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.ffs-bs .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.ffs-bs .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.ffs-bs .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.ffs-bs .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.ffs-bs .btn-group-justified>.btn,.ffs-bs .btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.ffs-bs .btn-group-justified>.btn-group .btn{width:100%}.ffs-bs .btn-group-justified>.btn-group .dropdown-menu{left:auto}.ffs-bs [data-toggle="buttons"]>.btn input[type="radio"],.ffs-bs [data-toggle="buttons"]>.btn-group>.btn input[type="radio"],.ffs-bs [data-toggle="buttons"]>.btn input[type="checkbox"],.ffs-bs [data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.ffs-bs .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.ffs-bs .thumbnail>img,.ffs-bs .thumbnail a>img{margin-left:auto;margin-right:auto}.ffs-bs a.thumbnail:hover,.ffs-bs a.thumbnail:focus,.ffs-bs a.thumbnail.active{border-color:#337ab7}.ffs-bs .thumbnail .caption{padding:9px;color:#333}.ffs-bs .alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.ffs-bs .alert h4{margin-top:0;color:inherit}.ffs-bs .alert .alert-link{font-weight:bold}.ffs-bs .alert>p,.ffs-bs .alert>ul{margin-bottom:0}.ffs-bs .alert>p+p{margin-top:5px}.ffs-bs .alert-dismissable,.ffs-bs .alert-dismissible{padding-right:35px}.ffs-bs .alert-dismissable .close,.ffs-bs .alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.ffs-bs .alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.ffs-bs .alert-success hr{border-top-color:#c9e2b3}.ffs-bs .alert-success .alert-link{color:#2b542c}.ffs-bs .alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.ffs-bs .alert-info hr{border-top-color:#a6e1ec}.ffs-bs .alert-info .alert-link{color:#245269}.ffs-bs .alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.ffs-bs .alert-warning hr{border-top-color:#f7e1b5}.ffs-bs .alert-warning .alert-link{color:#66512c}.ffs-bs .alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.ffs-bs .alert-danger hr{border-top-color:#e4b9c0}.ffs-bs .alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.ffs-bs .progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.ffs-bs .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.ffs-bs .progress-striped .progress-bar,.ffs-bs .progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.ffs-bs .progress.active .progress-bar,.ffs-bs .progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.ffs-bs .progress-bar-success{background-color:#5cb85c}.ffs-bs .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .progress-bar-info{background-color:#5bc0de}.ffs-bs .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .progress-bar-warning{background-color:#f0ad4e}.ffs-bs .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .progress-bar-danger{background-color:#d9534f}.ffs-bs .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:normal;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.ffs-bs .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.ffs-bs .tooltip.top{margin-top:-3px;padding:5px 0}.ffs-bs .tooltip.right{margin-left:3px;padding:0 5px}.ffs-bs .tooltip.bottom{margin-top:3px;padding:5px 0}.ffs-bs .tooltip.left{margin-left:-3px;padding:0 5px}.ffs-bs .tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.ffs-bs .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.ffs-bs .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.ffs-bs .tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.ffs-bs .tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.ffs-bs .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.ffs-bs .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.ffs-bs .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.ffs-bs .tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.ffs-bs .tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.ffs-bs .clearfix:before,.ffs-bs .clearfix:after,.ffs-bs .btn-toolbar:before,.ffs-bs .btn-toolbar:after,.ffs-bs .btn-group-vertical>.btn-group:before,.ffs-bs .btn-group-vertical>.btn-group:after{content:" ";display:table}.ffs-bs .clearfix:after,.ffs-bs .btn-toolbar:after,.ffs-bs .btn-group-vertical>.btn-group:after{clear:both}.ffs-bs .center-block{display:block;margin-left:auto;margin-right:auto}.ffs-bs .pull-right{float:right !important}.ffs-bs .pull-left{float:left !important}.ffs-bs .hide{display:none !important}.ffs-bs .show{display:block !important}.ffs-bs .invisible{visibility:hidden}.ffs-bs .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.ffs-bs .hidden{display:none !important;visibility:hidden !important}.ffs-bs .affix{position:fixed}}.row,.clearfix{zoom:1}.clearfix:before,.clearfix:after,.row:before,.row:after{content:'';display:block;overflow:hidden;visibility:hidden;width:0;height:0}.ffs-two-one{width:48%}.ffs-three-one{width:30.66%}.ffs-three-two{width:65.33%}.ffs-four-one{width:22%}.ffs-four-two{width:48%}.ffs-four-three{width:74%}.ffs-five-one{width:16.8%}.ffs-five-two{width:37.6%}.ffs-five-three{width:58.4%}.ffs-five-four{width:67.2%}.ffs-six-one{width:13.33%}.ffs-six-two{width:30.66%}.ffs-six-three{width:47.99%}.ffs-six-four{width:65.33%}.ffs-six-five{width:82.67%}.ffs-two-one,.ffs-three-one,.ffs-three-two,.ffs-four-one,.ffs-four-two,.ffs-four-three,.ffs-five-one,.ffs-five-two,.ffs-five-three,.ffs-five-four,.ffs-six-one,.ffs-six-two,.ffs-six-three,.ffs-six-four,.ffs-six-five{float:left;margin-right:4%;margin-bottom:4%;position:relative}.last{clear:right;margin-right:0 !important}.entry-content .entry-thumbnail {width: 25%;margin: 1em 0 1em 0;}@media only screen and (max-width:768px){.entry-content .entry-thumbnail {width: 100%;}.blog_post .post-content, .eleven.columns .blog_post .post-content, .search .blog_post .post-content {width: auto;}.flexslider .blog_post > a{display: none;}.ffs-two-one,.ffs-three-one,.ffs-three-two,.ffs-four-one,.ffs-four-two,.ffs-four-three,.ffs-five-one,.ffs-five-two,.ffs-five-three,.ffs-five-four,.ffs-six-one,.ffs-six-two,.ffs-six-three,.ffs-six-four,.ffs-six-five{margin-right:0;width:100% !important}}.info-box-row{display:block;float:left;margin:30px 0 25px;width:100%}.info-box-row .ffs-info-box .infobox-title{margin:0 0 5px;font-weight:300}.info-box-row .ffs-info-box .infobox-text{padding:0}.info-box-row .ffs-info-box img.icon{display:block;min-height:51px;margin:0 auto 15px;min-width:51px}.info-box-row .ffs-info-box .ffs-icon-container{text-align:center;margin:0 auto;display:block;width:auto}.info-box-row .ffs-info-box .ffs-icon-container i{text-align:center;font-size:26px;padding:10px;margin:5px 0}.ffs-info-box.center .ffs-icon-box,.ffs-info-box.center .ffs-content-box{width:100%}.ffs-info-box.left .ffs-icon-box,.ffs-info-box.right .ffs-icon-box{width:20%;display:block}.ffs-info-box.left .ffs-content-box,.ffs-info-box.right .ffs-content-box{width:80%;display:block}.ffs-info-box.left .ffs-icon-box,.ffs-info-box.right .ffs-content-box{float:left}.ffs-info-box.right .ffs-icon-box,.ffs-info-box.left .ffs-content-box{float:right}.btn .ffs-icon-container{font-size:inherit}.btn .ffs-icon-container.left{padding:0 8px 0 0;text-align:left}.btn .ffs-icon-container.right{padding:0 0 0 8px;text-align:right}.fruitful_description_box{position:relative;z-index:0}.fruitful_description{float:left;width:100%;min-height:50px;margin:10px 0 20px 0;position:relative;display:block;background:#fff}.fruitful_description.shadow-type-4:before,.fruitful_description.shadow-type-5:before{position:absolute;width:80%;height:45%;left:10%;border-radius:50%;z-index:-1;top:0;content:"";-moz-box-shadow:0 -2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 -2px 16px rgba(0,0,0,0.4);box-shadow:0 -2px 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-4:after,.fruitful_description.shadow-type-5:after{position:absolute;width:80%;height:45%;left:10%;border-radius:50%;z-index:-1;bottom:0;content:"";-moz-box-shadow:0 2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 2px 16px rgba(0,0,0,0.4);box-shadow:0 2px 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-1:before,.fruitful_description.shadow-type-1:after{display:none}.fruitful_description.shadow-type-1 .top_line{z-index:2;display:block;width:100%;height:15px;overflow:hidden;position:absolute;top:0;left:0}.fruitful_description.shadow-type-1 .top_line:before,.fruitful_description.shadow-type-1 .top_line:after{z-index:1;position:absolute;content:"";top:-20px;left:10px;width:50%;bottom:31px;max-width:300px;background:#777;-webkit-box-shadow:0 13px 16px #777;-moz-box-shadow:0 13px 16px #777;box-shadow:0 13px 16px #777;-webkit-transform:rotate(-1.5deg);-moz-transform:rotate(-1.5deg);-o-transform:rotate(-1.5deg);-ms-transform:rotate(-1.5deg);transform:rotate(-1.5deg)}.fruitful_description.shadow-type-1 .top_line:after{-webkit-transform:rotate(1.5deg);-moz-transform:rotate(1.5deg);-o-transform:rotate(1.5deg);-ms-transform:rotate(1.5deg);transform:rotate(1.5deg);right:10px;left:auto}.fruitful_description.shadow-type-1 .bottom_line{z-index:2;display:block;width:100%;height:15px;overflow:hidden;position:absolute;bottom:0;left:0}.fruitful_description.shadow-type-1 .bottom_line:before,.fruitful_description.shadow-type-1 .bottom_line:after{z-index:1;position:absolute;content:"";top:31px;left:10px;width:50%;bottom:-20px;max-width:300px;background:#777;-webkit-box-shadow:0 -13px 16px #777;box-shadow:0 -13px 16px #777;-webkit-transform:rotate(1.5deg);-moz-transform:rotate(1.5deg);-o-transform:rotate(1.5deg);-ms-transform:rotate(1.5deg);transform:rotate(1.5deg)}.fruitful_description.shadow-type-1 .bottom_line:after{-webkit-transform:rotate(-1.5deg);-moz-transform:rotate(-1.5deg);-o-transform:rotate(-1.5deg);-ms-transform:rotate(-1.5deg);transform:rotate(-1.5deg);right:10px;left:auto}.fruitful_description.shadow-type-2:before,.fruitful_description.shadow-type-2:after{display:none}.fruitful_description.shadow-type-2 .top_line{position:absolute;width:100%;height:10px;overflow:hidden}.fruitful_description.shadow-type-2 .top_line:before{position:absolute;width:50%;height:45%;overflow:hidden;left:25%;border-radius:50%;z-index:1;top:-38%;content:"";-moz-box-shadow:0 -2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 -2px 16px rgba(0,0,0,0.4);box-shadow:0 0 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-2 .bottom_line{position:absolute;width:100%;height:10px;overflow:hidden;bottom:0}.fruitful_description.shadow-type-2 .bottom_line:before{position:absolute;width:50%;height:45%;overflow:hidden;left:25%;border-radius:50%;z-index:1;top:100%;content:"";-moz-box-shadow:0 -2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 -2px 16px rgba(0,0,0,0.4);box-shadow:0 0 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-3:before,.fruitful_description.shadow-type-3:after{display:none}.fruitful_description.shadow-type-3 .top_line:before,.fruitful_description.shadow-type-3 .top_line:after,.fruitful_description.shadow-type-5 .top_line:before,.fruitful_description.shadow-type-5 .top_line:after{z-index:-1;position:absolute;content:"";top:15px;left:10px;width:50%;bottom:80%;max-width:300px;min-height:4px;background:#777;-webkit-box-shadow:0 -13px 16px #777;box-shadow:0 -13px 16px #777;-webkit-transform:rotate(3deg);-moz-transform:rotate(3deg);-o-transform:rotate(3deg);-ms-transform:rotate(3deg);transform:rotate(3deg)}.fruitful_description.shadow-type-3 .top_line:after,.fruitful_description.shadow-type-5 .top_line:after{-webkit-transform:rotate(-3deg);-moz-transform:rotate(-3deg);-o-transform:rotate(-3deg);-ms-transform:rotate(-3deg);transform:rotate(-3deg);right:10px;left:auto}.fruitful_description.shadow-type-3 .bottom_line:before,.fruitful_description.shadow-type-3 .bottom_line:after,.fruitful_description.shadow-type-5 .bottom_line:before,.fruitful_description.shadow-type-5 .bottom_line:after{z-index:-1;position:absolute;content:"";bottom:15px;left:10px;width:50%;top:75%;max-width:300px;min-height:4px;background:#777;-webkit-box-shadow:0 13px 16px #777;-moz-box-shadow:0 13px 16px #777;box-shadow:0 13px 16px #777;-webkit-transform:rotate(-3deg);-moz-transform:rotate(-3deg);-o-transform:rotate(-3deg);-ms-transform:rotate(-3deg);transform:rotate(-3deg)}.fruitful_description.shadow-type-3 .bottom_line:after,.fruitful_description.shadow-type-5 .bottom_line:after{-webkit-transform:rotate(3deg);-moz-transform:rotate(3deg);-o-transform:rotate(3deg);-ms-transform:rotate(3deg);transform:rotate(3deg);right:10px;left:auto}.fruitful_description .text{margin:0 auto;width:90%;padding:10px 0}.ffs-sep{display:block;margin:0 0 30px}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0 !important;border:0;float:right}.ffs-bs .btn{-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;border:0 none}.resp-arrow{margin-top:8px}@media only screen and (max-width:480px){.fruitful_description .text{font-size:20px !important}}
5
  *//*!
6
  * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=7a0177954ea91b8438df)
7
  * Config saved to config.json and https://gist.github.com/7a0177954ea91b8438df
8
+ *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */}.ffs-bs html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.ffs-bs body{margin:0}.ffs-bs article,.ffs-bs aside,.ffs-bs details,.ffs-bs figcaption,.ffs-bs figure,.ffs-bs footer,.ffs-bs header,.ffs-bs hgroup,.ffs-bs main,.ffs-bs menu,.ffs-bs nav,.ffs-bs section,.ffs-bs summary{display:block}.ffs-bs audio,.ffs-bs canvas,.ffs-bs progress,.ffs-bs video{display:inline-block;vertical-align:baseline}.ffs-bs audio:not([controls]){display:none;height:0}.ffs-bs [hidden],.ffs-bs template{display:none}.ffs-bs a{background-color:transparent}.ffs-bs a:active,.ffs-bs a:hover{outline:0}.ffs-bs abbr[title]{border-bottom:1px dotted}.ffs-bs b,.ffs-bs strong{font-weight:bold}.ffs-bs dfn{font-style:italic}.ffs-bs mark{background:#ff0;color:#000}.ffs-bs small{font-size:80%}.ffs-bs sub,.ffs-bs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.ffs-bs sup{top:-0.5em}.ffs-bs sub{bottom:-0.25em}.ffs-bs img{border:0}.ffs-bs svg:not(:root){overflow:hidden}.ffs-bs figure{margin:1em 40px}.ffs-bs hr{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;height:0}.ffs-bs pre{overflow:auto}.ffs-bs code,.ffs-bs kbd,.ffs-bs pre,.ffs-bs samp{font-family:monospace,monospace;font-size:1em}.ffs-bs button,.ffs-bs input,.ffs-bs optgroup,.ffs-bs select,.ffs-bs textarea{color:inherit;font:inherit;margin:0}.ffs-bs button{overflow:visible}.ffs-bs button,.ffs-bs select{text-transform:none}.ffs-bs button,.ffs-bs html input[type="button"],.ffs-bs input[type="reset"],.ffs-bs input[type="submit"]{-webkit-appearance:button;cursor:pointer}.ffs-bs button[disabled],.ffs-bs html input[disabled]{cursor:default}.ffs-bs button::-moz-focus-inner,.ffs-bs input::-moz-focus-inner{border:0;padding:0}.ffs-bs input{line-height:normal}.ffs-bs input[type="checkbox"],.ffs-bs input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}.ffs-bs input[type="number"]::-webkit-inner-spin-button,.ffs-bs input[type="number"]::-webkit-outer-spin-button{height:auto}.ffs-bs input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.ffs-bs input[type="search"]::-webkit-search-cancel-button,.ffs-bs input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}.ffs-bs fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}.ffs-bs legend{border:0;padding:0}.ffs-bs textarea{overflow:auto}.ffs-bs optgroup{font-weight:bold}.ffs-bs table{border-collapse:collapse;border-spacing:0}.ffs-bs td,.ffs-bs th{padding:0}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.ffs-bs .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ffs-bs .glyphicon-asterisk:before{content:"\2a"}.ffs-bs .glyphicon-plus:before{content:"\2b"}.ffs-bs .glyphicon-euro:before,.ffs-bs .glyphicon-eur:before{content:"\20ac"}.ffs-bs .glyphicon-minus:before{content:"\2212"}.ffs-bs .glyphicon-cloud:before{content:"\2601"}.ffs-bs .glyphicon-envelope:before{content:"\2709"}.ffs-bs .glyphicon-pencil:before{content:"\270f"}.ffs-bs .glyphicon-glass:before{content:"\e001"}.ffs-bs .glyphicon-music:before{content:"\e002"}.ffs-bs .glyphicon-search:before{content:"\e003"}.ffs-bs .glyphicon-heart:before{content:"\e005"}.ffs-bs .glyphicon-star:before{content:"\e006"}.ffs-bs .glyphicon-star-empty:before{content:"\e007"}.ffs-bs .glyphicon-user:before{content:"\e008"}.ffs-bs .glyphicon-film:before{content:"\e009"}.ffs-bs .glyphicon-th-large:before{content:"\e010"}.ffs-bs .glyphicon-th:before{content:"\e011"}.ffs-bs .glyphicon-th-list:before{content:"\e012"}.ffs-bs .glyphicon-ok:before{content:"\e013"}.ffs-bs .glyphicon-remove:before{content:"\e014"}.ffs-bs .glyphicon-zoom-in:before{content:"\e015"}.ffs-bs .glyphicon-zoom-out:before{content:"\e016"}.ffs-bs .glyphicon-off:before{content:"\e017"}.ffs-bs .glyphicon-signal:before{content:"\e018"}.ffs-bs .glyphicon-cog:before{content:"\e019"}.ffs-bs .glyphicon-trash:before{content:"\e020"}.ffs-bs .glyphicon-home:before{content:"\e021"}.ffs-bs .glyphicon-file:before{content:"\e022"}.ffs-bs .glyphicon-time:before{content:"\e023"}.ffs-bs .glyphicon-road:before{content:"\e024"}.ffs-bs .glyphicon-download-alt:before{content:"\e025"}.ffs-bs .glyphicon-download:before{content:"\e026"}.ffs-bs .glyphicon-upload:before{content:"\e027"}.ffs-bs .glyphicon-inbox:before{content:"\e028"}.ffs-bs .glyphicon-play-circle:before{content:"\e029"}.ffs-bs .glyphicon-repeat:before{content:"\e030"}.ffs-bs .glyphicon-refresh:before{content:"\e031"}.ffs-bs .glyphicon-list-alt:before{content:"\e032"}.ffs-bs .glyphicon-lock:before{content:"\e033"}.ffs-bs .glyphicon-flag:before{content:"\e034"}.ffs-bs .glyphicon-headphones:before{content:"\e035"}.ffs-bs .glyphicon-volume-off:before{content:"\e036"}.ffs-bs .glyphicon-volume-down:before{content:"\e037"}.ffs-bs .glyphicon-volume-up:before{content:"\e038"}.ffs-bs .glyphicon-qrcode:before{content:"\e039"}.ffs-bs .glyphicon-barcode:before{content:"\e040"}.ffs-bs .glyphicon-tag:before{content:"\e041"}.ffs-bs .glyphicon-tags:before{content:"\e042"}.ffs-bs .glyphicon-book:before{content:"\e043"}.ffs-bs .glyphicon-bookmark:before{content:"\e044"}.ffs-bs .glyphicon-print:before{content:"\e045"}.ffs-bs .glyphicon-camera:before{content:"\e046"}.ffs-bs .glyphicon-font:before{content:"\e047"}.ffs-bs .glyphicon-bold:before{content:"\e048"}.ffs-bs .glyphicon-italic:before{content:"\e049"}.ffs-bs .glyphicon-text-height:before{content:"\e050"}.ffs-bs .glyphicon-text-width:before{content:"\e051"}.ffs-bs .glyphicon-align-left:before{content:"\e052"}.ffs-bs .glyphicon-align-center:before{content:"\e053"}.ffs-bs .glyphicon-align-right:before{content:"\e054"}.ffs-bs .glyphicon-align-justify:before{content:"\e055"}.ffs-bs .glyphicon-list:before{content:"\e056"}.ffs-bs .glyphicon-indent-left:before{content:"\e057"}.ffs-bs .glyphicon-indent-right:before{content:"\e058"}.ffs-bs .glyphicon-facetime-video:before{content:"\e059"}.ffs-bs .glyphicon-picture:before{content:"\e060"}.ffs-bs .glyphicon-map-marker:before{content:"\e062"}.ffs-bs .glyphicon-adjust:before{content:"\e063"}.ffs-bs .glyphicon-tint:before{content:"\e064"}.ffs-bs .glyphicon-edit:before{content:"\e065"}.ffs-bs .glyphicon-share:before{content:"\e066"}.ffs-bs .glyphicon-check:before{content:"\e067"}.ffs-bs .glyphicon-move:before{content:"\e068"}.ffs-bs .glyphicon-step-backward:before{content:"\e069"}.ffs-bs .glyphicon-fast-backward:before{content:"\e070"}.ffs-bs .glyphicon-backward:before{content:"\e071"}.ffs-bs .glyphicon-play:before{content:"\e072"}.ffs-bs .glyphicon-pause:before{content:"\e073"}.ffs-bs .glyphicon-stop:before{content:"\e074"}.ffs-bs .glyphicon-forward:before{content:"\e075"}.ffs-bs .glyphicon-fast-forward:before{content:"\e076"}.ffs-bs .glyphicon-step-forward:before{content:"\e077"}.ffs-bs .glyphicon-eject:before{content:"\e078"}.ffs-bs .glyphicon-chevron-left:before{content:"\e079"}.ffs-bs .glyphicon-chevron-right:before{content:"\e080"}.ffs-bs .glyphicon-plus-sign:before{content:"\e081"}.ffs-bs .glyphicon-minus-sign:before{content:"\e082"}.ffs-bs .glyphicon-remove-sign:before{content:"\e083"}.ffs-bs .glyphicon-ok-sign:before{content:"\e084"}.ffs-bs .glyphicon-question-sign:before{content:"\e085"}.ffs-bs .glyphicon-info-sign:before{content:"\e086"}.ffs-bs .glyphicon-screenshot:before{content:"\e087"}.ffs-bs .glyphicon-remove-circle:before{content:"\e088"}.ffs-bs .glyphicon-ok-circle:before{content:"\e089"}.ffs-bs .glyphicon-ban-circle:before{content:"\e090"}.ffs-bs .glyphicon-arrow-left:before{content:"\e091"}.ffs-bs .glyphicon-arrow-right:before{content:"\e092"}.ffs-bs .glyphicon-arrow-up:before{content:"\e093"}.ffs-bs .glyphicon-arrow-down:before{content:"\e094"}.ffs-bs .glyphicon-share-alt:before{content:"\e095"}.ffs-bs .glyphicon-resize-full:before{content:"\e096"}.ffs-bs .glyphicon-resize-small:before{content:"\e097"}.ffs-bs .glyphicon-exclamation-sign:before{content:"\e101"}.ffs-bs .glyphicon-gift:before{content:"\e102"}.ffs-bs .glyphicon-leaf:before{content:"\e103"}.ffs-bs .glyphicon-fire:before{content:"\e104"}.ffs-bs .glyphicon-eye-open:before{content:"\e105"}.ffs-bs .glyphicon-eye-close:before{content:"\e106"}.ffs-bs .glyphicon-warning-sign:before{content:"\e107"}.ffs-bs .glyphicon-plane:before{content:"\e108"}.ffs-bs .glyphicon-calendar:before{content:"\e109"}.ffs-bs .glyphicon-random:before{content:"\e110"}.ffs-bs .glyphicon-comment:before{content:"\e111"}.ffs-bs .glyphicon-magnet:before{content:"\e112"}.ffs-bs .glyphicon-chevron-up:before{content:"\e113"}.ffs-bs .glyphicon-chevron-down:before{content:"\e114"}.ffs-bs .glyphicon-retweet:before{content:"\e115"}.ffs-bs .glyphicon-shopping-cart:before{content:"\e116"}.ffs-bs .glyphicon-folder-close:before{content:"\e117"}.ffs-bs .glyphicon-folder-open:before{content:"\e118"}.ffs-bs .glyphicon-resize-vertical:before{content:"\e119"}.ffs-bs .glyphicon-resize-horizontal:before{content:"\e120"}.ffs-bs .glyphicon-hdd:before{content:"\e121"}.ffs-bs .glyphicon-bullhorn:before{content:"\e122"}.ffs-bs .glyphicon-bell:before{content:"\e123"}.ffs-bs .glyphicon-certificate:before{content:"\e124"}.ffs-bs .glyphicon-thumbs-up:before{content:"\e125"}.ffs-bs .glyphicon-thumbs-down:before{content:"\e126"}.ffs-bs .glyphicon-hand-right:before{content:"\e127"}.ffs-bs .glyphicon-hand-left:before{content:"\e128"}.ffs-bs .glyphicon-hand-up:before{content:"\e129"}.ffs-bs .glyphicon-hand-down:before{content:"\e130"}.ffs-bs .glyphicon-circle-arrow-right:before{content:"\e131"}.ffs-bs .glyphicon-circle-arrow-left:before{content:"\e132"}.ffs-bs .glyphicon-circle-arrow-up:before{content:"\e133"}.ffs-bs .glyphicon-circle-arrow-down:before{content:"\e134"}.ffs-bs .glyphicon-globe:before{content:"\e135"}.ffs-bs .glyphicon-wrench:before{content:"\e136"}.ffs-bs .glyphicon-tasks:before{content:"\e137"}.ffs-bs .glyphicon-filter:before{content:"\e138"}.ffs-bs .glyphicon-briefcase:before{content:"\e139"}.ffs-bs .glyphicon-fullscreen:before{content:"\e140"}.ffs-bs .glyphicon-dashboard:before{content:"\e141"}.ffs-bs .glyphicon-paperclip:before{content:"\e142"}.ffs-bs .glyphicon-heart-empty:before{content:"\e143"}.ffs-bs .glyphicon-link:before{content:"\e144"}.ffs-bs .glyphicon-phone:before{content:"\e145"}.ffs-bs .glyphicon-pushpin:before{content:"\e146"}.ffs-bs .glyphicon-usd:before{content:"\e148"}.ffs-bs .glyphicon-gbp:before{content:"\e149"}.ffs-bs .glyphicon-sort:before{content:"\e150"}.ffs-bs .glyphicon-sort-by-alphabet:before{content:"\e151"}.ffs-bs .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.ffs-bs .glyphicon-sort-by-order:before{content:"\e153"}.ffs-bs .glyphicon-sort-by-order-alt:before{content:"\e154"}.ffs-bs .glyphicon-sort-by-attributes:before{content:"\e155"}.ffs-bs .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.ffs-bs .glyphicon-unchecked:before{content:"\e157"}.ffs-bs .glyphicon-expand:before{content:"\e158"}.ffs-bs .glyphicon-collapse-down:before{content:"\e159"}.ffs-bs .glyphicon-collapse-up:before{content:"\e160"}.ffs-bs .glyphicon-log-in:before{content:"\e161"}.ffs-bs .glyphicon-flash:before{content:"\e162"}.ffs-bs .glyphicon-log-out:before{content:"\e163"}.ffs-bs .glyphicon-new-window:before{content:"\e164"}.ffs-bs .glyphicon-record:before{content:"\e165"}.ffs-bs .glyphicon-save:before{content:"\e166"}.ffs-bs .glyphicon-open:before{content:"\e167"}.ffs-bs .glyphicon-saved:before{content:"\e168"}.ffs-bs .glyphicon-import:before{content:"\e169"}.ffs-bs .glyphicon-export:before{content:"\e170"}.ffs-bs .glyphicon-send:before{content:"\e171"}.ffs-bs .glyphicon-floppy-disk:before{content:"\e172"}.ffs-bs .glyphicon-floppy-saved:before{content:"\e173"}.ffs-bs .glyphicon-floppy-remove:before{content:"\e174"}.ffs-bs .glyphicon-floppy-save:before{content:"\e175"}.ffs-bs .glyphicon-floppy-open:before{content:"\e176"}.ffs-bs .glyphicon-credit-card:before{content:"\e177"}.ffs-bs .glyphicon-transfer:before{content:"\e178"}.ffs-bs .glyphicon-cutlery:before{content:"\e179"}.ffs-bs .glyphicon-header:before{content:"\e180"}.ffs-bs .glyphicon-compressed:before{content:"\e181"}.ffs-bs .glyphicon-earphone:before{content:"\e182"}.ffs-bs .glyphicon-phone-alt:before{content:"\e183"}.ffs-bs .glyphicon-tower:before{content:"\e184"}.ffs-bs .glyphicon-stats:before{content:"\e185"}.ffs-bs .glyphicon-sd-video:before{content:"\e186"}.ffs-bs .glyphicon-hd-video:before{content:"\e187"}.ffs-bs .glyphicon-subtitles:before{content:"\e188"}.ffs-bs .glyphicon-sound-stereo:before{content:"\e189"}.ffs-bs .glyphicon-sound-dolby:before{content:"\e190"}.ffs-bs .glyphicon-sound-5-1:before{content:"\e191"}.ffs-bs .glyphicon-sound-6-1:before{content:"\e192"}.ffs-bs .glyphicon-sound-7-1:before{content:"\e193"}.ffs-bs .glyphicon-copyright-mark:before{content:"\e194"}.ffs-bs .glyphicon-registration-mark:before{content:"\e195"}.ffs-bs .glyphicon-cloud-download:before{content:"\e197"}.ffs-bs .glyphicon-cloud-upload:before{content:"\e198"}.ffs-bs .glyphicon-tree-conifer:before{content:"\e199"}.ffs-bs .glyphicon-tree-deciduous:before{content:"\e200"}.ffs-bs *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ffs-bs *:before,.ffs-bs *:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ffs-bs html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ffs-bs body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}.ffs-bs input,.ffs-bs button,.ffs-bs select,.ffs-bs textarea{font-family:inherit;font-size:inherit;line-height:inherit}.ffs-bs a{color:#337ab7;text-decoration:none}.ffs-bs a:hover,.ffs-bs a:focus{color:#23527c;text-decoration:underline}.ffs-bs a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ffs-bs figure{margin:0}.ffs-bs img{vertical-align:middle}.ffs-bs .img-responsive,.ffs-bs .thumbnail>img,.ffs-bs .thumbnail a>img{display:block;max-width:100%;height:auto}.ffs-bs .img-rounded{border-radius:6px}.ffs-bs .img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.ffs-bs .img-circle{border-radius:50%}.ffs-bs hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.ffs-bs .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.ffs-bs .sr-only-focusable:active,.ffs-bs .sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.ffs-bs .btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ffs-bs .btn:focus,.ffs-bs .btn:active:focus,.ffs-bs .btn.active:focus,.ffs-bs .btn.focus,.ffs-bs .btn:active.focus,.ffs-bs .btn.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ffs-bs .btn:hover,.ffs-bs .btn:focus,.ffs-bs .btn.focus{color:#333;text-decoration:none}.ffs-bs .btn:active,.ffs-bs .btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.ffs-bs .btn.disabled,.ffs-bs .btn[disabled],.ffs-bs fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.ffs-bs .btn-default{color:#333;background-color:#fff;border-color:#ccc}.ffs-bs .btn-default:hover,.ffs-bs .btn-default:focus,.ffs-bs .btn-default.focus,.ffs-bs .btn-default:active,.ffs-bs .btn-default.active,.ffs-bs .open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.ffs-bs .btn-default:active,.ffs-bs .btn-default.active,.ffs-bs .open>.dropdown-toggle.btn-default{background-image:none}.ffs-bs .btn-default.disabled,.ffs-bs .btn-default[disabled],.ffs-bs fieldset[disabled] .btn-default,.ffs-bs .btn-default.disabled:hover,.ffs-bs .btn-default[disabled]:hover,.ffs-bs fieldset[disabled] .btn-default:hover,.ffs-bs .btn-default.disabled:focus,.ffs-bs .btn-default[disabled]:focus,.ffs-bs fieldset[disabled] .btn-default:focus,.ffs-bs .btn-default.disabled.focus,.ffs-bs .btn-default[disabled].focus,.ffs-bs fieldset[disabled] .btn-default.focus,.ffs-bs .btn-default.disabled:active,.ffs-bs .btn-default[disabled]:active,.ffs-bs fieldset[disabled] .btn-default:active,.ffs-bs .btn-default.disabled.active,.ffs-bs .btn-default[disabled].active,.ffs-bs fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.ffs-bs .btn-default .badge{color:#fff;background-color:#333}.ffs-bs .btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.ffs-bs .btn-primary:hover,.ffs-bs .btn-primary:focus,.ffs-bs .btn-primary.focus,.ffs-bs .btn-primary:active,.ffs-bs .btn-primary.active,.ffs-bs .open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.ffs-bs .btn-primary:active,.ffs-bs .btn-primary.active,.ffs-bs .open>.dropdown-toggle.btn-primary{background-image:none}.ffs-bs .btn-primary.disabled,.ffs-bs .btn-primary[disabled],.ffs-bs fieldset[disabled] .btn-primary,.ffs-bs .btn-primary.disabled:hover,.ffs-bs .btn-primary[disabled]:hover,.ffs-bs fieldset[disabled] .btn-primary:hover,.ffs-bs .btn-primary.disabled:focus,.ffs-bs .btn-primary[disabled]:focus,.ffs-bs fieldset[disabled] .btn-primary:focus,.ffs-bs .btn-primary.disabled.focus,.ffs-bs .btn-primary[disabled].focus,.ffs-bs fieldset[disabled] .btn-primary.focus,.ffs-bs .btn-primary.disabled:active,.ffs-bs .btn-primary[disabled]:active,.ffs-bs fieldset[disabled] .btn-primary:active,.ffs-bs .btn-primary.disabled.active,.ffs-bs .btn-primary[disabled].active,.ffs-bs fieldset[disabled] .btn-primary.active{background-color:#337ab7;border-color:#2e6da4}.ffs-bs .btn-primary .badge{color:#337ab7;background-color:#fff}.ffs-bs .btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.ffs-bs .btn-success:hover,.ffs-bs .btn-success:focus,.ffs-bs .btn-success.focus,.ffs-bs .btn-success:active,.ffs-bs .btn-success.active,.ffs-bs .open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.ffs-bs .btn-success:active,.ffs-bs .btn-success.active,.ffs-bs .open>.dropdown-toggle.btn-success{background-image:none}.ffs-bs .btn-success.disabled,.ffs-bs .btn-success[disabled],.ffs-bs fieldset[disabled] .btn-success,.ffs-bs .btn-success.disabled:hover,.ffs-bs .btn-success[disabled]:hover,.ffs-bs fieldset[disabled] .btn-success:hover,.ffs-bs .btn-success.disabled:focus,.ffs-bs .btn-success[disabled]:focus,.ffs-bs fieldset[disabled] .btn-success:focus,.ffs-bs .btn-success.disabled.focus,.ffs-bs .btn-success[disabled].focus,.ffs-bs fieldset[disabled] .btn-success.focus,.ffs-bs .btn-success.disabled:active,.ffs-bs .btn-success[disabled]:active,.ffs-bs fieldset[disabled] .btn-success:active,.ffs-bs .btn-success.disabled.active,.ffs-bs .btn-success[disabled].active,.ffs-bs fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.ffs-bs .btn-success .badge{color:#5cb85c;background-color:#fff}.ffs-bs .btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.ffs-bs .btn-info:hover,.ffs-bs .btn-info:focus,.ffs-bs .btn-info.focus,.ffs-bs .btn-info:active,.ffs-bs .btn-info.active,.ffs-bs .open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.ffs-bs .btn-info:active,.ffs-bs .btn-info.active,.ffs-bs .open>.dropdown-toggle.btn-info{background-image:none}.ffs-bs .btn-info.disabled,.ffs-bs .btn-info[disabled],.ffs-bs fieldset[disabled] .btn-info,.ffs-bs .btn-info.disabled:hover,.ffs-bs .btn-info[disabled]:hover,.ffs-bs fieldset[disabled] .btn-info:hover,.ffs-bs .btn-info.disabled:focus,.ffs-bs .btn-info[disabled]:focus,.ffs-bs fieldset[disabled] .btn-info:focus,.ffs-bs .btn-info.disabled.focus,.ffs-bs .btn-info[disabled].focus,.ffs-bs fieldset[disabled] .btn-info.focus,.ffs-bs .btn-info.disabled:active,.ffs-bs .btn-info[disabled]:active,.ffs-bs fieldset[disabled] .btn-info:active,.ffs-bs .btn-info.disabled.active,.ffs-bs .btn-info[disabled].active,.ffs-bs fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.ffs-bs .btn-info .badge{color:#5bc0de;background-color:#fff}.ffs-bs .btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.ffs-bs .btn-warning:hover,.ffs-bs .btn-warning:focus,.ffs-bs .btn-warning.focus,.ffs-bs .btn-warning:active,.ffs-bs .btn-warning.active,.ffs-bs .open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.ffs-bs .btn-warning:active,.ffs-bs .btn-warning.active,.ffs-bs .open>.dropdown-toggle.btn-warning{background-image:none}.ffs-bs .btn-warning.disabled,.ffs-bs .btn-warning[disabled],.ffs-bs fieldset[disabled] .btn-warning,.ffs-bs .btn-warning.disabled:hover,.ffs-bs .btn-warning[disabled]:hover,.ffs-bs fieldset[disabled] .btn-warning:hover,.ffs-bs .btn-warning.disabled:focus,.ffs-bs .btn-warning[disabled]:focus,.ffs-bs fieldset[disabled] .btn-warning:focus,.ffs-bs .btn-warning.disabled.focus,.ffs-bs .btn-warning[disabled].focus,.ffs-bs fieldset[disabled] .btn-warning.focus,.ffs-bs .btn-warning.disabled:active,.ffs-bs .btn-warning[disabled]:active,.ffs-bs fieldset[disabled] .btn-warning:active,.ffs-bs .btn-warning.disabled.active,.ffs-bs .btn-warning[disabled].active,.ffs-bs fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.ffs-bs .btn-warning .badge{color:#f0ad4e;background-color:#fff}.ffs-bs .btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.ffs-bs .btn-danger:hover,.ffs-bs .btn-danger:focus,.ffs-bs .btn-danger.focus,.ffs-bs .btn-danger:active,.ffs-bs .btn-danger.active,.ffs-bs .open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.ffs-bs .btn-danger:active,.ffs-bs .btn-danger.active,.ffs-bs .open>.dropdown-toggle.btn-danger{background-image:none}.ffs-bs .btn-danger.disabled,.ffs-bs .btn-danger[disabled],.ffs-bs fieldset[disabled] .btn-danger,.ffs-bs .btn-danger.disabled:hover,.ffs-bs .btn-danger[disabled]:hover,.ffs-bs fieldset[disabled] .btn-danger:hover,.ffs-bs .btn-danger.disabled:focus,.ffs-bs .btn-danger[disabled]:focus,.ffs-bs fieldset[disabled] .btn-danger:focus,.ffs-bs .btn-danger.disabled.focus,.ffs-bs .btn-danger[disabled].focus,.ffs-bs fieldset[disabled] .btn-danger.focus,.ffs-bs .btn-danger.disabled:active,.ffs-bs .btn-danger[disabled]:active,.ffs-bs fieldset[disabled] .btn-danger:active,.ffs-bs .btn-danger.disabled.active,.ffs-bs .btn-danger[disabled].active,.ffs-bs fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.ffs-bs .btn-danger .badge{color:#d9534f;background-color:#fff}.ffs-bs .btn-link{color:#337ab7;font-weight:normal;border-radius:0}.ffs-bs .btn-link,.ffs-bs .btn-link:active,.ffs-bs .btn-link.active,.ffs-bs .btn-link[disabled],.ffs-bs fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.ffs-bs .btn-link,.ffs-bs .btn-link:hover,.ffs-bs .btn-link:focus,.ffs-bs .btn-link:active{border-color:transparent}.ffs-bs .btn-link:hover,.ffs-bs .btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.ffs-bs .btn-link[disabled]:hover,.ffs-bs fieldset[disabled] .btn-link:hover,.ffs-bs .btn-link[disabled]:focus,.ffs-bs fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.ffs-bs .btn-lg,.ffs-bs .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.ffs-bs .btn-sm,.ffs-bs .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.ffs-bs .btn-xs,.ffs-bs .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.ffs-bs .btn-block{display:block;width:100%}.ffs-bs .btn-block+.btn-block{margin-top:5px}.ffs-bs input[type="submit"].btn-block,.ffs-bs input[type="reset"].btn-block,.ffs-bs input[type="button"].btn-block{width:100%}.ffs-bs .btn-group,.ffs-bs .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.ffs-bs .btn-group>.btn,.ffs-bs .btn-group-vertical>.btn{position:relative;float:left}.ffs-bs .btn-group>.btn:hover,.ffs-bs .btn-group-vertical>.btn:hover,.ffs-bs .btn-group>.btn:focus,.ffs-bs .btn-group-vertical>.btn:focus,.ffs-bs .btn-group>.btn:active,.ffs-bs .btn-group-vertical>.btn:active,.ffs-bs .btn-group>.btn.active,.ffs-bs .btn-group-vertical>.btn.active{z-index:2}.ffs-bs .btn-group .btn+.btn,.ffs-bs .btn-group .btn+.btn-group,.ffs-bs .btn-group .btn-group+.btn,.ffs-bs .btn-group .btn-group+.btn-group{margin-left:-1px}.ffs-bs .btn-toolbar{margin-left:-5px}.ffs-bs .btn-toolbar .btn-group,.ffs-bs .btn-toolbar .input-group{float:left}.ffs-bs .btn-toolbar>.btn,.ffs-bs .btn-toolbar>.btn-group,.ffs-bs .btn-toolbar>.input-group{margin-left:5px}.ffs-bs .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.ffs-bs .btn-group>.btn:first-child{margin-left:0}.ffs-bs .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.ffs-bs .btn-group>.btn:last-child:not(:first-child),.ffs-bs .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.ffs-bs .btn-group>.btn-group{float:left}.ffs-bs .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.ffs-bs .btn-group>.btn-group:first-child>.btn:last-child,.ffs-bs .btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.ffs-bs .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ffs-bs .btn-group .dropdown-toggle:active,.ffs-bs .btn-group.open .dropdown-toggle{outline:0}.ffs-bs .btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.ffs-bs .btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.ffs-bs .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.ffs-bs .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.ffs-bs .btn .caret{margin-left:0}.ffs-bs .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.ffs-bs .dropup .btn-lg .caret{border-width:0 5px 5px}.ffs-bs .btn-group-vertical>.btn,.ffs-bs .btn-group-vertical>.btn-group,.ffs-bs .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.ffs-bs .btn-group-vertical>.btn-group>.btn{float:none}.ffs-bs .btn-group-vertical>.btn+.btn,.ffs-bs .btn-group-vertical>.btn+.btn-group,.ffs-bs .btn-group-vertical>.btn-group+.btn,.ffs-bs .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.ffs-bs .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.ffs-bs .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.ffs-bs .btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.ffs-bs .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.ffs-bs .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.ffs-bs .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.ffs-bs .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.ffs-bs .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.ffs-bs .btn-group-justified>.btn,.ffs-bs .btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.ffs-bs .btn-group-justified>.btn-group .btn{width:100%}.ffs-bs .btn-group-justified>.btn-group .dropdown-menu{left:auto}.ffs-bs [data-toggle="buttons"]>.btn input[type="radio"],.ffs-bs [data-toggle="buttons"]>.btn-group>.btn input[type="radio"],.ffs-bs [data-toggle="buttons"]>.btn input[type="checkbox"],.ffs-bs [data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.ffs-bs .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.ffs-bs .thumbnail>img,.ffs-bs .thumbnail a>img{margin-left:auto;margin-right:auto}.ffs-bs a.thumbnail:hover,.ffs-bs a.thumbnail:focus,.ffs-bs a.thumbnail.active{border-color:#337ab7}.ffs-bs .thumbnail .caption{padding:9px;color:#333}.ffs-bs .alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.ffs-bs .alert h4{margin-top:0;color:inherit}.ffs-bs .alert .alert-link{font-weight:bold}.ffs-bs .alert>p,.ffs-bs .alert>ul{margin-bottom:0}.ffs-bs .alert>p+p{margin-top:5px}.ffs-bs .alert-dismissable,.ffs-bs .alert-dismissible{padding-right:35px}.ffs-bs .alert-dismissable .close,.ffs-bs .alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.ffs-bs .alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.ffs-bs .alert-success hr{border-top-color:#c9e2b3}.ffs-bs .alert-success .alert-link{color:#2b542c}.ffs-bs .alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.ffs-bs .alert-info hr{border-top-color:#a6e1ec}.ffs-bs .alert-info .alert-link{color:#245269}.ffs-bs .alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.ffs-bs .alert-warning hr{border-top-color:#f7e1b5}.ffs-bs .alert-warning .alert-link{color:#66512c}.ffs-bs .alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.ffs-bs .alert-danger hr{border-top-color:#e4b9c0}.ffs-bs .alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.ffs-bs .progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.ffs-bs .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.ffs-bs .progress-striped .progress-bar,.ffs-bs .progress-bar-striped{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.ffs-bs .progress.active .progress-bar,.ffs-bs .progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.ffs-bs .progress-bar-success{background-color:#5cb85c}.ffs-bs .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .progress-bar-info{background-color:#5bc0de}.ffs-bs .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .progress-bar-warning{background-color:#f0ad4e}.ffs-bs .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .progress-bar-danger{background-color:#d9534f}.ffs-bs .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.ffs-bs .tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:normal;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.ffs-bs .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.ffs-bs .tooltip.top{margin-top:-3px;padding:5px 0}.ffs-bs .tooltip.right{margin-left:3px;padding:0 5px}.ffs-bs .tooltip.bottom{margin-top:3px;padding:5px 0}.ffs-bs .tooltip.left{margin-left:-3px;padding:0 5px}.ffs-bs .tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.ffs-bs .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.ffs-bs .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.ffs-bs .tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.ffs-bs .tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.ffs-bs .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.ffs-bs .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.ffs-bs .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.ffs-bs .tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.ffs-bs .tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.ffs-bs .clearfix:before,.ffs-bs .clearfix:after,.ffs-bs .btn-toolbar:before,.ffs-bs .btn-toolbar:after,.ffs-bs .btn-group-vertical>.btn-group:before,.ffs-bs .btn-group-vertical>.btn-group:after{content:" ";display:table}.ffs-bs .clearfix:after,.ffs-bs .btn-toolbar:after,.ffs-bs .btn-group-vertical>.btn-group:after{clear:both}.ffs-bs .center-block{display:block;margin-left:auto;margin-right:auto}.ffs-bs .pull-right{float:right !important}.ffs-bs .pull-left{float:left !important}.ffs-bs .hide{display:none !important}.ffs-bs .show{display:block !important}.ffs-bs .invisible{visibility:hidden}.ffs-bs .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.ffs-bs .hidden{display:none !important;visibility:hidden !important}.ffs-bs .affix{position:fixed}}.row,.clearfix{zoom:1}.clearfix:before,.clearfix:after,.row:before,.row:after{content:'';display:block;overflow:hidden;visibility:hidden;width:0;height:0}.ffs-two-one{width:48%}.ffs-three-one{width:30.66%}.ffs-three-two{width:65.33%}.ffs-four-one{width:22%}.ffs-four-two{width:48%}.ffs-four-three{width:74%}.ffs-five-one{width:16.8%}.ffs-five-two{width:37.6%}.ffs-five-three{width:58.4%}.ffs-five-four{width:67.2%}.ffs-six-one{width:13.33%}.ffs-six-two{width:30.66%}.ffs-six-three{width:47.99%}.ffs-six-four{width:65.33%}.ffs-six-five{width:82.67%}.ffs-two-one,.ffs-three-one,.ffs-three-two,.ffs-four-one,.ffs-four-two,.ffs-four-three,.ffs-five-one,.ffs-five-two,.ffs-five-three,.ffs-five-four,.ffs-six-one,.ffs-six-two,.ffs-six-three,.ffs-six-four,.ffs-six-five{float:left;margin-right:4%;margin-bottom:4%;position:relative}.last{clear:right;margin-right:0 !important}@media only screen and (max-width:768px){.ffs-two-one,.ffs-three-one,.ffs-three-two,.ffs-four-one,.ffs-four-two,.ffs-four-three,.ffs-five-one,.ffs-five-two,.ffs-five-three,.ffs-five-four,.ffs-six-one,.ffs-six-two,.ffs-six-three,.ffs-six-four,.ffs-six-five{margin-right:0;width:100% !important}}.info-box-row{display:block;float:left;margin:30px 0 25px;width:100%}.info-box-row .ffs-info-box .infobox-title{margin:0 0 5px;font-weight:300}.info-box-row .ffs-info-box .infobox-text{padding:0}.info-box-row .ffs-info-box img.icon{display:block;min-height:51px;margin:0 auto 15px;min-width:51px}.info-box-row .ffs-info-box .ffs-icon-container{text-align:center;margin:0 auto;display:block;width:auto}.info-box-row .ffs-info-box .ffs-icon-container i{text-align:center;font-size:26px;padding:10px;margin:5px 0}.ffs-info-box.center .ffs-icon-box,.ffs-info-box.center .ffs-content-box{width:100%}.ffs-info-box.left .ffs-icon-box,.ffs-info-box.right .ffs-icon-box{width:20%;display:block}.ffs-info-box.left .ffs-content-box,.ffs-info-box.right .ffs-content-box{width:80%;display:block}.ffs-info-box.left .ffs-icon-box,.ffs-info-box.right .ffs-content-box{float:left}.ffs-info-box.right .ffs-icon-box,.ffs-info-box.left .ffs-content-box{float:right}.btn .ffs-icon-container{font-size:inherit}.btn .ffs-icon-container.left{padding:0 8px 0 0;text-align:left}.btn .ffs-icon-container.right{padding:0 0 0 8px;text-align:right}.fruitful_description_box{position:relative;z-index:0}.fruitful_description{float:left;width:100%;min-height:50px;margin:10px 0 20px 0;position:relative;display:block;background:#fff}.fruitful_description.shadow-type-4:before,.fruitful_description.shadow-type-5:before{position:absolute;width:80%;height:45%;left:10%;border-radius:50%;z-index:-1;top:0;content:"";-moz-box-shadow:0 -2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 -2px 16px rgba(0,0,0,0.4);box-shadow:0 -2px 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-4:after,.fruitful_description.shadow-type-5:after{position:absolute;width:80%;height:45%;left:10%;border-radius:50%;z-index:-1;bottom:0;content:"";-moz-box-shadow:0 2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 2px 16px rgba(0,0,0,0.4);box-shadow:0 2px 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-1:before,.fruitful_description.shadow-type-1:after{display:none}.fruitful_description.shadow-type-1 .top_line{z-index:2;display:block;width:100%;height:15px;overflow:hidden;position:absolute;top:0;left:0}.fruitful_description.shadow-type-1 .top_line:before,.fruitful_description.shadow-type-1 .top_line:after{z-index:1;position:absolute;content:"";top:-20px;left:10px;width:50%;bottom:31px;max-width:300px;background:#777;-webkit-box-shadow:0 13px 16px #777;-moz-box-shadow:0 13px 16px #777;box-shadow:0 13px 16px #777;-webkit-transform:rotate(-1.5deg);-moz-transform:rotate(-1.5deg);-o-transform:rotate(-1.5deg);-ms-transform:rotate(-1.5deg);transform:rotate(-1.5deg)}.fruitful_description.shadow-type-1 .top_line:after{-webkit-transform:rotate(1.5deg);-moz-transform:rotate(1.5deg);-o-transform:rotate(1.5deg);-ms-transform:rotate(1.5deg);transform:rotate(1.5deg);right:10px;left:auto}.fruitful_description.shadow-type-1 .bottom_line{z-index:2;display:block;width:100%;height:15px;overflow:hidden;position:absolute;bottom:0;left:0}.fruitful_description.shadow-type-1 .bottom_line:before,.fruitful_description.shadow-type-1 .bottom_line:after{z-index:1;position:absolute;content:"";top:31px;left:10px;width:50%;bottom:-20px;max-width:300px;background:#777;-webkit-box-shadow:0 -13px 16px #777;box-shadow:0 -13px 16px #777;-webkit-transform:rotate(1.5deg);-moz-transform:rotate(1.5deg);-o-transform:rotate(1.5deg);-ms-transform:rotate(1.5deg);transform:rotate(1.5deg)}.fruitful_description.shadow-type-1 .bottom_line:after{-webkit-transform:rotate(-1.5deg);-moz-transform:rotate(-1.5deg);-o-transform:rotate(-1.5deg);-ms-transform:rotate(-1.5deg);transform:rotate(-1.5deg);right:10px;left:auto}.fruitful_description.shadow-type-2:before,.fruitful_description.shadow-type-2:after{display:none}.fruitful_description.shadow-type-2 .top_line{position:absolute;width:100%;height:10px;overflow:hidden}.fruitful_description.shadow-type-2 .top_line:before{position:absolute;width:50%;height:45%;overflow:hidden;left:25%;border-radius:50%;z-index:1;top:-38%;content:"";-moz-box-shadow:0 -2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 -2px 16px rgba(0,0,0,0.4);box-shadow:0 0 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-2 .bottom_line{position:absolute;width:100%;height:10px;overflow:hidden;bottom:0}.fruitful_description.shadow-type-2 .bottom_line:before{position:absolute;width:50%;height:45%;overflow:hidden;left:25%;border-radius:50%;z-index:1;top:100%;content:"";-moz-box-shadow:0 -2px 16px rgba(0,0,0,0.4);-webkit-box-shadow:0 -2px 16px rgba(0,0,0,0.4);box-shadow:0 0 16px rgba(0,0,0,0.4)}.fruitful_description.shadow-type-3:before,.fruitful_description.shadow-type-3:after{display:none}.fruitful_description.shadow-type-3 .top_line:before,.fruitful_description.shadow-type-3 .top_line:after,.fruitful_description.shadow-type-5 .top_line:before,.fruitful_description.shadow-type-5 .top_line:after{z-index:-1;position:absolute;content:"";top:15px;left:10px;width:50%;bottom:80%;max-width:300px;min-height:4px;background:#777;-webkit-box-shadow:0 -13px 16px #777;box-shadow:0 -13px 16px #777;-webkit-transform:rotate(3deg);-moz-transform:rotate(3deg);-o-transform:rotate(3deg);-ms-transform:rotate(3deg);transform:rotate(3deg)}.fruitful_description.shadow-type-3 .top_line:after,.fruitful_description.shadow-type-5 .top_line:after{-webkit-transform:rotate(-3deg);-moz-transform:rotate(-3deg);-o-transform:rotate(-3deg);-ms-transform:rotate(-3deg);transform:rotate(-3deg);right:10px;left:auto}.fruitful_description.shadow-type-3 .bottom_line:before,.fruitful_description.shadow-type-3 .bottom_line:after,.fruitful_description.shadow-type-5 .bottom_line:before,.fruitful_description.shadow-type-5 .bottom_line:after{z-index:-1;position:absolute;content:"";bottom:15px;left:10px;width:50%;top:75%;max-width:300px;min-height:4px;background:#777;-webkit-box-shadow:0 13px 16px #777;-moz-box-shadow:0 13px 16px #777;box-shadow:0 13px 16px #777;-webkit-transform:rotate(-3deg);-moz-transform:rotate(-3deg);-o-transform:rotate(-3deg);-ms-transform:rotate(-3deg);transform:rotate(-3deg)}.fruitful_description.shadow-type-3 .bottom_line:after,.fruitful_description.shadow-type-5 .bottom_line:after{-webkit-transform:rotate(3deg);-moz-transform:rotate(3deg);-o-transform:rotate(3deg);-ms-transform:rotate(3deg);transform:rotate(3deg);right:10px;left:auto}.fruitful_description .text{margin:0 auto;width:90%;padding:10px 0}.ffs-sep{display:block;margin:0 0 30px}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0 !important;border:0;float:right}.ffs-bs .btn{-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;border:0 none}.resp-arrow{margin-top:8px}@media only screen and (max-width:480px){.fruitful_description .text{font-size:20px !important}}
includes/shortcodes/flex_slider/froogaloop.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ var Froogaloop=function(){function e(c){return new e.fn.init(c)}function g(c,b,a){if(!a.contentWindow.postMessage)return!1;var d=a.getAttribute("src").split("?")[0],c=JSON.stringify({method:c,value:b});a.contentWindow.postMessage(c,d)}function i(c){var b,a;try{b=JSON.parse(c.data),a=b.event||b.method}catch(l){}"ready"==a&&!h&&(h=!0);if(c.origin!=j)return!1;var c=b.value,e=b.data,f=""===f?null:b.player_id;b=f?d[f][a]:d[a];a=[];if(!b)return!1;void 0!==c&&a.push(c);e&&a.push(e);f&&a.push(f);return 0<
2
+ a.length?b.apply(null,a):b.call()}function k(c,b,a){a?(d[a]||(d[a]={}),d[a][c]=b):d[c]=b}var d={},h=!1,j="";e.fn=e.prototype={element:null,init:function(c){"string"===typeof c&&(c=document.getElementById(c));this.element=c;for(var c=this.element.getAttribute("src").split("/"),b="",a=0,d=c.length;a<d;a++){if(3>a)b+=c[a];else break;2>a&&(b+="/")}j=b;return this},api:function(c,b){if(!this.element||!c)return!1;var a=this.element,d=""!==a.id?a.id:null,e=!b||!b.constructor||!b.call||!b.apply?b:null,f=
3
+ b&&b.constructor&&b.call&&b.apply?b:null;f&&k(c,f,d);g(c,e,a);return this},addEvent:function(c,b){if(!this.element)return!1;var a=this.element,d=""!==a.id?a.id:null;k(c,b,d);"ready"!=c?g("addEventListener",c,a):"ready"==c&&h&&b.call(null,d);return this},removeEvent:function(c){if(!this.element)return!1;var b=this.element,a;a:{if((a=""!==b.id?b.id:null)&&d[a]){if(!d[a][c]){a=!1;break a}d[a][c]=null}else{if(!d[c]){a=!1;break a}d[c]=null}a=!0}"ready"!=c&&a&&g("removeEventListener",c,b)}};e.fn.init.prototype=
4
+ e.fn;window.addEventListener?window.addEventListener("message",i,!1):window.attachEvent("onmessage",i,!1);return window.Froogaloop=window.$f=e}();
includes/shortcodes/flex_slider/images/bg_direction_nav.png ADDED
Binary file
includes/shortcodes/flex_slider/images/paging.png ADDED
Binary file
includes/shortcodes/flex_slider/jquery.easing.js ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
3
+ *
4
+ * Uses the built in easing capabilities added In jQuery 1.1
5
+ * to offer multiple easing options
6
+ *
7
+ * TERMS OF USE - jQuery Easing
8
+ *
9
+ * Open source under the BSD License.
10
+ *
11
+ * Copyright © 2008 George McGinley Smith
12
+ * All rights reserved.
13
+ *
14
+ * Redistribution and use in source and binary forms, with or without modification,
15
+ * are permitted provided that the following conditions are met:
16
+ *
17
+ * Redistributions of source code must retain the above copyright notice, this list of
18
+ * conditions and the following disclaimer.
19
+ * Redistributions in binary form must reproduce the above copyright notice, this list
20
+ * of conditions and the following disclaimer in the documentation and/or other materials
21
+ * provided with the distribution.
22
+ *
23
+ * Neither the name of the author nor the names of contributors may be used to endorse
24
+ * or promote products derived from this software without specific prior written permission.
25
+ *
26
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
27
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
31
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
34
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
35
+ *
36
+ */
37
+
38
+ // t: current time, b: begInnIng value, c: change In value, d: duration
39
+ jQuery.easing['jswing'] = jQuery.easing['swing'];
40
+
41
+ jQuery.extend( jQuery.easing,
42
+ {
43
+ def: 'easeOutQuad',
44
+ swing: function (x, t, b, c, d) {
45
+ //alert(jQuery.easing.default);
46
+ return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
47
+ },
48
+ easeInQuad: function (x, t, b, c, d) {
49
+ return c*(t/=d)*t + b;
50
+ },
51
+ easeOutQuad: function (x, t, b, c, d) {
52
+ return -c *(t/=d)*(t-2) + b;
53
+ },
54
+ easeInOutQuad: function (x, t, b, c, d) {
55
+ if ((t/=d/2) < 1) return c/2*t*t + b;
56
+ return -c/2 * ((--t)*(t-2) - 1) + b;
57
+ },
58
+ easeInCubic: function (x, t, b, c, d) {
59
+ return c*(t/=d)*t*t + b;
60
+ },
61
+ easeOutCubic: function (x, t, b, c, d) {
62
+ return c*((t=t/d-1)*t*t + 1) + b;
63
+ },
64
+ easeInOutCubic: function (x, t, b, c, d) {
65
+ if ((t/=d/2) < 1) return c/2*t*t*t + b;
66
+ return c/2*((t-=2)*t*t + 2) + b;
67
+ },
68
+ easeInQuart: function (x, t, b, c, d) {
69
+ return c*(t/=d)*t*t*t + b;
70
+ },
71
+ easeOutQuart: function (x, t, b, c, d) {
72
+ return -c * ((t=t/d-1)*t*t*t - 1) + b;
73
+ },
74
+ easeInOutQuart: function (x, t, b, c, d) {
75
+ if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
76
+ return -c/2 * ((t-=2)*t*t*t - 2) + b;
77
+ },
78
+ easeInQuint: function (x, t, b, c, d) {
79
+ return c*(t/=d)*t*t*t*t + b;
80
+ },
81
+ easeOutQuint: function (x, t, b, c, d) {
82
+ return c*((t=t/d-1)*t*t*t*t + 1) + b;
83
+ },
84
+ easeInOutQuint: function (x, t, b, c, d) {
85
+ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
86
+ return c/2*((t-=2)*t*t*t*t + 2) + b;
87
+ },
88
+ easeInSine: function (x, t, b, c, d) {
89
+ return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
90
+ },
91
+ easeOutSine: function (x, t, b, c, d) {
92
+ return c * Math.sin(t/d * (Math.PI/2)) + b;
93
+ },
94
+ easeInOutSine: function (x, t, b, c, d) {
95
+ return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
96
+ },
97
+ easeInExpo: function (x, t, b, c, d) {
98
+ return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
99
+ },
100
+ easeOutExpo: function (x, t, b, c, d) {
101
+ return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
102
+ },
103
+ easeInOutExpo: function (x, t, b, c, d) {
104
+ if (t==0) return b;
105
+ if (t==d) return b+c;
106
+ if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
107
+ return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
108
+ },
109
+ easeInCirc: function (x, t, b, c, d) {
110
+ return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
111
+ },
112
+ easeOutCirc: function (x, t, b, c, d) {
113
+ return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
114
+ },
115
+ easeInOutCirc: function (x, t, b, c, d) {
116
+ if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
117
+ return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
118
+ },
119
+ easeInElastic: function (x, t, b, c, d) {
120
+ var s=1.70158;var p=0;var a=c;
121
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
122
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
123
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
124
+ return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
125
+ },
126
+ easeOutElastic: function (x, t, b, c, d) {
127
+ var s=1.70158;var p=0;var a=c;
128
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
129
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
130
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
131
+ return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
132
+ },
133
+ easeInOutElastic: function (x, t, b, c, d) {
134
+ var s=1.70158;var p=0;var a=c;
135
+ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
136
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
137
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
138
+ if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
139
+ return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
140
+ },
141
+ easeInBack: function (x, t, b, c, d, s) {
142
+ if (s == undefined) s = 1.70158;
143
+ return c*(t/=d)*t*((s+1)*t - s) + b;
144
+ },
145
+ easeOutBack: function (x, t, b, c, d, s) {
146
+ if (s == undefined) s = 1.70158;
147
+ return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
148
+ },
149
+ easeInOutBack: function (x, t, b, c, d, s) {
150
+ if (s == undefined) s = 1.70158;
151
+ if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
152
+ return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
153
+ },
154
+ easeInBounce: function (x, t, b, c, d) {
155
+ return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
156
+ },
157
+ easeOutBounce: function (x, t, b, c, d) {
158
+ if ((t/=d) < (1/2.75)) {
159
+ return c*(7.5625*t*t) + b;
160
+ } else if (t < (2/2.75)) {
161
+ return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
162
+ } else if (t < (2.5/2.75)) {
163
+ return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
164
+ } else {
165
+ return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
166
+ }
167
+ },
168
+ easeInOutBounce: function (x, t, b, c, d) {
169
+ if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
170
+ return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
171
+ }
172
+ });
173
+
174
+ /*
175
+ *
176
+ * TERMS OF USE - EASING EQUATIONS
177
+ *
178
+ * Open source under the BSD License.
179
+ *
180
+ * Copyright © 2001 Robert Penner
181
+ * All rights reserved.
182
+ *
183
+ * Redistribution and use in source and binary forms, with or without modification,
184
+ * are permitted provided that the following conditions are met:
185
+ *
186
+ * Redistributions of source code must retain the above copyright notice, this list of
187
+ * conditions and the following disclaimer.
188
+ * Redistributions in binary form must reproduce the above copyright notice, this list
189
+ * of conditions and the following disclaimer in the documentation and/or other materials
190
+ * provided with the distribution.
191
+ *
192
+ * Neither the name of the author nor the names of contributors may be used to endorse
193
+ * or promote products derived from this software without specific prior written permission.
194
+ *
195
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
196
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
197
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
198
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
199
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
200
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
201
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
202
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
203
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
204
+ *
205
+ */
includes/shortcodes/flex_slider/jquery.fitvid.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*global jQuery */
2
+ /*!
3
+ * FitVids 1.0
4
+ *
5
+ * Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
6
+ * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
7
+ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/
8
+ *
9
+ * Date: Thu Sept 01 18:00:00 2011 -0500
10
+ */
11
+ (function(a){a.fn.fitVids=function(b){var c={customSelector:null},d=document.createElement("div"),e=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return d.className="fit-vids-style",d.innerHTML="&shy;<style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>",e.parentNode.insertBefore(d,e),b&&a.extend(c,b),this.each(function(){var b=["iframe[src^='http://player.vimeo.com']","iframe[src^='http://www.youtube.com']","iframe[src^='https://www.youtube.com']","iframe[src^='http://www.kickstarter.com']","iframe[src^='http://fast.wistia.com']","object","embed"];c.customSelector&&b.push(c.customSelector);var d=a(this).find(b.join(","));d.each(function(){var b=a(this);if(this.tagName.toLowerCase()=="embed"&&b.parent("object").length||b.parent(".fluid-width-video-wrapper").length)return;var c=this.tagName.toLowerCase()=="object"?b.attr("height"):b.height(),d=c/b.width();if(!b.attr("id")){var e="fitvid"+Math.floor(Math.random()*999999);b.attr("id",e)}b.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",d*100+"%"),b.removeAttr("height").removeAttr("width")})})}})(jQuery)
includes/shortcodes/flex_slider/jquery.flexslider-min.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ /*
2
+ * jQuery FlexSlider v2.5.0
3
+ * Copyright 2012 WooThemes
4
+ * Contributing Author: Tyler Smith
5
+ */!function($){$.flexslider=function(e,t){var a=$(e);a.vars=$.extend({},$.flexslider.defaults,t);var n=a.vars.namespace,i=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||i||window.DocumentTouch&&document instanceof DocumentTouch)&&a.vars.touch,r="click touchend MSPointerUp keyup",o="",l,c="vertical"===a.vars.direction,d=a.vars.reverse,u=a.vars.itemWidth>0,v="fade"===a.vars.animation,p=""!==a.vars.asNavFor,m={},f=!0;$.data(e,"flexslider",a),m={init:function(){a.animating=!1,a.currentSlide=parseInt(a.vars.startAt?a.vars.startAt:0,10),isNaN(a.currentSlide)&&(a.currentSlide=0),a.animatingTo=a.currentSlide,a.atEnd=0===a.currentSlide||a.currentSlide===a.last,a.containerSelector=a.vars.selector.substr(0,a.vars.selector.search(" ")),a.slides=$(a.vars.selector,a),a.container=$(a.containerSelector,a),a.count=a.slides.length,a.syncExists=$(a.vars.sync).length>0,"slide"===a.vars.animation&&(a.vars.animation="swing"),a.prop=c?"top":"marginLeft",a.args={},a.manualPause=!1,a.stopped=!1,a.started=!1,a.startTimeout=null,a.transitions=!a.vars.video&&!v&&a.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(void 0!==e.style[t[n]])return a.pfx=t[n].replace("Perspective","").toLowerCase(),a.prop="-"+a.pfx+"-transform",!0;return!1}(),a.ensureAnimationEnd="",""!==a.vars.controlsContainer&&(a.controlsContainer=$(a.vars.controlsContainer).length>0&&$(a.vars.controlsContainer)),""!==a.vars.manualControls&&(a.manualControls=$(a.vars.manualControls).length>0&&$(a.vars.manualControls)),""!==a.vars.customDirectionNav&&(a.customDirectionNav=2===$(a.vars.customDirectionNav).length&&$(a.vars.customDirectionNav)),a.vars.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-.5}),a.container.empty().append(a.slides)),a.doMath(),a.setup("init"),a.vars.controlNav&&m.controlNav.setup(),a.vars.directionNav&&m.directionNav.setup(),a.vars.keyboard&&(1===$(a.containerSelector).length||a.vars.multipleKeyboard)&&$(document).bind("keyup",function(e){var t=e.keyCode;if(!a.animating&&(39===t||37===t)){var n=39===t?a.getTarget("next"):37===t?a.getTarget("prev"):!1;a.flexAnimate(n,a.vars.pauseOnAction)}}),a.vars.mousewheel&&a.bind("mousewheel",function(e,t,n,i){e.preventDefault();var s=a.getTarget(0>t?"next":"prev");a.flexAnimate(s,a.vars.pauseOnAction)}),a.vars.pausePlay&&m.pausePlay.setup(),a.vars.slideshow&&a.vars.pauseInvisible&&m.pauseInvisible.init(),a.vars.slideshow&&(a.vars.pauseOnHover&&a.hover(function(){a.manualPlay||a.manualPause||a.pause()},function(){a.manualPause||a.manualPlay||a.stopped||a.play()}),a.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(a.vars.initDelay>0?a.startTimeout=setTimeout(a.play,a.vars.initDelay):a.play())),p&&m.asNav.setup(),s&&a.vars.touch&&m.touch(),(!v||v&&a.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",m.resize),a.find("img").attr("draggable","false"),setTimeout(function(){a.vars.start(a)},200)},asNav:{setup:function(){a.asNav=!0,a.animatingTo=Math.floor(a.currentSlide/a.move),a.currentItem=a.currentSlide,a.slides.removeClass(n+"active-slide").eq(a.currentItem).addClass(n+"active-slide"),i?(e._slider=a,a.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=$(this),n=t.index();$(a.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(a.direction=a.currentItem<n?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction,!1,!0,!0))})})):a.slides.on(r,function(e){e.preventDefault();var t=$(this),i=t.index(),s=t.offset().left-$(a).scrollLeft();0>=s&&t.hasClass(n+"active-slide")?a.flexAnimate(a.getTarget("prev"),!0):$(a.vars.asNavFor).data("flexslider").animating||t.hasClass(n+"active-slide")||(a.direction=a.currentItem<i?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){a.manualControls?m.controlNav.setupManual():m.controlNav.setupPaging()},setupPaging:function(){var e="thumbnails"===a.vars.controlNav?"control-thumbs":"control-paging",t=1,i,s;if(a.controlNavScaffold=$('<ol class="'+n+"control-nav "+n+e+'"></ol>'),a.pagingCount>1)for(var l=0;l<a.pagingCount;l++){if(s=a.slides.eq(l),i="thumbnails"===a.vars.controlNav?'<img src="'+s.attr("data-thumb")+'"/>':"<a>"+t+"</a>","thumbnails"===a.vars.controlNav&&!0===a.vars.thumbCaptions){var c=s.attr("data-thumbcaption");""!==c&&void 0!==c&&(i+='<span class="'+n+'caption">'+c+"</span>")}a.controlNavScaffold.append("<li>"+i+"</li>"),t++}a.controlsContainer?$(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),a.controlNavScaffold.delegate("a, img",r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},setupManual:function(){a.controlNav=a.manualControls,m.controlNav.active(),a.controlNav.bind(r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===a.vars.controlNav?"img":"a";a.controlNav=$("."+n+"control-nav li "+e,a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(n+"active").eq(a.animatingTo).addClass(n+"active")},update:function(e,t){a.pagingCount>1&&"add"===e?a.controlNavScaffold.append($("<li><a>"+a.count+"</a></li>")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(t).closest("li").remove(),m.controlNav.set(),a.pagingCount>1&&a.pagingCount!==a.controlNav.length?a.update(t,e):m.controlNav.active()}},directionNav:{setup:function(){var e=$('<ul class="'+n+'direction-nav"><li class="'+n+'nav-prev"><a class="'+n+'prev" href="#">'+a.vars.prevText+'</a></li><li class="'+n+'nav-next"><a class="'+n+'next" href="#">'+a.vars.nextText+"</a></li></ul>");a.customDirectionNav?a.directionNav=a.customDirectionNav:a.controlsContainer?($(a.controlsContainer).append(e),a.directionNav=$("."+n+"direction-nav li a",a.controlsContainer)):(a.append(e),a.directionNav=$("."+n+"direction-nav li a",a)),m.directionNav.update(),a.directionNav.bind(r,function(e){e.preventDefault();var t;(""===o||o===e.type)&&(t=a.getTarget($(this).hasClass(n+"next")?"next":"prev"),a.flexAnimate(t,a.vars.pauseOnAction)),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(){var e=n+"disabled";1===a.pagingCount?a.directionNav.addClass(e).attr("tabindex","-1"):a.vars.animationLoop?a.directionNav.removeClass(e).removeAttr("tabindex"):0===a.animatingTo?a.directionNav.removeClass(e).filter("."+n+"prev").addClass(e).attr("tabindex","-1"):a.animatingTo===a.last?a.directionNav.removeClass(e).filter("."+n+"next").addClass(e).attr("tabindex","-1"):a.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=$('<div class="'+n+'pauseplay"><a></a></div>');a.controlsContainer?(a.controlsContainer.append(e),a.pausePlay=$("."+n+"pauseplay a",a.controlsContainer)):(a.append(e),a.pausePlay=$("."+n+"pauseplay a",a)),m.pausePlay.update(a.vars.slideshow?n+"pause":n+"play"),a.pausePlay.bind(r,function(e){e.preventDefault(),(""===o||o===e.type)&&($(this).hasClass(n+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(e){"play"===e?a.pausePlay.removeClass(n+"pause").addClass(n+"play").html(a.vars.playText):a.pausePlay.removeClass(n+"play").addClass(n+"pause").html(a.vars.pauseText)}},touch:function(){function t(t){t.stopPropagation(),a.animating?t.preventDefault():(a.pause(),e._gesture.addPointer(t.pointerId),w=0,p=c?a.h:a.w,f=Number(new Date),l=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*p:(a.currentSlide+a.cloneOffset)*p)}function n(t){t.stopPropagation();var a=t.target._slider;if(a){var n=-t.translationX,i=-t.translationY;return w+=c?i:n,m=w,y=c?Math.abs(w)<Math.abs(-n):Math.abs(w)<Math.abs(-i),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){e._gesture.stop()}):void((!y||Number(new Date)-f>500)&&(t.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(m=w/(0===a.currentSlide&&0>w||a.currentSlide===a.last&&w>0?Math.abs(w)/p+2:1)),a.setProps(l+m,"setTouch"))))}}function s(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!y&&null!==m){var a=d?-m:m,n=t.getTarget(a>0?"next":"prev");t.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>p/2)?t.flexAnimate(n,t.vars.pauseOnAction):v||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}r=null,o=null,m=null,l=null,w=0}}var r,o,l,p,m,f,g,h,S,y=!1,x=0,b=0,w=0;i?(e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",t,!1),e._slider=a,e.addEventListener("MSGestureChange",n,!1),e.addEventListener("MSGestureEnd",s,!1)):(g=function(t){a.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(a.pause(),p=c?a.h:a.w,f=Number(new Date),x=t.touches[0].pageX,b=t.touches[0].pageY,l=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*p:(a.currentSlide+a.cloneOffset)*p,r=c?b:x,o=c?x:b,e.addEventListener("touchmove",h,!1),e.addEventListener("touchend",S,!1))},h=function(e){x=e.touches[0].pageX,b=e.touches[0].pageY,m=c?r-b:r-x,y=c?Math.abs(m)<Math.abs(x-o):Math.abs(m)<Math.abs(b-o);var t=500;(!y||Number(new Date)-f>t)&&(e.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(m/=0===a.currentSlide&&0>m||a.currentSlide===a.last&&m>0?Math.abs(m)/p+2:1),a.setProps(l+m,"setTouch")))},S=function(t){if(e.removeEventListener("touchmove",h,!1),a.animatingTo===a.currentSlide&&!y&&null!==m){var n=d?-m:m,i=a.getTarget(n>0?"next":"prev");a.canAdvance(i)&&(Number(new Date)-f<550&&Math.abs(n)>50||Math.abs(n)>p/2)?a.flexAnimate(i,a.vars.pauseOnAction):v||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}e.removeEventListener("touchend",S,!1),r=null,o=null,m=null,l=null},e.addEventListener("touchstart",g,!1))},resize:function(){!a.animating&&a.is(":visible")&&(u||a.doMath(),v?m.smoothHeight():u?(a.slides.width(a.computedW),a.update(a.pagingCount),a.setProps()):c?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(a.vars.smoothHeight&&m.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(e){if(!c||v){var t=v?a:a.viewport;e?t.animate({height:a.slides.eq(a.animatingTo).height()},e):t.height(a.slides.eq(a.animatingTo).height())}},sync:function(e){var t=$(a.vars.sync).data("flexslider"),n=a.animatingTo;switch(e){case"animate":t.flexAnimate(n,a.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=$(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=m.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){m.pauseInvisible.isHidden()?a.startTimeout?clearTimeout(a.startTimeout):a.pause():a.started?a.play():a.vars.initDelay>0?setTimeout(a.play,a.vars.initDelay):a.play()})}},isHidden:function(){var e=m.pauseInvisible.getHiddenProp();return e?document[e]:!1},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(l),l=setTimeout(function(){o=""},3e3)}},a.flexAnimate=function(e,t,i,r,o){if(a.vars.animationLoop||e===a.currentSlide||(a.direction=e>a.currentSlide?"next":"prev"),p&&1===a.pagingCount&&(a.direction=a.currentItem<e?"next":"prev"),!a.animating&&(a.canAdvance(e,o)||i)&&a.is(":visible")){if(p&&r){var l=$(a.vars.asNavFor).data("flexslider");if(a.atEnd=0===e||e===a.count-1,l.flexAnimate(e,!0,!1,!0,o),a.direction=a.currentItem<e?"next":"prev",l.direction=a.direction,Math.ceil((e+1)/a.visible)-1===a.currentSlide||0===e)return a.currentItem=e,a.slides.removeClass(n+"active-slide").eq(e).addClass(n+"active-slide"),!1;a.currentItem=e,a.slides.removeClass(n+"active-slide").eq(e).addClass(n+"active-slide"),e=Math.floor(e/a.visible)}if(a.animating=!0,a.animatingTo=e,t&&a.pause(),a.vars.before(a),a.syncExists&&!o&&m.sync("animate"),a.vars.controlNav&&m.controlNav.active(),u||a.slides.removeClass(n+"active-slide").eq(e).addClass(n+"active-slide"),a.atEnd=0===e||e===a.last,a.vars.directionNav&&m.directionNav.update(),e===a.last&&(a.vars.end(a),a.vars.animationLoop||a.pause()),v)s?(a.slides.eq(a.currentSlide).css({opacity:0,zIndex:1}),a.slides.eq(e).css({opacity:1,zIndex:2}),a.wrapup(f)):(a.slides.eq(a.currentSlide).css({zIndex:1}).animate({opacity:0},a.vars.animationSpeed,a.vars.easing),a.slides.eq(e).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing,a.wrapup));else{var f=c?a.slides.filter(":first").height():a.computedW,g,h,S;u?(g=a.vars.itemMargin,S=(a.itemW+g)*a.move*a.animatingTo,h=S>a.limit&&1!==a.visible?a.limit:S):h=0===a.currentSlide&&e===a.count-1&&a.vars.animationLoop&&"next"!==a.direction?d?(a.count+a.cloneOffset)*f:0:a.currentSlide===a.last&&0===e&&a.vars.animationLoop&&"prev"!==a.direction?d?0:(a.count+1)*f:d?(a.count-1-e+a.cloneOffset)*f:(e+a.cloneOffset)*f,a.setProps(h,"",a.vars.animationSpeed),a.transitions?(a.vars.animationLoop&&a.atEnd||(a.animating=!1,a.currentSlide=a.animatingTo),a.container.unbind("webkitTransitionEnd transitionend"),a.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(a.ensureAnimationEnd),a.wrapup(f)}),clearTimeout(a.ensureAnimationEnd),a.ensureAnimationEnd=setTimeout(function(){a.wrapup(f)},a.vars.animationSpeed+100)):a.container.animate(a.args,a.vars.animationSpeed,a.vars.easing,function(){a.wrapup(f)})}a.vars.smoothHeight&&m.smoothHeight(a.vars.animationSpeed)}},a.wrapup=function(e){v||u||(0===a.currentSlide&&a.animatingTo===a.last&&a.vars.animationLoop?a.setProps(e,"jumpEnd"):a.currentSlide===a.last&&0===a.animatingTo&&a.vars.animationLoop&&a.setProps(e,"jumpStart")),a.animating=!1,a.currentSlide=a.animatingTo,a.vars.after(a)},a.animateSlides=function(){!a.animating&&f&&a.flexAnimate(a.getTarget("next"))},a.pause=function(){clearInterval(a.animatedSlides),a.animatedSlides=null,a.playing=!1,a.vars.pausePlay&&m.pausePlay.update("play"),a.syncExists&&m.sync("pause")},a.play=function(){a.playing&&clearInterval(a.animatedSlides),a.animatedSlides=a.animatedSlides||setInterval(a.animateSlides,a.vars.slideshowSpeed),a.started=a.playing=!0,a.vars.pausePlay&&m.pausePlay.update("pause"),a.syncExists&&m.sync("play")},a.stop=function(){a.pause(),a.stopped=!0},a.canAdvance=function(e,t){var n=p?a.pagingCount-1:a.last;return t?!0:p&&a.currentItem===a.count-1&&0===e&&"prev"===a.direction?!0:p&&0===a.currentItem&&e===a.pagingCount-1&&"next"!==a.direction?!1:e!==a.currentSlide||p?a.vars.animationLoop?!0:a.atEnd&&0===a.currentSlide&&e===n&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===n&&0===e&&"next"===a.direction?!1:!0:!1},a.getTarget=function(e){return a.direction=e,"next"===e?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1},a.setProps=function(e,t,n){var i=function(){var n=e?e:(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo,i=function(){if(u)return"setTouch"===t?e:d&&a.animatingTo===a.last?0:d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:a.animatingTo===a.last?a.limit:n;switch(t){case"setTotal":return d?(a.count-1-a.currentSlide+a.cloneOffset)*e:(a.currentSlide+a.cloneOffset)*e;case"setTouch":return d?e:e;case"jumpEnd":return d?e:a.count*e;case"jumpStart":return d?a.count*e:e;default:return e}}();return-1*i+"px"}();a.transitions&&(i=c?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",n=void 0!==n?n/1e3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",n),a.container.css("transition-duration",n)),a.args[a.prop]=i,(a.transitions||void 0===n)&&a.container.css(a.args),a.container.css("transform",i)},a.setup=function(e){if(v)a.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(s?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+a.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):0==a.vars.fadeFirstSlide?a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).css({opacity:1}):a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing)),a.vars.smoothHeight&&m.smoothHeight();else{var t,i;"init"===e&&(a.viewport=$('<div class="'+n+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=0,d&&(i=$.makeArray(a.slides).reverse(),a.slides=$(i),a.container.empty().append(a.slides))),a.vars.animationLoop&&!u&&(a.cloneCount=2,a.cloneOffset=1,"init"!==e&&a.container.find(".clone").remove(),a.container.append(m.uniqueID(a.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(m.uniqueID(a.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),a.newSlides=$(a.vars.selector,a),t=d?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset,c&&!u?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){a.newSlides.css({display:"block"}),a.doMath(),a.viewport.height(a.h),a.setProps(t*a.h,"init")},"init"===e?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(t*a.computedW,"init"),setTimeout(function(){a.doMath(),a.newSlides.css({width:a.computedW,"float":"left",display:"block"}),a.vars.smoothHeight&&m.smoothHeight()},"init"===e?100:0))}u||a.slides.removeClass(n+"active-slide").eq(a.currentSlide).addClass(n+"active-slide"),a.vars.init(a)},a.doMath=function(){var e=a.slides.first(),t=a.vars.itemMargin,n=a.vars.minItems,i=a.vars.maxItems;a.w=void 0===a.viewport?a.width():a.viewport.width(),a.h=e.height(),a.boxPadding=e.outerWidth()-e.width(),u?(a.itemT=a.vars.itemWidth+t,a.minW=n?n*a.itemT:a.w,a.maxW=i?i*a.itemT-t:a.w,a.itemW=a.minW>a.w?(a.w-t*(n-1))/n:a.maxW<a.w?(a.w-t*(i-1))/i:a.vars.itemWidth>a.w?a.w:a.vars.itemWidth,a.visible=Math.floor(a.w/a.itemW),a.move=a.vars.move>0&&a.vars.move<a.visible?a.vars.move:a.visible,a.pagingCount=Math.ceil((a.count-a.visible)/a.move+1),a.last=a.pagingCount-1,a.limit=1===a.pagingCount?0:a.vars.itemWidth>a.w?a.itemW*(a.count-1)+t*(a.count-1):(a.itemW+t)*a.count-a.w-t):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1),a.computedW=a.itemW-a.boxPadding},a.update=function(e,t){a.doMath(),u||(e<a.currentSlide?a.currentSlide+=1:e<=a.currentSlide&&0!==e&&(a.currentSlide-=1),a.animatingTo=a.currentSlide),a.vars.controlNav&&!a.manualControls&&("add"===t&&!u||a.pagingCount>a.controlNav.length?m.controlNav.update("add"):("remove"===t&&!u||a.pagingCount<a.controlNav.length)&&(u&&a.currentSlide>a.last&&(a.currentSlide-=1,a.animatingTo-=1),m.controlNav.update("remove",a.last))),a.vars.directionNav&&m.directionNav.update()},a.addSlide=function(e,t){var n=$(e);a.count+=1,a.last=a.count-1,c&&d?void 0!==t?a.slides.eq(a.count-t).after(n):a.container.prepend(n):void 0!==t?a.slides.eq(t).before(n):a.container.append(n),a.update(t,"add"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.added(a)},a.removeSlide=function(e){var t=isNaN(e)?a.slides.index($(e)):e;a.count-=1,a.last=a.count-1,isNaN(e)?$(e,a.slides).remove():c&&d?a.slides.eq(a.last).remove():a.slides.eq(e).remove(),a.doMath(),a.update(t,"remove"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.removed(a)},m.init()},$(window).blur(function(e){focused=!1}).focus(function(e){focused=!0}),$.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},$.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var t=$(this),a=e.selector?e.selector:".slides > li",n=t.find(a);1===n.length&&e.allowOneSlide===!0||0===n.length?(n.fadeIn(400),e.start&&e.start(t)):void 0===t.data("flexslider")&&new $.flexslider(this,e)});var t=$(this).data("flexslider");switch(e){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof e&&t.flexAnimate(e,!0)}}}(jQuery);
includes/shortcodes/flex_slider/jquery.mousewheel.js ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
2
+ * Licensed under the MIT License (LICENSE.txt).
3
+ *
4
+ * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
5
+ * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
6
+ * Thanks to: Seamus Leahy for adding deltaX and deltaY
7
+ *
8
+ * Version: 3.0.6
9
+ *
10
+ * Requires: 1.2.2+
11
+ */
12
+
13
+ (function($) {
14
+
15
+ var types = ['DOMMouseScroll', 'mousewheel'];
16
+
17
+ if ($.event.fixHooks) {
18
+ for ( var i=types.length; i; ) {
19
+ $.event.fixHooks[ types[--i] ] = $.event.mouseHooks;
20
+ }
21
+ }
22
+
23
+ $.event.special.mousewheel = {
24
+ setup: function() {
25
+ if ( this.addEventListener ) {
26
+ for ( var i=types.length; i; ) {
27
+ this.addEventListener( types[--i], handler, false );
28
+ }
29
+ } else {
30
+ this.onmousewheel = handler;
31
+ }
32
+ },
33
+
34
+ teardown: function() {
35
+ if ( this.removeEventListener ) {
36
+ for ( var i=types.length; i; ) {
37
+ this.removeEventListener( types[--i], handler, false );
38
+ }
39
+ } else {
40
+ this.onmousewheel = null;
41
+ }
42
+ }
43
+ };
44
+
45
+ $.fn.extend({
46
+ mousewheel: function(fn) {
47
+ return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
48
+ },
49
+
50
+ unmousewheel: function(fn) {
51
+ return this.unbind("mousewheel", fn);
52
+ }
53
+ });
54
+
55
+
56
+ function handler(event) {
57
+ var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
58
+ event = $.event.fix(orgEvent);
59
+ event.type = "mousewheel";
60
+
61
+ // Old school scrollwheel delta
62
+ if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta/120; }
63
+ if ( orgEvent.detail ) { delta = -orgEvent.detail/3; }
64
+
65
+ // New school multidimensional scroll (touchpads) deltas
66
+ deltaY = delta;
67
+
68
+ // Gecko
69
+ if ( orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
70
+ deltaY = 0;
71
+ deltaX = -1*delta;
72
+ }
73
+
74
+ // Webkit
75
+ if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY/120; }
76
+ if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = -1*orgEvent.wheelDeltaX/120; }
77
+
78
+ // Add event and delta to the front of the arguments
79
+ args.unshift(event, delta, deltaX, deltaY);
80
+
81
+ return ($.event.dispatch || $.event.handle).apply(this, args);
82
+ }
83
+
84
+ })(jQuery);
includes/shortcodes/flex_slider/modernizr.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /* Modernizr 2.0.6 (Custom Build) | MIT & BSD */
2
+ ;window.Modernizr=function(a,b,c){function D(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+o.join(c+" ")+c).split(" ");return C(d,b)}function C(a,b){for(var d in a)if(k[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function B(a,b){return!!~(""+a).indexOf(b)}function A(a,b){return typeof a===b}function z(a,b){return y(n.join(a+";")+(b||""))}function y(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l,m=Object.prototype.toString,n=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),o="Webkit Moz O ms Khtml".split(" "),p={},q={},r={},s=[],t=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:i+(d+1),k.appendChild(j);f=["&shy;","<style>",a,"</style>"].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},u=function(b){if(a.matchMedia)return matchMedia(b).matches;var c;t("@media "+b+" { #"+i+" { position: absolute; } }",function(b){c=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position=="absolute"});return c},v,w={}.hasOwnProperty,x;!A(w,c)&&!A(w.call,c)?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],c)},p.rgba=function(){y("background-color:rgba(150,255,150,.5)");return B(k.backgroundColor,"rgba")},p.boxshadow=function(){return D("boxShadow")},p.csstransitions=function(){return D("transitionProperty")};for(var E in p)x(p,E)&&(v=E.toLowerCase(),e[v]=p[E](),s.push((e[v]?"":"no-")+v));e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return;b=typeof b=="boolean"?b:!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},y(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,e._prefixes=n,e._domPrefixes=o,e.mq=u,e.testProp=function(a){return C([a])},e.testAllProps=D,e.testStyles=t,g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+s.join(" "):"");return e}(this,this.document),function(a,b){function u(){r(!0)}a.respond={},respond.update=function(){},respond.mediaQueriesSupported=b;if(!b){var c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=j.getElementsByTagName("link"),l=[],m=function(){var b=k,c=b.length,d=0,e,f,g,i;for(;d<c;d++)e=b[d],f=e.href,g=e.media,i=e.rel&&e.rel.toLowerCase()==="stylesheet",!!f&&i&&!h[f]&&(!/^([a-zA-Z]+?:(\/\/)?(www\.)?)/.test(f)||f.replace(RegExp.$1,"").split("/")[0]===a.location.host?l.push({href:f,media:g}):h[f]=!0);n()},n=function(){if(l.length){var a=l.shift();s(a.href,function(b){o(b,a.href,a.media),h[a.href]=!0,n()})}},o=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),g=d&&d.length||0,b=b.substring(0,b.lastIndexOf("/")),h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c,j=0,k,l,m,n,o;b.length&&(b+="/"),i&&(g=1);for(;j<g;j++){k=0,i?(l=c,f.push(h(a))):(l=d[j].match(/@media ([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),n=l.split(","),o=n.length;for(;k<o;k++)m=n[k],e.push({media:m.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)&&RegExp.$2,rules:f.length-1,minw:m.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1),maxw:m.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)&&parseFloat(RegExp.$1)})}r()},p,q,r=function(a){var b="clientWidth",h=d[b],l=c.compatMode==="CSS1Compat"&&h||c.body[b]||h,m={},n=c.createDocumentFragment(),o=k[k.length-1],s=(new Date).getTime();if(a&&p&&s-p<i)clearTimeout(q),q=setTimeout(r,i);else{p=s;for(var t in e){var u=e[t];if(!u.minw&&!u.maxw||(!u.minw||u.minw&&l>=u.minw)&&(!u.maxw||u.maxw&&l<=u.maxw))m[u.media]||(m[u.media]=[]),m[u.media].push(f[u.rules])}for(var t in g)g[t]&&g[t].parentNode===j&&j.removeChild(g[t]);for(var t in m){var v=c.createElement("style"),w=m[t].join("\n");v.type="text/css",v.media=t,v.styleSheet?v.styleSheet.cssText=w:v.appendChild(c.createTextNode(w)),n.appendChild(v),g.push(v)}j.insertBefore(n,o.nextSibling)}},s=function(a,b){var c=t();if(!!c){c.open("GET",a,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status==200||c.status==304)&&b(c.responseText)};if(c.readyState==4)return;c.send()}},t=function(){var a=!1,b=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],c=b.length;while(c--){try{a=b[c]()}catch(d){continue}break}return function(){return a}}();m(),respond.update=m,a.addEventListener?a.addEventListener("resize",u,!1):a.attachEvent&&a.attachEvent("onresize",u)}}(this,Modernizr.mq("only all")),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)};e(c)}else c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload();m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b&&(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS&&/css$/.test(i.url)?"c":c,i.noexec),(D(b)||D(j))&&e.load(function(){d(),b&&b(i.origUrl,h,g),j&&j(i.origUrl,h,g)})}}function b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)&&e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;g<a.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)&&b(h,i);else B(a)&&b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
includes/shortcodes/flex_slider/shBrushCss.js ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/SyntaxHighlighter
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7
+ *
8
+ * @version
9
+ * 3.0.83 (July 02 2010)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2010 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
21
+
22
+ function Brush()
23
+ {
24
+ function getKeywordsCSS(str)
25
+ {
26
+ return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
27
+ };
28
+
29
+ function getValuesCSS(str)
30
+ {
31
+ return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
32
+ };
33
+
34
+ var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
35
+ 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
36
+ 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
37
+ 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
38
+ 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
39
+ 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
40
+ 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
41
+ 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
42
+ 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
43
+ 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
44
+ 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
45
+ 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
46
+ 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
47
+ 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
48
+
49
+ var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
50
+ 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
51
+ 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
52
+ 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
53
+ 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
54
+ 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
55
+ 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
56
+ 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
57
+ 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
58
+ 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
59
+ 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
60
+ 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
61
+ 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
62
+ 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
63
+
64
+ var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
65
+
66
+ this.regexList = [
67
+ { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
68
+ { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
69
+ { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
70
+ { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
71
+ { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
72
+ { regex: /!important/g, css: 'color3' }, // !important
73
+ { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
74
+ { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
75
+ { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
76
+ ];
77
+
78
+ this.forHtmlScript({
79
+ left: /(&lt;|<)\s*style.*?(&gt;|>)/gi,
80
+ right: /(&lt;|<)\/\s*style\s*(&gt;|>)/gi
81
+ });
82
+ };
83
+
84
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
85
+ Brush.aliases = ['css'];
86
+
87
+ SyntaxHighlighter.brushes.CSS = Brush;
88
+
89
+ // CommonJS
90
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
91
+ })();
includes/shortcodes/flex_slider/shBrushJScript.js ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/SyntaxHighlighter
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7
+ *
8
+ * @version
9
+ * 3.0.83 (July 02 2010)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2010 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
21
+
22
+ function Brush()
23
+ {
24
+ var keywords = 'break case catch continue ' +
25
+ 'default delete do else false ' +
26
+ 'for function if in instanceof ' +
27
+ 'new null return super switch ' +
28
+ 'this throw true try typeof var while with'
29
+ ;
30
+
31
+ var r = SyntaxHighlighter.regexLib;
32
+
33
+ this.regexList = [
34
+ { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
35
+ { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
36
+ { regex: r.singleLineCComments, css: 'comments' }, // one line comments
37
+ { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
38
+ { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
39
+ { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
40
+ ];
41
+
42
+ this.forHtmlScript(r.scriptScriptTags);
43
+ };
44
+
45
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
46
+ Brush.aliases = ['js', 'jscript', 'javascript'];
47
+
48
+ SyntaxHighlighter.brushes.JScript = Brush;
49
+
50
+ // CommonJS
51
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
52
+ })();
includes/shortcodes/flex_slider/shBrushXml.js ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/SyntaxHighlighter
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7
+ *
8
+ * @version
9
+ * 3.0.83 (July 02 2010)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2010 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
21
+
22
+ function Brush()
23
+ {
24
+ function process(match, regexInfo)
25
+ {
26
+ var constructor = SyntaxHighlighter.Match,
27
+ code = match[0],
28
+ tag = new XRegExp('(&lt;|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)', 'xg').exec(code),
29
+ result = []
30
+ ;
31
+
32
+ if (match.attributes != null)
33
+ {
34
+ var attributes,
35
+ regex = new XRegExp('(?<name> [\\w:\\-\\.]+)' +
36
+ '\\s*=\\s*' +
37
+ '(?<value> ".*?"|\'.*?\'|\\w+)',
38
+ 'xg');
39
+
40
+ while ((attributes = regex.exec(code)) != null)
41
+ {
42
+ result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
43
+ result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
44
+ }
45
+ }
46
+
47
+ if (tag != null)
48
+ result.push(
49
+ new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
50
+ );
51
+
52
+ return result;
53
+ }
54
+
55
+ this.regexList = [
56
+ { regex: new XRegExp('(\\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\&gt;|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
57
+ { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
58
+ { regex: new XRegExp('(&lt;|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)', 'sg'), func: process }
59
+ ];
60
+ };
61
+
62
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
63
+ Brush.aliases = ['xml', 'xhtml', 'xslt', 'html'];
64
+
65
+ SyntaxHighlighter.brushes.Xml = Brush;
66
+
67
+ // CommonJS
68
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
69
+ })();
includes/shortcodes/flex_slider/shCore.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/SyntaxHighlighter
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7
+ *
8
+ * @version
9
+ * 3.0.83 (July 02 2010)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2010 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('K M;I(M)1S 2U("2a\'t 4k M 4K 2g 3l 4G 4H");(6(){6 r(f,e){I(!M.1R(f))1S 3m("3s 15 4R");K a=f.1w;f=M(f.1m,t(f)+(e||""));I(a)f.1w={1m:a.1m,19:a.19?a.19.1a(0):N};H f}6 t(f){H(f.1J?"g":"")+(f.4s?"i":"")+(f.4p?"m":"")+(f.4v?"x":"")+(f.3n?"y":"")}6 B(f,e,a,b){K c=u.L,d,h,g;v=R;5K{O(;c--;){g=u[c];I(a&g.3r&&(!g.2p||g.2p.W(b))){g.2q.12=e;I((h=g.2q.X(f))&&h.P===e){d={3k:g.2b.W(b,h,a),1C:h};1N}}}}5v(i){1S i}5q{v=11}H d}6 p(f,e,a){I(3b.Z.1i)H f.1i(e,a);O(a=a||0;a<f.L;a++)I(f[a]===e)H a;H-1}M=6(f,e){K a=[],b=M.1B,c=0,d,h;I(M.1R(f)){I(e!==1d)1S 3m("2a\'t 5r 5I 5F 5B 5C 15 5E 5p");H r(f)}I(v)1S 2U("2a\'t W 3l M 59 5m 5g 5x 5i");e=e||"";O(d={2N:11,19:[],2K:6(g){H e.1i(g)>-1},3d:6(g){e+=g}};c<f.L;)I(h=B(f,c,b,d)){a.U(h.3k);c+=h.1C[0].L||1}Y I(h=n.X.W(z[b],f.1a(c))){a.U(h[0]);c+=h[0].L}Y{h=f.3a(c);I(h==="[")b=M.2I;Y I(h==="]")b=M.1B;a.U(h);c++}a=15(a.1K(""),n.Q.W(e,w,""));a.1w={1m:f,19:d.2N?d.19:N};H a};M.3v="1.5.0";M.2I=1;M.1B=2;K C=/\\$(?:(\\d\\d?|[$&`\'])|{([$\\w]+)})/g,w=/[^5h]+|([\\s\\S])(?=[\\s\\S]*\\1)/g,A=/^(?:[?*+]|{\\d+(?:,\\d*)?})\\??/,v=11,u=[],n={X:15.Z.X,1A:15.Z.1A,1C:1r.Z.1C,Q:1r.Z.Q,1e:1r.Z.1e},x=n.X.W(/()??/,"")[1]===1d,D=6(){K f=/^/g;n.1A.W(f,"");H!f.12}(),y=6(){K f=/x/g;n.Q.W("x",f,"");H!f.12}(),E=15.Z.3n!==1d,z={};z[M.2I]=/^(?:\\\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S]))/;z[M.1B]=/^(?:\\\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\\d*|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S])|\\(\\?[:=!]|[?*+]\\?|{\\d+(?:,\\d*)?}\\??)/;M.1h=6(f,e,a,b){u.U({2q:r(f,"g"+(E?"y":"")),2b:e,3r:a||M.1B,2p:b||N})};M.2n=6(f,e){K a=f+"/"+(e||"");H M.2n[a]||(M.2n[a]=M(f,e))};M.3c=6(f){H r(f,"g")};M.5l=6(f){H f.Q(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,"\\\\$&")};M.5e=6(f,e,a,b){e=r(e,"g"+(b&&E?"y":""));e.12=a=a||0;f=e.X(f);H b?f&&f.P===a?f:N:f};M.3q=6(){M.1h=6(){1S 2U("2a\'t 55 1h 54 3q")}};M.1R=6(f){H 53.Z.1q.W(f)==="[2m 15]"};M.3p=6(f,e,a,b){O(K c=r(e,"g"),d=-1,h;h=c.X(f);){a.W(b,h,++d,f,c);c.12===h.P&&c.12++}I(e.1J)e.12=0};M.57=6(f,e){H 6 a(b,c){K d=e[c].1I?e[c]:{1I:e[c]},h=r(d.1I,"g"),g=[],i;O(i=0;i<b.L;i++)M.3p(b[i],h,6(k){g.U(d.3j?k[d.3j]||"":k[0])});H c===e.L-1||!g.L?g:a(g,c+1)}([f],0)};15.Z.1p=6(f,e){H J.X(e[0])};15.Z.W=6(f,e){H J.X(e)};15.Z.X=6(f){K e=n.X.1p(J,14),a;I(e){I(!x&&e.L>1&&p(e,"")>-1){a=15(J.1m,n.Q.W(t(J),"g",""));n.Q.W(f.1a(e.P),a,6(){O(K c=1;c<14.L-2;c++)I(14[c]===1d)e[c]=1d})}I(J.1w&&J.1w.19)O(K b=1;b<e.L;b++)I(a=J.1w.19[b-1])e[a]=e[b];!D&&J.1J&&!e[0].L&&J.12>e.P&&J.12--}H e};I(!D)15.Z.1A=6(f){(f=n.X.W(J,f))&&J.1J&&!f[0].L&&J.12>f.P&&J.12--;H!!f};1r.Z.1C=6(f){M.1R(f)||(f=15(f));I(f.1J){K e=n.1C.1p(J,14);f.12=0;H e}H f.X(J)};1r.Z.Q=6(f,e){K a=M.1R(f),b,c;I(a&&1j e.58()==="3f"&&e.1i("${")===-1&&y)H n.Q.1p(J,14);I(a){I(f.1w)b=f.1w.19}Y f+="";I(1j e==="6")c=n.Q.W(J,f,6(){I(b){14[0]=1f 1r(14[0]);O(K d=0;d<b.L;d++)I(b[d])14[0][b[d]]=14[d+1]}I(a&&f.1J)f.12=14[14.L-2]+14[0].L;H e.1p(N,14)});Y{c=J+"";c=n.Q.W(c,f,6(){K d=14;H n.Q.W(e,C,6(h,g,i){I(g)5b(g){24"$":H"$";24"&":H d[0];24"`":H d[d.L-1].1a(0,d[d.L-2]);24"\'":H d[d.L-1].1a(d[d.L-2]+d[0].L);5a:i="";g=+g;I(!g)H h;O(;g>d.L-3;){i=1r.Z.1a.W(g,-1)+i;g=1Q.3i(g/10)}H(g?d[g]||"":"$")+i}Y{g=+i;I(g<=d.L-3)H d[g];g=b?p(b,i):-1;H g>-1?d[g+1]:h}})})}I(a&&f.1J)f.12=0;H c};1r.Z.1e=6(f,e){I(!M.1R(f))H n.1e.1p(J,14);K a=J+"",b=[],c=0,d,h;I(e===1d||+e<0)e=5D;Y{e=1Q.3i(+e);I(!e)H[]}O(f=M.3c(f);d=f.X(a);){I(f.12>c){b.U(a.1a(c,d.P));d.L>1&&d.P<a.L&&3b.Z.U.1p(b,d.1a(1));h=d[0].L;c=f.12;I(b.L>=e)1N}f.12===d.P&&f.12++}I(c===a.L){I(!n.1A.W(f,"")||h)b.U("")}Y b.U(a.1a(c));H b.L>e?b.1a(0,e):b};M.1h(/\\(\\?#[^)]*\\)/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"});M.1h(/\\((?!\\?)/,6(){J.19.U(N);H"("});M.1h(/\\(\\?<([$\\w]+)>/,6(f){J.19.U(f[1]);J.2N=R;H"("});M.1h(/\\\\k<([\\w$]+)>/,6(f){K e=p(J.19,f[1]);H e>-1?"\\\\"+(e+1)+(3R(f.2S.3a(f.P+f[0].L))?"":"(?:)"):f[0]});M.1h(/\\[\\^?]/,6(f){H f[0]==="[]"?"\\\\b\\\\B":"[\\\\s\\\\S]"});M.1h(/^\\(\\?([5A]+)\\)/,6(f){J.3d(f[1]);H""});M.1h(/(?:\\s+|#.*)+/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"},M.1B,6(){H J.2K("x")});M.1h(/\\./,6(){H"[\\\\s\\\\S]"},M.1B,6(){H J.2K("s")})})();1j 2e!="1d"&&(2e.M=M);K 1v=6(){6 r(a,b){a.1l.1i(b)!=-1||(a.1l+=" "+b)}6 t(a){H a.1i("3e")==0?a:"3e"+a}6 B(a){H e.1Y.2A[t(a)]}6 p(a,b,c){I(a==N)H N;K d=c!=R?a.3G:[a.2G],h={"#":"1c",".":"1l"}[b.1o(0,1)]||"3h",g,i;g=h!="3h"?b.1o(1):b.5u();I((a[h]||"").1i(g)!=-1)H a;O(a=0;d&&a<d.L&&i==N;a++)i=p(d[a],b,c);H i}6 C(a,b){K c={},d;O(d 2g a)c[d]=a[d];O(d 2g b)c[d]=b[d];H c}6 w(a,b,c,d){6 h(g){g=g||1P.5y;I(!g.1F){g.1F=g.52;g.3N=6(){J.5w=11}}c.W(d||1P,g)}a.3g?a.3g("4U"+b,h):a.4y(b,h,11)}6 A(a,b){K c=e.1Y.2j,d=N;I(c==N){c={};O(K h 2g e.1U){K g=e.1U[h];d=g.4x;I(d!=N){g.1V=h.4w();O(g=0;g<d.L;g++)c[d[g]]=h}}e.1Y.2j=c}d=e.1U[c[a]];d==N&&b!=11&&1P.1X(e.13.1x.1X+(e.13.1x.3E+a));H d}6 v(a,b){O(K c=a.1e("\\n"),d=0;d<c.L;d++)c[d]=b(c[d],d);H c.1K("\\n")}6 u(a,b){I(a==N||a.L==0||a=="\\n")H a;a=a.Q(/</g,"&1y;");a=a.Q(/ {2,}/g,6(c){O(K d="",h=0;h<c.L-1;h++)d+=e.13.1W;H d+" "});I(b!=N)a=v(a,6(c){I(c.L==0)H"";K d="";c=c.Q(/^(&2s;| )+/,6(h){d=h;H""});I(c.L==0)H d;H d+\'<17 1g="\'+b+\'">\'+c+"</17>"});H a}6 n(a,b){a.1e("\\n");O(K c="",d=0;d<50;d++)c+=" ";H a=v(a,6(h){I(h.1i("\\t")==-1)H h;O(K g=0;(g=h.1i("\\t"))!=-1;)h=h.1o(0,g)+c.1o(0,b-g%b)+h.1o(g+1,h.L);H h})}6 x(a){H a.Q(/^\\s+|\\s+$/g,"")}6 D(a,b){I(a.P<b.P)H-1;Y I(a.P>b.P)H 1;Y I(a.L<b.L)H-1;Y I(a.L>b.L)H 1;H 0}6 y(a,b){6 c(k){H k[0]}O(K d=N,h=[],g=b.2D?b.2D:c;(d=b.1I.X(a))!=N;){K i=g(d,b);I(1j i=="3f")i=[1f e.2L(i,d.P,b.23)];h=h.1O(i)}H h}6 E(a){K b=/(.*)((&1G;|&1y;).*)/;H a.Q(e.3A.3M,6(c){K d="",h=N;I(h=b.X(c)){c=h[1];d=h[2]}H\'<a 2h="\'+c+\'">\'+c+"</a>"+d})}6 z(){O(K a=1E.36("1k"),b=[],c=0;c<a.L;c++)a[c].3s=="20"&&b.U(a[c]);H b}6 f(a){a=a.1F;K b=p(a,".20",R);a=p(a,".3O",R);K c=1E.4i("3t");I(!(!a||!b||p(a,"3t"))){B(b.1c);r(b,"1m");O(K d=a.3G,h=[],g=0;g<d.L;g++)h.U(d[g].4z||d[g].4A);h=h.1K("\\r");c.39(1E.4D(h));a.39(c);c.2C();c.4C();w(c,"4u",6(){c.2G.4E(c);b.1l=b.1l.Q("1m","")})}}I(1j 3F!="1d"&&1j M=="1d")M=3F("M").M;K e={2v:{"1g-27":"","2i-1s":1,"2z-1s-2t":11,1M:N,1t:N,"42-45":R,"43-22":4,1u:R,16:R,"3V-17":R,2l:11,"41-40":R,2k:11,"1z-1k":11},13:{1W:"&2s;",2M:R,46:11,44:11,34:"4n",1x:{21:"4o 1m",2P:"?",1X:"1v\\n\\n",3E:"4r\'t 4t 1D O: ",4g:"4m 4B\'t 51 O 1z-1k 4F: ",37:\'<!4T 1z 4S "-//4V//3H 4W 1.0 4Z//4Y" "1Z://2y.3L.3K/4X/3I/3H/3I-4P.4J"><1z 4I="1Z://2y.3L.3K/4L/5L"><3J><4N 1Z-4M="5G-5M" 6K="2O/1z; 6J=6I-8" /><1t>6L 1v</1t></3J><3B 1L="25-6M:6Q,6P,6O,6N-6F;6y-2f:#6x;2f:#6w;25-22:6v;2O-3D:3C;"><T 1L="2O-3D:3C;3w-32:1.6z;"><T 1L="25-22:6A-6E;">1v</T><T 1L="25-22:.6C;3w-6B:6R;"><T>3v 3.0.76 (72 73 3x)</T><T><a 2h="1Z://3u.2w/1v" 1F="38" 1L="2f:#3y">1Z://3u.2w/1v</a></T><T>70 17 6U 71.</T><T>6T 6X-3x 6Y 6D.</T></T><T>6t 61 60 J 1k, 5Z <a 2h="6u://2y.62.2w/63-66/65?64=5X-5W&5P=5O" 1L="2f:#3y">5R</a> 5V <2R/>5U 5T 5S!</T></T></3B></1z>\'}},1Y:{2j:N,2A:{}},1U:{},3A:{6n:/\\/\\*[\\s\\S]*?\\*\\//2c,6m:/\\/\\/.*$/2c,6l:/#.*$/2c,6k:/"([^\\\\"\\n]|\\\\.)*"/g,6o:/\'([^\\\\\'\\n]|\\\\.)*\'/g,6p:1f M(\'"([^\\\\\\\\"]|\\\\\\\\.)*"\',"3z"),6s:1f M("\'([^\\\\\\\\\']|\\\\\\\\.)*\'","3z"),6q:/(&1y;|<)!--[\\s\\S]*?--(&1G;|>)/2c,3M:/\\w+:\\/\\/[\\w-.\\/?%&=:@;]*/g,6a:{18:/(&1y;|<)\\?=?/g,1b:/\\?(&1G;|>)/g},69:{18:/(&1y;|<)%=?/g,1b:/%(&1G;|>)/g},6d:{18:/(&1y;|<)\\s*1k.*?(&1G;|>)/2T,1b:/(&1y;|<)\\/\\s*1k\\s*(&1G;|>)/2T}},16:{1H:6(a){6 b(i,k){H e.16.2o(i,k,e.13.1x[k])}O(K c=\'<T 1g="16">\',d=e.16.2x,h=d.2X,g=0;g<h.L;g++)c+=(d[h[g]].1H||b)(a,h[g]);c+="</T>";H c},2o:6(a,b,c){H\'<2W><a 2h="#" 1g="6e 6h\'+b+" "+b+\'">\'+c+"</a></2W>"},2b:6(a){K b=a.1F,c=b.1l||"";b=B(p(b,".20",R).1c);K d=6(h){H(h=15(h+"6f(\\\\w+)").X(c))?h[1]:N}("6g");b&&d&&e.16.2x[d].2B(b);a.3N()},2x:{2X:["21","2P"],21:{1H:6(a){I(a.V("2l")!=R)H"";K b=a.V("1t");H e.16.2o(a,"21",b?b:e.13.1x.21)},2B:6(a){a=1E.6j(t(a.1c));a.1l=a.1l.Q("47","")}},2P:{2B:6(){K a="68=0";a+=", 18="+(31.30-33)/2+", 32="+(31.2Z-2Y)/2+", 30=33, 2Z=2Y";a=a.Q(/^,/,"");a=1P.6Z("","38",a);a.2C();K b=a.1E;b.6W(e.13.1x.37);b.6V();a.2C()}}}},35:6(a,b){K c;I(b)c=[b];Y{c=1E.36(e.13.34);O(K d=[],h=0;h<c.L;h++)d.U(c[h]);c=d}c=c;d=[];I(e.13.2M)c=c.1O(z());I(c.L===0)H d;O(h=0;h<c.L;h++){O(K g=c[h],i=a,k=c[h].1l,j=3W 0,l={},m=1f M("^\\\\[(?<2V>(.*?))\\\\]$"),s=1f M("(?<27>[\\\\w-]+)\\\\s*:\\\\s*(?<1T>[\\\\w-%#]+|\\\\[.*?\\\\]|\\".*?\\"|\'.*?\')\\\\s*;?","g");(j=s.X(k))!=N;){K o=j.1T.Q(/^[\'"]|[\'"]$/g,"");I(o!=N&&m.1A(o)){o=m.X(o);o=o.2V.L>0?o.2V.1e(/\\s*,\\s*/):[]}l[j.27]=o}g={1F:g,1n:C(i,l)};g.1n.1D!=N&&d.U(g)}H d},1M:6(a,b){K c=J.35(a,b),d=N,h=e.13;I(c.L!==0)O(K g=0;g<c.L;g++){b=c[g];K i=b.1F,k=b.1n,j=k.1D,l;I(j!=N){I(k["1z-1k"]=="R"||e.2v["1z-1k"]==R){d=1f e.4l(j);j="4O"}Y I(d=A(j))d=1f d;Y 6H;l=i.3X;I(h.2M){l=l;K m=x(l),s=11;I(m.1i("<![6G[")==0){m=m.4h(9);s=R}K o=m.L;I(m.1i("]]\\>")==o-3){m=m.4h(0,o-3);s=R}l=s?m:l}I((i.1t||"")!="")k.1t=i.1t;k.1D=j;d.2Q(k);b=d.2F(l);I((i.1c||"")!="")b.1c=i.1c;i.2G.74(b,i)}}},2E:6(a){w(1P,"4k",6(){e.1M(a)})}};e.2E=e.2E;e.1M=e.1M;e.2L=6(a,b,c){J.1T=a;J.P=b;J.L=a.L;J.23=c;J.1V=N};e.2L.Z.1q=6(){H J.1T};e.4l=6(a){6 b(j,l){O(K m=0;m<j.L;m++)j[m].P+=l}K c=A(a),d,h=1f e.1U.5Y,g=J,i="2F 1H 2Q".1e(" ");I(c!=N){d=1f c;O(K k=0;k<i.L;k++)(6(){K j=i[k];g[j]=6(){H h[j].1p(h,14)}})();d.28==N?1P.1X(e.13.1x.1X+(e.13.1x.4g+a)):h.2J.U({1I:d.28.17,2D:6(j){O(K l=j.17,m=[],s=d.2J,o=j.P+j.18.L,F=d.28,q,G=0;G<s.L;G++){q=y(l,s[G]);b(q,o);m=m.1O(q)}I(F.18!=N&&j.18!=N){q=y(j.18,F.18);b(q,j.P);m=m.1O(q)}I(F.1b!=N&&j.1b!=N){q=y(j.1b,F.1b);b(q,j.P+j[0].5Q(j.1b));m=m.1O(q)}O(j=0;j<m.L;j++)m[j].1V=c.1V;H m}})}};e.4j=6(){};e.4j.Z={V:6(a,b){K c=J.1n[a];c=c==N?b:c;K d={"R":R,"11":11}[c];H d==N?c:d},3Y:6(a){H 1E.4i(a)},4c:6(a,b){K c=[];I(a!=N)O(K d=0;d<a.L;d++)I(1j a[d]=="2m")c=c.1O(y(b,a[d]));H J.4e(c.6b(D))},4e:6(a){O(K b=0;b<a.L;b++)I(a[b]!==N)O(K c=a[b],d=c.P+c.L,h=b+1;h<a.L&&a[b]!==N;h++){K g=a[h];I(g!==N)I(g.P>d)1N;Y I(g.P==c.P&&g.L>c.L)a[b]=N;Y I(g.P>=c.P&&g.P<d)a[h]=N}H a},4d:6(a){K b=[],c=2u(J.V("2i-1s"));v(a,6(d,h){b.U(h+c)});H b},3U:6(a){K b=J.V("1M",[]);I(1j b!="2m"&&b.U==N)b=[b];a:{a=a.1q();K c=3W 0;O(c=c=1Q.6c(c||0,0);c<b.L;c++)I(b[c]==a){b=c;1N a}b=-1}H b!=-1},2r:6(a,b,c){a=["1s","6i"+b,"P"+a,"6r"+(b%2==0?1:2).1q()];J.3U(b)&&a.U("67");b==0&&a.U("1N");H\'<T 1g="\'+a.1K(" ")+\'">\'+c+"</T>"},3Q:6(a,b){K c="",d=a.1e("\\n").L,h=2u(J.V("2i-1s")),g=J.V("2z-1s-2t");I(g==R)g=(h+d-1).1q().L;Y I(3R(g)==R)g=0;O(K i=0;i<d;i++){K k=b?b[i]:h+i,j;I(k==0)j=e.13.1W;Y{j=g;O(K l=k.1q();l.L<j;)l="0"+l;j=l}a=j;c+=J.2r(i,k,a)}H c},49:6(a,b){a=x(a);K c=a.1e("\\n");J.V("2z-1s-2t");K d=2u(J.V("2i-1s"));a="";O(K h=J.V("1D"),g=0;g<c.L;g++){K i=c[g],k=/^(&2s;|\\s)+/.X(i),j=N,l=b?b[g]:d+g;I(k!=N){j=k[0].1q();i=i.1o(j.L);j=j.Q(" ",e.13.1W)}i=x(i);I(i.L==0)i=e.13.1W;a+=J.2r(g,l,(j!=N?\'<17 1g="\'+h+\' 5N">\'+j+"</17>":"")+i)}H a},4f:6(a){H a?"<4a>"+a+"</4a>":""},4b:6(a,b){6 c(l){H(l=l?l.1V||g:g)?l+" ":""}O(K d=0,h="",g=J.V("1D",""),i=0;i<b.L;i++){K k=b[i],j;I(!(k===N||k.L===0)){j=c(k);h+=u(a.1o(d,k.P-d),j+"48")+u(k.1T,j+k.23);d=k.P+k.L+(k.75||0)}}h+=u(a.1o(d),c()+"48");H h},1H:6(a){K b="",c=["20"],d;I(J.V("2k")==R)J.1n.16=J.1n.1u=11;1l="20";J.V("2l")==R&&c.U("47");I((1u=J.V("1u"))==11)c.U("6S");c.U(J.V("1g-27"));c.U(J.V("1D"));a=a.Q(/^[ ]*[\\n]+|[\\n]*[ ]*$/g,"").Q(/\\r/g," ");b=J.V("43-22");I(J.V("42-45")==R)a=n(a,b);Y{O(K h="",g=0;g<b;g++)h+=" ";a=a.Q(/\\t/g,h)}a=a;a:{b=a=a;h=/<2R\\s*\\/?>|&1y;2R\\s*\\/?&1G;/2T;I(e.13.46==R)b=b.Q(h,"\\n");I(e.13.44==R)b=b.Q(h,"");b=b.1e("\\n");h=/^\\s*/;g=4Q;O(K i=0;i<b.L&&g>0;i++){K k=b[i];I(x(k).L!=0){k=h.X(k);I(k==N){a=a;1N a}g=1Q.4q(k[0].L,g)}}I(g>0)O(i=0;i<b.L;i++)b[i]=b[i].1o(g);a=b.1K("\\n")}I(1u)d=J.4d(a);b=J.4c(J.2J,a);b=J.4b(a,b);b=J.49(b,d);I(J.V("41-40"))b=E(b);1j 2H!="1d"&&2H.3S&&2H.3S.1C(/5s/)&&c.U("5t");H b=\'<T 1c="\'+t(J.1c)+\'" 1g="\'+c.1K(" ")+\'">\'+(J.V("16")?e.16.1H(J):"")+\'<3Z 5z="0" 5H="0" 5J="0">\'+J.4f(J.V("1t"))+"<3T><3P>"+(1u?\'<2d 1g="1u">\'+J.3Q(a)+"</2d>":"")+\'<2d 1g="17"><T 1g="3O">\'+b+"</T></2d></3P></3T></3Z></T>"},2F:6(a){I(a===N)a="";J.17=a;K b=J.3Y("T");b.3X=J.1H(a);J.V("16")&&w(p(b,".16"),"5c",e.16.2b);J.V("3V-17")&&w(p(b,".17"),"56",f);H b},2Q:6(a){J.1c=""+1Q.5d(1Q.5n()*5k).1q();e.1Y.2A[t(J.1c)]=J;J.1n=C(e.2v,a||{});I(J.V("2k")==R)J.1n.16=J.1n.1u=11},5j:6(a){a=a.Q(/^\\s+|\\s+$/g,"").Q(/\\s+/g,"|");H"\\\\b(?:"+a+")\\\\b"},5f:6(a){J.28={18:{1I:a.18,23:"1k"},1b:{1I:a.1b,23:"1k"},17:1f M("(?<18>"+a.18.1m+")(?<17>.*?)(?<1b>"+a.1b.1m+")","5o")}}};H e}();1j 2e!="1d"&&(2e.1v=1v);',62,441,'||||||function|||||||||||||||||||||||||||||||||||||return|if|this|var|length|XRegExp|null|for|index|replace|true||div|push|getParam|call|exec|else|prototype||false|lastIndex|config|arguments|RegExp|toolbar|code|left|captureNames|slice|right|id|undefined|split|new|class|addToken|indexOf|typeof|script|className|source|params|substr|apply|toString|String|line|title|gutter|SyntaxHighlighter|_xregexp|strings|lt|html|test|OUTSIDE_CLASS|match|brush|document|target|gt|getHtml|regex|global|join|style|highlight|break|concat|window|Math|isRegExp|throw|value|brushes|brushName|space|alert|vars|http|syntaxhighlighter|expandSource|size|css|case|font|Fa|name|htmlScript|dA|can|handler|gm|td|exports|color|in|href|first|discoveredBrushes|light|collapse|object|cache|getButtonHtml|trigger|pattern|getLineHtml|nbsp|numbers|parseInt|defaults|com|items|www|pad|highlighters|execute|focus|func|all|getDiv|parentNode|navigator|INSIDE_CLASS|regexList|hasFlag|Match|useScriptTags|hasNamedCapture|text|help|init|br|input|gi|Error|values|span|list|250|height|width|screen|top|500|tagName|findElements|getElementsByTagName|aboutDialog|_blank|appendChild|charAt|Array|copyAsGlobal|setFlag|highlighter_|string|attachEvent|nodeName|floor|backref|output|the|TypeError|sticky|Za|iterate|freezeTokens|scope|type|textarea|alexgorbatchev|version|margin|2010|005896|gs|regexLib|body|center|align|noBrush|require|childNodes|DTD|xhtml1|head|org|w3|url|preventDefault|container|tr|getLineNumbersHtml|isNaN|userAgent|tbody|isLineHighlighted|quick|void|innerHTML|create|table|links|auto|smart|tab|stripBrs|tabs|bloggerMode|collapsed|plain|getCodeLinesHtml|caption|getMatchesHtml|findMatches|figureOutLineNumbers|removeNestedMatches|getTitleHtml|brushNotHtmlScript|substring|createElement|Highlighter|load|HtmlScript|Brush|pre|expand|multiline|min|Can|ignoreCase|find|blur|extended|toLowerCase|aliases|addEventListener|innerText|textContent|wasn|select|createTextNode|removeChild|option|same|frame|xmlns|dtd|twice|1999|equiv|meta|htmlscript|transitional|1E3|expected|PUBLIC|DOCTYPE|on|W3C|XHTML|TR|EN|Transitional||configured|srcElement|Object|after|run|dblclick|matchChain|valueOf|constructor|default|switch|click|round|execAt|forHtmlScript|token|gimy|functions|getKeywords|1E6|escape|within|random|sgi|another|finally|supply|MSIE|ie|toUpperCase|catch|returnValue|definition|event|border|imsx|constructing|one|Infinity|from|when|Content|cellpadding|flags|cellspacing|try|xhtml|Type|spaces|2930402|hosted_button_id|lastIndexOf|donate|active|development|keep|to|xclick|_s|Xml|please|like|you|paypal|cgi|cmd|webscr|bin|highlighted|scrollbars|aspScriptTags|phpScriptTags|sort|max|scriptScriptTags|toolbar_item|_|command|command_|number|getElementById|doubleQuotedString|singleLinePerlComments|singleLineCComments|multiLineCComments|singleQuotedString|multiLineDoubleQuotedString|xmlComments|alt|multiLineSingleQuotedString|If|https|1em|000|fff|background|5em|xx|bottom|75em|Gorbatchev|large|serif|CDATA|continue|utf|charset|content|About|family|sans|Helvetica|Arial|Geneva|3em|nogutter|Copyright|syntax|close|write|2004|Alex|open|JavaScript|highlighter|July|02|replaceChild|offset|83'.split('|'),0,{}))
includes/shortcodes/flex_slider/slider.css ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery FlexSlider v2.0
3
+ * http://www.woothemes.com/flexslider/
4
+ *
5
+ * Copyright 2012 WooThemes
6
+ * Free to use under the GPLv2 license.
7
+ * http://www.gnu.org/licenses/gpl-2.0.html
8
+ *
9
+ * Contributing author: Tyler Smith (@mbmufffin)
10
+ */
11
+
12
+
13
+ /* Browser Resets */
14
+ .flex-container a:active,
15
+ .flexslider a:active,
16
+ .flex-container a:focus,
17
+ .flexslider a:focus {outline: none;}
18
+ .slides,
19
+ .flex-control-nav,
20
+ .flex-direction-nav {margin: 0; padding: 0; list-style: none;}
21
+
22
+ /* FlexSlider Necessary Styles
23
+ *********************************/
24
+ .flexslider {margin: 0; padding: 0;}
25
+ .flexslider .slides > li {display: none; /*-webkit-backface-visibility: hidden;*/} /* Hide the slides before the JS is loaded. Avoids image jumping */
26
+ .flexslider .slides img {width: 100%; display: block; max-height:900px;}
27
+ .flex-pauseplay span {text-transform: capitalize;}
28
+
29
+ /* Clearfix for the .slides element */
30
+ .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
31
+ html[xmlns] .slides {display: block;}
32
+ * html .slides {height: 1%;}
33
+
34
+ /* No JavaScript Fallback */
35
+ /* If you are not using another script, such as Modernizr, make sure you
36
+ * include js that eliminates this class on page load */
37
+ .no-js .slides > li:first-child {display: block;}
38
+
39
+
40
+ /* FlexSlider Default Theme
41
+ *********************************/
42
+ .flexslider {margin: 0 0 60px; background: #fff; position: relative; zoom: 1;}
43
+ .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
44
+ .loading .flex-viewport {max-height: 300px;}
45
+ .flexslider .slides {zoom: 1; height: 100%;}
46
+
47
+ .carousel li {margin-right: 5px}
48
+
49
+
50
+ /* Direction Nav */
51
+ .flex-direction-nav {*height: 0;}
52
+ .flex-direction-nav a {width: 13px; height: 26px; margin: -20px 0 0; display: block; background: url(images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
53
+ .flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
54
+ .flex-direction-nav .flex-prev {left: -36px;}
55
+ .flexslider:hover .flex-next {opacity: 0.9; right: 5px;}
56
+ .flexslider:hover .flex-prev {opacity: 0.9; left: 5px;}
57
+ .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
58
+ .flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
59
+
60
+ /* Control Nav */
61
+ .flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
62
+ .flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
63
+ .flex-control-paging li a {width: 14px; height: 14px; display: block; background-image: url(images/paging.png); background-repeat:no-repeat; background-position: 100% 0; cursor: pointer; text-indent: -9999px; }
64
+ .flex-control-paging li a:hover { background-position:0 0; }
65
+ .flex-control-paging li a.flex-active { background-position:0 0; cursor: default; }
66
+
67
+ .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
68
+ .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
69
+ .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
70
+ .flex-control-thumbs img:hover {opacity: 1;}
71
+ .flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
72
+
73
+ @media screen and (max-width: 860px) {
74
+ .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
75
+ .flex-direction-nav .flex-next {opacity: 1; right: 0;}
76
+ }
includes/shortcodes/shortcodes.php CHANGED
@@ -320,8 +320,7 @@ add_shortcode ("fruitful_alert", "fruitful_alert_shortcode");
320
  function fruitful_pbar_shortcode ($atts, $content = null) {
321
  $out = $type = $class = '';
322
  extract(shortcode_atts(array(
323
- 'id' => 'ffs-pbar-' . rand( 1, 250 ),
324
- 'stripped' => false
325
  ), $atts));
326
 
327
  $array_class = array();
@@ -329,10 +328,6 @@ function fruitful_pbar_shortcode ($atts, $content = null) {
329
 
330
  if (!empty($id))
331
  $id = sanitize_html_class($id);
332
- if (!empty($stripped) && $stripped)
333
- $array_class[] = 'progress-bar-striped';
334
- if (!empty($active) && $active)
335
- $array_class[] = 'active';
336
 
337
  $out .= '<div id="'.$id.'" class="'.implode(' ', $array_class).'">';
338
  $out .= fruitful_sh_esc_content_pbr(do_shortcode($content));
@@ -359,17 +354,18 @@ function fruitful_bar_shortcode ( $atts, $content = null ) {
359
 
360
  ), $atts));
361
 
 
 
 
362
  $array_class = array();
363
  $array_class[] = 'progress-bar';
364
 
365
  if (!empty($type))
366
  $array_class[] = sanitize_html_class($type);
367
- if (!empty($active) && $active)
368
- $array_class[] = 'active';
369
  if (!empty($width))
370
  $width = esc_attr($width);
371
- if (!empty($stripped) && $stripped)
372
- $array_class[] = 'progress-bar-striped';
373
 
374
  return '<div class="'.implode(' ', $array_class).'" style="width: '.$width.';"></div>';
375
  }
@@ -587,20 +583,31 @@ function get_comments_popup_link( $zero = false, $one = false, $more = false, $c
587
  return $out;
588
  }
589
 
590
- function fruitful_recent_posts($atts){
 
 
 
 
 
 
591
 
 
 
 
 
592
  extract(shortcode_atts(array(
593
  'posts' => 4,
594
- 'cat' => '',
595
- 'excerpt' => ''
596
  ), $atts));
 
597
  if(!empty($cat)) {
598
  $cats = explode(", ", $cat);
599
  $args = array(
600
- 'orderby' => 'modified',
601
  'order' => 'DESC',
602
  'post_type' => 'post',
603
  'post_status' => 'publish',
 
604
  'ignore_sticky_posts' => true,
605
  'posts_per_page'=> $posts,
606
  'tax_query' => array(
@@ -613,73 +620,26 @@ function fruitful_recent_posts($atts){
613
  );
614
  } else {
615
  $args = array(
616
- 'orderby' => 'modified',
617
  'order' => 'DESC',
618
  'post_type' => 'post',
619
  'post_status' => 'publish',
 
620
  'ignore_sticky_posts' => true,
621
  'posts_per_page'=> $posts
622
  );
623
  }
 
 
624
  $my_query = new WP_Query($args);
625
  if( $my_query->have_posts() ) {
626
- $out1 = "";
627
- while ($my_query->have_posts()) : $my_query->the_post();
628
- $day = get_the_date('d');
629
- $month_abr = get_the_date('M');
630
- $the_ID = get_the_ID();
631
- $post_class = get_post_class();
632
- $the_permalink = get_the_permalink();
633
- $title = esc_attr( sprintf( __( 'Permalink to %s', 'fruitful' ), the_title_attribute( 'echo=0' ) ) );
634
- $the_title = get_the_title();
635
- $the_post_thumbnail = get_the_post_thumbnail();
636
- if($excerpt == 0){
637
- $the_excerpt = get_the_content();
638
- } else {
639
- $the_excerpt = get_the_excerpt();
640
- }
641
- $the_category = get_the_category_list( ', ', 'fruitful' );
642
- $comments = get_comments_popup_link( __( 'Leave a comment', 'fruitful' ), __( '1 Comment', 'fruitful' ), __( '% Comments', 'fruitful' ) );
643
-
644
- $out1 .= '<article id="post-'.$the_ID.'" class="blog_post blog '.implode(' ', $post_class).'">';
645
-
646
- $out1 .= '<a href="'.$the_permalink.'" rel="bookmark">
647
- <div class="date_of_post updated">
648
- <span class="day_post">'.$day.'</span>
649
- <span class="month_post">'.$month_abr.'</span>
650
- </div>
651
- </a>';
652
-
653
- $out1 .= '<div class="post-content">
654
- <header class="post-header">
655
- <h2 class="post-title entry-title">
656
- <a href="'.$the_permalink.'" title="'.$title.'" rel="bookmark">'.$the_title.'</a>
657
- </h2>
658
- </header><!-- .entry-header -->';
659
-
660
- $out1 .= '<div class="entry-content">';
661
- if ( has_post_thumbnail() && ! post_password_required() ) :
662
- $out1 .='<div class="entry-thumbnail">'
663
- .$the_post_thumbnail.
664
- '</div>';
665
- endif;
666
- $out1 .= $the_excerpt.
667
- '</div><!-- .entry-content -->';
668
- $out1 .= '<footer class="entry-meta">
669
- <span class="author-link author"><a href="'.esc_url( get_author_posts_url( get_the_author_meta( 'ID' ))).'">'.get_the_author().'</a></span>
670
- <span class="cat-links">
671
- Posted in '.$the_category.'
672
- </span>
673
- <span class="comments-link">
674
- '.$comments.'
675
- </span> ';
676
- $out1 .= '</footer>
677
- </div>
678
- </article>';
679
- $out1 .= '<div class="clearfix"></div>';
680
  endwhile;
681
- }
682
- if(isset($out1)) return $out1;
 
683
  wp_reset_query();
684
  }
685
 
@@ -689,22 +649,25 @@ add_shortcode ("fruitful_recent_posts", "fruitful_recent_posts");
689
 
690
  function fruitful_recent_posts_slider($atts){
691
  //Add FlexSlider
692
- wp_enqueue_style( 'flex-slider', get_template_directory_uri() . '/js/flex_slider/slider.css');
693
- wp_enqueue_script('flex-fitvid-j', get_template_directory_uri() . '/js/flex_slider/jquery.flexslider-min.js', array( 'jquery' ), '20130930', false );
694
  wp_enqueue_script('flex-slider', FRUITFUL_SHORTCODE_URI . 'includes/shortcodes/js/slider_init.js', array( 'jquery' ));
695
 
 
 
 
696
  extract(shortcode_atts(array(
697
  'posts' => 4,
698
- 'cat' => '',
699
- 'excerpt' => ''
700
  ), $atts));
701
  if(!empty($cat)) {
702
  $cats = explode(", ", $cat);
703
  $args = array(
704
- 'orderby' => 'modified',
705
  'order' => 'DESC',
706
  'post_type' => 'post',
707
  'post_status' => 'publish',
 
708
  'ignore_sticky_posts' => true,
709
  'posts_per_page'=> $posts,
710
  'tax_query' => array(
@@ -717,78 +680,33 @@ function fruitful_recent_posts_slider($atts){
717
  );
718
  } else {
719
  $args = array(
720
- 'orderby' => 'modified',
721
  'order' => 'DESC',
722
  'post_type' => 'post',
723
  'post_status' => 'publish',
 
724
  'ignore_sticky_posts' => true,
725
  'posts_per_page'=> $posts
726
  );
727
  }
 
728
  $my_query = new WP_Query($args);
729
  if( $my_query->have_posts() ) {
730
- $out1 = "";
731
- $out1 .= '<div class="flexslider">
732
- <ul class="slides">';
733
- while ($my_query->have_posts()) : $my_query->the_post();
734
- $day = get_the_date('d');
735
- $month_abr = get_the_date('M');
736
- $the_ID = get_the_ID();
737
- $post_class = get_post_class();
738
- $the_permalink = get_the_permalink();
739
- $title = esc_attr( sprintf( __( 'Permalink to %s', 'fruitful' ), the_title_attribute( 'echo=0' ) ) );
740
- $the_title = get_the_title();
741
- $the_post_thumbnail = get_the_post_thumbnail();
742
- if($excerpt == 0){
743
- $the_excerpt = get_the_content();
744
- } else {
745
- $the_excerpt = get_the_excerpt();
746
- }
747
- $the_category = get_the_category_list( ', ', 'fruitful' );
748
- $comments = get_comments_popup_link( __( 'Leave a comment', 'fruitful' ), __( '1 Comment', 'fruitful' ), __( '% Comments', 'fruitful' ) );
749
-
750
- $out1 .= '<li>';
751
- $out1 .= '<article id="post-'.$the_ID.'" class="blog_post blog '.implode(' ', $post_class).'">';
752
-
753
- $out1 .= '<a href="'.$the_permalink.'" rel="bookmark">
754
- <div class="date_of_post updated">
755
- <span class="day_post">'.$day.'</span>
756
- <span class="month_post">'.$month_abr.'</span>
757
- </div>
758
- </a>';
759
-
760
- $out1 .= '<div class="post-content">
761
- <header class="post-header">
762
- <h2 class="post-title entry-title">
763
- <a href="'.$the_permalink.'" title="'.$title.'" rel="bookmark">'.$the_title.'</a>
764
- </h2>
765
- </header><!-- .entry-header -->';
766
-
767
- $out1 .= '<div class="entry-content">';
768
- if ( has_post_thumbnail() && ! post_password_required() ) :
769
- $out1 .='<div class="entry-thumbnail">'
770
- .$the_post_thumbnail.
771
- '</div>';
772
- endif;
773
- $out1 .= $the_excerpt.
774
- '</div><!-- .entry-content -->';
775
- $out1 .= '<footer class="entry-meta">
776
- <span class="author-link author"><a href="'.esc_url( get_author_posts_url( get_the_author_meta( 'ID' ))).'">'.get_the_author().'</a></span>
777
- <span class="cat-links">
778
- Posted in '.$the_category.'
779
- </span>
780
- <span class="comments-link">
781
- '.$comments.'
782
- </span> ';
783
- $out1 .= '</footer>
784
- </div>
785
- </article></li>';
786
- endwhile;
787
- $out1 .= '</ul>';
788
- $out1 .= '</div>';
789
- $out1 .= '<div class="clearfix"></div>';
790
- }
791
- return $out1;
792
  wp_reset_query();
793
  }
794
 
320
  function fruitful_pbar_shortcode ($atts, $content = null) {
321
  $out = $type = $class = '';
322
  extract(shortcode_atts(array(
323
+ 'id' => 'ffs-pbar-' . rand( 1, 250 )
 
324
  ), $atts));
325
 
326
  $array_class = array();
328
 
329
  if (!empty($id))
330
  $id = sanitize_html_class($id);
 
 
 
 
331
 
332
  $out .= '<div id="'.$id.'" class="'.implode(' ', $array_class).'">';
333
  $out .= fruitful_sh_esc_content_pbr(do_shortcode($content));
354
 
355
  ), $atts));
356
 
357
+ $stripped = filter_var($stripped, FILTER_VALIDATE_BOOLEAN);
358
+ $active = filter_var($active, FILTER_VALIDATE_BOOLEAN);
359
+
360
  $array_class = array();
361
  $array_class[] = 'progress-bar';
362
 
363
  if (!empty($type))
364
  $array_class[] = sanitize_html_class($type);
365
+ if ($active) $array_class[] = 'active';
 
366
  if (!empty($width))
367
  $width = esc_attr($width);
368
+ if ($stripped) $array_class[] = 'progress-bar-striped';
 
369
 
370
  return '<div class="'.implode(' ', $array_class).'" style="width: '.$width.';"></div>';
371
  }
583
  return $out;
584
  }
585
 
586
+ function fruitful_load_template_part() {
587
+ ob_start();
588
+ get_template_part( 'content', get_post_format() );
589
+ $var = ob_get_contents();
590
+ ob_end_clean();
591
+ return $var;
592
+ }
593
 
594
+ function fruitful_recent_posts($atts){
595
+ GLOBAL $WP_Query;
596
+ $posts = $cat = '';
597
+ $this_id = get_the_ID();
598
  extract(shortcode_atts(array(
599
  'posts' => 4,
600
+ 'cat' => ''
 
601
  ), $atts));
602
+
603
  if(!empty($cat)) {
604
  $cats = explode(", ", $cat);
605
  $args = array(
606
+ 'orderby' => 'date',
607
  'order' => 'DESC',
608
  'post_type' => 'post',
609
  'post_status' => 'publish',
610
+ 'post__not_in' => array($this_id),
611
  'ignore_sticky_posts' => true,
612
  'posts_per_page'=> $posts,
613
  'tax_query' => array(
620
  );
621
  } else {
622
  $args = array(
623
+ 'orderby' => 'date',
624
  'order' => 'DESC',
625
  'post_type' => 'post',
626
  'post_status' => 'publish',
627
+ 'post__not_in' => array($this_id),
628
  'ignore_sticky_posts' => true,
629
  'posts_per_page'=> $posts
630
  );
631
  }
632
+ $out = "";
633
+ $out .= '<div class="recent-posts blog-grid blog">';
634
  $my_query = new WP_Query($args);
635
  if( $my_query->have_posts() ) {
636
+ while ($my_query->have_posts()) : $my_query->the_post();
637
+ $content = fruitful_load_template_part();
638
+ $out .= $content;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
639
  endwhile;
640
+ }
641
+ $out .= '</div>';
642
+ if(isset($out)) return $out;
643
  wp_reset_query();
644
  }
645
 
649
 
650
  function fruitful_recent_posts_slider($atts){
651
  //Add FlexSlider
652
+ wp_enqueue_style( 'flex-slider', FRUITFUL_SHORTCODE_URI . 'includes/shortcodes/flex_slider/slider.css');
653
+ wp_enqueue_script('flex-fitvid-j', FRUITFUL_SHORTCODE_URI . 'includes/shortcodes/flex_slider/jquery.flexslider-min.js', array( 'jquery' ), '20130930', false );
654
  wp_enqueue_script('flex-slider', FRUITFUL_SHORTCODE_URI . 'includes/shortcodes/js/slider_init.js', array( 'jquery' ));
655
 
656
+ $posts = $cat = '';
657
+ $this_id = get_the_ID();
658
+
659
  extract(shortcode_atts(array(
660
  'posts' => 4,
661
+ 'cat' => ''
 
662
  ), $atts));
663
  if(!empty($cat)) {
664
  $cats = explode(", ", $cat);
665
  $args = array(
666
+ 'orderby' => 'date',
667
  'order' => 'DESC',
668
  'post_type' => 'post',
669
  'post_status' => 'publish',
670
+ 'post__not_in' => array($this_id),
671
  'ignore_sticky_posts' => true,
672
  'posts_per_page'=> $posts,
673
  'tax_query' => array(
680
  );
681
  } else {
682
  $args = array(
683
+ 'orderby' => 'date',
684
  'order' => 'DESC',
685
  'post_type' => 'post',
686
  'post_status' => 'publish',
687
+ 'post__not_in' => array($this_id),
688
  'ignore_sticky_posts' => true,
689
  'posts_per_page'=> $posts
690
  );
691
  }
692
+ $out = "";
693
  $my_query = new WP_Query($args);
694
  if( $my_query->have_posts() ) {
695
+ $out .= '<div class="flexslider blog-grid blog">
696
+ <ul class="slides">';
697
+ while ($my_query->have_posts()) : $my_query->the_post();
698
+
699
+ $content = fruitful_load_template_part();
700
+ $out .= '<li>';
701
+ $out .= $content;
702
+ $out .= '</li>';
703
+ endwhile;
704
+ $out .= '</ul>';
705
+ $out .= '</div>';
706
+ $out .= '<div class="clearfix"></div>';
707
+ }
708
+
709
+ return $out;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
710
  wp_reset_query();
711
  }
712
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: fruitfulcode
3
  Donate link: http://fruitfulcode.com
4
  Tags: admin, fruitful, shortcode, shortcodes, short code, editor, content, bootstrap, post, page, tab, tabs, horizontal tabs, vertical tabs, accordion, promo text, columns, infobox, separator, alert, progress bar, button, recent post, recent news
5
  Requires at least: 3.4.1
6
- Tested up to: 4.4
7
- Stable tag: 1.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -13,6 +13,9 @@ Add additional content shortcodes: horizontal tabs, vertical tabs, accordion, pr
13
  == Description ==
14
  <h3>Demo Website</h3>
15
  http://plugins.fruitfulcode.com/shortcodes/
 
 
 
16
  <h3>Shortcodes</h3>
17
  <ol>
18
  <li><a href="http://plugins.fruitfulcode.com/shortcodes/horizontal-tabs/">Horizontal tabs</a></li>
@@ -80,6 +83,13 @@ You can check <a href="http://support.fruitfulcode.com/hc/en-us/sections/2004063
80
 
81
  == Changelog ==
82
 
 
 
 
 
 
 
 
83
  = 1.4.1 =
84
  Release Date 22.12.2015
85
 
3
  Donate link: http://fruitfulcode.com
4
  Tags: admin, fruitful, shortcode, shortcodes, short code, editor, content, bootstrap, post, page, tab, tabs, horizontal tabs, vertical tabs, accordion, promo text, columns, infobox, separator, alert, progress bar, button, recent post, recent news
5
  Requires at least: 3.4.1
6
+ Tested up to: 4.4.1
7
+ Stable tag: 1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
13
  == Description ==
14
  <h3>Demo Website</h3>
15
  http://plugins.fruitfulcode.com/shortcodes/
16
+
17
+ https://www.youtube.com/watch?v=kWB7HBeUQ10
18
+
19
  <h3>Shortcodes</h3>
20
  <ol>
21
  <li><a href="http://plugins.fruitfulcode.com/shortcodes/horizontal-tabs/">Horizontal tabs</a></li>
83
 
84
  == Changelog ==
85
 
86
+ = 1.5 =
87
+ Release Date 15.01.2016
88
+
89
+ * Improvements
90
+ * Recent post shortcode compatible with other themes
91
+ * Recent post sort by date
92
+
93
  = 1.4.1 =
94
  Release Date 22.12.2015
95